/*
  The website, in ELEVANTAE's own colours and fonts, on its light grounds, so the dark app screens stand
  out. A teal painted kitchen with champagne handles is the idea: teal bands, champagne buttons, ivory
  and white behind. The three package cards are painted doors, in three of the app's door colours.
  Inside the app mock-ups the font is the app's own, Instrument Sans. Tommy can change everything here.
*/
@font-face { font-family: "Clash Display"; src: url("/fonts/clashdisplay-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/clashdisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/generalsans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/generalsans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --white: #FFFFFF;
  --ivory: #F2F0EB;
  --ivory-2: #E8E3D9;
  --line: #DCD7CC;
  --ink: #22251F;
  --ink-2: #51554C;
  --ink-900: #111210;
  --teal: #283B3B;
  --teal-2: #2F4443;
  --teal-3: #375150;
  --teal-line: #748D85;
  --paper: #F9F9F8;
  --teal-accent: #E3C19D;
  --button: #DFC4A1;
  --button-hover: #F1DBC0;
  --button-ink: #171A19;
  --accent: #715135;
  --app: #191A17;
  --app-2: #22231F;
  --app-line: #45463F;
  --brass: #B4924E;

  --display: "Clash Display", "General Sans", Arial, sans-serif;
  --body: "General Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --appfont: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --gutter: max(clamp(16px, 4vw, 56px), calc((100vw - 1280px) / 2));
  --r: 4px;
  --r-lg: 8px;
  --lift: 0 18px 44px rgba(34, 37, 31, .18), 0 2px 6px rgba(34, 37, 31, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 500 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.teal :focus-visible, .final :focus-visible, .foot :focus-visible, .demo :focus-visible { outline-color: var(--teal-accent); }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; word-spacing: .06em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 3.55vw, 3.3rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.07; }
h3 { font-size: 1.32rem; line-height: 1.2; }
h4 { font-size: 1.12rem; line-height: 1.25; }

.wrap { padding-inline: var(--gutter); }
.sec { padding-block: clamp(64px, 8vw, 112px); }
.ivory { background: var(--ivory); }
.teal { background: var(--teal); color: var(--paper); }
.label { margin: 0 0 12px; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.teal .label { color: var(--teal-accent); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.lead { margin: 16px 0 0; max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; text-wrap: pretty; }
.teal .lead { color: #D5D9D3; }
.fine { margin: 22px 0 0; max-width: 76ch; color: var(--ink-2); font-size: .875rem; line-height: 1.5; }

.btn { display: inline-block; padding: 11px 20px; border: 0; border-radius: var(--r); background: var(--button); color: var(--button-ink); box-shadow: inset 0 1px 0 #F5E5CE; font-weight: 600; line-height: 1.3; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: var(--button-hover); }
.btn.big { padding: 15px 28px; font-size: 1.05rem; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; padding-inline: var(--gutter); }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.logo span { display: block; font-family: var(--display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
.logo small { display: block; margin-top: 3px; color: var(--ink-2); font-family: var(--body); font-size: .68rem; font-weight: 600; letter-spacing: .08em; }
.nav nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav nav a:not(.btn) { color: var(--ink); font-size: .95rem; text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--accent); }
.nav .signin { margin-left: 10px; }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; padding: 13px 10px; border: 0; background: none; cursor: pointer; }
.menu span { display: block; height: 2px; margin-bottom: 7px; background: var(--ink); transition: transform .15s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* The slider: the same control as the app's */
.compare { position: relative; overflow: hidden; margin: 0; background: #000; --pos: 50%; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.rule { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none; }
.grip { position: absolute; top: 50%; left: var(--pos); display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; color: #161616; box-shadow: 0 2px 12px rgba(0,0,0,.4); pointer-events: none; }
.compare:has(input:focus-visible) .grip { outline: 3px solid var(--button); outline-offset: 3px; }
.tag { position: absolute; top: calc(50% - 54px); padding: 2px 9px; border-radius: 99px; background: rgba(17,18,16,.78); color: #fff; font: 500 .76rem/1.5 var(--appfont); white-space: nowrap; pointer-events: none; transition: opacity .12s; }
.tag.now { right: calc(100% - var(--pos) + 9px); }
.tag.new { left: calc(var(--pos) + 9px); }
.compare[data-edge="left"] .tag.now, .compare[data-edge="right"] .tag.new { opacity: 0; }
.concept { position: absolute; left: 10px; bottom: 10px; padding: 2px 9px; border-radius: 99px; background: rgba(17,18,16,.78); color: #fff; font: 500 .72rem/1.5 var(--appfont); pointer-events: none; }

/* First screen */
.hero { background: var(--ivory); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(32px, 5vw, 76px); align-items: center; padding: clamp(36px, 4.5vw, 64px) var(--gutter) clamp(40px, 5vw, 72px); }
.room-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.room-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 9px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--white); cursor: pointer; font-size: .96rem; transition: border-color .12s, background-color .12s, color .12s; }
.room-tabs button:hover { border-color: var(--teal); }
.room-tabs button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: var(--paper); }
.room-tabs .ico { flex: none; }
.hero-lead { margin: 22px 0 26px; max-width: 46ch; color: var(--ink-2); font-size: 1.12rem; text-wrap: pretty; }
.hero-fine { margin: 14px 0 0; color: var(--ink-2); font-size: .9rem; }

.stage { position: relative; margin: 0 34px 44px 30px; }
.stage .compare { aspect-ratio: 4 / 3.15; border-radius: var(--r-lg); box-shadow: var(--lift); }
.stage .concept { left: auto; right: 10px; bottom: auto; top: 10px; }
.float-picks { position: absolute; right: -34px; top: 50px; width: 214px; padding: 13px 15px 8px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--lift); font-family: var(--appfont); }
.float-title { margin: 0 0 7px; font-size: .8rem; font-weight: 600; }
.pick { display: grid; grid-template-columns: 16px 1fr; column-gap: 8px; padding: 6px 0; border-top: 1px solid #ECE9E1; line-height: 1.2; }
.pick i { grid-row: span 2; align-self: center; width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); background: #E8E3D9; }
.pick span { color: #6A6E65; font-size: .68rem; }
.pick b { font-size: .8rem; font-weight: 600; }
.float-tray { position: absolute; left: 108px; right: 34px; bottom: -30px; display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-radius: var(--r-lg); background: var(--app); color: var(--paper); box-shadow: var(--lift); font-family: var(--appfont); }
.tray-unit { flex: none; width: 74px; }
.tray-unit:empty { display: none; }
.tray-unit svg { display: block; width: 100%; height: auto; }
.tray-total { flex: 1; min-width: 0; line-height: 1.15; }
.tray-total span { display: block; color: #AAA69D; font-size: .72rem; }
.tray-total b { display: block; font: 600 1.7rem/1.15 var(--appfont); font-stretch: 88%; font-variant-numeric: tabular-nums; }
.tray-btn { flex: none; padding: 9px 15px; border-radius: 5px; background: var(--button); color: var(--button-ink); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tray-btn:hover { background: var(--button-hover); }
.float-phone { position: absolute; left: -30px; bottom: -44px; width: 124px; padding: 5px; border-radius: 16px; background: #101112; box-shadow: var(--lift); font-family: var(--appfont); }
.sheet-mini { overflow: hidden; border-radius: 11px; background: #fff; color: #22251F; padding-bottom: 7px; }
.sheet-mini-band { height: 5px; background: var(--accent); }
.sm-firm { margin: 7px 8px 0; font-size: .54rem; font-weight: 700; letter-spacing: .03em; }
.sm-name { margin: 2px 8px 5px; color: #6A6E65; font-size: .47rem; }
.sm-pics { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0 8px; }
.sm-pics img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.sm-total { display: flex; justify-content: space-between; align-items: center; margin: 5px 8px 3px; padding: 4px 5px; background: var(--accent); color: #fff; font-size: .44rem; }
.sm-total b { font-size: .56rem; }
.sm-stage { display: flex; justify-content: space-between; margin: 0 8px; padding: 2px 0; border-top: 1px solid #ECE9E1; font-size: .42rem; }
.sm-stage span { color: #6A6E65; }

/* A line of plain facts, where other sites would show customers' logos we don't have yet */
.facts { border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 26px; }
.facts-in > div { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { flex: none; color: var(--teal); }
.facts p { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.35; }
.facts b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }

/* App screens */
.device { padding: 8px; border-radius: 14px; background: #101112; box-shadow: var(--lift); }
.device img { width: 100%; border-radius: 7px; }
.device.phone { border-radius: 22px; }
.device.phone img { border-radius: 15px; }
figcaption { color: var(--ink-2); font-size: .82rem; }

/* Laptop, tablet and phone, each showing the real app at that size */
.screens { overflow: hidden; }
.screens-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.screens-head > div:first-child { max-width: 700px; }
.screen-pick { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--teal-2); box-shadow: inset 0 0 0 1px var(--teal-3); }
.screen-pick button { padding: 8px 20px; border: 0; border-radius: 99px; background: none; color: var(--paper); cursor: pointer; font-size: .95rem; font-weight: 600; }
.screen-pick button[aria-pressed="true"] { background: var(--button); color: var(--button-ink); }
.devices { position: relative; max-width: 1180px; margin-inline: auto; aspect-ratio: 1180 / 640; }
.devices img { display: block; width: 100%; height: auto; background: #111210; }
.dev-laptop { position: absolute; left: 12%; top: 0; width: 66%; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .38)); }
.dev-lid { padding: 1.5%; border-radius: 14px 14px 0 0; background: #0D0E0D; box-shadow: inset 0 0 0 1px #33352F; }
.dev-lid img { border-radius: 3px; }
.dev-base { position: relative; left: -7%; width: 114%; height: 16px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #C9CBC6, #8D908A 72%, #6C6F69); }
.dev-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 6px; margin-left: -7.5%; border-radius: 0 0 7px 7px; background: #71746E; }
.dev-tablet { position: absolute; right: 0; bottom: 0; width: 28%; padding: 1.1%; border-radius: 22px; background: #0D0E0D; box-shadow: inset 0 0 0 1px #3A3C36, 0 24px 44px rgba(0, 0, 0, .42); }
.dev-tablet img { border-radius: 10px; }
.dev-phone { position: absolute; left: 0; bottom: 0; width: 15.5%; padding: .75%; border-radius: 26px; background: #0D0E0D; box-shadow: inset 0 0 0 1px #3A3C36, 0 22px 40px rgba(0, 0, 0, .42); }
.dev-phone img { border-radius: 19px; }
.devices-note { margin: 22px 0 0; color: #AEB8B2; font-size: .82rem; text-align: center; }

/* How it works */
.tour-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tour-tabs button { position: relative; padding: 16px 4px 16px 0; border: 0; border-top: 3px solid var(--line); background: none; text-align: left; cursor: pointer; transition: border-color .15s; }
.tour-tabs button:hover { border-top-color: var(--teal-line); }
.tour-tabs button[aria-pressed="true"] { border-top-color: var(--teal); }
.tour-tabs .num { display: block; margin-bottom: 7px; color: var(--accent); font-size: .9rem; font-weight: 600; }
.tour-tabs b { display: block; font-family: var(--display); font-size: 1.28rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.tour-text { display: block; margin-top: 7px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.tour-screens { margin-top: 30px; }
.tour-screen { margin: 0; }
.tour-screen[hidden] { display: none !important; }
.tour-screen .device { max-width: 980px; margin-inline: auto; }
.tour-screen figcaption { max-width: 980px; margin: 14px auto 0; }
.tour-screen.duo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 22px; align-items: center; max-width: 980px; margin-inline: auto; }

/* Before and after */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gcard { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.gcard .compare { aspect-ratio: 4 / 3; }
.gcard .grip { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.gcard-body { padding: 16px 18px 18px; }
.kind { margin: 0 0 3px; color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gcard h3 { font-size: 1.18rem; }
.gcard-picks { margin: 7px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.gcard-note { margin: 6px 0 0; color: var(--ink-2); font-size: .8rem; line-height: 1.4; }
.gcard-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: clamp(22px, 3vw, 36px); border-color: var(--teal); background: var(--teal); color: var(--paper); }
.gcard-cta h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.1; }
.gcard-cta p { margin: 0 0 8px; color: #D5D9D3; }
.more { display: none; margin: 16px auto 0; }
.room-lists { margin-top: clamp(40px, 5vw, 64px); padding-top: 30px; border-top: 1px solid var(--line); }
.room-lists-title { margin-bottom: 20px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.three p { margin: 7px 0 0; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }

/* Features */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.feat.flip .feat-text { order: 2; }
.feat-pic { margin: 0; }
.feat-pic figcaption { margin-top: 14px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 28px; line-height: 1.42; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Tap and see the price: the app's own tray */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 26px; padding: clamp(18px, 2.4vw, 28px); border-radius: 14px; background: var(--app); color: var(--paper); box-shadow: var(--lift); font-family: var(--appfont); }
.demo-unit svg { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.demo-side { display: flex; flex-direction: column; justify-content: center; }
.demo-label { color: #AAA69D; font-size: .84rem; }
.demo-total { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; font-stretch: 88%; line-height: 1.05; font-variant-numeric: tabular-nums; }
.demo-note { margin-top: 6px; color: #AAA69D; font-size: .8rem; line-height: 1.35; }
.demo-tabs { grid-column: 1 / -1; display: flex; gap: 2px; margin-top: 18px; border-bottom: 1px solid var(--app-line); overflow-x: auto; scrollbar-width: none; }
.demo-tabs button { flex: 1 0 auto; padding: 8px 12px 9px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--paper); text-align: left; cursor: pointer; line-height: 1.2; }
.demo-tabs span { display: block; color: #AAA69D; font-size: .72rem; }
.demo-tabs b { display: block; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.demo-tabs button[aria-pressed="true"] { border-bottom-color: var(--button); }
.demo-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: min-content; gap: 9px; margin-top: 14px; min-height: 186px; }
.demo-options button { padding: 8px; border: 1.5px solid transparent; border-radius: 7px; background: var(--app-2); color: var(--paper); text-align: left; cursor: pointer; line-height: 1.2; }
.demo-options button:hover { border-color: var(--app-line); }
.demo-options button[aria-pressed="true"] { border-color: var(--button); }
.demo-options i { display: block; height: 30px; margin-bottom: 7px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.demo-options b { display: block; font-size: .8rem; font-weight: 600; }
.demo-options span { display: block; margin-top: 2px; color: #AAA69D; font-size: .74rem; font-variant-numeric: tabular-nums; }
.demo-options button[aria-pressed="true"] span { color: var(--button); }

/* A firm's own colours */
.brand-screen { --b-bg: #1A1B1C; --b-panel: #232425; --b-tray: #131415; --b-text: #F3F3F1; --b-accent: #BB9759; --b-accent-ink: #141414; --b-quote: #A87A2A; overflow: hidden; border: 8px solid #101112; border-radius: 14px; background: var(--b-bg); color: var(--b-text); box-shadow: var(--lift); font-family: var(--appfont); transition: background-color .2s, color .2s; }
.bs-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--b-tray); transition: background-color .2s; }
.bs-bar b { font-size: 1rem; font-weight: 700; }
.bs-btn { padding: 6px 12px; border-radius: 5px; background: var(--b-accent); color: var(--b-accent-ink); font-size: .78rem; font-weight: 600; transition: background-color .2s, color .2s; }
.bs-btn.wide { display: block; margin-top: 10px; text-align: center; }
.bs-body { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; padding: 12px 14px; }
.bs-body img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.bs-panel { align-self: center; padding: 12px; border-radius: 7px; background: var(--b-panel); transition: background-color .2s; }
.bs-panel span:first-child { display: block; font-size: .74rem; opacity: .75; }
.bs-panel b { display: block; font-size: 1.7rem; font-weight: 600; font-stretch: 88%; line-height: 1.15; }
.bs-sheet { margin: 0 14px 14px; padding: 8px; border-radius: 4px; background: #fff; }
.bs-quote { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--b-quote); color: #fff; font-size: .8rem; transition: background-color .2s; }
.brand-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.brand-pick button { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--white); cursor: pointer; font-size: .86rem; }
.brand-pick button[aria-pressed="true"] { border-color: var(--teal); }
.brand-pick i { display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.brand-note { margin: 12px 0 0; color: var(--ink-2); font-size: .875rem; }

/* Automatic emails */
.mails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--r-lg); background: var(--teal-line); box-shadow: 0 0 0 1px var(--teal-line); }
.mail { position: relative; padding: clamp(20px, 2.4vw, 30px); background: var(--teal-2); }
.mail h3 { color: var(--paper); }
.mail p { margin: 8px 0 0; color: #D5D9D3; font-size: .96rem; line-height: 1.45; }
.pill { display: inline-block; margin-bottom: 9px; padding: 2px 9px; border-radius: 99px; background: var(--teal-accent); color: #22251F; font-size: .72rem; font-weight: 600; }

/* Founder's job tools */
.jobcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jobcard { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.jobcard-pic { aspect-ratio: 16 / 10; overflow: hidden; background: #0F100E; }
.jobcard-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.jobcard h3 { margin: 16px 18px 0; font-size: 1.2rem; }
.jobcard p { margin: 7px 18px 18px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }

/* Without and with */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vs-col { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.vs-col.with { border-color: var(--teal); background: var(--teal); color: var(--paper); }
.vs-col ul { list-style: none; margin: 16px 0 0; padding: 0; }
.vs-col li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); line-height: 1.4; }
.vs-col.with li { border-top-color: var(--teal-3); }
.vs-col li::before, .vs-col li::after { content: ""; position: absolute; left: 3px; top: 19px; width: 13px; height: 2px; background: #A39E92; transform: rotate(45deg); }
.vs-col li::after { transform: rotate(-45deg); }
.vs-col.with li::after { display: none; }
.vs-col.with li::before { top: 15px; width: 12px; height: 6px; background: none; border-left: 2px solid var(--teal-accent); border-bottom: 2px solid var(--teal-accent); transform: rotate(-45deg); }

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.who > div { padding-top: 16px; border-top: 3px solid var(--teal); }
.who > div + div { border-top-color: var(--line); }
.who p { margin: 10px 0 0; max-width: 58ch; color: var(--ink-2); }

/* Packages: three painted doors */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.period { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--ivory-2); }
.period button { padding: 8px 20px; border: 0; border-radius: 99px; background: none; cursor: pointer; font-size: .95rem; font-weight: 600; }
.period button[aria-pressed="true"] { background: var(--teal); color: var(--paper); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.door { position: relative; padding: 38px 34px 34px; border-radius: 3px; box-shadow: 0 16px 34px rgba(34, 37, 31, .16); }
.door::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255, 255, 255, .24); box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .14); pointer-events: none; }
.door.sage { background: #8FA392; color: #171A19; }
.door.sage::before { border-color: rgba(255, 255, 255, .42); box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .12); }
.door.blue { background: #22415F; color: #F9F9F8; }
.door.graphite { background: #3C3E40; color: #F9F9F8; }
.bar { position: absolute; right: 30px; top: 34px; width: 7px; height: 74px; border-radius: 4px; background: linear-gradient(90deg, #CDAE6E, #A5833F 60%, #8D6F33); box-shadow: 2px 3px 5px rgba(0, 0, 0, .3); }
.door h3 { font-size: 1.7rem; }
.door .for { margin: 5px 0 0; max-width: 21ch; min-height: 2.7em; font-size: .95rem; line-height: 1.35; opacity: .86; }
.door .price { margin: 22px 0 0; }
.door .price b { font: 500 clamp(2.3rem, 3.4vw, 2.9rem)/1.05 var(--display); letter-spacing: -0.02em; }
.door .price span { font-size: .95rem; opacity: .86; }
.door .year { margin: 6px 0 0; min-height: 2.7em; font-size: .86rem; line-height: 1.35; opacity: .86; }
.door-list { list-style: none; margin: 14px 0 0; padding: 0; }
.door-list li { display: flex; gap: 9px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .94rem; line-height: 1.3; }
.door.sage .door-list li { border-top-color: rgba(23, 26, 25, .18); }
.door-list .ico { flex: none; margin-top: 1px; }
.door-list b { font-weight: 600; }
.door.sage .door-list .off { color: #2F352F; }
.door.blue .door-list .off { color: #B6C2CE; }
.trial-band { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding: 18px 24px; border-radius: var(--r-lg); background: var(--teal); color: var(--paper); }
.trial-band p { margin: 0; font-size: 1.05rem; }
.trial-band b { font-weight: 600; }
.notes { margin-top: 30px; }

/* Questions */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.faq-wrap .lead a { color: var(--accent); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 36px 16px 0; cursor: pointer; font-weight: 600; list-style: none; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 14px; height: 2px; background: var(--ink); transition: transform .15s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0 0 18px; max-width: 64ch; color: var(--ink-2); }

/* Last call and footer */
.final { background: var(--teal); color: var(--paper); }
.final-in { padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.final p { margin: 12px 0 24px; color: #D5D9D3; font-size: 1.1rem; }
.foot { background: var(--ink-900); color: #C4C0B8; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: clamp(40px, 5vw, 64px) 28px; }
.foot p { margin: 0; }
.foot-name { margin-bottom: 8px !important; color: var(--paper); font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.foot-name small { font-family: var(--body); font-size: .74rem; font-weight: 500; color: #AAA69D; }
.foot-brand p:last-child { max-width: 32ch; }
.foot h3 { margin-bottom: 10px; color: var(--paper); font-family: var(--body); font-size: .94rem; font-weight: 600; letter-spacing: 0; word-spacing: 0; }
.foot-grid > div > a, .foot-grid > div > span { display: block; padding: 3px 0; text-decoration: none; }
.foot-grid > div > a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid > div > span { color: #AAA69D; font-size: .86rem; }
.foot-credits { padding-bottom: 36px; font-size: .82rem; color: #AAA69D; }
.foot-credits details { padding-top: 16px; border-top: 1px solid var(--app-line); }
.foot-credits summary { cursor: pointer; color: #C4C0B8; }
.foot-credits p { margin: 10px 0 0; max-width: 72ch; }
.foot-credits ul { margin: 10px 0 0; padding-left: 18px; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: var(--r-lg); background: var(--ink-900); color: var(--paper); box-shadow: var(--lift); font-size: .94rem; line-height: 1.35; text-align: center; transform: translateX(-50%); }
.toast[hidden] { display: none; }

@media (max-width: 1180px) {
  .nav nav { gap: 18px; }
  .nav nav a:not(.btn) { font-size: .9rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .menu { display: block; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(34,37,31,.12); }
  .nav nav.open { display: flex; }
  .nav nav a:not(.btn) { padding: 11px 0; font-size: 1.02rem; border-bottom: 1px solid var(--ivory-2); }
  .nav .signin { margin-left: 0; }
  .nav nav .btn { margin-top: 14px; }
  .hero { background: var(--ivory); }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-text h1 { max-width: 15em; }
  .stage { margin: 0 0 40px; }
  .float-picks { right: 12px; }
  .float-tray { left: 12px; right: 12px; }
  .float-phone { display: none; }
  .feat, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .feat-text { order: 0; }
  .tour-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .door .year, .door .for { min-height: 0; }
  .jobcards, .three { grid-template-columns: minmax(0, 1fr); }
  .mails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-in { min-height: 62px; }
  .stage { margin-inline: calc(var(--gutter) * -1); }
  .stage .compare { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3.4; }
  .float-picks { position: static; width: auto; margin: 0 var(--gutter); padding: 12px var(--gutter) 6px; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: none; }
  .float-tray { position: static; margin: 0; border-radius: 0; }
  #hero-picks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .float-picks { margin-inline: 0; border-radius: 0; }
  .stage { margin-bottom: 0; display: flex; flex-direction: column; }
  .stage .compare { order: 0; }
  .float-tray { order: 1; }
  .float-picks { order: 2; }
  .hero-in { padding-bottom: 0; }
  .gallery, .versus, .who { grid-template-columns: minmax(0, 1fr); }
  .gallery.short .gcard:nth-child(n+5):not(.gcard-cta) { display: none; }
  .gallery.short + .more { display: block; }
  .tour-tabs { gap: 8px; }
  .tour-tabs .tour-text { display: none; }
  .tour-tabs button[aria-pressed="true"] .tour-text { display: block; }
  .tour-tabs { grid-template-columns: minmax(0, 1fr); }
  .tour-screen.duo { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 10px; }
  .device { padding: 5px; border-radius: 10px; }
  .device img { border-radius: 5px; }
  .device.phone { border-radius: 14px; }
  .device.phone img { border-radius: 10px; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-side { margin-top: 12px; }
  .bs-body { grid-template-columns: minmax(0, 1fr); }
  .mails { grid-template-columns: minmax(0, 1fr); }
  .door { padding: 32px 28px 28px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn.big { width: 100%; }
  .devices { aspect-ratio: 1 / .92; }
  .dev-laptop { left: 3%; width: 94%; }
  .dev-lid { border-radius: 8px 8px 0 0; }
  .dev-base { left: -3%; width: 106%; height: 9px; border-radius: 0 0 8px 8px; }
  .dev-tablet { width: 40%; right: 1%; padding: 1.4%; border-radius: 13px; }
  .dev-tablet img { border-radius: 6px; }
  .dev-phone { width: 23%; left: 8%; padding: 1%; border-radius: 15px; }
  .dev-phone img { border-radius: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
