/* LifeAPP site. No external fonts or scripts: nothing leaves the visitor's
   browser except requests to life-app.pro itself. */

:root {
  --brand: #2f6fed;
  --brand-ink: #1f56c9;
  --brand-soft: #e8f0ff;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --text: #0f172a;
  --muted: #586174;
  --line: #e3e6ee;
  --income: #16a34a;
  --expense: #e5484d;
  --violet: #8e4ec6;
  --amber: #d97706;
  --teal: #0f9d8a;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .25), 0 12px 24px -12px rgba(15, 23, 42, .18);
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #5b8dff;
    --brand-ink: #8aaeff;
    --brand-soft: #18223a;
    --bg: #0b0f17;
    --surface: #131a26;
    --surface-2: #1a2232;
    --text: #e8ecf4;
    --muted: #9aa4b6;
    --line: #253046;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.langs a { font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.langs a:hover { text-decoration: none; color: var(--text); }
.langs a[aria-current="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--surface-2); }
.menu-panel {
  position: absolute; left: 16px; right: 16px; top: 60px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 10px; display: grid;
}
.menu-panel a { padding: 12px 14px; border-radius: 12px; color: var(--text); font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); text-decoration: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font); padding: 12px 18px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.header-end .btn { padding: 9px 14px; font-size: 14px; }
@media (max-width: 520px) { .header-end .btn { display: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #0f172a; color: #fff; border: 1px solid #0f172a;
}
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #0f172a; border-color: #fff; } }
.store:hover { text-decoration: none; transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; letter-spacing: .02em; }
.store b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:hover { transform: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); margin: 18px 0 18px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
.hero .stores { margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--income); }

.hero-visual { position: relative; height: 620px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone.back { width: 250px; right: 0; top: 70px; transform: rotate(4deg); opacity: .96; }
.hero-visual .phone.front { width: 280px; left: 8%; top: 0; }
.bubble {
  position: absolute; left: -2%; bottom: 40px; width: min(330px, 92%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px;
  box-shadow: var(--shadow-lg);
}
.bubble .said { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.bubble .mic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.bubble .mic svg { width: 16px; height: 16px; }
.bubble .items { margin-top: 12px; display: grid; gap: 8px; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual .phone.front { width: 250px; left: 4%; }
  .hero-visual .phone.back { width: 220px; }
}
@media (max-width: 420px) {
  .hero-visual { height: 500px; }
  .hero-visual .phone.front { width: 220px; }
  .hero-visual .phone.back { width: 190px; }
}

/* Phone frame */
.phone {
  border-radius: 46px; padding: 9px; background: #0f172a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #334155;
}
.phone img { border-radius: 38px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; background: var(--surface-2); }

/* Result cards (voice) */
.item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--surface-2); border-radius: 14px; font-size: 14px;
}
.item .dot { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.item .dot svg { width: 16px; height: 16px; }
.item .k { font-size: 12px; color: var(--muted); display: block; line-height: 1.2; }
.item b { font-weight: 650; line-height: 1.3; }
.item .amt { margin-left: auto; font-weight: 700; white-space: nowrap; }
.dot.expense { background: var(--expense); }
.dot.income { background: var(--income); }
.dot.task { background: var(--brand); }
.dot.habit { background: var(--violet); }
.amt.expense { color: var(--expense); }
.amt.income { color: var(--income); }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 10px 0 14px; font-weight: 750; }
.section-head p { color: var(--muted); font-size: 19px; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6fed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks b { display: block; }
.ticks span { color: var(--muted); }

.shots { display: flex; justify-content: center; gap: 22px; }
.shots .phone { width: 270px; }
.shots .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 620px) { .shots .phone { width: 46%; border-radius: 30px; padding: 6px; } .shots .phone img { border-radius: 25px; } }

/* Voice demo */
.voice-demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px;
  box-shadow: var(--shadow); max-width: 480px; margin-inline: auto; width: 100%;
}
.section.alt .voice-demo { background: var(--bg); }
.vd-said { display: flex; gap: 12px; align-items: center; min-height: 64px; }
.vd-said .mic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; position: relative; }
.vd-said .mic svg { width: 22px; height: 22px; }
.vd-said .mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.vd-text { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.vd-items { display: grid; gap: 10px; margin-top: 18px; min-height: 120px; }
.vd-saved { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.vd-saved b { color: var(--brand); font-weight: 600; }
.vd-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.vd-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.vd-dots button[aria-current="true"] { background: var(--brand); width: 22px; border-radius: 4px; }
.voice-demo .item { opacity: 0; transform: translateY(8px); animation: rise .45s ease forwards; }
.voice-demo .item:nth-child(2) { animation-delay: .25s; }
.voice-demo .item:nth-child(3) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .voice-demo .item { animation: none; opacity: 1; transform: none; }
  .vd-said .mic::after { animation: none; }
}

.langs-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 550; }
.section.alt .chip { background: var(--bg); }
.chip i { font-style: normal; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section.alt .card { background: var(--bg); }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }

