/* Rawanah Drone pilot plan. Default rules are the static layout (no JS, reduced motion). Motion rules live under .js:not(.rm). */
:root {
  --ink: #17150F;
  --paper: #F4EFE6;
  --pistachio: #BFD69B;
  --ink-soft: rgba(23,21,15,0.68);
  --paper-soft: rgba(244,239,230,0.72);
  --rule: rgba(23,21,15,0.14);
  --rule-dark: rgba(244,239,230,0.18);
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-inout: cubic-bezier(0.65,0,0.35,1);
  --ease-nav: cubic-bezier(0.2,0,0,1);
  --t1: 240ms;
  --t2: 600ms;
  --t3: 900ms;
  --gutter: clamp(16px,4vw,48px);
  --pad: clamp(96px,12vw,192px);
  --wp: 24px;
  --nav: 76px;
  --vw: 100vw;
  --vh: 100vh;
  --m: 24px;
}
@media (width < 768px) {
  :root { --wp: 16px; --m: 16px; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-weight: 400; font-size: clamp(16px,1.15vw,18px); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ink :focus-visible, .nav.is-dark :focus-visible { outline-color: var(--paper); }
[tabindex="-1"]:focus { outline: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Layout */
.wrap { width: 100%; max-width: calc(1344px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
@media (width >= 600px) { .grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px; } }
@media (width >= 1024px) { .grid { grid-template-columns: repeat(12,minmax(0,1fr)); } }
.grid > * { grid-column: 1 / -1; }
.sec { --pt: var(--pad); position: relative; padding-top: var(--pt); padding-bottom: var(--pad); }
.ink { background: var(--ink); color: var(--paper); }
main { position: relative; display: block; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* Type */
.disp { font-size: clamp(44px,10vw,168px); line-height: 0.86; letter-spacing: -0.045em; text-transform: uppercase; font-weight: 800; }
.hl-h2 { font-size: clamp(36px,8vw,128px); line-height: 0.88; letter-spacing: -0.04em; text-transform: uppercase; font-weight: 800; }
.stmt-h { font-size: clamp(40px,6.5vw,104px); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; font-weight: 800; }
h3 { font-size: clamp(22px,2vw,30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.lead { font-size: clamp(18px,1.5vw,22px); line-height: 1.5; max-width: 60ch; }
.label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.5; }
.note { font-size: clamp(16px,1.15vw,18px); max-width: 62ch; margin-top: 48px; color: var(--ink-soft); }
.shead { margin-bottom: 64px; }
.shead .label { margin-bottom: 24px; }
.shead .hl-h2 { margin-bottom: 32px; }
.ln { display: block; overflow: hidden; padding-block: 0.06em 0.16em; margin-block: -0.06em -0.16em; }
.ln > span { display: block; }
.ln[data-i="1"] { margin-left: 0.3em; }
.ln[data-i="2"] { margin-left: 0.6em; }
@media (width >= 600px) {
  .ln[data-i="1"] { margin-left: 0.5em; }
  .ln[data-i="2"] { margin-left: 1em; }
}
@media (width >= 1024px) {
  .ln[data-i="1"] { margin-left: 0.9em; }
  .ln[data-i="2"] { margin-left: 1.8em; }
}
.urdu { display: block; width: fit-content; margin: 16px auto 0 0; font-family: 'Noto Naskh Arabic', serif; font-weight: 500; line-height: 1.9; font-size: clamp(22px,2vw,32px); }

/* Waypoints and tether */
.wp { position: absolute; z-index: 3; left: calc(var(--gutter) / 2); top: calc(var(--pt) + 10px - var(--wp) / 2); width: var(--wp); height: var(--wp); transform: translateX(-50%); display: grid; place-items: center; border-radius: 3px; border: 1.5px solid var(--ink); background: var(--pistachio); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0; }
@media (width < 768px) { .wp { letter-spacing: -0.06em; } }
.js:not(.rm) .wp { background: var(--paper); transition: background-color var(--t1) ease; }
.js:not(.rm) .wp.on { background: var(--pistachio); }
.tether { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.tether path { fill: none; stroke-width: 2; stroke-linecap: square; }
.tether .t-ink { color: var(--ink); }
.tether .t-paper { color: var(--paper); }
.endlbl { position: absolute; z-index: 3; left: var(--gutter); top: calc(var(--pt) - 40px); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.js:not(.rm) .endlbl { opacity: 0; transition: opacity var(--t1) ease; }
.js:not(.rm) .endlbl.on { opacity: 1; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 64px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); transition: transform 280ms var(--ease-nav), background-color var(--t1) ease, height var(--t1) ease, border-color var(--t1) ease; }
.js:not(.rm) .nav:not(.is-scrolled) { height: 76px; background: transparent; border-bottom-color: transparent; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-dark { background: var(--ink); color: var(--paper); border-bottom-color: var(--rule-dark); }
.nav-in { display: flex; align-items: center; gap: 12px; height: 100%; max-width: calc(1344px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.logo { flex: none; display: flex; align-items: center; height: 48px; margin-right: auto; text-decoration: none; padding-inline: 2px; }
.lg { height: 32px; width: auto; display: block; }
.mk { flex: none; height: 44px; width: 44px; display: none; }
.lg-d, .mk-d { display: none; }
.nav.is-dark .lg-l { display: none; }
.nav.is-dark .lg-d { display: block; }
.nav-links { display: none; }
.nav-links ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: flex; align-items: center; height: 48px; padding: 0 12px; font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (width >= 1024px) { .nav-links { display: block; } }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--pistachio); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.chip--step { align-self: flex-start; font-size: 14px; height: 36px; padding: 0 16px; }
.pill.nav-pill { height: 48px; padding: 0 16px; font-size: 14px; }
@media (width >= 768px) { .pill.nav-pill { height: 56px; padding: 0 28px; font-size: 16px; } .nav-in { gap: 16px; } }
@media (width < 480px) {
  .lg-l, .lg-d, .nav.is-dark .lg-l, .nav.is-dark .lg-d { display: none; }
  .mk-l { display: block; }
  .nav.is-dark .mk-l { display: none; }
  .nav.is-dark .mk-d { display: block; }
  .chip { font-size: 11px; padding: 0 8px; }
  .nav-in { gap: 8px; }
  .pill.nav-pill { padding: 0 12px; font-size: 13px; }
}

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--t1) var(--ease-out); }
.pill--pist { background: var(--pistachio); color: var(--ink); }
.pill--ink { background: var(--ink); color: var(--paper); }
.ink .pill--ink { background: var(--paper); color: var(--ink); }
.js:not(.rm) .pill:hover { transform: translateY(-2px); }

/* Hero */
.hero { --pt: calc(var(--nav) + 56px); padding-bottom: 160px; display: flow-root; }
.hero::before { content: ""; float: left; width: 1px; height: max(0px, calc(100svh - var(--pt) - 160px)); }
.hero .label { margin-bottom: 32px; }
.hero .lead { margin-top: 48px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thumb.ph { display: none; position: fixed; right: var(--m); bottom: var(--m); width: 120px; height: 84px; z-index: 40; border-radius: 6px; overflow: hidden; --tint: 0; text-decoration: none; }
@media (width >= 768px) { .thumb.ph { width: 192px; height: 136px; } }
.js:not(.rm) .thumb.ph { display: block; }
.js:not(.rm) .thumb.off { visibility: hidden; }
.thumb.ph img { inset: auto; top: 50%; left: 50%; width: var(--vw); height: var(--vh); transform: translate(-50%,-50%); }
.thumb .ph-place { display: none !important; }
.thumb-l { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 6px; border-radius: 3px; background: rgba(23,21,15,0.78); color: var(--paper); font-size: 11px; font-weight: 600; line-height: 1.3; }
.js:not(.rm) .hs { opacity: 0; }
.js:not(.rm) .hs-lead, .js:not(.rm) .hs-btns { transform: translateY(12px); }
.js:not(.rm) .hl-h1 .ln > span { transform: translateY(105%); }
.js:not(.rm) .thumb { clip-path: inset(100% 0 0 0); }
.js:not(.rm) .hero-go .hs { opacity: 1; transform: none; }
.js:not(.rm) .hero-go .hs-label { transition: opacity 400ms ease 100ms; }
.js:not(.rm) .hero-go .hs-lead { transition: opacity var(--t2) var(--ease-out) 650ms, transform var(--t2) var(--ease-out) 650ms; }
.js:not(.rm) .hero-go .hs-btns { transition: opacity var(--t2) var(--ease-out) 750ms, transform var(--t2) var(--ease-out) 750ms; }
.js:not(.rm) .hero-go .hl-h1 .ln > span { transform: none; transition: transform var(--t3) var(--ease-out) 200ms; }
.js:not(.rm) .hero-go .hl-h1 .ln[data-i="1"] > span { transition-delay: 310ms; }
.js:not(.rm) .hero-go .hl-h1 .ln[data-i="2"] > span { transition-delay: 420ms; }
.js:not(.rm) .hero-go .thumb { clip-path: inset(0); transition: clip-path 700ms var(--ease-out) 900ms; }

/* Photos */
.ph { position: relative; overflow: hidden; background: var(--ink); border-radius: 6px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ink); opacity: var(--tint, 0.25); pointer-events: none; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 16px; background: rgba(23,21,15,0.78); color: var(--paper); font-size: 13px; line-height: 1.4; }
.ph .credit { color: var(--paper-soft); }
.ph-place { display: none; position: absolute; inset: 0; z-index: 2; place-items: center; text-align: center; padding: 16px 16px 72px; color: var(--paper); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.ph.is-missing img { display: none; }
.ph.is-missing .credit { display: none; }
.ph.is-missing .ph-place { display: grid; }
.pilot-ph { aspect-ratio: 4 / 3; }
.ph--wide, .band { aspect-ratio: 4 / 3; margin-top: 64px; }
@media (width >= 768px) { .ph--wide, .band { aspect-ratio: 16 / 9; } }
.band { margin-top: 96px; }
.ph-inter, .ph-full { border-radius: 0; margin: 0; width: 100%; position: relative; z-index: 2; }
.ph-inter { height: 100vh; height: 100svh; }
.ph-full { aspect-ratio: 4 / 3; }
@media (width >= 768px) { .ph-full { aspect-ratio: 16 / 9; } }
.ph-inter figcaption, .ph-full figcaption { padding-inline: var(--gutter); }
.js:not(.rm) .ph--open { clip-path: inset(0 0 100% 0); }
.js:not(.rm) .ph--open.is-in { clip-path: inset(0); transition: clip-path var(--t3) var(--ease-out); }
@media (width >= 768px) {
  .js:not(.rm) .ph[data-scroll] img { transform: translateY(calc((var(--p, 0.5) - 0.5) * -2 * var(--S, 0px))) scale(1.08); }
}

/* Lift */
.lift { position: relative; z-index: 2; background: var(--paper); }
.lift-fig { height: 80vh; border-radius: 0; --tint: 0.4; }
.lift-hl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin-inline: auto; padding-bottom: 150px; }
.lift-hl h2 { color: var(--paper); }
.js:not(.rm) .lift { height: 200svh; }
@media (width >= 768px) { .js:not(.rm) .lift { height: 240vh; } .lift-hl { padding-bottom: 120px; } }
.js:not(.rm) .lift-stick { position: sticky; top: 0; height: 100svh; }
@media (width >= 768px) { .js:not(.rm) .lift-stick { height: 100vh; } }
.js:not(.rm) .lift-fig { height: 100%; --tint: 0; visibility: hidden; will-change: clip-path; }
.js:not(.rm) .lift-fig.on { visibility: visible; }
.js:not(.rm) .lift-img { will-change: transform; }
.js:not(.rm) .lift-hl, .js:not(.rm) .lift-fig figcaption { opacity: var(--ce, 0); }

/* Words and headline reveal */
.js:not(.rm) .hl .ln > span { transform: translateY(105%); }
.js:not(.rm) .hl.is-in .ln > span { transform: none; transition: transform var(--t3) var(--ease-out); }
.js:not(.rm) .hl.is-in .ln[data-i="1"] > span { transition-delay: 110ms; }
.js:not(.rm) .hl.is-in .ln[data-i="2"] > span { transition-delay: 220ms; }
.js:not(.rm) .hl .w, .js:not(.rm) .hl-lift .w { opacity: calc(0.2 + 0.8 * clamp(0, calc(var(--hp, 0) * var(--n) - var(--i)), 1)); }

/* Reveals */
.js:not(.rm) .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t2) var(--ease-out) var(--d, 0ms), transform var(--t2) var(--ease-out) var(--d, 0ms), filter var(--t2) var(--ease-out) var(--d, 0ms); }
@media (width >= 768px) { .js:not(.rm) .reveal { filter: blur(6px); } }
.js:not(.rm) .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* Pilot */
.pilot-g { align-items: start; row-gap: 48px; }
.blocks { list-style: none; }
.blk { border-top: 1px solid var(--rule); padding: 24px 0 32px; }
.blk h3 { margin-bottom: 12px; }
.blk p { max-width: 50ch; }
@media (width >= 1024px) { .blocks { grid-column: 1 / 8; } .pilot-ph { grid-column: 9 / 13; } }

/* Cards */
.cards { list-style: none; row-gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 32px; border: 1px solid var(--rule); border-radius: 10px; transition: transform var(--t1) var(--ease-out); }
.js:not(.rm) .card:hover, .js:not(.rm) .card:focus-within { transform: translateY(-4px); }
.card p { flex: 1; }
.ink .card { border-color: var(--rule-dark); }
.card--pist { background: var(--pistachio); color: var(--ink); border-color: transparent; }
.tlink { display: inline-flex; align-items: center; height: 48px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (width >= 1024px) { .cards > li { grid-column: span 4; } }
.cards + .ph { margin-top: 64px; }
.sgrid { list-style: none; row-gap: 24px; }
@media (width >= 1024px) { .sgrid .s-a { grid-column: span 6; } .sgrid .s-b { grid-column: span 4; } }
.ink .lead { color: var(--paper); }
.ink .card h3 { margin-bottom: 4px; }

/* How */
.steps { list-style: none; margin-top: 16px; display: grid; gap: 48px; }
.step { border-top: 1px solid var(--rule); padding-top: 24px; }
.step h3 { margin: 16px 0 12px; }
.step p { max-width: 50ch; }
.s-num { display: block; font-size: clamp(88px,13vw,208px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.s-dia svg { display: block; width: 140px; height: auto; margin-top: 8px; }
.how-l { display: none; }
.dia { color: var(--ink); overflow: visible; }
.dia .dr { transition: transform 560ms var(--ease-inout); }
.dia .route, .dia .te, .dia .bx, .dia .cd { opacity: 0; transition: opacity var(--t1) ease; }
.dia .inbox { transition: opacity var(--t1) ease; }
.dia[data-step="2"] .route, .dia[data-step="3"] .route { opacity: 1; }
.dia[data-step="2"] .dr, .dia[data-step="3"] .dr, .dia[data-step="4"] .dr { transform: translateX(24px); }
.dia[data-step="3"] .inbox, .dia[data-step="4"] .inbox { opacity: 0; }
.dia[data-step="3"] .te { opacity: 1; clip-path: inset(0 0 calc((1 - var(--tp, 1)) * 100%) 0); }
.dia[data-step="3"] .bx { opacity: 1; transform: translateY(calc(var(--tp, 1) * 222px)); }
.dia[data-step="4"] .bx { opacity: 1; transform: translateY(222px); }
.dia[data-step="4"] .cd { opacity: 1; }
@media (width >= 1024px) {
  .js:not(.rm) .how { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
  .js:not(.rm) .how-l { display: flex; flex-direction: column; gap: 16px; grid-column: 1 / 6; position: sticky; top: 120px; align-self: start; }
  .js:not(.rm) .steps { grid-column: 6 / 13; margin-top: 0; gap: 0; }
  .js:not(.rm) .step { height: max(70vh, 360px); display: flex; flex-direction: column; justify-content: center; border-top: 0; padding-top: 0; opacity: 0.3; transition: opacity var(--t1) ease; }
  .js:not(.rm) .step.is-act { opacity: 1; }
  .js:not(.rm) .s-num, .js:not(.rm) .s-dia { display: none; }
  .js:not(.rm) .dia { height: clamp(200px, 38vh, 360px); width: auto; align-self: flex-start; }
}
.num { height: 1em; overflow: hidden; font-size: clamp(88px,13vw,208px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num-t { transition: transform 560ms var(--ease-inout); transform: translateY(calc(var(--step, 0) * -1em)); }
.num-t span { display: block; height: 1em; }

/* Plan */
.plan-g { align-items: start; row-gap: 32px; }
.mapf { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--rule); }
.mapf img { display: block; width: 100%; height: auto; }
.js:not(.rm) .mapf img { transform: scale(calc(1.06 - 0.06 * clamp(0, (var(--p, 0.1) - 0.1) / 0.4, 1))); }
.mapchip { position: absolute; left: 12px; right: 12px; bottom: 12px; height: auto; padding: 8px 14px; border-radius: 16px; line-height: 1.35; white-space: normal; font-size: 13px; width: fit-content; }
.js:not(.rm) .mapchip { opacity: 0; }
.js:not(.rm) .mapf.is-in .mapchip { opacity: 1; transition: opacity 300ms ease; }
.stages { list-style: none; margin-top: 32px; }
.stages li { border-top: 1px solid var(--rule); padding: 20px 0; font-size: clamp(18px,1.5vw,22px); line-height: 1.4; }
.stages li:last-child { border-bottom: 1px solid var(--rule); }
.st-k { font-weight: 800; }
@media (width >= 1024px) { .mapf { grid-column: 1 / 6; } .plan-r { grid-column: 7 / 13; } }

/* Measure */
.mlist { list-style: none; max-width: 960px; }
.m-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 24px 0; font-size: clamp(18px,1.6vw,24px); font-weight: 600; line-height: 1.3; }
.m-row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: left; }
.m-row:last-child { border-bottom: 1px solid var(--rule); }
.chk { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter; }
.chk path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js:not(.rm) .m-row::before { transform: scaleX(0); }
.js:not(.rm) .m-row.is-in::before { transform: none; transition: transform 700ms var(--ease-out) calc(var(--i) * 70ms); }
.js:not(.rm) .chk path { stroke-dashoffset: 1; }
.js:not(.rm) .m-row.is-in .chk path { stroke-dashoffset: 0; transition: stroke-dashoffset 400ms ease calc(700ms + var(--i) * 70ms); }
.closing { margin-top: 48px; font-size: clamp(24px,3vw,44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch; }

/* Partner */
.partner-g { row-gap: 48px; align-items: start; }
.p-top.shead { margin-bottom: 0; }
.stmts { margin-top: 48px; }
.stmt { border-top: 1px solid var(--rule); padding: 24px 0 32px; }
.stmt-s { margin-top: 12px; color: var(--ink-soft); max-width: 40ch; }
@media (width >= 1024px) { .p-l { grid-column: 1 / 7; } .p-r { grid-column: 7 / 13; } }
.fcard { padding: clamp(20px,3vw,40px); border: 1px solid var(--rule); border-radius: 10px; }
.ftitle { margin-bottom: 12px; }
.fintro { color: var(--ink-soft); font-size: 14px; max-width: 52ch; }
.fld { margin-top: 20px; }
.fld > label:not(.chk) { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.req { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { display: block; width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 16px; line-height: 1.4; }
textarea { height: 160px; padding: 14px 16px; resize: vertical; }
select { padding: 0 12px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-width: 3px; padding-left: 14.5px; }
.hint { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.err { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.bang { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-right: 8px; border: 2px solid var(--ink); border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1; }
.err .bang { margin-right: 0; }
.errsum { margin-top: 24px; padding: 16px 20px; border: 2px solid var(--ink); border-radius: 10px; }
.es-t { display: flex; align-items: center; font-weight: 800; }
.errsum ul { list-style: none; margin: 8px 0 0; }
.errsum a { display: flex; align-items: center; height: 48px; font-weight: 600; }
label.cons { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 400; line-height: 1.4; cursor: pointer; }
label.cons input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--ink); }
.hp { display: none; }
.fsub { width: 100%; margin-top: 28px; }
.fsub[disabled] { opacity: 0.5; cursor: not-allowed; }
.nsnote { margin-top: 16px; font-weight: 600; }
.fail { display: flex; align-items: center; margin-top: 20px; font-weight: 600; }
.ok p { max-width: 52ch; }
.ok-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.ok-btns .pill { white-space: normal; text-align: center; line-height: 1.2; padding-block: 8px; height: auto; }
.fb { margin-top: 16px; height: 24px; font-weight: 600; }

/* FAQ */
.faq-g { row-gap: 0; }
.faq-g .shead { margin-bottom: 48px; }
.faq { border-top: 1px solid var(--rule); }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; line-height: 24px; font-size: clamp(18px,1.6vw,24px); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 48px 24px 0; max-width: 62ch; }
.pl { position: relative; width: 24px; height: 24px; flex: none; transition: transform var(--t1) var(--ease-out); }
.pl::before, .pl::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); }
.pl::before { width: 18px; height: 2px; margin: -1px 0 0 -9px; }
.pl::after { width: 2px; height: 18px; margin: -9px 0 0 -1px; }
.faq[open] .pl { transform: rotate(45deg); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq::details-content { height: 0; overflow: hidden; transition: height 320ms var(--ease-out); }
  .faq[open]::details-content { height: auto; }
}

/* Footer */
.foot { padding-block: var(--pad) 64px; }
.foot-logo { display: block; height: 44px; width: auto; }
.foot-st { margin: 48px 0 32px; max-width: 22ch; font-size: clamp(28px,3.6vw,56px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 96px; }
.foot-links a { display: flex; align-items: center; height: 48px; font-weight: 600; }
.foot-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.foot-n { max-width: 62ch; color: var(--paper-soft); font-size: 14px; }
.credits { list-style: none; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--paper-soft); }
.credits li { padding: 8px 0; border-top: 1px solid var(--rule-dark); }

/* Reduced motion safety net */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; animation: none !important; scroll-behavior: auto !important; }
}
.rm *, .rm *::before, .rm *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
