/* Scoped homepage. Loaded only by index.html, every rule scoped to body.home2
   so the shared styles.css and the other pages are untouched. */

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/preview-fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/preview-fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/preview-fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

.home2 {
  --bg: #0c0f0e;
  --bg-2: #131816;
  --bg-3: #1a201d;
  --text: #edeee8;
  --muted: #a3aba5;
  --faint: #6f7872;
  --rule: rgba(237, 238, 232, .1);
  --accent: #5cffad;
  --accent-ink: #062314;
  --paper: #f2f0e9;
  --paper-2: #e8e5db;
  --paper-text: #141816;
  --paper-muted: #5a625d;
  --paper-accent: #0d7a48;
  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:has(body.home2) { background: #0c0f0e; scroll-behavior: smooth; scroll-padding-top: 80px; }
.home2 *, .home2 *::before, .home2 *::after { box-sizing: border-box; }
.home2 img { display: block; max-width: 100%; height: auto; }
.home2 a { color: inherit; }
:where(.home2) :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
:where(.home2) :where(ul, ol) { padding: 0; list-style: none; }

/* film grain over everything, very light */
.home2::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home2 .skip-link {
  position: fixed; z-index: 80; top: 8px; left: 8px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.home2 .skip-link:focus { transform: none; }
.home2 :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.h2-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.home2 h1, .home2 h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.015em; }
.home2 h1 em, .home2 h2 em { font-style: italic; color: var(--accent); }
.home2 h2 { font-size: clamp(40px, 9.6vw, 76px); line-height: .98; text-wrap: balance; }
.home2 h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.h2-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
}
.h2-kicker::before { content: ''; width: 22px; height: 1px; background: var(--accent); }

/* buttons */
.h2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink) !important;
  font-weight: 650; font-size: 17px; text-decoration: none;
  box-shadow: 0 10px 34px -10px rgba(92, 255, 173, .55), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.h2-btn span { transition: transform .25s var(--ease-out); }
.h2-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(92, 255, 173, .7); }
.h2-btn:hover span { transform: translateX(3px); }
.h2-btn:active { transform: scale(.97); }
.h2-btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.h2-call {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 54px; text-decoration: none;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.h2-call-label { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.h2-call:hover { color: var(--accent); }
.h2-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease-out), color .2s;
}
.h2-link:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; }

