/* PracticalAds home page */
:root {
  --bg: #f0f5fa;
  --surface: #ffffff;
  --text: #1a2a3a;
  --text-muted: #5c6f82;
  --primary: #3b7dd8;
  --primary-hover: #2c6ac0;
  --accent: #5a9bf5;
  --border: #d0dce8;
  --ink: #0e1b2b;
  --ink-2: #16263a;
  --on-ink: #e8f0fa;
  --on-ink-muted: #9fb3c8;
  --warm: #f4b183;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.hidden { display: none; }

.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
.display em, .h2 em { font-style: italic; font-weight: 500; color: var(--primary); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 640px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 15px/1 var(--font-body);
  padding: 14px 24px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(59, 125, 216, 0.7);
  transition: background 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { background: var(--primary-hover); box-shadow: 0 16px 30px -12px rgba(59, 125, 216, 0.8); }
.btn:hover::after { transform: translateX(120%); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(90, 155, 245, 0.6); }
.btn-light:hover { background: var(--on-ink); }

/* ---------- Scroll progress + nav ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--warm));
  z-index: 60;
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(208, 220, 232, 0.8);
  box-shadow: 0 10px 30px -18px rgba(14, 27, 43, 0.4);
  transform: translate(-50%, -140%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
  width: max-content;
  max-width: calc(100% - 24px);
}
.nav.is-visible { transform: translate(-50%, 0); opacity: 1; }
.nav-brand { font: 700 17px var(--font-display); text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--primary); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { gap: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 20px 90px;
  overflow: hidden;
  isolation: isolate;
  border-top: 6px solid var(--primary);
}
.aurora { position: absolute; inset: -10%; z-index: -2; filter: blur(70px); opacity: 0.85; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.b1 { width: 46vw; height: 46vw; left: -8vw; top: 4vh; background: #bcd6f7; animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 38vw; height: 38vw; right: -6vw; top: -6vh; background: #d7e6fb; animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 30vw; height: 30vw; right: 18vw; bottom: -10vh; background: #fbe0cc; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 14vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-14vw, -8vh) scale(1.2); } }
.grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  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 baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.16 0 0 0 0 0.23 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.hero-title {
  margin-top: 20px;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero-title .line { display: block; }
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(3deg);
  animation: wordIn 0.9s var(--ease) forwards;
}
.hero-title .word:nth-child(2) { animation-delay: 0.1s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

.rotator-line { margin-top: 4px; }
.rotator {
  display: grid;
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
  font-size: 0.78em;
  min-height: 2.3em;
  align-items: start;
}
.rot-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(6px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s;
  background: linear-gradient(90deg, var(--primary), #6f63d9 60%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}
.rot-item.is-active { opacity: 1; transform: none; filter: none; transition-delay: 0.2s; }
.rot-item.is-leaving { opacity: 0; transform: translateY(-0.6em); filter: blur(6px); }

.lede { margin-top: 22px; max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); color: var(--text-muted); }
.hero-ctas { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.link-arrow { font-size: 15px; color: var(--text-muted); text-decoration: none; }
.link-arrow strong { color: var(--primary); transition: color 0.2s; }
.link-arrow:hover strong { color: var(--primary-hover); }

/* Hero demo phone */
.hero-demo { position: relative; justify-self: center; width: 100%; max-width: 360px; perspective: 1200px; }
.phone {
  position: relative;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(145deg, #1d2d42, #0b1522);
  box-shadow: 0 50px 80px -30px rgba(14, 27, 43, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotateY(-10deg) rotateX(6deg);
  transition: transform 0.6s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.hero-demo:hover .phone { transform: rotateY(0) rotateX(0); }
@keyframes float { 50% { translate: 0 -12px; } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { border-radius: 32px; background: #fff; padding: 52px 16px 22px; min-height: 520px; overflow: hidden; }
.g-logo { text-align: center; font: 600 28px/1 'Product Sans', Arial, sans-serif; letter-spacing: -1px; }
.search-bar {
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #dfe1e5; border-radius: 999px;
  padding: 10px 14px; font-size: 14px; color: #202124;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
  min-height: 42px;
}
.search-bar svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #9aa0a6; stroke-width: 2; stroke-linecap: round; }
.caret { width: 1.5px; height: 17px; background: var(--primary); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.results { margin-top: 18px; display: grid; gap: 12px; }
.result { border-radius: 14px; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.hero-demo.show-results .result { opacity: 1; transform: none; }
.hero-demo.show-results .result:nth-child(2) { transition-delay: 0.15s; }
.hero-demo.show-results .result:nth-child(3) { transition-delay: 0.3s; }
.result.ad { padding: 12px; background: #f5f9ff; border: 1px solid #d6e5fb; position: relative; }
.hero-demo.show-results .result.ad { animation: glow 2.4s 0.6s ease-in-out 2; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(59, 125, 216, 0.18); } }
.sponsored { font-size: 11px; font-weight: 700; color: #202124; }
.r-url { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #4d5156; margin-top: 4px; }
.fav { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); }
.r-title { margin-top: 4px; font-size: 16px; line-height: 1.25; color: #1a0dab; font-family: Arial, sans-serif; }
.r-title.sm { font-size: 14px; margin: 0; color: #202124; font-weight: 600; }
.r-desc { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #4d5156; }
.r-links { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.r-links span { font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid #d6e5fb; color: #1a0dab; background: #fff; }
.result.map { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid #ececec; }
.map-img {
  width: 56px; height: 56px; border-radius: 10px; flex: none; position: relative;
  background:
    linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 60%, #fff 60% 68%, transparent 68%),
    #dcebd8;
}
.pin { position: absolute; left: 50%; top: 45%; width: 14px; height: 14px; background: #ea4335; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); }
.stars { font-size: 12px; color: #f5a623; margin-top: 2px; }
.stars span { color: #70757a; }
.result.ghost { padding: 10px 4px; display: grid; gap: 7px; }
.result.ghost i { display: block; height: 9px; border-radius: 6px; background: #eef1f4; }
.result.ghost i.short { width: 60%; }

.toast {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(208, 220, 232, 0.9);
  box-shadow: 0 20px 40px -18px rgba(14, 27, 43, 0.45);
  font-size: 13px; line-height: 1.25;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  white-space: nowrap;
}
.toast strong { display: block; font-size: 14px; }
.toast small { color: var(--text-muted); font-size: 12px; }
.t-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 16px; flex: none; }
.t1 { left: -70px; top: 24%; }
.t2 { right: -60px; top: 52%; }
.t2 .t-icon { background: #6f63d9; }
.t3 { left: -40px; bottom: 10%; }
.t3 .t-icon { background: #34a853; }
.toast.is-in { opacity: 1; transform: none; }
.toast.is-in .t-icon { animation: ring 0.6s 0.2s ease-in-out 2; }
@keyframes ring { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--text-muted); border-radius: 20px; opacity: 0.5; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 2px; background: var(--text-muted); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

@media (max-width: 900px) {
  .hero { padding-top: 70px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-demo { max-width: 300px; }
  .phone-screen { min-height: 460px; }
  .t1 { left: -30px; }
  .t2 { right: -30px; }
  .t3 { left: -10px; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) {
  .t1, .t3 { left: -12px; }
  .t2 { right: -12px; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { background: var(--ink); color: var(--on-ink); padding: 26px 0 30px; overflow: hidden; }
.marquee-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 16px; }
.marquee { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; padding-right: 14px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font: 500 italic 22px var(--font-display);
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid rgba(159, 179, 200, 0.25);
  border-radius: 999px;
  position: relative;
  color: var(--on-ink);
}
.marquee-track span::after {
  content: '';
  position: absolute; left: 14px; right: 14px; top: 52%;
  height: 2px; background: var(--warm);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.marquee-track span:hover::after { transform: scaleX(1); }
.marquee-track span:nth-child(3n + 1)::after { transform: scaleX(1); }
.marquee-track span:nth-child(3n + 1) { color: var(--on-ink-muted); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-surface { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.h2 { margin-top: 12px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
.sub { margin: 16px auto 0; max-width: 560px; color: var(--text-muted); font-size: 18px; }
.sub a { color: var(--primary); font-weight: 600; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.b-wide { grid-column: span 2; }
.b-full { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 22px; align-items: center; }
.b-full h3 { margin-top: 0; }
.b-full p { margin-top: 4px; }
.b-full .card-icon { grid-row: span 2; }
.b-full .forward { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
.spark { position: absolute; right: 26px; top: 26px; width: 160px; height: 60px; overflow: visible; }
.spark path { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.spark circle { fill: var(--primary); opacity: 0; transition: opacity 0.3s 1.7s; }
.card.is-in .spark path { stroke-dashoffset: 0; }
.card.is-in .spark circle { opacity: 1; animation: pulse 2.4s 2s ease-in-out infinite; }
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(14, 27, 43, 0.35); border-color: #b8cde3; }
.card h3 { font: 600 22px var(--font-display); margin-top: 18px; }
.card p { margin-top: 8px; color: var(--text-muted); font-size: 16px; max-width: 460px; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(59, 125, 216, 0.1); color: var(--primary); transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--primary); color: #fff; }

/* cursor spotlight */
.spot::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(90, 155, 245, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }

.mini-page {
  position: absolute; right: 26px; top: 26px; width: 150px; padding: 12px;
  border-radius: 12px; background: var(--bg); border: 1px solid var(--border);
  display: grid; gap: 7px;
  transform: rotate(4deg); transition: transform 0.6s var(--ease);
}
.card:hover .mini-page { transform: rotate(0) translateY(-4px); }
.mini-page i { display: block; border-radius: 4px; background: #dbe6f2; height: 7px; }
.mini-page .mp-hero { height: 38px; background: linear-gradient(135deg, #bcd6f7, #e5d8fb); }
.mini-page .short { width: 65%; }
.mini-page .mp-btn { width: 50%; height: 14px; background: var(--primary); border-radius: 999px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(59, 125, 216, 0.2); } }

.forward { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.addr { padding: 6px 12px; border-radius: 999px; background: rgba(59, 125, 216, 0.1); color: var(--primary); font-weight: 600; }
.addr.muted { background: var(--bg); color: var(--text-muted); }
.fwd-line { position: relative; width: 70px; height: 2px; background: var(--border); overflow: hidden; border-radius: 2px; }
.fwd-line i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--primary); animation: travel 1.8s ease-in-out infinite; }
@keyframes travel { to { left: 100%; } }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
  .b-full { display: block; }
  .b-full h3 { margin-top: 18px; }
  .b-full p { margin-top: 8px; }
  .b-full .forward { margin-top: 20px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .mini-page, .spark { display: none; }
  .card { padding: 24px; }
}

/* ---------- Dark sections ---------- */
.section-dark { background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.section-dark .sub, .section-dark p { color: var(--on-ink-muted); }
.section-dark .h2 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .sub a, .section-dark .fine a { color: var(--accent); }
.dark-glow {
  position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  left: 50%; top: -30%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 125, 216, 0.35), transparent 60%);
  filter: blur(40px);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.6; transform: translateX(-50%) scale(1.1); } }

.audit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.scorecard {
  position: sticky; top: 100px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(159, 179, 200, 0.22);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.sc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sc-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent) !important; }
.sc-name { font: 600 22px var(--font-display); color: #fff !important; margin-top: 6px; }
.sc-caption { margin-top: 10px; font-size: 14px; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-bg { stroke: rgba(159, 179, 200, 0.18); }
.ring-fg {
  stroke: var(--accent);
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.8s var(--ease) 0.2s;
}
.scorecard.is-in .ring-fg { stroke-dashoffset: calc(326.7 * (1 - var(--val) / 100)); }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 36px var(--font-display); color: #fff; }

.bars { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 15px; color: var(--on-ink); }
.bars b { font-family: var(--font-display); color: #fff; }
.bars i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(159, 179, 200, 0.16); position: relative; overflow: hidden; }
.bars i::after {
  content: ''; position: absolute; inset: 0; width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.bars li:nth-child(2) i::after { transition-delay: 0.12s; }
.bars li:nth-child(3) i::after { transition-delay: 0.24s; }
.bars li:nth-child(4) i::after { transition-delay: 0.36s; }
.scorecard.is-in .bars i::after { transform: scaleX(1); }
.sc-link { display: inline-block; margin-top: 26px; color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15px; }
.sc-link:hover { text-decoration: underline; }

.audit-copy > p { margin-bottom: 18px; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; color: var(--on-ink); }
.checks li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  background: rgba(90, 155, 245, 0.2); color: var(--accent);
}
.checks.sm li { font-size: 15px; }

.price-card {
  margin-top: 30px; padding: 28px;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--ink-2), #1c3150);
  border: 1px solid rgba(90, 155, 245, 0.35);
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--accent), var(--warm), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.price-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.price { font-size: 64px; line-height: 1; color: #fff !important; margin-top: 6px; }
.price-note { max-width: 220px; font-size: 14px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }
.section-dark .fine { color: var(--on-ink-muted); }
.fine a { color: var(--primary); font-weight: 600; }

@media (max-width: 900px) {
  .audit-grid { grid-template-columns: 1fr; }
  .scorecard { position: relative; top: 0; }
}

/* ---------- Forms ---------- */
.form-section .section-head { margin-bottom: 36px; }
.form-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 70px -40px rgba(14, 27, 43, 0.35);
}
.form-card form { display: grid; gap: 14px; }
.field { position: relative; display: block; }
.field input {
  width: 100%;
  padding: 24px 16px 10px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font: 16px var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(59, 125, 216, 0.15); }
.field span {
  position: absolute; left: 17px; top: 17px;
  font-size: 16px; color: var(--text-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--ease), color 0.2s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span { transform: translateY(-10px) scale(0.75); color: var(--primary); font-weight: 600; }
.form-card .btn { margin-top: 8px; }
.section-dark .form-card { background: rgba(255, 255, 255, 0.97); }

/* ---------- Versus ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 20px; align-items: center; }
.vs-col { padding: 30px; border-radius: 22px; }
.vs-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vs-them { background: var(--bg); border: 1px dashed var(--border); color: var(--text-muted); }
.vs-them li { padding-left: 28px; position: relative; text-decoration: line-through; text-decoration-color: rgba(92, 111, 130, 0.5); }
.vs-them li::before { content: '✕'; position: absolute; left: 0; color: #c0848a; font-weight: 700; }
.vs-us { background: linear-gradient(150deg, #eaf2fd, #f3effd); border: 1px solid #c9dbf4; box-shadow: 0 30px 60px -40px rgba(59, 125, 216, 0.6); }
.vs-us .vs-label { color: var(--primary); }
.vs-us li { padding-left: 32px; position: relative; color: var(--text-muted); font-size: 16px; }
.vs-us li strong { display: block; color: var(--text); }
.vs-us li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.vs-badge { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: italic 600 20px var(--font-display); background: var(--ink); color: #fff; }
@media (max-width: 820px) {
  .versus { grid-template-columns: 1fr; }
  .vs-badge { justify-self: center; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; display: grid; gap: 44px; }
.timeline::before,
.timeline::after { content: ''; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--border); }
.timeline::after { background: linear-gradient(var(--primary), #6f63d9, var(--warm)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; align-items: start; }
.step-num {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 26px var(--font-display);
  background: var(--surface); color: var(--primary);
  border: 3px solid var(--border);
  transition: background 0.5s, color 0.5s, border-color 0.5s, transform 0.6s var(--ease);
}
.step.is-lit .step-num { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(59, 125, 216, 0.14); }
.step h3 { font: 600 26px var(--font-display); margin-top: 12px; }
.step p { margin-top: 8px; color: var(--text-muted); }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 82%; padding: 14px 20px; border-radius: 22px; font-size: 17px; line-height: 1.45; }
.bubble.them { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 6px; font-family: var(--font-display); font-style: italic; }
.bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; margin-bottom: 14px; }
.chat .bubble.reveal { transform: translateY(18px) scale(0.96); }
.chat .bubble.them.reveal { transform-origin: left bottom; }
.chat .bubble.me.reveal { transform-origin: right bottom; transition-delay: 0.25s; }
.chat .bubble.reveal.is-in { transform: none; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.founder-photo { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.photo-frame { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(14, 27, 43, 0.5); transition: transform 0.4s var(--ease); transform-style: preserve-3d; }
.photo-frame img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.sticker { position: absolute; right: -22px; bottom: -22px; width: 124px; height: 124px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(14, 27, 43, 0.5); }
.sticker svg { position: absolute; inset: 0; animation: rotate 16s linear infinite; }
.sticker text { font: 700 10.5px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; fill: var(--ink); }
.sticker span { font-size: 30px; color: var(--ink); }
@keyframes rotate { to { transform: rotate(360deg); } }
.founder-copy > p:not(.eyebrow):not(.pull) { margin-top: 18px; color: var(--text-muted); }
.pull { margin-top: 28px !important; padding-left: 22px; border-left: 4px solid var(--primary); font-size: 22px; line-height: 1.35; color: var(--text); }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: 56px; }
  .sticker { right: -6px; width: 104px; height: 104px; }
}

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.client {
  position: relative; overflow: hidden;
  display: block; padding: 30px;
  border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.client:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(14, 27, 43, 0.35); border-color: #b8cde3; }
.client:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.c-mono { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 700 16px var(--font-display); background: var(--ink); color: #fff; transition: background 0.3s, transform 0.5s var(--ease); }
.client:hover .c-mono { background: var(--primary); transform: rotate(-6deg); }
.client h3 { font: 600 22px var(--font-display); margin-top: 18px; transition: color 0.2s; }
.client:hover h3 { color: var(--primary); }
.c-who { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.client p:not(.c-who) { margin-top: 10px; font-size: 15px; color: var(--text-muted); }
.c-url { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--primary); }
.c-url b { transition: transform 0.3s var(--ease); }
.client:hover .c-url b { transform: translateX(5px); }
@media (max-width: 720px) { .clients { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 40px 20px; text-align: center; font-size: 14px; color: var(--on-ink-muted); background: var(--ink); border-top: 1px solid rgba(159, 179, 200, 0.15); }
.footer-brand { font-size: 20px; color: #fff; margin-bottom: 4px; }
.credit { margin-top: 12px; font-size: 12px; opacity: 0.7; }

/* ---------- Reduced motion ---------- */
@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; transition-delay: 0s !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; }
  .phone { transform: none; }
}
