/* ==========================================================================
   Mako V2's look for the public site (html.skin-v2), Stan 24 Nov 2026: the homepage (/new), the
   feature pages, the features hub, the changelog and the rate page look like the V2 app.

   The language of the V2 app (frontend/src/v2/v2.css): Mako's light lagoon ground, every section
   a group on it (white, translucent white or deep water), black for the buttons that matter, Mako
   blue only as an accent, one spring for everything that moves, and the clay Mako instead of the
   hologram one. It replaced the Reef look (reef-skin.css stays only for /live while its Meta A/B test runs).
   Only the look changes: copy, buttons and tracking stay the page's own (home.css, feature.css).
   The homepage's own parts (Made with Mako, the viewer, Your AI team) live in v2-home.css.
   ========================================================================== */

html.skin-v2{
  --v2-ink:#0f1b2a;
  --v2-ink-2:#435266;
  --v2-ink-3:#7a8797;
  --v2-line:rgba(15,27,42,.08);
  --v2-black:#0b0f14;
  --v2-black-2:#232a33;
  --v2-navy:#082340;
  --v2-blue:#0a84ff;
  --v2-card:rgba(255,255,255,.92);
  --v2-group:rgba(255,255,255,.5);
  --v2-glass:rgba(237,245,253,.74);
  --v2-sh-1:0 1px 2px rgba(8,35,64,.06),0 8px 22px -10px rgba(8,35,64,.18);
  --v2-sh-2:0 2px 4px rgba(8,35,64,.05),0 24px 56px -20px rgba(8,35,64,.28);
  --v2-sh-btn:0 1px 1px rgba(8,35,64,.04),0 6px 16px -10px rgba(8,35,64,.22);
  --v2-spring:cubic-bezier(.32,.72,0,1);
  --v2-ease-out:cubic-bezier(.23,1,.32,1);
  --v2-ground:
    radial-gradient(42% 46% at 4% 84%,rgba(190,236,240,.9),rgba(190,236,240,0) 72%),
    radial-gradient(40% 40% at 28% 106%,rgba(206,240,246,.85),rgba(206,240,246,0) 70%),
    radial-gradient(50% 44% at 20% -6%,rgba(198,224,255,.95),rgba(198,224,255,0) 72%),
    radial-gradient(46% 50% at 96% 2%,rgba(206,232,255,.95),rgba(206,232,255,0) 70%),
    radial-gradient(44% 50% at 100% 98%,rgba(196,226,252,.9),rgba(196,226,252,0) 72%),
    radial-gradient(36% 36% at 60% 40%,rgba(232,244,255,.85),rgba(232,244,255,0) 72%),
    linear-gradient(180deg,#edf5fd,#f1f8fe);
  --v2-panel-r:clamp(28px,3vw,40px);

  /* the page's own tokens (home.css), in V2's palette */
  --ink:var(--v2-ink);
  --ink-2:var(--v2-ink-2);
  --muted:#4d5d71;
  --soft:var(--v2-ink-3);
  --line:rgba(15,27,42,.14);
  --hair:var(--v2-line);
  --gray:#f4f9fe;
  --blue:var(--v2-blue);
  --link:#0a6fd6;
  --mako-grad:linear-gradient(135deg,#1fa6ff 0%,#0a84ff 55%,#0a6fe8 100%);
  --night:#07121f;
  --deep:linear-gradient(180deg,#0c1f37 0%,#09182b 55%,#07121f 100%);
  --night-ink:#eef4fb;
  --night-muted:rgba(238,244,251,.74);
  --night-soft:rgba(238,244,251,.54);
  --night-tile:rgba(255,255,255,.06);
  --night-line:rgba(255,255,255,.12);
  --night-link:#7cc4ff;
  --ease:var(--v2-spring);
  background:#edf5fd;
}

/* ---------- the ground: the app's lagoon, behind the whole page ---------- */
html.skin-v2 body{background:#edf5fd;color:var(--v2-ink)}
html.skin-v2 body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--v2-ground)}
html.skin-v2 main,html.skin-v2 .foot{position:relative}

/* ---------- the bar on top and the nav: V2's glass top band ---------- */
html.skin-v2 .promo-bar{background:var(--v2-black)}
html.skin-v2 .nav{background:var(--v2-glass);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.6)}
html.skin-v2 .nav.scrolled{box-shadow:inset 0 -1px 0 rgba(255,255,255,.6),0 10px 30px -22px rgba(8,35,64,.45)}
html.skin-v2 .nav::after{content:none}
html.skin-v2 .nav-links a,html.skin-v2 .nav-login{color:var(--v2-ink);opacity:.72}
html.skin-v2 .nav-links a:hover,html.skin-v2 .nav-login:hover{opacity:1}
html.skin-v2 .nav.mega-open,html.skin-v2 .nav.sheet-open{background:#f6faff}
/* the nav's button stays as wide as before (its longer free-route label must fit a 320px phone) */
html.skin-v2 .nav .btn-sm{font-weight:500}
@media (max-width:350px){html.skin-v2 .nav-cta{gap:10px}html.skin-v2 .nav .btn-sm{font-weight:400}}

/* ---------- buttons: black for the ones that matter (V2) ---------- */
html.skin-v2 .btn{transition:background-color .16s ease,color .16s ease,box-shadow .22s ease,transform .1s ease-out}
html.skin-v2 .btn:active{transform:scale(.97)}
html.skin-v2 .btn-primary{background:var(--v2-black);background-image:none;color:#fff;font-weight:600;
  box-shadow:0 1px 1px rgba(8,35,64,.08),0 10px 24px -12px rgba(8,35,64,.55)}
html.skin-v2 .btn-primary::after{content:none;animation:none}
html.skin-v2 .btn-primary:hover{background:var(--v2-black-2);filter:none;box-shadow:0 1px 1px rgba(8,35,64,.08),0 14px 30px -12px rgba(8,35,64,.6)}
html.skin-v2 .btn-secondary{color:var(--v2-ink);background:#fff;box-shadow:var(--v2-sh-btn)}
html.skin-v2 .btn-secondary:hover{background:#fff;color:var(--v2-ink);box-shadow:var(--v2-sh-1)}
html.skin-v2 .dark .btn-primary{background:#fff;color:var(--v2-black);box-shadow:0 10px 30px -12px rgba(0,0,0,.6)}
html.skin-v2 .dark .btn-primary:hover{background:#eef4fb}
html.skin-v2 .link{color:var(--link)}
/* air between a button and the line under it: the black button's shadow reads as part of it (Stan, 24 Nov 2026) */
html.skin-v2 .cta{gap:20px}
html.skin-v2 .cta .cta-note,html.skin-v2 .cta>.fine,html.skin-v2 .cta>.small{margin-top:0}
html.skin-v2 .hv-stage{gap:24px}
html.skin-v2 :focus-visible{outline-color:var(--v2-blue)}

/* ---------- type: V2's voice. Headlines in two tones, the second line quieter ---------- */
html.skin-v2 :is(.display,.headline){letter-spacing:-.032em;font-weight:700}
html.skin-v2 :is(.display,.headline,.statement) .soft{color:var(--v2-ink-3);font-weight:700}
html.skin-v2 .dark :is(.display,.headline,.statement) .soft{color:rgba(238,244,251,.56)}
html.skin-v2 .eyebrow{padding:6px 13px 6px 10px;font-size:13px;font-weight:650;letter-spacing:-.005em;color:var(--v2-ink-2);
  background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),var(--v2-sh-btn)}
html.skin-v2 .eyebrow::before{background:var(--v2-blue)}
html.skin-v2 .dark .eyebrow{color:#cfe6ff;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html.skin-v2 .dark .eyebrow::before{background:#7cc4ff}

/* ---------- sections: each one a group on the ground ---------- */
html.skin-v2 :is(.split,.section,.section.gray,.section.dark){background:none;padding:clamp(8px,1.2vw,16px) 0}
html.skin-v2 :is(.section.gray,.section.dark)::before,html.skin-v2 .section.dark::after{content:none}
html.skin-v2 :is(.split,.section)>.wrap{position:relative;padding-top:clamp(56px,7vw,104px);padding-bottom:clamp(56px,7vw,104px);
  border-radius:var(--v2-panel-r);background:#fff;box-shadow:var(--v2-sh-2),inset 0 0 0 1px rgba(255,255,255,.9)}
html.skin-v2 .section.gray>.wrap{background:#f6fafe;box-shadow:var(--v2-sh-1),inset 0 0 0 1px rgba(255,255,255,.95)}
html.skin-v2 .section.dark>.wrap{background:radial-gradient(80% 50% at 50% 0%,rgba(10,132,255,.2),transparent 70%),var(--deep);
  box-shadow:0 2px 4px rgba(8,35,64,.1),0 40px 80px -36px rgba(8,35,64,.7),inset 0 1px 0 rgba(255,255,255,.08)}
@media (max-width:639px){
  html.skin-v2 :is(.split,.section)>.wrap{width:calc(100% - 16px);border-radius:28px}
}
@media (min-width:640px){
  html.skin-v2 :is(.split,.section)>.wrap{width:calc(100% - 2 * var(--gutter))}
}
/* a phone's panel is a little narrower than the old full-width one: rows of phones and cards shrink to fit it */
@media (max-width:639px){
  html.skin-v2 .fv-phones>.fv-phone{flex-shrink:1;min-width:0}
  html.skin-v2 .fp-rows,html.skin-v2 .fp-row{grid-template-columns:minmax(0,1fr)}
}

/* the pinned "how" stage sits on its panel's own white */
html.skin-v2 .split.how .how-pin{background:transparent}
@media (max-width:899px){
  html.skin-v2 .split.how .how-pin{background:#fff}
  html.skin-v2 .split.how .how-pin::after{background:linear-gradient(#fff,rgba(255,255,255,0))}
}
html.skin-v2 .js .how-step:not(.on) .how-n{background:#fff;box-shadow:inset 0 0 0 1.5px var(--v2-line),0 0 0 6px #fff}
html.skin-v2 .how-n{box-shadow:0 0 0 6px #fff,0 10px 24px -8px rgba(10,132,255,.45)}
html.skin-v2 .how-step.you .how-n{box-shadow:0 0 0 6px #fff,0 10px 24px -8px rgba(0,0,0,.35)}

/* the deep-water bubbles of the closing section belonged to the Reef; V2's deep water is calm */
html.skin-v2 .bubbles{display:none}

/* ---------- the clay Mako (replaces the hologram tiles everywhere) ---------- */
html.skin-v2 img.clay{background:none;box-shadow:none;border-radius:0;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(8,35,64,.16))}
html.skin-v2 .dark img.clay{filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
html.skin-v2 img.clay.fin{background:none;box-shadow:none}
html.skin-v2 img.clay-face{border-radius:50%;object-fit:cover;background:#dbeaff;box-shadow:0 0 0 1px rgba(15,27,42,.06)}
html.skin-v2 .ap-face{background:#dbeaff}
/* the figures stand on their own: no tile, no glow ring, a little bigger than the old square icons */
html.skin-v2 .agent-name img.clay{width:132px;height:132px}
html.skin-v2 img.clay.promise-fin{width:120px;height:120px;margin-bottom:12px}
html.skin-v2 .section-fin img.clay{width:112px;height:112px}
html.skin-v2 .close-fin::after{content:none}
html.skin-v2 .close-fin::before{opacity:.5}
html.skin-v2 .close-fin img.clay{width:168px;height:168px;border-radius:0}
html.skin-v2 img.clay.mode-fin{width:72px;height:72px;margin:-8px 0 0 -8px}
html.skin-v2 .how-sum-mako img.clay{width:64px;height:64px;top:clamp(10px,1.8vw,18px)}
html.skin-v2 .hw-ear img.clay{width:26cqw;height:26cqw}
@media (prefers-reduced-motion:no-preference){
  html.skin-v2 img.clay.breathe{animation:clay-breathe 4.6s var(--v2-spring) infinite}
}
@keyframes clay-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.012)}}

/* ---------- the sticky bar on phones: V2 glass ---------- */
html.skin-v2 .sticky-cta .t{min-width:0}
html.skin-v2 .sticky-cta .btn{flex:none;padding:9px 16px}
html.skin-v2 .sticky-cta{background:var(--v2-glass);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 -10px 30px -22px rgba(8,35,64,.4)}

/* ---------- accessibility ---------- */
@media (prefers-reduced-transparency:reduce){
  html.skin-v2 .nav,html.skin-v2 .sticky-cta{background:#f6faff;-webkit-backdrop-filter:none;backdrop-filter:none}
}
