/* =========================================================
   Toury — cool, precise, tech-product marketing site
   Type: Geist Sans (UI/display) + Geist Mono (labels/signals)
   Monochrome ink on cool off-white — impact from type + scale, no brand hue.
   ========================================================= */

/* ---------- self-hosted fonts (Geist Sans + Geist Mono, variable) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Geist-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --paper:    #F4F5F6;   /* cool off-white */
  --paper-2:  #FAFBFB;
  --card:     #FFFFFF;
  --ink:      #0E1113;   /* cool near-black */
  --ink-70:   #454A50;
  --ink-45:   #80868D;
  --line:     rgba(14, 17, 19, 0.09);
  --line-2:   rgba(14, 17, 19, 0.05);

  /* Everything is ink — monochrome. Black buttons, no brand hue. */
  --accent:     #0E1113;
  --accent-d:   #000000;
  --accent-t:   #D3D7DC;   /* neutral light (phone waveform) */
  --accent-w:   #ECEDEF;
  --accent-rgb:   14,17,19;
  --accent-d-rgb: 0,0,0;

  /* "sig" kept as a token name but resolves to ink — one dial to add a hue later */
  --sig:      #14181C;   /* near-black graphite */
  --sig-d:    #000000;
  --sig-t:    #C7CBD1;
  --sig-w:    #ECEDEF;
  --sig-rgb:  20,24,28;

  --sky:      #E6E8EC;    /* neutral ambient glow */

  --night-1:  #0C0F14;   /* cool dark phone screen */
  --night-2:  #161B24;

  --r-xl: 22px;
  --r-lg: 16px;
  --r:    12px;
  --r-sm: 9px;

  --sh-1: 0 1px 2px rgba(14,17,19,.05), 0 2px 6px rgba(14,17,19,.04);
  --sh-2: 0 1px 3px rgba(14,17,19,.06), 0 12px 30px -8px rgba(14,17,19,.08);
  --sh-phone: 0 2px 8px rgba(14,17,19,.12), 0 44px 90px -24px rgba(14,17,19,.40), 0 18px 40px -20px rgba(14,17,19,.22);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
::selection { background: var(--sig-w); color: var(--sig-d); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* mono utility for labels / signals / numerics */
.mono, .eyebrow, .step-n, .marquee-track span, .marquee-label, .statusbar, .call-state,
.call-timer, .phone-label, .dial-label, .footer-base, .btn-num, .dial-num, .phone-num {
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-feature-settings: "ss01";
}

/* emphasis stays in-color — impact comes from scale + type, not a tinted word */
em, .serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.grain { display: none; }  /* film grain removed — dot-grid lives in the hero */

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: .98rem; line-height: 1;
  border-radius: 11px; padding: 14px 22px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn-ico { display: inline-flex; }
.btn-ico svg { width: 17px; height: 17px; }
.btn-num { font-size: .92em; letter-spacing: -.01em; opacity: .85; }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(14,17,19,.28), 0 8px 20px -8px rgba(14,17,19,.4);
}
.btn-primary:hover { background: #000; box-shadow: 0 1px 2px rgba(14,17,19,.3), 0 12px 28px -8px rgba(14,17,19,.45); }
.btn-lg { padding: 16px 26px; font-size: 1rem; }

.btn-quiet { color: var(--ink-70); padding-inline: 12px; }
.btn-quiet:hover { color: var(--ink); }

.btn-ghost {
  background: rgba(255,255,255,.65); color: var(--ink);
  border-color: var(--line); backdrop-filter: blur(8px);
  padding: 10px 16px; font-size: .92rem;
}
.btn-ghost:hover { background: #fff; border-color: rgba(14,17,19,.16); box-shadow: var(--sh-1); }

/* =========================================================
   Nav
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-block: 0; padding-block: 18px;
  transition: padding-block .4s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244,245,246,.78); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent; opacity: 0;
  transition: opacity .45s var(--ease), border-color .45s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; border-bottom-color: var(--line-2); }
.nav.is-scrolled .nav-inner { padding-block: 12px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(var(--accent-rgb),.32)); }
.brand-word { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.03em; }

.nav-links { display: flex; gap: 34px; }
.nav-links a { position: relative; font-size: .96rem; color: var(--ink-70); transition: color .25s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; border-radius: 2px;
  background: var(--sig); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 150px 0 90px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* faint precision dot-grid */
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,17,19,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 60%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 60%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.glow-a {
  width: 600px; height: 600px; top: -200px; right: -120px; opacity: .4;
  background: radial-gradient(circle at 35% 35%, var(--sig-t), transparent 62%);
}
.glow-b {
  width: 520px; height: 520px; bottom: -240px; left: -160px; opacity: .35;
  background: radial-gradient(circle at 50% 50%, var(--sky), transparent 64%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-45); background: var(--paper-2);
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px rgba(var(--sig-rgb),.16); }

.hero-h1 {
  margin: 26px 0 0; font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 600; letter-spacing: -0.045em; line-height: .98;
}
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h1 .line-in { display: block; }
.hero-h1 em { font-size: 1em; }

.hero-sub {
  margin: 28px 0 0; max-width: 30ch;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; color: var(--ink-70);
}

.hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 38px; }

.hero-reassure {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 26px; font-size: .92rem; color: var(--ink-45);
}
.hero-reassure li { list-style: none; }

/* ---------- phone product shot ---------- */
.hero-phone { position: relative; display: flex; justify-content: center; align-items: center; }

.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  border-radius: 52px; padding: 11px;
  background: linear-gradient(160deg, #17120f, #322722);
  box-shadow: var(--sh-phone);
}
.phone-island {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 16px; background: #0b0908; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, var(--night-2), var(--night-1) 70%);
  color: #F4EEE9; padding: 20px 22px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.statusbar {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; font-weight: 600; color: #F4EEE9; padding: 4px 6px 0;
}
.statusbar-r { display: inline-flex; align-items: center; gap: 6px; }

.call-state { margin-top: 30px; font-size: .82rem; letter-spacing: .03em; color: rgba(244,238,233,.6); }

.call-avatar { position: relative; margin-top: 22px; display: grid; place-items: center; }
.call-avatar-glow {
  position: absolute; width: 108px; height: 108px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
  animation: haloPulse 3.4s var(--ease) infinite;
}
@keyframes haloPulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.14); opacity: 1; } }

