/* ==========================================================================
   Sales Montana — marketing site
   Ported from the Claude Design source "SalesMontana Landing.dc.html".
   The design authored every rule as an inline style; here they live as real
   classes so hover/focus states and breakpoints work without a JS runtime.
   ========================================================================== */

:root {
  --bg:        #08060D;
  --bg-2:      #0C0914;
  --ink:       #F4EDE4;
  --amber:     #E8A33D;
  --amber-hi:  #F5C878;
  --teal:      #35E0E8;
  --rose:      #E0447A;

  --panel:     #0D0913;
  --panel-alt: #0B0812;
  --panel-hov: #131020;
  --line:      rgba(244, 237, 228, .14);

  /* The in-page product screenshot uses the app's own palette, not the
     marketing one — that is deliberate, it has to look like the real thing. */
  --app-bg:    #12101B;
  --app-panel: #1B1826;
  --app-chrome:#0D0B14;
  --app-line:  rgba(255, 255, 255, .05);

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Archivo, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: 40px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hi); }

::selection { background: var(--amber); color: var(--bg); }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

input[type=range] { accent-color: var(--amber); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Animation
   -------------------------------------------------------------------------- */

@keyframes mont-marquee { from { transform: translateX(0); }        to { transform: translateX(-50%); } }
@keyframes mont-ring    { 0% { transform: scale(1); opacity: .5; }  70%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes mont-blink   { 0%, 49% { opacity: 1; }                   50%, 100% { opacity: .15; } }
@keyframes mont-in      { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Shell / shared
   -------------------------------------------------------------------------- */

.shell { position: relative; overflow-x: clip; background: var(--bg); }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1000px 560px at 80% -10%, rgba(232, 163, 61, .20), transparent 62%),
    radial-gradient(880px 520px at 4% 22%,   rgba(53, 224, 232, .11), transparent 60%);
}

/* CRT scanline wash over everything, including the nav. */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 55;
  opacity: .30; mix-blend-mode: multiply;
  background: repeating-linear-gradient(rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .5) 2px 3px);
}

.pad { padding-left: var(--pad); padding-right: var(--pad); }

.section {
  position: relative; z-index: 1;
  scroll-margin-top: 110px;
  padding-top: 96px; padding-bottom: 96px;
}
.section--band {
  background: linear-gradient(var(--bg-2), var(--bg));
  border-block: 1px solid rgba(244, 237, 228, .10);
}
.section--wide { max-width: 1440px; margin: 0 auto; }
.inner { max-width: 1240px; margin: 0 auto; }

