/* ═══════════════════════════════════════════════════════
   TAKTYN — Public site
   Field-document identity: warm paper, topographic contour
   lines (from the app's own login screen), serif/mono type,
   muted forest green accent. No dark mode — one calm theme.
   ═══════════════════════════════════════════════════════ */

:root {
  --paper:      #ece4cf;
  --paper-alt:  #e9e0c9;
  --card:       #fdfbf4;
  --ink:        #20291f;
  --ink-dim:    #46503f;
  --text-mid:   #5b6358;
  --text-faint: #8a8572;
  --line:       #20291f33;
  --line-soft:  #20291f22;
  --accent:     #3d5c43;
  --accent-dim: #3d5c430d;
  --danger:     #b5441f;
  --teal:       #0e5c68;
  --dark:       #20291f;
  --dark-text:  #ece4cf;
  --dark-text-dim: #c7c2b2;
  --serif:  'Fraunces', serif;
  --mono:   'JetBrains Mono', monospace;
  --body:   'Source Serif 4', serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }

::selection { background: #3d5c4333; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── Paper texture ── */
.paper-texture {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 30%, #ddd1ad 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, #ddd1ad 0%, transparent 50%),
    repeating-linear-gradient(0deg, #20291f06 0px, transparent 1px, transparent 3px);
}

/* ── Motion ── */
@keyframes tk-draw { to { stroke-dashoffset: 0; } }
.hero-route { animation: tk-draw 2.4s 400ms cubic-bezier(.3,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .hero-route { animation: none; stroke-dashoffset: 0; } }
@keyframes tk-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes tk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tk-fade-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 1;
  animation: tk-fade-up 800ms cubic-bezier(.16,.8,.3,1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.reveal-row {
  opacity: 1;
  animation: tk-fade-up 550ms cubic-bezier(.16,.8,.3,1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 16%;
}

/* ── Section numbering ── */
.sec-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 14px;
}

/* ── Header ── */
.teal-strip { height: 5px; background: var(--teal); position: relative; z-index: 6; }

.site-header {
  position: relative; z-index: 5; border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 24px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-family: var(--serif); font-weight: 900; letter-spacing: 1px; font-size: 19px; }

.main-nav { display: flex; align-items: center; gap: 32px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.5px; color: var(--text-mid); text-transform: uppercase; }
.main-nav a { color: var(--text-mid); transition: color .15s; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-cta {
  background: var(--ink); color: var(--paper); font-weight: 700; padding: 10px 18px;
  transition: all .18s;
}
.main-nav .nav-cta:hover { filter: brightness(1.15); }
.main-nav .lang-switch {
  border: 1px solid var(--line); padding: 5px 9px; letter-spacing: 1px;
}
.main-nav .lang-switch:hover { border-color: var(--ink); color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; z-index: 2; }

.hero-contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.compass-rose { position: absolute; left: 32px; top: 36px; width: 86px; height: 86px; z-index: 1; }
.compass-rose .ring { position: absolute; border: 1px solid var(--line-soft); border-radius: 50%; }
.compass-rose .ring--outer { inset: 0; }
.compass-rose .ring--inner { inset: 12px; border-color: #20291f26; }
.compass-rose .axis { position: absolute; background: #20291f26; }
.compass-rose .axis--v { left: 50%; top: 2px; width: 1px; height: 82px; margin-left: -0.5px; }
.compass-rose .axis--h { top: 50%; left: 2px; height: 1px; width: 82px; margin-top: -0.5px; }
.compass-rose .needle { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.compass-rose .needle--n { margin: -19px 0 0 -6px; border-bottom: 19px solid var(--ink); }
.compass-rose .needle--s { margin: 0 0 0 -6px; border-top: 19px solid #20291f33; }
.compass-rose .label { position: absolute; font-family: var(--mono); color: var(--text-mid); }
.compass-rose .label--n { top: -3px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 700; color: var(--ink); }
.compass-rose .label--s { bottom: -3px; left: 50%; transform: translateX(-50%); font-size: 8px; }
.compass-rose .label--w { left: -3px; top: 50%; transform: translateY(-50%); font-size: 8px; }
.compass-rose .label--e { right: -3px; top: 50%; transform: translateY(-50%); font-size: 8px; }

.elev-marker {
  position: absolute; font-family: var(--mono); font-size: 11px; color: var(--text-faint); z-index: 1;
  animation: tk-rise 500ms ease-out both;
}

.scale-bar { position: absolute; left: 32px; bottom: 28px; z-index: 1; font-family: var(--mono); font-size: 9px; color: var(--text-mid); }
.scale-bar .ticks { display: flex; height: 5px; width: 170px; border: 1px solid #20291f55; }
.scale-bar .ticks span { flex: 1; }
.scale-bar .ticks span:nth-child(odd) { background: #20291f88; }
.scale-bar .labels { display: flex; justify-content: space-between; width: 170px; margin-top: 4px; }

.hero-photo {
  position: absolute; right: 7%; top: 90px; width: 380px; background: var(--card);
  padding: 10px 10px 34px; border: 1px solid var(--line-soft);
  box-shadow: 0 18px 40px -18px #20291f40; transition: transform .25s ease, box-shadow .25s ease;
  z-index: 2; animation: tk-fade-up 800ms 400ms cubic-bezier(.16,.8,.3,1) both;
}
.hero-photo:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px #20291f4d; }
.hero-photo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--paper-alt); }
.hero-photo figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--text-mid); text-align: center; margin-top: 12px; text-transform: uppercase; }

.hero-content { position: relative; max-width: var(--max); margin: 0 auto; padding: 130px 32px 150px; z-index: 2; }
.hero-card {
  max-width: 640px; background: #ece4cfd9; backdrop-filter: blur(2px); padding: 44px 40px;
  border: 1px solid var(--line-soft); box-shadow: 0 30px 70px -30px #20291f40;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px;
  font-weight: 700; letter-spacing: 1.5px; color: var(--accent); padding: 8px 16px;
  border: 1px solid #3d5c4355; background: var(--accent-dim); margin-bottom: 40px; text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 58px; line-height: 1.03; letter-spacing: -1px; }
.hero h1 em { font-style: italic; font-weight: 600; }
.hero h1 .accent { color: var(--accent); }

.hero-sub { max-width: 460px; margin: 28px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink-dim); }

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 16px 26px; font-family: var(--mono); font-weight: 700;
  font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; transition: all .18s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary, .btn-primary:visited { background: var(--ink); color: var(--paper); }
.btn-primary:hover { filter: brightness(1.2); transform: translateY(-1px); }
.btn-ghost { border-color: #20291f55; color: var(--ink); }
.btn-ghost:hover { background: #20291f0d; }
.btn-block { display: block; width: 100%; text-align: center; }

.hero-status {
  margin-top: 24px; font-family: var(--mono); font-size: 11px; color: var(--text-mid);
  letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #2e8f5a; animation: tk-pulse 1.8s infinite; }

/* ── Ticker ── */
.ticker {
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); background: var(--paper-alt);
  overflow: hidden; white-space: nowrap; position: relative; z-index: 2;
}
.ticker-track {
  display: inline-block; animation: tk-marquee 30s linear infinite; padding: 13px 0;
  font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 2px;
  color: var(--ink-dim); text-transform: uppercase;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { margin: 0 26px; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Constat ── */
.problem { max-width: var(--max); margin: 0 auto; padding: 110px 32px 80px; position: relative; z-index: 2; }
.section-title { font-family: var(--serif); font-weight: 900; font-size: 38px; letter-spacing: -0.5px; }
.section-sub { font-size: 15px; color: var(--text-mid); margin-top: 10px; max-width: 520px; }

.compare { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 50px; }
.compare-col { flex: 1 1 420px; padding: 32px 30px; }
.compare-before { background: var(--paper-alt); border: 1px solid var(--line-soft); }
.compare-after { background: var(--paper); border: 1.5px solid var(--ink); }
.compare-head { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 18px; text-transform: uppercase; }
.compare-before .compare-head { color: var(--text-faint); }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.compare-col li { display: flex; gap: 10px; font-size: 15px; }
.compare-before li { color: var(--ink-dim); }
.compare-before li::before { content: '✕'; color: var(--danger); font-weight: 700; }
.compare-after li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ── Features manifest ── */
.features { max-width: var(--max); margin: 0 auto; padding: 60px 32px 100px; position: relative; z-index: 2; }
.section-head { margin-bottom: 50px; }

.manifest { border-top: 1.5px solid var(--ink); }
.m-row { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.m-row:last-child { border-bottom: none; }
/* Section divider inside the manifest — groups the 18 rows into four
   thematic blocks (ON THE GROUND / COMMUNICATE / RESILIENCE / COMMAND)
   so the list scans faster. Mono eyebrow with a leading rule, same ink
   colour as the m-tag frame; mirrors the SEC.XX labels used elsewhere. */
.m-group-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--ink);
  padding: 34px 0 10px;
  margin-top: 6px;
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.m-group-title::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.m-group-title:first-child {
  padding-top: 18px;
  margin-top: 0;
}
/* First row inside a group has no top-of-list visual gap — the divider
   already provides the separation. */
.m-group-title + .m-row { border-top: none; }
.m-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700; border: 1px solid var(--ink);
  padding: 4px 9px; min-width: 42px; text-align: center; transition: all .2s; flex-shrink: 0;
}
.m-row:hover .m-tag { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.m-title { flex: 0 0 240px; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.m-desc { flex: 1 1 320px; font-size: 14.5px; color: var(--text-mid); }

/* ── Gallery ── */
.gallery { max-width: var(--max); margin: 0 auto; padding: 40px 32px 110px; position: relative; z-index: 2; }
.gallery-row { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }

.gallery-video, .gallery-photo {
  background: var(--card); border: 1px solid var(--line-soft); box-shadow: 0 16px 36px -18px #20291f40;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-video:hover, .gallery-photo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px #20291f4d; }

.gallery-video { flex: 1 1 520px; padding: 12px 12px 34px; }
.gallery-video video { aspect-ratio: 1600 / 798; width: 100%; object-fit: contain; background: var(--ink); cursor: pointer; }
.gallery-video figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--text-mid); text-align: center; margin-top: 12px; text-transform: uppercase; }

.gallery-photos { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.gallery-photo { width: 190px; padding: 8px 8px 24px; }
.gallery-photo img { aspect-ratio: 4/3; width: 100%; object-fit: cover; background: var(--paper-alt); cursor: zoom-in; }
.gallery-photo figcaption { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.5px; color: var(--text-mid); text-align: center; margin-top: 9px; text-transform: uppercase; }

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 1000; background: #20291fe6;
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay figure { max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox-overlay img { max-width: 92vw; max-height: 80vh; object-fit: contain; border: 2px solid var(--paper); background: var(--card); }
.lightbox-overlay figcaption { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--dark-text-dim); }
.lightbox-close {
  position: absolute; top: 22px; right: 28px; width: 40px; height: 40px; border-radius: 50%;
  background: #ece4cf1a; border: 1px solid #ece4cf4d; color: var(--paper); font-size: 22px;
  line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: var(--paper); color: var(--ink); }

/* ── Security ── */
.security { background: var(--paper-alt); border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); position: relative; z-index: 2; }
.security-inner { max-width: var(--max); margin: 0 auto; padding: 100px 32px; display: flex; gap: 70px; flex-wrap: wrap; }
.security-text { flex: 1 1 420px; }
.security-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.security-list li { font-size: 15px; }
.security-card { flex: 1 1 320px; }
.security-card-inner { border: 1.5px solid var(--ink); padding: 34px; background: var(--paper); }
.security-stamp {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px;
  font-weight: 700; letter-spacing: 1.5px; color: var(--accent); padding: 6px 12px;
  border: 1px solid var(--accent); margin-bottom: 18px;
}
.security-card-inner p { font-size: 15px; line-height: 1.6; }

/* ── Stats ── */
.stats { max-width: var(--max); margin: 0 auto; padding: 90px 32px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px dashed var(--line); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-weight: 900; font-size: 40px; color: var(--accent); display: block; }
.stat-lbl { font-family: var(--mono); font-size: 10.5px; color: var(--text-mid); margin-top: 6px; text-transform: uppercase; display: block; }

/* ── Terrain ── */
.terrain { background: var(--dark); color: var(--dark-text); position: relative; z-index: 2; }
.terrain-inner { max-width: var(--max); margin: 0 auto; padding: 100px 32px; }
.terrain .sec-num { color: #d98a5e; }
.terrain h2 { max-width: 600px; }
.terrain p { max-width: 580px; font-size: 16px; line-height: 1.7; color: var(--dark-text-dim); margin: 24px 0 40px; }
.terrain-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.terrain-badges span { font-family: var(--mono); font-size: 10.5px; border: 1px solid #ece4cf55; padding: 8px 14px; letter-spacing: 0.5px; }

/* ── Sectors ── */
.sectors { max-width: var(--max); margin: 0 auto; padding: 100px 32px; position: relative; z-index: 2; }
.sectors-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.sector-card { border: 1px solid var(--ink); padding: 14px 20px; font-family: var(--serif); font-weight: 600; font-size: 15px; }
.sector-card--muted { border: 1px dashed #20291f66; color: var(--text-faint); display: flex; gap: 8px; }

/* ── Process ── */
.process { background: var(--paper-alt); border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); position: relative; z-index: 2; }
.process-inner { max-width: var(--max); margin: 0 auto; padding: 100px 32px; }
.process h2 { margin-bottom: 60px; }
.process-steps { display: flex; gap: 0; align-items: flex-start; flex-wrap: wrap; }
.step { flex: 1 1 260px; padding-right: 20px; }
.step-num {
  width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700;
  font-size: 12px; margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-mid); }
.step-connector { flex: 0 0 60px; height: 1px; border-top: 1px dashed #20291f55; margin-top: 17px; }

/* ── Pricing ── */
.pricing { max-width: 760px; margin: 0 auto; padding: 110px 32px; position: relative; z-index: 2; }
.pricing .section-head { text-align: center; }
.pricing .section-sub { margin: 10px auto 0; }
.pricing-card { border: 1.5px solid var(--ink); padding: 40px; position: relative; }
.pricing-badge {
  position: absolute; top: -16px; right: 28px; font-family: var(--mono); font-size: 10px;
  font-weight: 700; letter-spacing: 1.5px; color: var(--accent); background: var(--paper);
  padding: 5px 12px; box-shadow: 0 0 0 1.5px var(--accent);
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.pricing-features li { font-size: 15px; padding-left: 22px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── Contact ── */
.contact { background: var(--paper-alt); border-top: 1px dashed var(--line); position: relative; z-index: 2; }
.contact-inner { max-width: 640px; margin: 0 auto; padding: 100px 32px; }
.contact p.section-sub { margin-bottom: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--text-mid); text-transform: uppercase; }
.form-row input, .form-row textarea {
  background: transparent; border: none; border-bottom: 1.5px solid var(--ink); font-family: var(--body);
  font-size: 15px; color: var(--ink); padding: 6px 2px; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-status { font-size: 13px; min-height: 18px; }
.form-status-ok { color: var(--accent); }
.form-status-error { color: var(--danger); }
.form-legal { font-size: 12px; color: var(--text-mid); text-align: center; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-legal a:hover { color: var(--ink); }

/* ── Footer ── */
.site-footer-top { text-align: center; padding: 30px 32px 10px; position: relative; z-index: 2; }
.site-footer-top .brand-name { font-family: var(--serif); font-weight: 900; font-size: 15px; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.footer-tagline { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text-faint); }

.status-bar {
  background: var(--dark); color: var(--dark-text-dim); display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 32px;
  position: relative; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.5px;
}
.status-bar .left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: #2e8f5a; animation: tk-pulse 1.8s infinite; }
.status-bar .right { font-style: italic; color: #8a9488; }
.status-bar a { text-decoration: underline; text-underline-offset: 2px; }

/* ── Legal pages ── */
.legal { max-width: 720px; margin: 0 auto; padding: 100px 32px 90px; position: relative; z-index: 2; }
.legal-updated { color: var(--text-mid); font-size: 13px; margin-top: 10px; }
.legal-body { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.legal-body h2 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-top: 30px; margin-bottom: 4px; }
.legal-body p { font-size: 15px; color: var(--ink-dim); line-height: 1.65; }
.legal-body ul { margin: 6px 0 6px 20px; display: flex; flex-direction: column; gap: 4px; }
.legal-body li { font-size: 15px; color: var(--ink-dim); }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-photo, .compass-rose, .elev-marker, .scale-bar { display: none; }
  .hero-content { padding: 110px 32px 90px; }
  .hero-card { max-width: 100%; }
  .hero h1 { font-size: 46px; }
  .security-inner, .gallery-row { flex-direction: column; }
  .m-title { flex: 0 0 auto; }
  .m-row { flex-wrap: wrap; }
  .m-desc { flex: 1 1 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px dashed var(--line); }
}

@media (max-width: 640px) {
  .header-inner { padding: 20px 24px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .main-nav .nav-cta, .main-nav .lang-switch { text-align: center; margin-top: 12px; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 90px 24px 70px; }
  .hero-card { padding: 30px 26px; }
  .hero h1 { font-size: 36px; }
  .wrap, .problem, .features, .gallery, .security-inner, .stats, .terrain-inner, .sectors, .process-inner, .pricing, .contact-inner, .legal { padding-left: 24px; padding-right: 24px; }

  .compare-col { padding: 26px 22px; }
  .m-desc { font-size: 14px; }
  .step-connector { display: none; }
  .process-steps { flex-direction: column; gap: 34px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px dashed var(--line); }
  .stat:last-child { border-bottom: none; }
  .gallery-photos { justify-content: flex-start; }
  .status-bar { flex-direction: column; align-items: flex-start; }
}