.call-name { margin-top: 20px; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.call-timer { margin-top: 6px; font-size: .86rem; color: rgba(244,238,233,.62); display: inline-flex; align-items: center; gap: 8px; }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #63d78a; box-shadow: 0 0 0 0 rgba(99,215,138,.7); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(99,215,138,.6); } 70% { box-shadow: 0 0 0 7px rgba(99,215,138,0); } 100% { box-shadow: 0 0 0 0 rgba(99,215,138,0); } }

.wave { display: flex; align-items: center; gap: 3px; height: 46px; margin-top: 26px; }
.wave span {
  width: 3px; border-radius: 3px; background: linear-gradient(180deg, #fff, var(--accent-t));
  height: 20%; animation: wave 1.3s var(--ease) infinite;
}
@keyframes wave { 0%,100% { height: 16%; opacity: .5; } 50% { height: 92%; opacity: 1; } }

.call-caption {
  margin-top: auto; margin-bottom: 14px; width: 100%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 12px 14px; font-size: .86rem; line-height: 1.45; text-align: left;
  color: rgba(244,238,233,.92); backdrop-filter: blur(4px);
}
.call-caption-who { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sig-t); margin-bottom: 3px; }

.call-controls { display: flex; gap: 16px; justify-content: center; }
.cc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #F4EEE9; }
.cc svg { width: 20px; height: 20px; }
.cc-end { background: #ec4b3b; box-shadow: 0 8px 18px -4px rgba(236,75,59,.6); }
.cc-end svg { width: 24px; height: 24px; }

/* floating chips */
.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px;
  font-size: .82rem; font-weight: 500; color: var(--ink); box-shadow: var(--sh-2);
}
.chip-ico { display: inline-flex; color: var(--accent); }
.chip-ico svg { width: 16px; height: 16px; }
.chip-loc { top: 8%; left: -6%; }
.chip-quote { bottom: 9%; right: -8%; }
.stars { color: var(--accent); letter-spacing: 1px; font-size: .74rem; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee-wrap { padding: 20px 0 40px; }
.marquee-label { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 24px; }
.marquee-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px rgba(var(--sig-rgb),.16); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; animation: scrollX 46s linear infinite; will-change: transform; }
.marquee-track span { font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 450; color: var(--ink-70); letter-spacing: -.01em; }
.marquee-track span::before { content: "\201C"; color: var(--ink-45); }
.marquee-track span::after { content: "\201D"; color: var(--ink-45); }
.marquee-track i { color: var(--sig); font-style: normal; font-size: .5rem; opacity: .8; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* =========================================================
   Section scaffold
   ========================================================= */
.section { padding: clamp(90px, 12vw, 168px) 0; position: relative; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; }
.section-title em { font-size: 1em; }
.section-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.55; color: var(--ink-70); }
.section-head.center .section-lede { margin-inline: auto; max-width: 56ch; }

/* =========================================================
   How it works — editorial rows
   ========================================================= */
.how { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.how-head { position: sticky; top: 120px; }
.how-head .section-title { margin-top: 18px; }

.steps { display: grid; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: baseline;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { font-size: 1rem; font-weight: 500; color: var(--ink-45); line-height: 1; padding-top: .4rem; letter-spacing: -.02em; }
.step-body h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.step-body p { margin-top: 10px; color: var(--ink-70); font-size: 1.04rem; line-height: 1.6; }

/* =========================================================
   What Toury feels like — editorial bento
   ========================================================= */
.feel .section-head { margin-bottom: 62px; }
.feel-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: minmax(210px, auto);
  gap: 22px;
}
.tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.tile h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.tile h3 em { font-size: 1em; }
.tile p { margin-top: 12px; color: var(--ink-70); font-size: 1rem; line-height: 1.58; }

.tile-lead { grid-column: 1; grid-row: 1 / span 2; justify-content: flex-end; }
.tile-lead h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.tile-lead p { font-size: 1.06rem; max-width: 34ch; }
.tile-wave { display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-bottom: auto; }
.tile-wave span { width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--sig), var(--sig-t)); height: 30%; animation: wave 1.6s var(--ease) infinite; opacity: .85; }