.mono {
  font-family: var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--teal  { color: var(--teal); }
.eyebrow--mute  { color: rgba(244, 237, 228, .42); }

.h2 {
  margin-top: 20px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: .94; font-weight: 900; font-stretch: 118%;
  letter-spacing: -.02em; text-transform: uppercase;
}

.grad-text {
  background-image: linear-gradient(100deg, #FFE0A3, #F0902F 52%, var(--rose));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 800;
  text-transform: uppercase; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--amber { background: var(--amber); color: var(--bg); }
.btn--amber:hover { background: var(--amber-hi); color: var(--bg); }

.btn--outline {
  border: 1px solid rgba(244, 237, 228, .28);
  color: var(--ink); background: transparent; font-weight: 700;
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn--nav  { flex: none; padding: 13px 24px; border-radius: 999px; font-size: 13px; letter-spacing: .12em; }
.btn--hero { padding: 17px 34px; border-radius: 999px; font-size: 13px; letter-spacing: .14em; }
.btn--card { padding: 16px; border-radius: 12px; font-size: 12px; letter-spacing: .16em; margin-top: 34px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.navwrap {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: center;
  padding-top: 16px; padding-bottom: 16px;
  pointer-events: none;
}

.navpill {
  pointer-events: auto;
  width: 100%; max-width: 1360px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 22px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(21, 17, 31, .86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(244, 237, 228, .18);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .55);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; white-space: nowrap; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { display: block; border-radius: 10px; }
.brand-word { font-size: 19px; font-weight: 900; font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; }

.navlinks {
  display: flex; align-items: center; gap: 4px; flex: none; white-space: nowrap;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244, 237, 228, .66);
}
.navlink {
  color: inherit; padding: 9px 14px; border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.navlink:hover { background: rgba(244, 237, 228, .09); color: var(--ink); }

.navactions { display: flex; align-items: center; gap: 6px; flex: none; }

/* Hamburger — desktop shows the links inline, so this only appears once they
   no longer fit on one row (see the 1180px breakpoint). */
.navtoggle {
  display: none;
  flex: none;
  width: 42px; height: 42px;
  padding: 0; border: 1px solid rgba(244, 237, 228, .22);
  border-radius: 12px; background: rgba(244, 237, 228, .05);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.navtoggle:hover { background: rgba(244, 237, 228, .1); }

.navtoggle-bars { display: block; width: 18px; height: 12px; position: relative; }
.navtoggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .15s ease, top .2s ease;
}
.navtoggle-bars span:nth-child(1) { top: 0; }
.navtoggle-bars span:nth-child(2) { top: 5px; }
.navtoggle-bars span:nth-child(3) { top: 10px; }

/* Bars collapse into an X while the panel is open. */
.navpill.is-open .navtoggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.navpill.is-open .navtoggle-bars span:nth-child(2) { opacity: 0; }
.navpill.is-open .navtoggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.navsignin {
  padding: 13px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(244, 237, 228, .66);
  transition: background-color .15s ease, color .15s ease;
}
.navsignin:hover { background: rgba(244, 237, 228, .09); color: var(--ink); }

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

.hero {
  position: relative; z-index: 1;
  padding-top: 64px; padding-bottom: 88px;
  max-width: 1440px; margin: 0 auto;
}

/* Halftone sun — a gradient disc masked by repeating stripes. */
.hero-sun {
  position: absolute; top: 40px; right: 2%;
  width: 196px; height: 196px; border-radius: 99px;
  pointer-events: none; opacity: .28;
  background: linear-gradient(#FFE0A3, #F0902F 46%, var(--rose));
  mask-image: repeating-linear-gradient(#000 0 9px, transparent 9px 15px);
  -webkit-mask-image: repeating-linear-gradient(#000 0 9px, transparent 9px 15px);
  filter: blur(.4px);
}

/* Retro perspective floor grid fading up into the hero. */
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 340px;
  pointer-events: none; opacity: .55;
  background:
    linear-gradient(rgba(53, 224, 232, .6) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(53, 224, 232, .45) 1px, transparent 1px) 0 0 / 68px 100%;
  transform: perspective(420px) rotateX(72deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(transparent, #000 55%);
  -webkit-mask-image: linear-gradient(transparent, #000 55%);
}

/* Grid track floors are written as minmax(min(Npx, 100%), 1fr): a bare
   minmax(Npx, 1fr) keeps its floor even when the container is narrower than N,
   pushing the track past the viewport where .shell's overflow-x: clip crops it
   without a scrollbar to reveal it. The min() lets the track collapse instead. */
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: 56px; align-items: center;
}
.hero-col { min-width: 0; container-type: inline-size; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; margin-bottom: 28px;
  border: 1px solid rgba(232, 163, 61, .45); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber);
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--teal); animation: mont-blink 1.4s steps(1) infinite;
}

.h1 {
  /* The headline's four line breaks are authored, not incidental — sizing off
     the viewport lets the widest line ("It needs Montana.") outgrow the column
     and wrap into eight lines on a wide screen. Sizing off the *column* keeps
     the type as large as it can be while every authored break survives; it
     reaches the design's 88px ceiling once the column is wide enough to hold
     it. The vw line below is the fallback for browsers without container units. */
  font-size: clamp(44px, 6.2vw, 88px);
  font-size: clamp(44px, 7.8cqw, 88px);
  line-height: .90; font-weight: 900; font-stretch: 118%;
  letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance;
}

.lede {
  margin-top: 32px; max-width: 520px;
  font-size: 19px; line-height: 1.55;
  color: rgba(244, 237, 228, .72); text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.cta-note {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(244, 237, 228, .42);
}

.stats {
  display: flex; flex-wrap: wrap; gap: 44px;
  margin-top: 52px; padding-top: 30px;
  border-top: 1px solid rgba(244, 237, 228, .12);
}
.stat-num { font-size: 36px; font-weight: 900; font-stretch: 112%; }
.stat-label {
  margin-top: 6px; max-width: 150px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 237, 228, .5);
}

/* --------------------------------------------------------------------------
   Live dialer card
   -------------------------------------------------------------------------- */

.machine { position: relative; min-width: 0; scroll-margin-top: 110px; }
.machine-glow {
  position: absolute; inset: -24px; border-radius: 32px;
  background: linear-gradient(150deg, rgba(232, 163, 61, .32), rgba(53, 224, 232, .20));
  filter: blur(48px);
}
.machine-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(244, 237, 228, .16); border-radius: 22px;
  background: linear-gradient(#141020, #0E0A16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65);
}

.machine-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(244, 237, 228, .10);
  background: rgba(255, 255, 255, .02);
}
.machine-status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 237, 228, .5);
}
.machine-status-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--amber); }
.machine-campaign {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 237, 228, .35);
}

.machine-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

.machine-left {
  padding: 26px 22px; min-width: 0;
  border-right: 1px solid rgba(244, 237, 228, .10);
}
.machine-right {
  padding: 26px 22px; min-width: 0; min-height: 360px;
  display: flex; flex-direction: column;
}

.label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 237, 228, .38);
}