/* header */
.h2-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s, box-shadow .3s;
}
.h2-header.is-scrolled {
  background: rgba(12, 15, 14, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--rule);
}
.h2-nav { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.h2-mark { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--accent); }
.h2-ret { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.h2-mark-word { display: grid; line-height: 1; color: var(--text); }
.h2-mark-word strong { font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h2-mark-word small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.h2-nav-links { display: none; }

.h2-menu { position: relative; }
.h2-menu summary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 40px; border-radius: 999px;
  list-style: none; cursor: pointer;
  background: rgba(237, 238, 232, .07);
}
.h2-menu summary::-webkit-details-marker { display: none; }
.h2-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h2-menu-glyph { display: grid; gap: 5px; width: 16px; }
.h2-menu-glyph i { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out); }
.h2-menu[open] .h2-menu-glyph i:first-child { transform: translateY(3.25px) rotate(45deg); }
.h2-menu[open] .h2-menu-glyph i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.h2-menu-panel {
  position: fixed; top: calc(72px + env(safe-area-inset-top)); left: 12px; right: 12px;
  max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain;
  padding: 18px; border-radius: 20px;
  background: #151a18;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--rule);
  animation: h2-menu-in .32s var(--ease-out);
}
@keyframes h2-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.h2-menu-heading { margin: 4px 6px 8px; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.h2-menu-heading:not(:first-child) { margin-top: 16px; }
.h2-menu-panel > a { display: grid; gap: 2px; padding: 10px 6px; border-radius: 10px; text-decoration: none; }
.h2-menu-panel > a:hover { background: rgba(237, 238, 232, .05); }
.h2-menu-panel > a strong { font-weight: 600; }
.h2-menu-panel > a small { color: var(--muted); font-size: 14px; }
.h2-menu-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.h2-menu-plans a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(237, 238, 232, .05);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.h2-menu-plans a span { color: var(--accent); font-weight: 500; }
.h2-menu-panel .h2-menu-call { margin-top: 14px; padding: 14px; text-align: center; border-radius: 12px; background: rgba(92, 255, 173, .1); color: var(--accent); font-weight: 600; }

/* hero */
.h2-hero { position: relative; padding: 22px 0 64px; overflow: hidden; isolation: isolate; }
.h2-hero-glow {
  position: absolute; z-index: -1;
  left: 50%; top: 52%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background:
    radial-gradient(closest-side, rgba(92, 255, 173, .2), rgba(92, 255, 173, .05) 55%, transparent 72%);
  filter: blur(10px);
  animation: h2-breathe 12s ease-in-out infinite alternate;
}
@keyframes h2-breathe { to { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: .8; } }
.h2-hero-grid { display: grid; gap: 28px; grid-template-areas: 'head' 'show' 'body'; }
.h2-hero-head { grid-area: head; }
.h2-showcase { grid-area: show; }
.h2-hero-body { grid-area: body; }
.h2-hero-head .h2-kicker { margin-bottom: 16px; }
.home2 h1 {
  font-size: clamp(44px, 12.4vw, 104px);
  line-height: .94;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2-lede { margin-top: 6px; max-width: 34em; color: #c6cbc6; font-size: 18px; line-height: 1.55; }
.h2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.h2-hero-note { margin-top: 20px; color: var(--faint); font-size: 14px; }
.h2-hero-note span { color: var(--muted); font-weight: 600; }

/* device showcase */
.h2-showcase { position: relative; }
.h2-stage {
  position: relative;
  aspect-ratio: 10 / 9;
  max-width: 640px;
  margin: 0 auto;
}
.h2-browser {
  position: absolute; left: 0; top: 9%;
  width: 86%;
  border-radius: 12px;
  overflow: hidden;
  background: #1d2320;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07);
}
.h2-browser-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #222926; }
.h2-browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.h2-browser-url {
  flex: 1; max-width: 60%; margin: 0 auto; padding: 2px 10px;
  border-radius: 6px; background: rgba(0, 0, 0, .3);
  color: var(--muted); font-size: 10px; text-align: center; letter-spacing: .02em;
  transform: translateX(-12px);
}
.h2-browser-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0e1210; }
.h2-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-out);
}
.h2-shot.is-active { opacity: 1; transform: none; }

.h2-phone {
  --pw: 46%;
  position: absolute; right: 0; bottom: 0;
  width: var(--pw);
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(145deg, #2c3430, #121614 60%);
  box-shadow:
    0 50px 80px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 0 70px -10px rgba(92, 255, 173, .25);
}
.h2-phone-screen {
  position: relative;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 27px;
  background: #0e1210;
  container-type: size;
}
.h2-phone-notch {
  position: absolute; top: 15px; left: 50%;
  width: 30%; height: 17px; margin-left: -15%;
  border-radius: 20px; background: #050706;
}
.h2-scroller { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease-out); }
.h2-scroller.is-active { opacity: 1; }
.h2-scroller img { width: 100%; will-change: transform; }
.h2-scroller.is-running img { animation: h2-phone-scroll var(--cycle, 10s) cubic-bezier(.45, 0, .3, 1) both; }
@keyframes h2-phone-scroll {
  0%, 10% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, calc(-100% + 100cqh), 0); }
}

