:root {
  --bg: #f6f8fb;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --text: #151820;
  --muted: #68707e;
  --line: rgba(21, 24, 32, .10);
  --accent: #247cff;
  --accent-dark: #0e5bef;
  --accent-soft: #e8f2ff;
  --mint: #d9ff8f;
  --pink: #ffd9b8;
  --shadow: 0 24px 80px rgba(20, 44, 82, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 5%, rgba(36, 124, 255, .10), transparent 30%),
    radial-gradient(circle at 88% 28%, rgba(217, 255, 143, .28), transparent 26%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}
.ambient-one { width: 360px; height: 360px; left: -180px; top: 34%; background: rgba(255, 217, 184, .25); }
.ambient-two { width: 320px; height: 320px; right: -160px; bottom: 8%; background: rgba(36, 124, 255, .08); }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -0.03em; font-size: 21px; }
.brand-mark { width: 38px; height: 38px; display: block; }
.top-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 650; font-size: 14px; }
.top-nav a:hover { color: var(--text); }
.nav-cta, .nav-pill { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,.6); }
.nav-pill { font-size: 12px; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 690px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
}

.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-weight: 850; font-size: 12px; letter-spacing: .16em; }
.hero h1 { margin: 0; font-size: clamp(58px, 6.6vw, 92px); line-height: .93; letter-spacing: -.075em; max-width: 720px; }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.hero-actions, .share-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { min-height: 52px; border-radius: 15px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 12px 30px rgba(36, 124, 255, .22); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.button-disabled { cursor: default; opacity: .92; }
.button-disabled:hover { transform: none; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--muted); font-size: 12px; font-weight: 650; }
.trust-line span::before { content: "•"; color: var(--accent); margin-right: 7px; }

.hero-demo { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone-card {
  width: min(100%, 430px);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  border-radius: 36px;
  padding: 26px;
  transform: rotate(2.5deg);
  backdrop-filter: blur(16px);
}
.phone-top { display: flex; justify-content: space-between; align-items: center; }
.phone-top h2 { margin: 4px 0 0; font-size: 25px; letter-spacing: -.045em; }
.mini-label { margin: 0; font-size: 10px; color: var(--accent); font-weight: 900; letter-spacing: .14em; }
.round-action { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: #f2f0f7; color: var(--muted); }
.collection-meta { margin: 8px 0 20px; font-size: 13px; color: var(--muted); }
.audio-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.play { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.audio-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.audio-copy strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-copy span { color: var(--muted); font-size: 11px; }
.mini-wave { color: var(--accent); font-size: 16px; letter-spacing: -3px; white-space: nowrap; }
.selection-bar { margin-top: 18px; background: var(--text); color: white; border-radius: 17px; padding: 15px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.floating-note { position: absolute; padding: 16px 18px; background: white; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; box-shadow: 0 16px 40px rgba(20,44,82,.12); font-size: 13px; line-height: 1.5; }
.note-one { left: 0; bottom: 72px; transform: rotate(-7deg); }
.note-two { right: -2px; top: 84px; background: var(--mint); transform: rotate(7deg); font-weight: 850; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 110px auto; }
.section-heading { max-width: 780px; }
.section-heading h2, .share-feature h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.055em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feature-card { min-height: 270px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,.62); padding: 28px; display: flex; flex-direction: column; }
.feature-number { color: var(--accent); font-size: 12px; font-weight: 900; }
.feature-card h3 { margin: auto 0 9px; font-size: 28px; letter-spacing: -.04em; }
.feature-card p { color: var(--muted); line-height: 1.55; margin: 0; }

.share-feature {
  width: min(calc(100% - 40px), var(--max));
  margin: 120px auto;
  padding: clamp(68px, 7vw, 104px);
  border-radius: var(--radius-xl);
  background: var(--text);
  color: white;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(64px, 7vw, 92px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.share-feature::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -170px; bottom: -200px; background: rgba(36,124,255,.30); filter: blur(18px); }
.share-feature .eyebrow { color: #9dc6ff; }
.share-feature-copy { position: relative; z-index: 1; padding: 18px 0; max-width: 650px; }
.share-feature-copy h2 { max-width: 560px; }
.share-feature-copy p:last-child { color: #c3c9d3; font-size: 17px; line-height: 1.8; max-width: 540px; margin: 28px 0 0; }
.link-demo { position: relative; z-index: 1; border-radius: 25px; padding: 24px; background: white; color: var(--text); transform: rotate(2deg); }
.link-demo-top { display: flex; gap: 13px; align-items: center; }
.link-demo-top img { width: 44px; height: 44px; }
.link-demo-top div { display: flex; flex-direction: column; gap: 4px; }
.link-demo-top span { font-size: 12px; color: var(--muted); }
.fake-link { margin-top: 25px; border-radius: 12px; background: #f1f5fa; padding: 12px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.fake-button { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--accent); color: white; text-align: center; font-size: 12px; font-weight: 900; }

.share-shell { width: min(calc(100% - 40px), 720px); margin: 78px auto 110px; text-align: center; }
.share-card { background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(32px, 7vw, 62px); backdrop-filter: blur(18px); }
.share-icon-wrap { width: 90px; height: 90px; display: grid; place-items: center; margin: 0 auto 28px; background: var(--accent-soft); border-radius: 28px; transform: rotate(-3deg); }
.share-icon-wrap.unavailable { font-size: 34px; font-weight: 900; color: var(--accent); }
.share-icon { width: 66px; height: 66px; }
.share-card h1 { margin: 0; font-size: clamp(38px, 7vw, 62px); line-height: 1; letter-spacing: -.06em; overflow-wrap: anywhere; }
.share-count { margin: 14px 0 0; color: var(--accent); font-weight: 850; }
.share-copy { max-width: 520px; margin: 20px auto 0; color: var(--muted); line-height: 1.65; font-size: 16px; }
.share-actions { justify-content: center; }
.share-actions.single { justify-content: center; }
.install-note { color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.install-note a { color: var(--accent-dark); font-weight: 750; }
.share-link-tools { min-height: 26px; margin-top: 22px; display: flex; justify-content: center; gap: 12px; align-items: center; }
.text-button { border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 12px; }
#copy-status { color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.private-note { color: var(--muted); font-size: 12px; margin-top: 18px; }

.site-footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 36px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--text); }
.copyright { text-align: right; }

@media (max-width: 900px) {
  .top-nav > a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; margin-top: 54px; }
  .hero-demo { min-height: 520px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .share-feature { grid-template-columns: 1fr; }
  .link-demo { width: min(100%, 520px); }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
  .copyright { text-align: left; }
}

@media (max-width: 560px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); height: 76px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-pill { display: none; }
  .hero, .section, .share-feature, .share-shell, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; margin-top: 58px; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions, .share-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-line { display: grid; gap: 9px; }
  .hero-demo { min-height: 475px; margin-top: 16px; }
  .phone-card { padding: 20px; border-radius: 28px; transform: rotate(1deg); }
  .floating-note { font-size: 11px; padding: 12px 14px; }
  .note-one { bottom: 24px; left: -4px; }
  .note-two { top: 40px; right: -4px; }
  .section { margin: 80px auto; }
  .share-feature { margin: 88px auto; border-radius: 28px; padding: 52px 30px; gap: 48px; }
  .share-card { border-radius: 28px; }
  .share-shell { margin-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