.lead-name { margin-top: 14px; font-size: 26px; font-weight: 900; font-stretch: 112%; line-height: 1.05; }
.lead-title   { margin-top: 6px; font-size: 14px; color: rgba(244, 237, 228, .62); }
.lead-company { margin-top: 2px; font-size: 14px; color: rgba(244, 237, 228, .62); }
.lead-phone   { margin-top: 18px; font-family: var(--mono); font-size: 18px; color: var(--teal); letter-spacing: .04em; }

.dial-row { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.dial-ring { position: relative; width: 56px; height: 56px; display: grid; place-items: center; }
.dial-pulse { position: absolute; inset: 0; border-radius: 99px; border: 2px solid var(--amber); }
.dial-pulse.is-live { animation: mont-ring 1.5s ease-out infinite; }
.dial-timer {
  width: 56px; height: 56px; border-radius: 99px; background: var(--amber);
  display: grid; place-items: center; color: var(--bg);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.callerid { font-family: var(--mono); font-size: 13px; margin-top: 5px; color: rgba(244, 237, 228, .8); }

.dial-btn {
  width: 100%; margin-top: 24px; padding: 14px;
  border: 0; border-radius: 12px; background: var(--amber); color: var(--bg);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}

.queue-row {
  margin-top: 16px; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(244, 237, 228, .34);
}

.panel-head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 237, 228, .38);
}
.montana-face {
  width: 24px; height: 24px; flex: none;
  background-size: contain; background-repeat: no-repeat;
}

