/* =================================================================
   SawPlan
   Brand from the current sawplan.com: Poppins, warm cream, the orange
   saw-blade gradient (#F4751A to #FBB03B), bark-brown ink, halftone dots,
   the "SP" blade mark and the real app screenshots.
   ================================================================= */

:root {
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --r: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --bg: #FFFAF3;
  --bg-2: #FFF3E2;           /* warm cream bands */
  --surface: #FFFFFF;
  --well: #FAF0E3;           /* static containers: a touch darker than the page */
  --line: #F0E3D2;
  --line-2: #E4D3BE;
  --ink: #35291E;            /* headings */
  --text: #5C5049;           /* body */
  --muted: #8A7D72;
  --orange: #F4751A;
  --orange-2: #FBB03B;
  --orange-ink: #C8560A;     /* orange text on light backgrounds */
  --orange-soft: #FFEBD6;
  --grad: linear-gradient(135deg, #F4751A 0%, #FBB03B 100%);   /* brand gradient: decoration and dark-text surfaces only */
  --btn-grad: linear-gradient(95deg, #B8470A 0%, #C4500C 68%, #EA6D1C 100%); /* text sits on the dark part (4.67:1+); only the far right lightens, behind the arrow (3.1:1+) */
  --btn-solid: #C4500C;
  --solid: #35291E;          /* dark buttons */
  --on-solid: #FFF6E8;
  --dots: rgba(244, 117, 26, .16);
  --header-bg: rgba(255, 250, 243, .88);
  --shadow: 0 24px 50px -28px rgba(53, 41, 30, .35);
  --shadow-sm: 0 2px 10px -4px rgba(53, 41, 30, .18);
  --red: #B42318;
  --green: #2F7A3E;
  color-scheme: light;
}
html[data-theme=dark] {
  --bg: #17120E;
  --bg-2: #1F1813;
  --surface: #251D17;
  --well: #251D17;
  --line: #33281F;
  --line-2: #47382B;
  --ink: #F7EEE3;
  --text: #D2C3B3;
  --muted: #A08F80;
  --orange-ink: #FFA25C;
  --orange-soft: #3B2615;
  --solid: #F7EEE3;
  --on-solid: #1F1813;
  --dots: rgba(251, 176, 59, .12);
  --header-bg: rgba(23, 18, 14, .86);
  --shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .6);
  --red: #FF8B7E;
  --green: #74D08A;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }
strong, b { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--solid); color: var(--on-solid); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }
.link { color: var(--orange-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.lede { font-size: 18px; line-height: 1.7; }
.kicker { margin: 0 0 12px; font-weight: 600; font-size: 15px; color: var(--orange-ink); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme=light] .for-dark, html[data-theme=dark] .for-light { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .25s, background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-grad) border-box; border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px rgba(184, 71, 10, .75); }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(184, 71, 10, .9); filter: brightness(.95); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--solid); color: var(--on-solid); }
.btn-dark:hover { opacity: .9; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.header-in { max-width: var(--max); margin: 0 auto; padding: 0 28px; height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; color: var(--ink); }
.brand .wordmark { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 12px; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 12px; bottom: 2px; height: 3px; width: 0; border-radius: 3px; background: var(--orange); transition: width .3s var(--ease); }
.main-nav a:hover { color: var(--orange-ink); }
.main-nav a:hover::after, .main-nav a.active::after, .main-nav a[aria-current=page]::after { width: calc(100% - 24px); }
.main-nav a.active, .main-nav a[aria-current=page] { color: var(--orange-ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .to-light, html[data-theme=dark] .theme-btn .to-dark { display: none; }
html[data-theme=dark] .theme-btn .to-light { display: block; }
.menu-btn { display: none; }
.menu-btn .x, .menu-btn[aria-expanded=true] .bars { display: none; }
.menu-btn[aria-expanded=true] .x { display: block; }
.mobile-nav { display: none; }
@media (max-width: 940px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .header-in { height: 68px; padding: 0 20px; }
  .brand .wordmark { height: 38px; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .mobile-nav.open { max-height: 520px; border-top: 1px solid var(--line); }
  .mobile-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 18px; color: var(--ink); }
  .mobile-nav .btn { margin: 14px 20px 18px; display: flex; border: 0; color: #fff; }
}

/* ---------- halftone dot decoration (from the original site) ---------- */
.dots { position: absolute; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--dots) 2.2px, transparent 2.8px) 0 0 / 16px 16px; }
.dots.tl { top: -40px; left: -60px; width: 520px; height: 420px; -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.dots.br { right: -80px; bottom: -40px; width: 560px; height: 460px; -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.dots.tr { top: 10%; right: -100px; width: 520px; height: 480px; -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; isolation: isolate; overflow-x: clip; }
.cream { background: var(--bg-2); }
.section.tight { padding: clamp(56px, 6vw, 80px) 0; }
.center { text-align: center; }
.sec-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.sec-head p:not(.kicker) { margin-top: 14px; font-size: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 4vw, 56px); background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 70%); text-align: center; }
.hero .mark { width: 104px; height: auto; margin: 0 auto 26px; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .lede { max-width: 620px; margin: 20px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--orange); }

/* video card */
.video { position: relative; max-width: 1080px; margin: clamp(44px, 6vw, 64px) auto 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #1a1209; box-shadow: var(--shadow); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; color: #fff; font-weight: 600; font-size: 16px; background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .05), rgba(20, 10, 0, .4)); transition: opacity .3s; }
.play-ring { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 10px rgba(255, 255, 255, .16), 0 18px 40px -10px rgba(0, 0, 0, .6); transition: transform .35s var(--ease), box-shadow .35s; will-change: transform; transform: translateZ(0); }
.play-ring svg { width: 30px; height: 30px; fill: #fff; transform: translateX(3px); }
.play:hover .play-ring { transform: translateZ(0) scale(1.0714); box-shadow: 0 0 0 16px rgba(255, 255, 255, .14), 0 18px 40px -10px rgba(0, 0, 0, .6); }
.video.playing .play { opacity: 0; pointer-events: none; }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.benefit .blade { width: 64px; height: 64px; margin-bottom: 18px; }
.benefit h3 { font-size: 24px; }
.benefit p { margin-top: 8px; }
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-art { position: relative; }
.about-art img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(53, 41, 30, .18)); }
.about-copy p + p { margin-top: 16px; }
.quote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-size: 20px; font-weight: 600; font-style: italic; line-height: 1.5; color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; padding: 0; list-style: none; }
.pillars li { display: grid; gap: 8px; align-content: start; }
.pillars h3 { font-size: 18px; }
.pillars p { font-size: 15px; line-height: 1.6; }
.tile-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(244, 117, 26, .9); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-art img { max-width: 400px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- cut planner band ---------- */
.planner-sec { background: #2B2018; color: #E8DACB; overflow: hidden; }
.planner-sec h2 { color: #FFF6E8; }
.planner-sec .kicker { color: #FFB36B; }
.planner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.planner-copy { padding-top: clamp(8px, 2vw, 32px); }
.planner-copy .lede { margin-top: 16px; color: #E8DACB; }
.planner-copy .note { margin-top: 18px; font-size: 14px; color: #B7A595; }
.planner { background: #FFFAF3; color: #35291E; border-radius: var(--r-lg); padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
html[data-theme=dark] .planner { background: #251D17; color: #F7EEE3; }
.planner-stage { position: relative; display: grid; place-items: center; padding: 6px 0 2px; }
.log-svg { width: min(300px, 100%); height: auto; }
.log-svg .bark { fill: #6B4A2E; }
.log-svg #rings circle { fill: none; stroke: rgba(120, 72, 30, .22); stroke-width: .7; }
.log-svg #boards rect { fill: rgba(244, 117, 26, .82); stroke: #fff; stroke-width: .6; animation: board-in .45s var(--ease) both; }
@keyframes board-in { from { opacity: 0; transform: scale(.9); } }
.log-svg .crosshair path { stroke: rgba(53, 41, 30, .5); stroke-width: 1; }
.stage-label { position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: 13px; font-weight: 600; }
.readouts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(53, 41, 30, .12); }
html[data-theme=dark] .readouts { border-color: rgba(255, 255, 255, .1); }
.readouts div { padding: 12px 14px; }
.readouts div + div { border-left: 1px solid rgba(53, 41, 30, .12); }
html[data-theme=dark] .readouts div + div { border-color: rgba(255, 255, 255, .1); }
.readouts span { display: block; font-size: 13px; color: inherit; opacity: .7; }
.readouts b { display: block; margin-top: 2px; font-size: 26px; font-weight: 700; color: inherit; font-variant-numeric: tabular-nums; }
.readouts div:first-child b { color: #E0620F; }
.controls { display: grid; gap: 16px; margin-top: 18px; }
.ctl-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.ctl-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ctl-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 42.8%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #F4751A var(--p), rgba(53, 41, 30, .16) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #F4751A var(--p), rgba(53, 41, 30, .16) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid #F4751A; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #F4751A; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(53, 41, 30, .07); }
html[data-theme=dark] .seg { background: rgba(255, 255, 255, .07); }
.seg button { min-width: 44px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; color: inherit; transition: background-color .2s, color .2s; }
.seg button[aria-checked=true] { background: var(--btn-solid); color: #fff; }
.planner-note { margin-top: 14px; font-size: 13px; opacity: .65; }
@media (max-width: 900px) { .planner-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ctl-row { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* static containers (not clickable): no hover, no shadow */
.feat { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 18px; background: var(--well); border: 1px solid var(--line); }
.feat .tile-ic { flex: none; }
.feat h3 { font-size: 18px; margin-top: 2px; }
.feat p { margin-top: 4px; font-size: 15.5px; line-height: 1.65; }
.feat .soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: 12px; font-weight: 600; vertical-align: 2px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- app screens ---------- */
.shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: clamp(48px, 6vw, 72px); }
.shot { margin: 0; display: grid; gap: 14px; align-content: start; }
.shot:nth-child(even) { margin-top: 36px; }
.phone { border-radius: 30px; padding: 7px; background: #2B2018; box-shadow: 0 30px 50px -30px rgba(53, 41, 30, .55); }
.phone img { width: 100%; border-radius: 23px; }
.shot figcaption { text-align: center; }
.shot figcaption b { display: block; font-size: 15.5px; }
.shot figcaption span { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin-inline: -28px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 min(60vw, 230px); scroll-snap-align: center; }
  .shot:nth-child(even) { margin-top: 0; }
}

/* ---------- pricing ---------- */
.price-card { position: relative; max-width: 460px; margin: 0 auto; padding: 32px; border-radius: var(--r-lg); background: var(--grad); color: #3A2410; box-shadow: 0 30px 60px -30px rgba(200, 86, 10, .7); text-align: left; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-top h3 { font-size: 24px; color: #2B1A0B; }
.badge-dark { padding: 6px 14px; border-radius: 999px; background: #2B1A0B; color: #FFF6E8; font-size: 14px; font-weight: 500; }
.price-card .for { margin-top: 14px; }
.price-big { margin-top: 22px; text-align: center; }
.price-big b { display: block; font-size: clamp(46px, 6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #2B1A0B; }
.price-big span { display: block; margin-top: 10px; font-style: italic; font-weight: 500; }
.price-card ul { margin: 24px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 500; }
.price-card li { display: flex; align-items: center; gap: 10px; }
.price-card li svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #2B1A0B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn-dark { background: #2B1A0B; color: #FFF6E8; }

/* ---------- download ---------- */
.download { text-align: center; }
.download .mark { width: 88px; margin: 0 auto 22px; }
.download p.lede { margin-top: 12px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.stores a { display: block; border-radius: 10px; transition: transform .2s var(--ease), box-shadow .25s; }
.stores a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.stores img { height: 56px; width: auto; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid h2 + p { margin-top: 14px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--orange-ink); }
.faq .ans { padding: 0 0 20px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.support-copy .lede { margin-top: 14px; }
.contact-lines { margin-top: 28px; display: grid; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; color: var(--ink); transition: color .25s; }
.contact-lines a:first-child { border-top: 1px solid var(--line-2); }
.contact-lines a:hover { color: var(--orange-ink); }
.contact-lines svg { width: 22px; height: 22px; flex: none; color: var(--orange); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 0; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field > legend { margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
/* custom dropdown arrow (replaces the browser's own), inset to match the field padding */
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23F4751A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 117, 26, .15); }
.field .invalid { border-color: var(--red); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 500; font-size: 14.5px; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.pick label:hover span { border-color: var(--orange); }
.pick input:checked + span { background: var(--btn-solid); border-color: var(--btn-solid); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { margin: 0; font-size: 14.5px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.h-captcha { min-height: 78px; max-width: 100%; overflow: hidden; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }

/* ---------- footer (dark bark brown, white wordmark, as on the original) ---------- */
.site-footer { background: #35291E; color: #D9CBBC; }
html[data-theme=dark] .site-footer { background: #0F0B08; }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 60px 28px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 230px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 15px; }
.site-footer h2 { font-size: 17px; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #F4E8DA; transition: color .2s; }
.site-footer a:hover { color: #FFB36B; }
.footer-bar { max-width: calc(var(--max) - 56px); margin: 0 auto; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: #A8988A; }
@media (max-width: 1260px) { .footer-bar { margin: 0 28px; } }
@media (max-width: 820px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; padding-inline: 20px; } .footer-bar { margin: 0 20px; } }
.ieq-credit, .site-footer .ieq-credit { display: inline-flex; flex: none; color: #A8988A; transition: color .25s ease; }
.ieq-credit span { display: block; height: 32px; aspect-ratio: 1215 / 213; background: currentColor; -webkit-mask: url(../assets/ieq-credit.svg) center / contain no-repeat; mask: url(../assets/ieq-credit.svg) center / contain no-repeat; }
.site-footer .ieq-credit:hover, .site-footer .ieq-credit:focus-visible { color: #fff; }

/* ---------- legal page ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-head p.lede { margin-top: 14px; max-width: 640px; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: 96px; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; }
.toc a { padding: 8px 12px; border-radius: 10px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { background: var(--orange-soft); color: var(--orange-ink); }
.prose { max-width: 72ch; }
.prose section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line-2); }
.prose h2 { font-size: clamp(28px, 3.2vw, 36px); margin-bottom: 8px; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p, .prose li { line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 22px; }
.prose li { margin: 4px 0; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 160%); visibility: hidden; padding: 14px 20px; border-radius: 12px; background: #35291E; color: #FFF6E8; font-weight: 500; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5); transition: transform .3s ease, visibility 0s .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s ease; }

/* =================================================================
   Motion (skipped entirely when the visitor asks to reduce motion)
   ================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero .mark, .hero h1, .hero .lede, .hero .cta-row, .hero .hero-meta { animation: rise .7s var(--ease) both; }
  .hero h1 { animation-delay: .06s; } .hero .lede { animation-delay: .12s; } .hero .cta-row { animation-delay: .18s; } .hero .hero-meta { animation-delay: .24s; }
  .hero .video { animation: rise .9s var(--ease) .25s both; }
  .hero .mark { animation-name: spin-in; }
  @keyframes rise { from { opacity: 0; translate: 0 16px; } }
  @keyframes spin-in { from { opacity: 0; rotate: -60deg; scale: .85; } }
  /* animate on scroll: js/main.js adds .rv to these and .in when they come into view (works in every browser) */
  html.reveal .rv { opacity: 0; translate: 0 32px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0s); }
  html.reveal .rv.in { opacity: 1; translate: 0 0; }
  /* FAQ answers slide open and closed */
  .faq .ans { overflow: hidden; }
  .faq details.closing summary::after { transform: rotate(45deg) translate(-3px, -3px); }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: ease; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* benefits sit close under the hero video */
.hero + .section.tight { padding-top: clamp(16px, 2vw, 28px); }
