/* Tractor GPS RTK website. Dark, like the app: high contrast, guidance colours. */

:root {
  color-scheme: dark;
  --bg: #0b0f0c;
  --bg-raised: #0f1511;
  --surface: #151c17;
  --surface-2: #1c241e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f6f3;
  --muted: #a5afa8;
  --faint: #737e76;
  --green: #2ed158;
  --green-ink: #04130a;
  --green-soft: rgba(46, 209, 88, 0.14);
  --cyan: #3cc8ff;
  --amber: #ffc53d;
  --orange: #ff9230;
  --red: #ff453a;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Noto Sans",
    "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--green);
  color: var(--green-ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 12, 0.72);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  font-size: 13px;
  font-weight: 700;
}

.lang a,
.lang span {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.lang a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang [aria-current="true"] {
  background: var(--text);
  color: var(--bg);
}

.nav-cta {
  padding: 9px 16px;
  font-size: 15px;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-btn svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

@media (max-width: 900px) {
  .nav {
    gap: 12px;
  }

  .menu-btn {
    display: grid;
    margin-left: 0;
  }

  .nav-links,
  .nav .lang {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav.open {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 16px;
  }

  .nav.open .brand {
    height: 68px;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    margin: 0;
  }

  .nav.open .nav-links a {
    display: block;
    padding: 12px 8px;
    font-size: 17px;
  }

  .nav.open .lang {
    display: flex;
    order: 4;
  }
}

/* Phones: the hero's store buttons are right below, so the header keeps only the menu. */
@media (max-width: 480px) {
  .nav .nav-cta {
    display: none;
  }

  .menu-btn {
    margin-left: auto;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 24px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 8px 24px -8px rgba(46, 209, 88, 0.6);
}

.btn-primary:hover {
  background: #49dd6e;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

/* Store badges. The link is filled in from assets/js/config.js. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.15s, border-color 0.15s;
}

.store:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

.store svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store small {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.store strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store .soon {
  position: absolute;
  top: -13px;
  right: -8px;
  display: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--amber);
  color: #1d1400;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.store.is-soon {
  cursor: default;
}

.store.is-soon .soon {
  display: block;
}

.store.is-soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- Shared section bits ---------- */

section {
  position: relative;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

/* Five LEDs, like the app's lightbar. */
.leds {
  display: inline-flex;
  gap: 3px;
}

.leds i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.leds i:nth-child(2),
.leds i:nth-child(4) {
  background: var(--amber);
}

.leds i:nth-child(3) {
  background: var(--green);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
}

.section-head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -68px;
  padding: calc(68px + clamp(40px, 7vw, 88px)) 0 clamp(24px, 4vw, 48px);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 12, 0.96) 0%, rgba(11, 15, 12, 0.82) 42%, rgba(11, 15, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 15, 12, 0.6) 0%, rgba(11, 15, 12, 0) 30%, rgba(11, 15, 12, 0) 70%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero .lead {
  margin-top: 24px;
  max-width: 560px;
  color: #c9d1cb;
  font-size: clamp(18px, 1.8vw, 21px);
}

.hero .stores {
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .phone {
  width: min(320px, 78vw);
}

/* A soft green glow behind the phone. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(46, 209, 88, 0.22), transparent);
  filter: blur(20px);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg img {
    object-position: 60% 50%;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(11, 15, 12, 0.9) 0%, rgba(11, 15, 12, 0.75) 50%, var(--bg) 100%);
  }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  aspect-ratio: 1206 / 2622;
  padding: 3.2%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3a423d, #121614 40%, #1b201d);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12.5% / 5.8%;
  background: #1a1f1b;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Problem ---------- */

.problem {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.problem-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 22px;
}

.problem-card .icon svg {
  width: 26px;
  height: 26px;
}

.problem-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.problem-card p {
  color: var(--muted);
}

.problem-card .fix {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  color: var(--text);
  display: flex;
  gap: 10px;
}

.problem-card .fix svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green);
}

.tone-red .icon {
  background: rgba(255, 69, 58, 0.14);
  color: var(--red);
}

.tone-amber .icon {
  background: rgba(255, 197, 61, 0.14);
  color: var(--amber);
}

.tone-cyan .icon {
  background: rgba(60, 200, 255, 0.14);
  color: var(--cyan);
}

.cost-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--green-soft);
  border: 1px solid rgba(46, 209, 88, 0.3);
}

.cost-note svg {
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--green);
}

.cost-note p {
  font-size: 18px;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .cost-note {
    align-items: flex-start;
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-size: 17px;
}

.steps h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Showcase (GIFs) ---------- */

.showcase {
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(46, 209, 88, 0.1), transparent 70%),
    var(--bg-raised);
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.reel {
  margin: 0;
  text-align: center;
}

.reel .phone {
  width: min(280px, 100%);
  margin: 0 auto;
}

.reel figcaption {
  margin-top: 28px;
}

.reel h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.reel p {
  color: var(--muted);
  font-size: 16px;
  max-width: 320px;
  margin: 0 auto;
}

.reel-note {
  margin-top: 48px;
  text-align: center;
  color: var(--faint);
  font-size: 14px;
}

@media (max-width: 900px) {
  .reels {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
}

.feature .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 18px;
}

.feature .icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 16px;
}

.feature.wide {
  grid-column: span 2;
}

.more {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 32px;
  padding: 28px;
  list-style: none;
}

.more li {
  display: flex;
  gap: 10px;
  color: #d3dad5;
  font-size: 15px;
}

.more svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green);
}