/* Teams illustration */
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; width: 100%; }
.section.alt .team-card { background: var(--bg); }
.team-top { display: flex; align-items: center; gap: 12px; }
.team-top .ava-stack { display: flex; }
.ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; border: 2px solid var(--surface); }
.ava + .ava { margin-left: -10px; }
.team-top b { display: block; }
.team-top small { color: var(--muted); }
.wallet { margin-top: 18px; background: linear-gradient(135deg, var(--brand), #6a5cf5); color: #fff; border-radius: 18px; padding: 18px; }
.wallet small { opacity: .8; }
.wallet b { display: block; font-size: 28px; letter-spacing: -.02em; margin-top: 2px; }
.feed { margin-top: 14px; display: grid; gap: 8px; }
.feed .item .ava { width: 30px; height: 30px; font-size: 12px; border: 0; }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Plan bars (projects) */
.plan { margin-top: 26px; display: grid; gap: 14px; max-width: 460px; }
.plan-row small { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.bar { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: 6px; }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.section.alt .mode { background: var(--bg); }
.mode .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.mode .ic svg { width: 24px; height: 24px; }
.mode h3 { font-size: 22px; }
.mode > p { color: var(--muted); margin-top: 8px; }
.mode .ticks { margin-top: 18px; }
.modes-note { text-align: center; color: var(--muted); margin-top: 22px; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid .card .ic { background: var(--brand-soft); color: var(--brand); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.section.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* CTA */
.cta { padding: 40px 0 96px; }
.cta-box {
  border-radius: 32px; padding: 56px 40px; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 10% 0%, #6d9bff 0%, var(--brand) 45%, #4b3fd6 100%);
  box-shadow: var(--shadow-lg);
}
.cta-box img { width: 72px; height: 72px; margin: 0 auto 18px; }
.cta-box h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-box p { opacity: .9; margin: 12px auto 28px; max-width: 32em; font-size: 18px; }
.cta-box .stores { justify-content: center; }
.cta-box .store { background: #fff; color: #0f172a; border-color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 15px; color: var(--muted); background: var(--surface); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
.foot h4 { margin: 0 0 12px; font-size: 14px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot .brand { margin-bottom: 12px; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* Documents */
.doc-hero { padding: 56px 0 28px; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; letter-spacing: -.03em; }
.doc-hero p { color: var(--muted); margin-top: 12px; font-size: 18px; max-width: 46em; }
.doc-hero .meta { font-size: 14px; margin-top: 14px; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc b { display: block; margin-bottom: 10px; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--brand); text-decoration: none; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -.015em; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.prose .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-bottom: 30px; }
.prose .summary h2 { margin: 0 0 10px; font-size: 19px; }
.prose .summary ul { margin: 0; }
.prose .note { background: var(--brand-soft); border-radius: 16px; padding: 16px 18px; margin: 18px 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.contact-card { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-bottom: 30px; }
.contact-card .big { font-size: 22px; font-weight: 700; }
.contact-card small { display: block; color: var(--muted); }
.req { font-size: 14px; color: var(--muted); }
.req dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.req dt { color: var(--text); }
.req dd { margin: 0; }

.err { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.err h1 { font-size: 88px; color: var(--brand); }
.err p { color: var(--muted); margin: 10px 0 24px; }
.err .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Pricing */
.pro-hero { padding: 64px 0 28px; text-align: center; }
.pro-hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -.03em; margin: 12px auto 16px; max-width: 16em; }
.pro-hero .lead { color: var(--muted); font-size: 19px; max-width: 40em; margin-inline: auto; }
.period { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.period button { font: 600 15px/1 var(--font); padding: 11px 18px; border-radius: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.period i { font-style: normal; font-size: 13px; margin-left: 4px; opacity: .85; }
.pro-plans { padding: 12px 0 72px; }
.pro-plans[data-period="year"] .m, .pro-plans[data-period="month"] .y { display: none; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; } .plan-card.featured { order: -1; } }
.plan-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.plan-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-card h3 { font-size: 24px; }
.plan-card .tag { color: var(--muted); margin-top: 6px; }
.plan-card .btn { justify-content: center; margin-top: 18px; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; align-content: flex-start; }
@media (min-width: 961px) { .plan-card .tag { min-height: 3.1em; } .price { min-height: 5.6em; } }
.price b { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--muted); font-weight: 550; }
.price small { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.ticks.small { gap: 10px; margin-top: 22px; font-size: 15px; }
.ticks.small li { padding-left: 30px; }
.ticks.small li::before { width: 20px; height: 20px; top: 1px; background-size: 12px; }
.founder { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 22px; padding: 22px 26px; border-radius: 22px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--amber) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); }
.founder b { font-size: 19px; }
.founder p { color: var(--muted); margin-top: 4px; }
.founder [data-founder-count] { color: var(--amber); font-weight: 700; white-space: nowrap; }
.checkout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 28px; } }
.checkout .section-head { margin-bottom: 0; }
.pay { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 20px; }
.pay fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.pay legend, .field > span { font-weight: 650; font-size: 15px; margin-bottom: 8px; padding: 0; }
.field { display: grid; }
.field small { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.field input { font: 16px var(--font); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 100%; }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; line-height: 1.25; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.opt span { flex: 1; }
.opt b { white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.opt input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gate { gap: 10px; padding-inline: 12px; }
@media (max-width: 460px) { .gates { grid-template-columns: 1fr; } }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.total b { font: 800 28px/1 var(--display); }
.pay .btn { justify-content: center; padding: 15px 18px; font-size: 16px; }
.pay .btn[disabled] { opacity: .5; cursor: not-allowed; }
.consent { color: var(--muted); font-size: 13.5px; }
.notice { background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.thanks { min-height: 62vh; display: grid; place-items: center; padding: 56px 0; text-align: center; }
.thanks-box { max-width: 560px; }
.thanks h1 { font-size: clamp(30px, 4.6vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.thanks p { color: var(--muted); margin-top: 12px; font-size: 18px; }
.thanks .meta { font-size: 14px; }
.thanks .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.spinner { display: inline-block; width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; margin-bottom: 22px; }
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
