/* Ridgeline Call Capture website.
   Brand (from the owner's brand board): Midnight #0B1F3B, Summit Blue #0F4C81, Alpine #3BA9FF,
   Evergreen #14BBA6, Snow #F8FAFC; typeface Inter. Logos live in /brand (built from the owner's logo files). */
/* Inter (SIL Open Font License, see /fonts/Inter-LICENSE.txt), served from this site: no third-party requests. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-opsz-normal.woff2') format('woff2-variations'), url('/fonts/inter-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --midnight: #0b1f3b;
  --midnight-deep: #071429;
  --summit: #0f4c81;
  --summit-dark: #0b3d69;
  --alpine: #3ba9ff;
  --alpine-soft: #e8f4ff;
  --evergreen: #14bba6;
  --evergreen-deep: #0a7d70;
  --snow: #f8fafc;
  --white: #ffffff;
  --ink: #0b1f3b;
  --text: #2a3b53;
  --muted: #5a6a80;
  --line: #e0e7f0;
  --on-dark: #e6eef8;
  --on-dark-muted: #a7b9cf;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgb(11 31 59 / 0.05), 0 6px 16px -6px rgb(11 31 59 / 0.1);
  --shadow-lg: 0 30px 60px -24px rgb(11 31 59 / 0.35);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --check-evergreen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314bba6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-deep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --plus-summit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c81' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--text);
  background: var(--snow);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ridges, .stars, .svg-sprite { stroke: none; } /* artwork, not line icons */
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--summit); }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--summit); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .payments :focus-visible, .final-cta :focus-visible, .site-header :focus-visible,
.site-footer :focus-visible, .plan.popular :focus-visible, .dialog-head :focus-visible { outline-color: var(--alpine); }