.h2-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; margin: 26px auto 0; }
.h2-switch button {
  position: relative; display: grid; gap: 2px; justify-items: start;
  padding: 12px 14px 16px; border: 0; border-radius: 14px;
  background: rgba(237, 238, 232, .04);
  color: var(--muted); font: inherit; text-align: left; cursor: pointer;
  overflow: hidden;
  transition: background-color .3s, color .3s;
}
.h2-switch button strong { color: inherit; font-size: 16px; font-weight: 600; }
.h2-switch button small { font-size: 13px; color: var(--faint); }
.h2-switch button.is-active { background: rgba(237, 238, 232, .08); color: var(--text); }
.h2-switch-bar { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.h2-switch-bar::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.h2-switch button.is-active .h2-switch-bar::after { transform: scaleX(1); }
.h2-showcase.is-cycling .h2-switch button.is-active .h2-switch-bar::after { animation: h2-progress var(--cycle, 10s) linear both; }
@keyframes h2-progress { from { transform: scaleX(0); } }
.h2-live { margin-top: 14px; text-align: center; font-size: 15px; }
.h2-live a { color: var(--muted); text-decoration: none; }
.h2-live a:hover { color: var(--accent); }

/* proof */
.h2-proof { padding: 72px 0 80px; background: var(--bg-2); }
.h2-proof-head { display: grid; gap: 36px; margin-bottom: 48px; }
.h2-stat-num { font-family: var(--display); font-size: clamp(64px, 18vw, 120px); line-height: .9; letter-spacing: -.03em; color: var(--accent); }
.h2-stat-num span { font-size: .34em; letter-spacing: 0; color: var(--text); font-style: italic; vertical-align: .55em; margin: 0 .1em; }
.h2-stat-label { margin-top: 10px; max-width: 26em; color: var(--muted); font-size: 15px; }
.h2-proof-list { display: grid; gap: 34px; }
.h2-proof-list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 6px; align-content: start; }
.h2-proof-list svg { grid-row: span 2; width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h2-proof-list p { color: var(--muted); font-size: 16px; }

/* owner */
.h2-owner { padding: 96px 0; }
.h2-owner-grid { display: grid; gap: 52px; }
.h2-owner-copy > p:not(.h2-kicker) { margin-top: 22px; max-width: 34em; color: #c6cbc6; font-size: 18px; }
.h2-owner-copy h2 { max-width: 12ch; }
.h2-questions { margin-top: 22px; counter-reset: q; }
.h2-questions li {
  counter-increment: q;
  position: relative; padding: 14px 0 14px 44px;
  font-family: var(--display); font-size: clamp(25px, 6.4vw, 34px); line-height: 1.1;
  box-shadow: 0 -1px 0 var(--rule);
}
.h2-questions li:last-child { box-shadow: 0 -1px 0 var(--rule), 0 1px 0 var(--rule); }
.h2-questions li::before {
  content: counter(q);
  position: absolute; left: 0; top: 18px;
  color: var(--accent); font: 600 14px/1 var(--sans);
}
.h2-owner-media { position: relative; }
.h2-owner-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.h2-owner-media figcaption { margin-top: 14px; color: var(--faint); font-size: 14px; }

/* work */
.h2-work { padding: 40px 0 104px; }
.h2-section-head { display: grid; gap: 20px; align-items: end; margin-bottom: 44px; }
.h2-section-head h2 { max-width: 14ch; }
.h2-cases { display: grid; gap: 56px; }
.h2-case { display: grid; gap: 22px; }
.h2-case-media { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-3); }
.h2-case-media img { width: 100%; height: 112%; object-fit: cover; object-position: top; transition: scale .8s var(--ease-out); }
.h2-case-media:hover img { scale: 1.03; }
.h2-case-tag { color: var(--accent); font-size: 14px; font-weight: 600; }
.h2-case h3 { margin: 6px 0 10px; font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: -.015em; line-height: 1; }
.h2-case-text > p:not(.h2-case-tag) { margin-bottom: 16px; max-width: 32em; color: var(--muted); }

/* pricing: paper section */
.h2-pricing { padding: 96px 0; background: var(--paper); color: var(--paper-text); }
.h2-pricing .h2-kicker { color: var(--paper-muted); }
.h2-pricing .h2-kicker::before { background: var(--paper-accent); }
.h2-pricing h2 em { color: var(--paper-accent); }
.h2-pricing h2 { max-width: 13ch; }
.h2-pricing-intro { max-width: 28em; color: var(--paper-muted); }
.h2-group-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin: 8px 0 20px;
  font-size: 15px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase;
}
.h2-group-title span { color: var(--paper-muted); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 15px; }
.h2-plans { display: grid; gap: 14px; margin-bottom: 64px; }
.h2-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 26px; border-radius: 20px;
  background: #fbfaf6;
  box-shadow: 0 1px 2px rgba(20, 24, 22, .06), 0 18px 40px -26px rgba(20, 24, 22, .3);
}
.h2-plan h4 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.h2-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; }
.h2-price > span { font-family: var(--display); font-size: 68px; line-height: 1; letter-spacing: -.03em; }
.h2-price small { color: var(--paper-muted); font-size: 15px; }
.h2-plan-pitch { color: var(--paper-text); font-size: 17px; font-weight: 500; margin-bottom: 18px; }
.h2-plan ul { display: grid; gap: 10px; margin-bottom: 26px; }
.h2-plan li { position: relative; padding-left: 26px; color: #3b433e; font-size: 15.5px; line-height: 1.45; }
.h2-plan li::before {
  content: ''; position: absolute; left: 2px; top: .38em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--paper-accent); border-bottom: 2px solid var(--paper-accent);
  transform: rotate(-45deg);
}
.h2-plan-link { margin-top: auto; color: var(--paper-text); font-weight: 650; text-decoration: none; }
.h2-plan-link span { display: inline-block; transition: transform .25s var(--ease-out); }
.h2-plan-link:hover { color: var(--paper-accent); }
.h2-plan-link:hover span { transform: translateX(4px); }
.h2-plan-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.h2-plan-feature { background: #101513; color: var(--text); box-shadow: 0 30px 60px -28px rgba(13, 50, 32, .7); }
.h2-plan-feature .h2-price small, .h2-plan-feature li { color: #bcc3be; }
.h2-plan-feature .h2-plan-pitch, .h2-plan-feature .h2-plan-link { color: var(--text); }
.h2-plan-feature li::before { border-color: var(--accent); }
.h2-plan-feature .h2-price > span { color: var(--accent); }
.h2-plan-feature .h2-plan-link:hover { color: var(--accent); }
.h2-plan-badge {
  position: absolute; top: 24px; right: 22px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(92, 255, 173, .14); color: var(--accent);
  font-size: 12px; font-weight: 650; letter-spacing: .04em;
}

.h2-support { display: grid; }
.h2-support-headrow { display: none !important; }
.h2-support-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 20px 4px;
  color: inherit; text-decoration: none;
  border-top: 1px solid rgba(20, 24, 22, .12);
  transition: background-color .25s;
}
.h2-support-row:last-child { border-bottom: 1px solid rgba(20, 24, 22, .12); }
.h2-support-row strong { font-size: 20px; font-weight: 650; }
.h2-support-row > span { grid-column: 1 / -1; grid-row: 2; color: var(--paper-muted); font-size: 15.5px; max-width: 40em; }
.h2-support-row b { grid-column: 2; grid-row: 1; text-align: right; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.h2-support-row b.h2-yearly { grid-row: 3; grid-column: 1 / -1; text-align: left; margin-top: 6px; font: 500 14px var(--sans); color: var(--paper-accent); }
.h2-support-row:hover { background: rgba(20, 24, 22, .03); }
.h2-pricing-foot { margin-top: 26px; color: var(--paper-muted); font-size: 15.5px; }
.h2-pricing-foot a { color: var(--paper-text); font-weight: 600; }
.h2-pricing-foot a:hover { color: var(--paper-accent); }

/* steps */
.h2-steps { padding: 104px 0 88px; }
.h2-step-list { display: grid; gap: 34px; counter-reset: s; }
.h2-step-list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 6px; }
.h2-step-n {
  grid-row: span 2;
  font-family: var(--display); font-size: 56px; line-height: .85; color: var(--accent);
}
.h2-step-list p { color: var(--muted); }

/* faq */
.h2-faq { padding: 40px 0 96px; }
.h2-faq-grid { display: grid; gap: 30px; }
.h2-faq h2 { margin-bottom: 18px; }
.h2-faq-list details { border-top: 1px solid var(--rule); }
.h2-faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.h2-faq-list summary {
  position: relative; padding: 22px 40px 22px 0;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
  list-style: none; cursor: pointer;
}
.h2-faq-list summary::-webkit-details-marker { display: none; }
.h2-faq-list summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.h2-faq-list details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.h2-faq-list details p { padding: 0 0 24px; max-width: 40em; color: var(--muted); }

/* closing band */
.h2-close {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 104px 0 112px; text-align: center;
  background: var(--bg-2);
}
.h2-close::before {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -380px;
  width: 900px; height: 600px; margin-left: -450px;
  background: radial-gradient(closest-side, rgba(92, 255, 173, .22), transparent 75%);
}
.h2-close h2 { max-width: 15ch; margin: 0 auto; }
.h2-close p { max-width: 30em; margin: 20px auto 0; color: var(--muted); }
.h2-close .h2-actions { justify-content: center; }
.h2-close .h2-call { align-items: flex-start; }

/* footer */
.h2-footer { padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; }
.h2-footer-grid { display: grid; gap: 34px; }
.h2-footer a { text-decoration: none; }
.h2-footer a:not(.h2-mark):hover { color: var(--accent); }
.h2-footer-brand, .h2-footer-col { display: grid; gap: 8px; align-content: start; justify-items: start; }
.h2-footer-brand .h2-mark { margin-bottom: 10px; }
.h2-footer-heading { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* scroll reveals (only when JS marks the page ready) */
.home2.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.home2.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* tablet and up */
@media (min-width: 720px) {
  .home2 { --gutter: 36px; }
  .h2-proof-list { grid-template-columns: 1fr 1fr; gap: 44px 48px; }
  .h2-plans { grid-template-columns: repeat(2, 1fr); }
  .h2-step-list { grid-template-columns: 1fr 1fr; gap: 44px 48px; }
  .h2-cases { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .h2-support-row { grid-template-columns: 150px 1fr 110px 130px; align-items: baseline; padding: 22px 8px; }
  .h2-support-row > * { grid-row: 1 !important; margin: 0 !important; }
  .h2-support-row > strong { grid-column: 1; }
  .h2-support-row > span { grid-column: 2; }
  .h2-support-row > b { grid-column: 3; }
  .h2-support-row > b.h2-yearly { grid-column: 4; }
  .h2-support-row b.h2-yearly { text-align: right; }
  .h2-support-headrow {
    display: grid !important; padding: 0 8px 12px; border-top: 0;
    color: var(--paper-muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  }
  .h2-support-headrow > span:nth-child(1) { grid-column: 1; }
  .h2-support-headrow > span:nth-child(2) { grid-column: 2; }
  .h2-support-headrow > span:nth-child(3) { grid-column: 3; text-align: right; }
  .h2-support-headrow > span:nth-child(4) { grid-column: 4; text-align: right; }
  .h2-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* desktop */
@media (min-width: 1040px) {
  .home2 { --gutter: 48px; }
  .h2-nav { min-height: 80px; gap: 26px; }
  .h2-nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
  .h2-nav-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
  .h2-nav-links a:hover { color: var(--text); }
  .h2-menu-panel { position: absolute; top: calc(100% + 10px); left: auto; right: 0; width: 380px; }
  .h2-hero { padding: 48px 0 110px; }
  .h2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); grid-template-areas: 'head show' 'body show'; column-gap: 64px; row-gap: 0; align-items: center; }
  .h2-hero-head { align-self: end; }
  .h2-hero-body { align-self: start; }
  .h2-lede { margin-top: 28px; }
  .home2 h1 { font-size: clamp(64px, 5.9vw, 96px); }
  .h2-hero-glow { left: 76%; top: 46%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; }
  .h2-stage { aspect-ratio: 10 / 9.2; max-width: 700px; }
  .h2-switch { max-width: 700px; }
  .h2-phone { --pw: 42%; }
  .h2-proof { padding: 120px 0; }
  .h2-proof-head { grid-template-columns: 1.1fr 1fr; align-items: end; margin-bottom: 72px; }
  .h2-proof-list { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .h2-proof-list li { grid-template-columns: 1fr; row-gap: 12px; }
  .h2-proof-list svg { grid-row: auto; margin-bottom: 10px; }
  .h2-owner { padding: 150px 0; }
  .h2-owner-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .h2-section-head { grid-template-columns: 1fr auto; margin-bottom: 60px; }
  .h2-case h3 { font-size: 52px; }
  .h2-pricing { padding: 140px 0; }
  .h2-pricing .h2-section-head { align-items: end; }
  .h2-plan { padding: 36px 32px 32px; }
  .h2-price > span { font-size: 84px; }
  .h2-step-list { grid-template-columns: repeat(4, 1fr); }
  .h2-step-list li { grid-template-columns: 1fr; }
  .h2-step-n { grid-row: auto; font-size: 72px; margin-bottom: 14px; }
  .h2-faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; }
  .h2-close { padding: 150px 0 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .home2 *, .home2 *::before, .home2 *::after { animation: none !important; transition-duration: .01ms !important; }
  html:has(body.home2) { scroll-behavior: auto; }
}

/* Three sites in the switch: on phones, stack them as slim rows (name left, label right) so nothing wraps. */
@media (max-width: 520px) {
  .h2-switch { grid-template-columns: 1fr; gap: 6px; }
  .h2-switch button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px 15px; }
  .h2-switch button strong { font-size: 15px; white-space: nowrap; }
  .h2-switch button small { font-size: 12.5px; white-space: nowrap; }
}

/* four builds: two by two on tablets, one row on wide screens */
@media (min-width: 1180px) {
  .h2-plans { grid-template-columns: repeat(4, 1fr); }
}