@media (max-width: 1000px) {
  .feature-grid,
  .more {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .more {
    grid-template-columns: 1fr;
  }

  .feature.wide {
    grid-column: auto;
  }
}

/* ---------- RTK ---------- */

.rtk {
  background: var(--bg-raised);
}

.rtk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

/* Satellites → receiver → app → NTRIP, top to bottom so it reads the same on a phone. */
.chain {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 32px);
}

.node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.node strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}

.node small {
  color: var(--muted);
  font-size: 14px;
}

.node .icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.node .icon svg {
  width: 24px;
  height: 24px;
}

.node .icon img {
  width: 44px;
  height: 44px;
}

.node .sat {
  background: rgba(255, 197, 61, 0.14);
  color: var(--amber);
}

.node .bt {
  background: rgba(60, 200, 255, 0.14);
  color: var(--cyan);
}

.node .net {
  background: var(--green-soft);
  color: var(--green);
}

.node-app {
  background: #12331d;
  border: 2px solid var(--green);
}

.link {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-left: 37px;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
}

.link b {
  color: var(--text);
  margin-right: 6px;
}

.link-sat {
  border-left-style: dashed;
}

.link-bt {
  border-left-color: var(--cyan);
}

.link-net {
  border-left-color: var(--green);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.compare .card {
  padding: 22px;
}

.compare h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.compare .big {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.compare .gps .big {
  color: var(--amber);
}

.compare .rtk-card {
  border-color: rgba(46, 209, 88, 0.4);
}

.compare .rtk-card .big {
  color: var(--green);
}

.compare p {
  color: var(--muted);
  font-size: 15px;
}

.rtk-text p + p {
  margin-top: 16px;
}

.rtk-text p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.rtk-text strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .rtk-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Screenshots ---------- */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 22vw, 260px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.shots figure {
  margin: 0;
  scroll-snap-align: center;
}

.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1304;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.shots figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 1200px) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    overflow: visible;
    margin: 0;
    padding: 4px 0 0;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 48px 24px 0;
  color: var(--muted);
}

/* ---------- Download band ---------- */

.download {
  padding: clamp(56px, 8vw, 96px) 0;
}

.download-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(46, 209, 88, 0.28), transparent 60%),
    linear-gradient(135deg, #12331d, #0d1a11);
  border: 1px solid rgba(46, 209, 88, 0.3);
}

.download-card img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.download-card h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}

.download-card p {
  margin-top: 10px;
  color: #c9d1cb;
}

@media (max-width: 900px) {
  .download-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-points {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.contact-points li {
  display: flex;
  gap: 14px;
  color: var(--muted);
}

.contact-points strong {
  display: block;
  color: var(--text);
}

.contact-points .icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--green);
}

.contact-points svg {
  width: 20px;
  height: 20px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: #d3dad5;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a5afa8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 209, 88, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.form-foot small {
  flex: 1 1 240px;
  color: var(--faint);
  font-size: 13px;
}

.form .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.form-status.ok {
  display: block;
  background: var(--green-soft);
  border: 1px solid rgba(46, 209, 88, 0.4);
  color: #b9f5c9;
}

.form-status.err {
  display: block;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.4);
  color: #ffc9c5;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--faint);
  font-size: 14px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot nav a {
  color: var(--muted);
}

.legal {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Language hint (English page, Greek browser) ---------- */

.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 600;
}

.lang-hint[hidden] {
  display: none;
}

.lang-hint a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  white-space: nowrap;
}

.lang-hint button {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.lang-hint span {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .lang-hint {
    gap: 8px;
    padding-left: 14px;
    font-size: 14px;
  }
}

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .store {
    transition: none;
  }
}