/* Buttons */
.btn {
  --btn-bg: var(--summit);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 999px;
  background-color: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-alpine {
  --btn-fg: var(--midnight);
  background-image: linear-gradient(180deg, #67bdff, var(--alpine));
  box-shadow: 0 10px 28px -10px rgb(59 169 255 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.45);
}
.btn-alpine:hover { box-shadow: 0 16px 36px -10px rgb(59 169 255 / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.45); }
.btn-glass { --btn-bg: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.2); backdrop-filter: blur(10px); }
.btn-glass:hover { --btn-bg: rgb(255 255 255 / 0.13); }
.btn-primary { box-shadow: 0 10px 24px -12px rgb(15 76 129 / 0.8); }
.btn-primary:hover { --btn-bg: var(--summit-dark); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--summit); border-color: rgb(15 76 129 / 0.3); }
.btn-outline:hover { --btn-bg: var(--alpine-soft); border-color: var(--summit); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { --btn-bg: var(--snow); }
.btn-small { padding: 9px 16px; font-size: 0.92rem; }
.btn-large { padding: 15px 26px; font-size: 1.04rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn.is-disabled { opacity: 0.55; cursor: default; transform: none; }

/* Header: glass over the night sky, solid once you scroll */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-solid { background: rgb(7 20 41 / 0.8); border-bottom-color: rgb(255 255 255 / 0.08); backdrop-filter: blur(16px) saturate(160%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.brand-mark { width: auto; height: 38px; }
.brand-divider { width: 1.5px; height: 30px; border-radius: 2px; background: rgb(59 169 255 / 0.65); }
.brand-word img { width: auto; height: 32px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--on-dark-muted); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: #fff; }
@media (max-width: 920px) { .nav { display: none; } }
.show-small { display: none; }
@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { height: 28px; }
  .brand-divider { display: none; }
  .brand-word img { height: 13px; }
  .hide-small { display: none; }
  .show-small { display: inline; }
}

/* Night sky: stars and northern lights */
.sky { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.stars { position: absolute; inset: 0 0 auto; width: 100%; height: 75%; opacity: 0.75; mask-image: linear-gradient(#000 30%, transparent); }
.aurora { position: absolute; border-radius: 50%; filter: blur(64px); mix-blend-mode: screen; opacity: 0.5; animation: drift 26s var(--ease) infinite alternate; }
.aurora-1 { left: -12%; top: 4%; width: 62%; height: 34%; background: linear-gradient(90deg, transparent, var(--evergreen) 45%, rgb(59 169 255 / 0.6) 75%, transparent); rotate: -10deg; }
.aurora-2 { right: -14%; top: 12%; width: 58%; height: 28%; background: linear-gradient(90deg, transparent, var(--alpine) 50%, transparent); rotate: 8deg; animation-duration: 32s; animation-delay: -9s; }
.aurora-3 { left: 28%; top: -6%; width: 44%; height: 24%; background: linear-gradient(90deg, transparent, #35d9c4 40%, var(--alpine), transparent); opacity: 0.32; animation-duration: 38s; animation-delay: -18s; }
@keyframes drift { from { translate: -5% 0; } to { translate: 5% 6%; } }

/* Mountain range (faceted like the logo) with a glowing ridgeline */
.ridges { position: absolute; inset: auto 0 -1px; z-index: -1; width: 100%; height: clamp(190px, 27vw, 390px); pointer-events: none; --ridge-front: var(--snow); }
.ridges-footer { --ridge-front: var(--midnight-deep); }
.ridge-front { fill: var(--ridge-front, #f8fafc); }
.facets .lit { fill: url(#g-lit); }
.facets .shade { fill: url(#g-shade); }
.ridge-line { fill: none; stroke: url(#g-glow); stroke-width: 1.4; opacity: 0.6; vector-effect: non-scaling-stroke; }
.ridge-pulse {
  fill: none; stroke: #c6e8ff; stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 55 945; stroke-dashoffset: 1000; filter: drop-shadow(0 0 5px #3ba9ff);
  animation: ridge-pulse 10s linear infinite;
}
@keyframes ridge-pulse { to { stroke-dashoffset: 0; } }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(44px, 7vw, 88px)) 0 clamp(150px, 17vw, 240px);
  background:
    radial-gradient(90% 70% at 75% 10%, rgb(15 76 129 / 0.55), transparent 65%),
    linear-gradient(180deg, var(--midnight-deep) 0%, var(--midnight) 55%, #0f2f57 100%);
}
.hero-grid { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14); backdrop-filter: blur(8px);
  color: var(--on-dark); font-size: 0.88rem; font-weight: 500;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--evergreen); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(20 187 166 / 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgb(20 187 166 / 0); } }
.hero-title { margin-top: 24px; color: #fff; font-size: clamp(3rem, 7.2vw, 5.6rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.048em; }
.hero-title .line { display: block; }
.rotator { display: inline-grid; padding-bottom: 0.1em; }
.rotator .word {
  grid-area: 1 / 1;
  background: linear-gradient(95deg, var(--alpine) 5%, #7fd4ff 45%, var(--evergreen) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; translate: 0 0.32em; filter: blur(10px);
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease), filter 0.7s var(--ease);
}
.rotator .word.is-active { opacity: 1; translate: 0 0; filter: blur(0); }
.rotator .word.is-leaving { opacity: 0; translate: 0 -0.32em; filter: blur(10px); }
.hero .lead { max-width: 35rem; margin-top: 24px; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.hero .lead strong { color: #fff; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgb(20 187 166 / 0.18) var(--check-evergreen) center / 11px no-repeat; }
.checks-dark { color: var(--on-dark-muted); }

/* Hero: a call, answered live */
.call-card {
  position: relative; max-width: 470px; margin-inline: auto; padding: 22px; border-radius: 28px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04));
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.14);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  color: var(--on-dark);
}
.call-card::before {
  content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgb(59 169 255 / 0.75), transparent 38%, transparent 62%, rgb(20 187 166 / 0.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.call-top { display: flex; align-items: center; gap: 14px; }
.caller-avatar { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--evergreen), #0c8c7d); color: #fff; }
.caller-avatar svg { width: 22px; height: 22px; }
.caller-avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(20 187 166 / 0.55); opacity: 0; }
.call-card[data-phase='ringing'] .caller-avatar::after { animation: ring 1.2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.caller-id { display: grid; line-height: 1.3; }
.call-label { color: var(--on-dark-muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.caller-id strong { color: #fff; font-size: 1.06rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.call-time { margin-left: auto; color: var(--on-dark-muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.call-status { display: flex; align-items: center; gap: 12px; min-height: 46px; margin-top: 18px; padding: 10px 14px; border-radius: 14px; background: rgb(7 20 41 / 0.5); border: 1px solid rgb(255 255 255 / 0.08); font-size: 0.9rem; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; height: 30%; border-radius: 3px; background: linear-gradient(var(--alpine), var(--evergreen)); }
.call-card:is([data-phase='talking'], [data-phase='working']) .wave i { animation: bar 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -0.45s !important; }
.wave i:nth-child(3) { animation-delay: -0.2s !important; }
.wave i:nth-child(4) { animation-delay: -0.7s !important; }
.wave i:nth-child(5) { animation-delay: -0.35s !important; }
.wave i:nth-child(6) { animation-delay: -0.6s !important; }
.wave i:nth-child(7) { animation-delay: -0.1s !important; }
@keyframes bar { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.transcript { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; }
.msg .who { display: block; margin-bottom: 2px; color: var(--on-dark-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.msg.homeowner { justify-self: start; background: rgb(255 255 255 / 0.09); border-bottom-left-radius: 6px; }
.msg.ai { justify-self: end; background: linear-gradient(135deg, rgb(59 169 255 / 0.24), rgb(20 187 166 / 0.16)); border: 1px solid rgb(59 169 255 / 0.32); border-bottom-right-radius: 6px; }
.msg.ai .who { color: #94d3ff; }
.outcomes { display: grid; gap: 10px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgb(255 255 255 / 0.1); list-style: none; }
.outcomes li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; line-height: 1.35; }
.outcomes strong { display: block; color: #fff; font-weight: 600; }
.outcomes small { color: var(--on-dark-muted); font-size: 0.82rem; }
.o-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgb(59 169 255 / 0.14); color: #94d3ff; }
.o-icon svg { width: 17px; height: 17px; }
.outcomes .paid .o-icon { background: var(--evergreen); color: var(--midnight); box-shadow: 0 0 0 6px rgb(20 187 166 / 0.15); }
.outcomes .paid .o-icon svg { stroke-width: 2.6; }
/* site.js plays the call step by step; without it (or with reduced motion) the finished call shows. */
.call-card.demo-on [data-step] { opacity: 0; translate: 0 8px; transition: opacity 0.55s var(--ease), translate 0.55s var(--ease); }
.call-card.demo-on [data-step].is-shown { opacity: 1; translate: 0 0; }

/* Sections */
.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section-head { display: grid; justify-items: center; gap: 14px; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.038em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--summit); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--alpine), var(--evergreen)); }
.eyebrow::after { background: linear-gradient(90deg, var(--evergreen), var(--alpine)); }
.eyebrow-dark { color: #94d3ff; }
.sub { max-width: 42rem; color: var(--muted); font-size: 1.1rem; }

/* What it does: Capture, Transcribe, Organize, Find */
.pillars { padding-top: clamp(56px, 7vw, 96px); }
.pillar-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar {
  position: relative; overflow: hidden; padding: 30px 26px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.pillar::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--alpine), var(--evergreen)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.pillar:hover { transform: translateY(-4px); border-color: rgb(59 169 255 / 0.45); box-shadow: var(--shadow-lg); }
.pillar:hover::after { transform: scaleX(1); }
.pillar-num { position: absolute; top: 26px; right: 26px; color: rgb(15 76 129 / 0.3); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(140deg, var(--midnight), var(--summit)); color: #fff; box-shadow: 0 12px 24px -12px rgb(15 76 129 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.15); }
.pillar-icon svg { width: 26px; height: 26px; color: #bfe4ff; }
.pillar h3 { margin-top: 22px; font-size: 1.02rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pillar p { margin-top: 8px; color: var(--muted); }

/* How it works: the climb from call to paid job */
.how { background: var(--white); }
.climb { --cols: 3; }
.profile { position: relative; display: none; height: 170px; margin-bottom: 8px; }
.profile svg { width: 100%; height: 100%; overflow: visible; }
.profile-fill { fill: url(#g-profile); stroke: none; }
.profile-line { fill: none; stroke: var(--alpine); stroke-width: 2; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; }
.waypoint {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--alpine); color: var(--summit); font-weight: 800;
  box-shadow: 0 0 0 7px rgb(59 169 255 / 0.12), var(--shadow-sm);
}
.waypoint.summit { background: linear-gradient(135deg, var(--evergreen), #0c8c7d); border-color: transparent; color: #fff; box-shadow: 0 0 0 8px rgb(20 187 166 / 0.16), 0 10px 24px -8px rgb(20 187 166 / 0.8); }
.waypoint.summit svg { width: 22px; height: 22px; stroke-width: 2.2; }
.steps { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 4px 0 4px 64px; }
.steps li::before { content: ''; position: absolute; left: 21px; top: 50px; bottom: -26px; border-left: 2px dashed rgb(59 169 255 / 0.5); }
.steps li:last-child::before { display: none; }
.step-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--alpine-soft); color: var(--summit); font-weight: 800; border: 2px solid var(--alpine); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (min-width: 900px) {
  .profile { display: block; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .steps li { padding: 0 22px; text-align: center; }
  .steps li::before, .step-num { display: none; }
}

/* Payments */
.payments {
  overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(70% 60% at 88% 20%, rgb(59 169 255 / 0.2), transparent 60%),
    radial-gradient(60% 50% at 8% 95%, rgb(20 187 166 / 0.16), transparent 60%),
    var(--midnight);
}
.payments h2 { margin-top: 14px; color: #fff; }
.payments .lead { max-width: 34rem; margin-top: 18px; color: var(--on-dark-muted); font-size: 1.1rem; }
.pay-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .pay-grid { grid-template-columns: 1.15fr 0.85fr; } }
.trust-list { display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.trust-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; color: var(--on-dark-muted); }
.trust-list strong { display: block; color: #fff; font-weight: 600; }
.t-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); color: var(--alpine); }
.t-icon svg { width: 22px; height: 22px; }
.phone-wrap { display: grid; place-items: center; }
.phone {
  position: relative; width: min(320px, 100%); aspect-ratio: 9 / 18.6; padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #22385a, #050d1a);
  box-shadow: 0 60px 100px -40px rgb(0 0 0 / 0.85), inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 0 1px rgb(0 0 0 / 0.5);
  rotate: 4deg; animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 38px; background: #eef2f7; color: var(--ink); }
.phone-island { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #050d1a; }
.sms-head { display: grid; justify-items: center; gap: 2px; padding: 48px 16px 12px; background: rgb(255 255 255 / 0.92); border-bottom: 1px solid #dfe5ee; font-size: 0.82rem; }
.sms-avatar { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 2px; border-radius: 50%; background: linear-gradient(135deg, #c2410c, #ea580c); color: #fff; font-size: 0.74rem; font-weight: 700; }
.sms-head small { color: #6b7a90; font-size: 0.72rem; }
.sms-body { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 16px 12px; font-size: 0.8rem; line-height: 1.4; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 18px; }
.bubble.in { background: #dfe4ec; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--summit); color: #fff; border-bottom-right-radius: 6px; }
.pay-card { display: grid; gap: 4px; max-width: 84%; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #dfe5ee; box-shadow: 0 10px 24px -14px rgb(11 31 59 / 0.5); }
.pay-lock { display: flex; align-items: center; gap: 5px; color: #6b7a90; font-size: 0.7rem; }
.pay-lock svg { width: 12px; height: 12px; stroke-width: 2.2; }
.pay-card strong { font-size: 0.84rem; }
.pay-amount { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.pay-amount small { color: #6b7a90; font-size: 0.7rem; font-weight: 600; }
.pay-button { margin-top: 4px; padding: 8px; border-radius: 10px; background: var(--summit); color: #fff; font-weight: 700; text-align: center; }
.paid-chip { display: inline-flex; align-self: center; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: rgb(20 187 166 / 0.14); color: var(--evergreen-deep); font-size: 0.74rem; font-weight: 700; }
.paid-chip svg { width: 13px; height: 13px; stroke-width: 3; }
.sms-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 16px; padding: 5px 5px 5px 14px; border-radius: 999px; background: #fff; border: 1px solid #dfe5ee; color: #98a6b8; font-size: 0.76rem; }
.sms-send { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--summit); color: #fff; }
.sms-send svg { width: 14px; height: 14px; stroke-width: 2.6; }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--snow), #edf2f8); }
.toggle-row { display: flex; justify-content: center; margin-bottom: 48px; }
.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toggle button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 0.95rem var(--font); cursor: pointer;
  transition: color 0.3s;
}
.toggle button[aria-pressed='true'] { color: #fff; background: var(--midnight); }
.toggle.is-ready button[aria-pressed='true'] { background: none; }
.toggle.is-ready::before {
  content: ''; position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--thumb-w); translate: var(--thumb-x) 0;
  border-radius: 999px; background: var(--midnight); box-shadow: 0 6px 14px -6px rgb(11 31 59 / 0.6);
  transition: translate 0.4s var(--ease), width 0.4s var(--ease);
}
.save { padding: 3px 9px; border-radius: 999px; background: rgb(20 187 166 / 0.14); color: var(--evergreen-deep); font-size: 0.72rem; font-weight: 700; transition: background-color 0.3s, color 0.3s; }
.toggle button[aria-pressed='true'] .save { background: var(--evergreen); color: var(--midnight); }
.plans { display: grid; gap: 22px; align-items: stretch; }
.plans-loading { padding: 40px; color: var(--muted); text-align: center; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 26px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); row-gap: 0; }
  .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
}
.plan h3 { font-size: 1.3rem; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.price .amount { color: var(--ink); font-size: clamp(2.7rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-weight: 500; }
.price-note { min-height: 1.5em; color: var(--muted); font-size: 0.88rem; }
.plan .btn { width: 100%; margin: 24px 0 26px; }
.features { display: grid; gap: 11px; align-content: start; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.features li { display: flex; gap: 10px; }
.features li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgb(20 187 166 / 0.14) var(--check-deep) center / 11px no-repeat; }
.features li.calls { color: var(--ink); font-weight: 700; }
.plan.popular {
  color: var(--on-dark); border-color: rgb(59 169 255 / 0.55);
  background: radial-gradient(120% 55% at 50% 0%, rgb(59 169 255 / 0.28), transparent 62%), linear-gradient(180deg, #11305a, var(--midnight));
  box-shadow: 0 34px 70px -28px rgb(11 31 59 / 0.75);
}
.plan.popular h3, .plan.popular .amount, .plan.popular .features li.calls { color: #fff; }
.plan.popular .plan-desc, .plan.popular .per, .plan.popular .price-note { color: var(--on-dark-muted); }
.plan.popular .features li::before { background-color: rgb(20 187 166 / 0.22); background-image: var(--check-evergreen); }
.badge {
  position: absolute; top: -13px; left: 50%; translate: -50% 0; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--evergreen), #3ddcc8); color: var(--midnight);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgb(20 187 166 / 0.9);
}
.fine { max-width: 760px; margin: 34px auto 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* FAQ */
.faq-section { background: var(--white); }
.faq { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq details { border-radius: 18px; background: var(--snow); border: 1px solid var(--line); transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s; }
.faq details[open] { background: var(--white); border-color: rgb(59 169 255 / 0.5); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--ink); font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--alpine-soft) var(--plus-summit) center / 14px no-repeat; transition: rotate 0.35s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Closing call to action */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 12vw, 150px) 0 clamp(190px, 24vw, 320px);
  color: var(--on-dark); text-align: center;
  background: radial-gradient(70% 60% at 50% 20%, rgb(15 76 129 / 0.6), transparent 70%), linear-gradient(180deg, var(--midnight-deep), var(--midnight) 70%, #0f2f57);
}
.final-inner { display: grid; justify-items: center; gap: 18px; }
.final-mark { width: auto; height: 64px; filter: drop-shadow(0 8px 24px rgb(59 169 255 / 0.45)); }
.final-cta h2 { max-width: 16ch; color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.045em; }
.final-cta p { max-width: 34rem; color: var(--on-dark-muted); font-size: 1.15rem; }
.final-cta .btn { margin-top: 10px; }

/* Footer */
.site-footer { padding: 24px 0 36px; background: var(--midnight-deep); color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr; } }
.footer-brand img { width: auto; height: 38px; }
.footer-brand p { margin-top: 16px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: var(--alpine); }
.footer-contact { display: grid; gap: 14px; align-content: start; }
.footer-contact strong { color: var(--on-dark); }
.footer-email { color: var(--alpine); text-decoration: none; }
.footer-email:hover { text-decoration: underline; }
.stripe-note { display: flex; align-items: center; gap: 8px; }
.stripe-note svg { width: 16px; height: 16px; color: var(--evergreen); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.85rem; }

/* Welcome page (after Stripe Checkout) */
.welcome-hero { min-height: 100svh; display: grid; align-items: center; padding-bottom: clamp(160px, 22vw, 300px); }
.welcome-card {
  position: relative; display: grid; justify-items: center; gap: 16px; max-width: 620px; margin-inline: auto; padding: 44px 32px 36px;
  border-radius: 30px; text-align: center; color: var(--on-dark);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04)); border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.6); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.welcome-badge { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--evergreen), #0c8c7d); color: #fff; box-shadow: 0 0 0 10px rgb(20 187 166 / 0.15), 0 18px 40px -12px rgb(20 187 166 / 0.8); }
.welcome-badge svg { width: 36px; height: 36px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.8s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.welcome-card h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; }
.welcome-card .lead { color: var(--on-dark-muted); font-size: 1.12rem; }
.welcome-details { display: grid; gap: 10px; width: 100%; margin: 6px 0 0; padding: 0; list-style: none; }
.welcome-details li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgb(7 20 41 / 0.45); border: 1px solid rgb(255 255 255 / 0.08); text-align: left; }
.welcome-details li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgb(20 187 166 / 0.2) var(--check-evergreen) center / 12px no-repeat; }
.welcome-card .muted { color: var(--on-dark-muted); font-size: 0.92rem; }
.welcome-card .cta-row { justify-content: center; margin-top: 10px; }

/* Scroll reveal, where the browser supports scroll-driven animations */
@keyframes reveal { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ridge-pulse { display: none; }
}