.transcript { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tline { animation: mont-in .35s ease-out; }
.tline-who  { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.tline-text { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(244, 237, 228, .86); text-wrap: pretty; }

.dispo-row {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(244, 237, 228, .10);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.dispo-row[hidden] { display: none; }
.chip {
  display: inline-flex; gap: 6px; padding: 7px 13px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
}
.chip--amber { background: rgba(232, 163, 61, .16); color: var(--amber); }
.chip--teal  { background: rgba(53, 224, 232, .14); color: var(--teal); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative; z-index: 1; overflow: hidden; padding: 14px 0;
  border-block: 1px solid rgba(244, 237, 228, .12);
  background: linear-gradient(96deg, #FFD79A, var(--amber) 48%, #D9663F);
  color: #0B0810;
}
.marquee-track {
  display: flex; width: max-content;
  animation: mont-marquee 34s linear infinite;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.marquee-track > span { padding-right: 34px; }

/* --------------------------------------------------------------------------
   Montana — the AI head of sales
   -------------------------------------------------------------------------- */

.montana-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 48px; align-items: start;
}
.montana-portrait { display: block; margin-bottom: 24px; border-radius: 27px; }
.montana-lede {
  margin-top: 26px; font-size: 18px; line-height: 1.6;
  color: rgba(244, 237, 228, .72); text-wrap: pretty;
}

/* 1px gaps over a light background give hairline dividers between cells. */
.montana-cells {
  min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.mcell { padding: 26px; background: var(--panel); }
.mcell-head { display: flex; align-items: center; gap: 10px; }
.mcell-head img { display: block; border-radius: 8px; flex: none; }
.mcell-title {
  font-size: 15px; font-weight: 800; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: .04em;
}
.mcell-body { margin-top: 10px; font-size: 14px; line-height: 1.55; color: rgba(244, 237, 228, .62); }

/* --------------------------------------------------------------------------
   Product screenshot
   -------------------------------------------------------------------------- */

.appshot-wrap { margin-top: 56px; }
.appshot-caption {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.appshot-caption > * {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  color: rgba(244, 237, 228, .42);
}
.appshot-caption > :first-child { letter-spacing: .22em; }
.appshot-caption > :last-child  { letter-spacing: .16em; color: rgba(244, 237, 228, .3); }

.appshot {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  background: var(--app-bg);
}

.appshot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--app-chrome);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.appshot-chrome .dot { width: 11px; height: 11px; border-radius: 99px; }
.appshot-url {
  margin-left: 14px; font-family: var(--mono); font-size: 11px;
  color: rgba(255, 255, 255, .32);
}

.appshot-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--app-line);
  background: rgba(18, 16, 27, .95);
}
.appshot-brand { display: flex; align-items: center; gap: 12px; }
.appshot-brand img { display: block; border-radius: 12px; box-shadow: 0 8px 24px rgba(232, 163, 61, .22); }
.appshot-brand-name { font-size: 19px; font-weight: 700; line-height: 1.15; color: #fff; }
.appshot-brand-role {
  font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255, 255, 255, .4);
}
.appshot-user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05);
}
.appshot-user-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--amber); }
.appshot-user-avatar {
  width: 28px; height: 28px; border-radius: 99px;
  background: rgba(232, 163, 61, .2); color: var(--amber);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.appshot-caret { color: rgba(255, 255, 255, .5); font-size: 11px; }

.appshot-grid { display: grid; grid-template-columns: 240px 1fr; }

.appnav {
  border-right: 1px solid var(--app-line);
  background: var(--app-panel); padding: 12px; min-width: 0;
}
.appnav-campaign {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: var(--app-bg);
}
.appnav-campaign-swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.appnav-campaign-text { min-width: 0; flex: 1; }
.appnav-campaign-label {
  display: block; font-size: 10px; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255, 255, 255, .4);
}
.appnav-campaign-name { display: block; font-size: 13px; font-weight: 600; color: #fff; }

.appnav-list { display: flex; flex-direction: column; gap: 4px; }
.appnav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px; font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
}
.appnav-item.is-active { background: rgba(232, 163, 61, .12); color: var(--amber); }
.appnav-item span:first-of-type { flex: 1; }
.appnav-badge { font-size: 12px; color: rgba(255, 255, 255, .4); }

.appmain { padding: 22px 26px 30px; min-width: 0; }
.appmain-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255, 255, 255, .7);
}

.appcard {
  border: 1px solid var(--app-line); border-radius: 16px;
  background: var(--app-panel); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.brief { padding: 20px; }
.brief-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255, 255, 255, .4);
}
.brief-head img { display: block; border-radius: 5px; }
.brief-text { font-size: 15.5px; font-weight: 500; line-height: 1.35; color: #fff; }
.brief-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 18px; margin-top: 16px;
}
.brief-col-title {
  margin-bottom: 5px; font-size: 11px; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
}
.brief-col-title--teal  { color: rgba(53, 224, 232, .85); }
.brief-col-title--amber { color: rgba(232, 163, 61, .95); }
.brief-col-list {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12.5px; color: rgba(255, 255, 255, .75);
}

.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr));
  gap: 12px; margin-top: 14px;
}
.kpi { padding: 15px; }
.kpi-label { font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.kpi-now   { margin-top: 5px; font-size: 25px; font-weight: 700; color: #fff; }
.kpi-was   { margin-top: 2px; font-size: 11px; }
.kpi-was--up   { color: var(--teal); }
.kpi-was--down { color: var(--rose); }

.touches { margin-top: 14px; overflow: hidden; }
.touches-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 20px; border-bottom: 1px solid var(--app-line);
}
.touches-head-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.touches-head-link { font-size: 11px; color: var(--amber); }
.touch {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; border-top: 1px solid var(--app-line);
}
.touch-name {
  min-width: 0; flex: 1; font-size: 13.5px; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.touch-why { flex: none; font-size: 12px; color: rgba(255, 255, 255, .45); }

/* --------------------------------------------------------------------------
   The Math — ROI calculator
   -------------------------------------------------------------------------- */

.math-head {
  text-align: center; max-width: 720px; margin: 0 auto;
  container-type: inline-size;
}
/* Same story as .h1 — "What your list is / worth right now" is a two-line
   composition, so cap the type at what the 720px column can actually hold. */
.math-head .h2 { font-size: clamp(38px, 8.1cqw, 62px); }
.math-lede { margin-top: 22px; font-size: 17px; line-height: 1.6; color: rgba(244, 237, 228, .66); }

.math-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 32px; margin-top: 56px; align-items: start;
}

.calc {
  min-width: 0; display: flex; flex-direction: column; gap: 30px;
  padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel);
}
.calc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(244, 237, 228, .6);
}
.calc-val { color: var(--amber); font-size: 16px; font-weight: 700; }
.calc input[type=range] { width: 100%; margin-top: 14px; }