.tile-map { grid-column: 2 / span 2; grid-row: 1; padding: 0; flex-direction: row; align-items: stretch; }
.tile-map .map { flex: 1.1; position: relative; background: linear-gradient(150deg, #EDEFF2, #F6F7F9); border-right: 1px solid var(--line-2); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-road { fill: none; stroke-linecap: round; }
.map-road-bg { stroke: var(--line); stroke-width: 6; }
.map-road-fg { stroke: var(--sig); stroke-width: 3.5; }
.map-dot { fill: var(--sig); filter: drop-shadow(0 0 6px rgba(var(--sig-rgb),.55)); offset-path: path("M-10 150 C 60 150, 90 60, 160 70 S 270 130, 340 50"); offset-distance: 0%; animation: drive 6s var(--ease) infinite; }
.map-dot::after { content: ""; }
@keyframes drive { 0% { offset-distance: 8%; } 100% { offset-distance: 92%; } }
.tile-map .tile-txt { flex: 1; padding: 34px; display: flex; flex-direction: column; justify-content: center; }

.tile-night { grid-column: 2; grid-row: 2; color: #EAF0FB; background: radial-gradient(120% 90% at 80% 10%, #23304A, var(--night-1)); border-color: transparent; }
.tile-night h3 { color: #fff; }
.tile-night p { color: rgba(234,240,251,.66); }
.moon { position: absolute; top: 26px; right: 28px; width: 34px; height: 34px; border-radius: 50%; background: #EAF0FB; box-shadow: inset -9px -6px 0 0 #23304A, 0 0 24px rgba(185,196,252,.4); }

.tile-noapp { grid-column: 3; grid-row: 2; justify-content: flex-end; }

/* =========================================================
   Trust / privacy
   ========================================================= */
.trust { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.trust .section-head { margin-bottom: 62px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.principle:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.principle-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sig-w); color: var(--sig-d); margin-bottom: 22px; }
.principle-ico svg { width: 25px; height: 25px; }
.principle h3 { font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; }
.principle p { margin-top: 11px; color: var(--ink-70); font-size: 1rem; line-height: 1.58; }

/* =========================================================
   Closing CTA
   ========================================================= */
.closing { text-align: center; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 70% at 50% 50%, var(--accent-w), transparent 70%); }
.closing-inner { position: relative; z-index: 1; max-width: 760px; }
.closing-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.04em; }
.closing-title em { font-size: 1em; }
.closing-sub { margin: 26px auto 44px; max-width: 46ch; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink-70); }

.dial {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 20px 44px; box-shadow: var(--sh-2);
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease);
  will-change: transform;
}
.dial:hover { transform: translateY(-4px); box-shadow: 0 2px 8px rgba(32,28,24,.06), 0 30px 60px -20px rgba(var(--accent-rgb),.4); }
.dial-label { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-45); }
.dial-num { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.closing-note { margin-top: 24px; font-size: .92rem; color: var(--ink-45); }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 66px 0 40px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-tag { margin-top: 14px; color: var(--ink-45); font-size: .95rem; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-70); font-size: .96rem; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--accent-d); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--ink-45); font-size: .85rem; }

/* =========================================================
   Motion states (JS present → hide, then reveal)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js .hero-h1 { visibility: hidden; }   /* GSAP sets yPercent, then reveals — no flash */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-h1 { visibility: visible !important; }
  .call-avatar-glow, .rec-dot, .wave span, .marquee-track, .map-dot, .tile-wave span, .haloPulse { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-reassure { justify-content: center; }
  .hero-phone { margin-top: 8px; }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .how-head { position: static; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .feel-grid { grid-template-columns: 1fr 1fr; }
  .tile-lead { grid-column: 1 / span 2; grid-row: auto; }
  .tile-map { grid-column: 1 / span 2; grid-row: auto; min-height: 240px; }
  .tile-night { grid-column: 1; grid-row: auto; }
  .tile-noapp { grid-column: 2; grid-row: auto; }
  .principles { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .container { padding-inline: 22px; }
  body { font-size: 16px; }
  .hero { padding-top: 128px; }
  .btn-num { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .chip-loc { left: 0; top: 2%; }
  .chip-quote { right: 0; bottom: 3%; }
  .tile-map { flex-direction: column; }
  .tile-map .map { min-height: 150px; border-right: none; border-bottom: 1px solid var(--line-2); }
  .feel-grid { grid-template-columns: 1fr; }
  .tile-lead, .tile-map, .tile-night, .tile-noapp { grid-column: 1; }
  .dial { padding: 18px 30px; width: 100%; }
}
@media (max-width: 380px) {
  .phone { width: 264px; }
}