.results { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.result {
  padding: 30px 32px; border: 1px solid var(--line);
  border-radius: 20px; background: var(--panel);
}
.result-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(244, 237, 228, .45);
}
.result-value {
  margin-top: 12px; font-size: 52px; font-weight: 900; font-stretch: 112%;
  letter-spacing: -.02em; color: rgba(244, 237, 228, .82);
}
.result-sub {
  margin-top: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; color: rgba(244, 237, 228, .45);
}

.result--lift {
  position: relative;
  border-color: rgba(232, 163, 61, .55);
  background: linear-gradient(140deg, rgba(232, 163, 61, .16), rgba(53, 224, 232, .07));
}
.result--lift .result-label { color: var(--amber); }
.result--lift .result-value {
  font-size: clamp(44px, 4.6vw, 66px); letter-spacing: -.03em;
  line-height: .95; color: var(--ink);
}
.result--lift .result-sub { color: rgba(244, 237, 228, .62); }

.result--gap {
  padding: 26px 32px; border: 0; border-radius: 20px;
  background: linear-gradient(96deg, #FFD79A, var(--amber) 55%, #D9663F);
  color: var(--bg);
}
.result--gap .result-label { color: inherit; opacity: .7; }
.result--gap .result-value {
  margin-top: 8px; font-size: 44px; letter-spacing: -.02em; color: inherit;
}
.result--gap .result-sub { margin-top: 4px; color: inherit; opacity: .75; }

/* --------------------------------------------------------------------------
   Arsenal
   -------------------------------------------------------------------------- */

.arsenal-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.arsenal-head p {
  max-width: 420px; font-size: 16px; line-height: 1.6;
  color: rgba(244, 237, 228, .62); text-wrap: pretty;
}

.arsenal-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: 56px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
.acell {
  padding: 30px 26px 34px; background: var(--panel-alt); min-height: 200px;
  transition: background-color .18s ease;
}
.acell:hover { background: var(--panel-hov); }
.acell-num { font-family: var(--mono); font-size: 11px; }
.acell-title {
  margin-top: 18px; font-size: 19px; font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.15;
}
.acell-body {
  margin-top: 12px; font-size: 14px; line-height: 1.55;
  color: rgba(244, 237, 228, .6); text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Two ways in
   -------------------------------------------------------------------------- */

.work-head { text-align: center; }
.work-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(370px, 100%), 1fr));
  gap: 22px; margin-top: 56px;
}

.wcard {
  position: relative; min-width: 0;
  padding: 44px 40px; border: 1px solid rgba(244, 237, 228, .16);
  border-radius: 22px; background: var(--panel);
  display: flex; flex-direction: column;
}
.wcard--hot {
  border-color: rgba(232, 163, 61, .5);
  background: linear-gradient(150deg, rgba(232, 163, 61, .13), rgba(8, 6, 13, .2));
}
.wbadge {
  position: absolute; top: 26px; right: 30px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--amber); color: var(--bg);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.wcard-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(244, 237, 228, .45);
}
.wcard--hot .wcard-kicker { color: var(--amber); }
.wcard h3 {
  margin-top: 18px; font-size: 36px; font-weight: 900; font-stretch: 114%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02;
}
.wcard-lede {
  margin-top: 16px; font-size: 16px; line-height: 1.6;
  color: rgba(244, 237, 228, .66); text-wrap: pretty;
}
.wcard--hot .wcard-lede { color: rgba(244, 237, 228, .76); }

.wpoints {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.wpoints li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.5; color: rgba(244, 237, 228, .78);
}
.wcard--hot .wpoints li { color: rgba(244, 237, 228, .86); }
.wpoints li::before {
  content: '→'; flex: none;
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--teal);
}
.wcard--hot .wpoints li::before { color: var(--amber); }

/* --------------------------------------------------------------------------
   Demo / CTA
   -------------------------------------------------------------------------- */

.demo { padding-top: 112px; padding-bottom: 120px; }
.demo-inner { max-width: 1000px; margin: 0 auto; text-align: center; container-type: inline-size; }
.demo h2 {
  font-size: clamp(44px, 6vw, 84px);
  font-size: clamp(44px, 7.2cqw, 84px);
  line-height: .90;
  font-weight: 900; font-stretch: 120%; letter-spacing: -.03em;
  text-transform: uppercase; text-wrap: balance;
}
.demo-lede {
  margin: 28px auto 0; max-width: 580px;
  font-size: 18px; line-height: 1.6; color: rgba(244, 237, 228, .68);
}
.demo-cta-row { display: flex; justify-content: center; margin-top: 44px; }
.demo-cta {
  padding: 20px 48px; border-radius: 999px;
  font-size: 14px; letter-spacing: .16em;
}
.demo-note {
  margin-top: 18px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244, 237, 228, .42);
}

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

.footer {
  position: relative; z-index: 1;
  padding-top: 44px; padding-bottom: 44px;
  border-top: 1px solid rgba(244, 237, 228, .12);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { display: block; border-radius: 7px; }
.footer-word { font-size: 16px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.footer-note {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(244, 237, 228, .38);
}

/* --------------------------------------------------------------------------
   Breakpoints — the desktop layout is the default; these only narrow it.
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .arsenal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Below this the five links no longer fit beside the brand and the CTA. The
   old behaviour wrapped them into a horizontally scrolling strip, which on a
   phone rendered as a ~290px three-row sticky block with the last link sliced
   in half and no affordance that it scrolled. Collapse to a hamburger instead:
   the bar stays one row, everything else moves into a panel. */
@media (max-width: 1180px) {
  .navtoggle { display: inline-flex; }

  .navpill { flex-wrap: wrap; gap: 0; }
  .brand { flex: 1; min-width: 0; }

  .navlinks,
  .navactions { display: none; flex-basis: 100%; order: 3; }

  .navpill.is-open .navlinks,
  .navpill.is-open .navactions { display: flex; }

  .navpill.is-open .navlinks {
    flex-direction: column; align-items: stretch;
    gap: 2px; margin-top: 14px;
    padding-top: 14px; border-top: 1px solid rgba(244, 237, 228, .14);
    font-size: 12px;
  }
  .navpill.is-open .navlink { padding: 14px 12px; border-radius: 10px; }  /* 44px tap target */

  .navpill.is-open .navactions {
    flex-direction: column; align-items: stretch;
    gap: 8px; margin-top: 10px;
    padding-top: 12px; border-top: 1px solid rgba(244, 237, 228, .14);
  }
  .navpill.is-open .navsignin { text-align: center; padding: 13px 12px; border-radius: 10px; }
  .navpill.is-open .btn--nav { justify-content: center; padding: 15px 24px; }

  /* A pill outline looks wrong once it is a tall panel. */
  .navpill.is-open { border-radius: 20px; }
}

@media (max-width: 860px) {
  .appnav { display: none; }
  .appshot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  :root { --pad: 18px; }
  .arsenal-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-sun { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .hero-grid { gap: 36px; }
  .appshot { border-radius: 12px; }
  .stats { gap: 26px; }
  .navpill { padding: 8px 8px 8px 14px; border-radius: 22px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  .demo { padding-top: 72px; padding-bottom: 80px; }
  .calc, .wcard { padding: 26px 22px; }
  .result, .result--gap { padding: 24px 22px; }
}

/* --------------------------------------------------------------------------
   Reduced motion — kill the decorative loops. The dialer demo still steps,
   but main.js parks it on a finished call instead of cycling (see PAUSED).
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .hero-badge-dot,
  .dial-pulse.is-live,
  .tline { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* Sprite icons — presentation attrs are inherited properties, so setting them
   on the host <svg> reaches the <use> shadow content. */
.ico {
  flex: none; display: block;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
