:root {
  --indigo: #4f46e5;
  --indigo-dark: #312e81;
  --lavender: #eef2ff;
  --lavender-soft: #f8f8ff;
  --income: #118a55;
  --expense: #b54a4a;
  --ink: #17162d;
  --muted: #68677a;
  --line: #dadcf0;
  --line-soft: #e9e9f5;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(49, 46, 129, 0.1);
  --max: 1160px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .25); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 10px 16px; border-radius: 12px; background: var(--indigo-dark); color: white;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(218, 220, 240, .72);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 820; font-size: 20px; letter-spacing: -.35px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 7px 18px rgba(79,70,229,.18); }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 690; padding: 10px 12px; border-radius: 12px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--indigo-dark); background: var(--lavender); }
.nav-links .nav-cta { margin-left: 6px; background: var(--indigo); color: white; padding-inline: 17px; }
.nav-links .nav-cta:hover { background: var(--indigo-dark); color: white; }
.menu-button { display: none; flex: 0 0 44px; border: 0; background: var(--lavender); color: var(--indigo-dark); width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; }
.menu-button svg { width: 22px; }

.eyebrow { margin: 0 0 14px; color: var(--indigo); font-size: 13px; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.hero { position: relative; overflow: hidden; padding: 78px 0 88px; }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -340px; top: -250px; border-radius: 50%; background: var(--lavender); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .75fr); align-items: center; gap: 76px; }
.hero h1 { margin: 0; max-width: 680px; color: var(--indigo-dark); font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: -.065em; }
.hero-lead { max-width: 640px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 16px; padding: 12px 20px; font-weight: 760; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--indigo); color: white; box-shadow: 0 13px 30px rgba(79,70,229,.2); }
.button-primary:hover { background: var(--indigo-dark); }
.button-secondary { border-color: var(--line); background: white; color: var(--indigo-dark); }
.button-secondary:hover { background: var(--lavender-soft); }
.button-danger { background: var(--expense); color: white; }
.release-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.release-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--income); box-shadow: 0 0 0 5px rgba(17,138,85,.09); }

.phone-stage { position: relative; min-height: 570px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 410px; height: 410px; border-radius: 50%; background: rgba(79,70,229,.08); }
.phone {
  position: relative; width: 310px; padding: 12px; border-radius: 42px;
  background: #202034; border: 3px solid #34334a; box-shadow: 0 36px 80px rgba(23,22,45,.22); transform: rotate(2deg);
}
.phone-screen { min-height: 570px; padding: 16px 15px 18px; border-radius: 31px; background: white; overflow: hidden; }
.phone-top { width: 84px; height: 5px; margin: 0 auto 20px; border-radius: 99px; background: #deddeb; }
.phone-title { display: flex; align-items: center; justify-content: space-between; color: var(--indigo-dark); font-size: 19px; font-weight: 800; }
.play-circle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--indigo); }
.play-circle::before { content: ""; margin-left: 2px; border-left: 9px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.phone-heading { margin: 31px 0 13px; font-size: 22px; font-weight: 790; letter-spacing: -.4px; }
.phone-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 4px; border-radius: 13px; background: #f3f3fa; color: var(--muted); font-size: 11px; font-weight: 720; }
.phone-tabs span { padding: 7px 2px; text-align: center; border-radius: 10px; }
.phone-tabs .active { color: var(--indigo); background: white; box-shadow: 0 2px 8px rgba(23,22,45,.07); }
.payment-card { margin-top: 12px; padding: 15px; border: 1px solid var(--line-soft); border-radius: 17px; background: white; }
.payment-amount { display: flex; align-items: center; gap: 8px; color: var(--income); font-size: 21px; font-weight: 820; }
.payment-amount::before { content: "↙"; font-size: 18px; }
.payment-person { margin-top: 5px; font-weight: 720; }
.payment-meta { margin-top: 2px; color: var(--muted); font-size: 11px; }
.phone-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 20px; color: var(--muted); font-size: 10px; text-align: center; }
.phone-nav .selected { color: var(--indigo); font-weight: 750; }
.phone-nav i { display: block; width: 22px; height: 22px; margin: 0 auto 4px; border: 2px solid currentColor; border-radius: 7px; font-style: normal; }
.floating-proof { position: absolute; right: -2px; bottom: 74px; width: 176px; padding: 15px 16px; border: 1px solid var(--line-soft); border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.floating-proof strong { display: block; color: var(--indigo-dark); font-size: 14px; }
.floating-proof span { color: var(--muted); font-size: 12px; }

.section { padding: 92px 0; }
.section-soft { background: var(--lavender-soft); border-block: 1px solid var(--line-soft); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; color: var(--indigo-dark); font-size: clamp(33px, 4vw, 48px); line-height: 1.13; letter-spacing: -.045em; }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--lavender); color: var(--indigo); font-size: 21px; font-weight: 800; }
.feature-card h3 { margin: 20px 0 8px; font-size: 18px; line-height: 1.3; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--indigo); font-size: 14px; font-weight: 850; letter-spacing: .08em; }
.step h3 { margin: 0 0 9px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.plan { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.plan.featured { border: 2px solid var(--indigo); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 99px; background: var(--lavender); color: var(--indigo-dark); font-size: 11px; font-weight: 820; }
.plan h3 { margin: 0; color: var(--indigo-dark); font-size: 26px; }
.price { margin-top: 10px; color: var(--ink); font-size: 36px; font-weight: 830; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: 14px; font-weight: 550; letter-spacing: 0; }
.plan-intro { min-height: 52px; color: var(--muted); }
.check-list { list-style: none; margin: 25px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.check-list li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 1px; color: var(--income); font-weight: 850; }
.plan-note { margin: 25px 0 0; color: var(--muted); font-size: 12px; }

.trust-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding: 46px; border-radius: 28px; background: var(--indigo-dark); color: white; }
.trust-panel h2 { margin: 0; font-size: 36px; line-height: 1.16; letter-spacing: -.035em; }
.trust-panel p { margin: 0; color: rgba(255,255,255,.76); }
.trust-points { display: grid; gap: 14px; }
.trust-points div { display: flex; gap: 13px; align-items: flex-start; }
.trust-points b { color: white; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 2px; cursor: pointer; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 25px; font-weight: 450; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 720px; margin: -3px 0 22px; color: var(--muted); }

.page-hero { padding: 70px 0 48px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--lavender-soft), white); }
.page-hero .container { max-width: 900px; }
.page-hero h1 { margin: 0; color: var(--indigo-dark); font-size: clamp(38px, 6vw, 60px); line-height: 1.08; letter-spacing: -.05em; }
.page-hero p { max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 11px; border-radius: 99px; background: #fff4e6; color: #8b4b0d; font-size: 12px; font-weight: 800; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #db7b24; }
.legal-layout { width: min(calc(100% - 40px), 1040px); margin: 0 auto; padding: 56px 0 100px; display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 70px; align-items: start; }
.toc { position: sticky; top: 102px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.toc strong { display: block; margin-bottom: 9px; font-size: 13px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--indigo); }
.prose { min-width: 0; }
.prose h2 { scroll-margin-top: 110px; margin: 48px 0 12px; color: var(--indigo-dark); font-size: 26px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 29px 0 8px; font-size: 18px; }
.prose p, .prose li { color: #444357; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 7px; }
.notice { padding: 17px 18px; border: 1px solid #e8d19a; border-radius: 15px; background: #fff9e8; color: #694d13; }
.info-box { padding: 19px; border: 1px solid #cfd4ff; border-radius: 16px; background: var(--lavender-soft); }
.info-box p { margin: 0; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.support-card h2 { margin: 0 0 9px; color: var(--indigo-dark); font-size: 22px; }
.support-card p { margin: 0; color: var(--muted); }
.support-card .button { margin-top: 22px; }

.delete-overview { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0 0 38px; }
.delete-overview div { padding: 19px; border: 1px solid var(--line); border-radius: 17px; }
.delete-overview strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.delete-overview span { color: var(--muted); font-size: 13px; }
.delete-form { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 14px 40px rgba(49,46,129,.07); }
.delete-form h2 { margin-top: 0; }
.field { display: block; margin-top: 18px; color: var(--ink); font-size: 14px; font-weight: 720; }
.field input, .field textarea { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: #f8f8fc; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--indigo); background: white; outline: 3px solid rgba(79,70,229,.12); }
.field small { display: block; margin-top: 5px; color: var(--muted); font-weight: 450; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.form-note { color: var(--muted); font-size: 12px; }

.site-footer { padding: 58px 0 30px; border-top: 1px solid var(--line-soft); background: #fafaff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(2, .55fr); gap: 55px; }
.footer-brand p { max-width: 390px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.footer-column strong { display: block; margin-bottom: 12px; font-size: 13px; }
.footer-column a { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-column a:hover { color: var(--indigo); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .nav-wrap { position: relative; }
  .menu-button { position: absolute; right: 0; top: 15px; z-index: 2; display: inline-flex !important; visibility: visible; opacity: 1; border: 1px solid var(--line-soft); box-shadow: 0 4px 12px rgba(49,46,129,.06); }
  .nav-links { position: fixed; inset: 74px 0 auto; display: none; padding: 15px 20px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 22px 45px rgba(23,22,45,.1); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 13px 14px; }
  .nav-links .nav-cta { margin: 5px 0 0; text-align: center; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead { margin-inline: auto; }
  .hero-actions, .release-note { justify-content: center; }
  .phone-stage { min-height: 590px; }
  .floating-proof { right: calc(50% - 215px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { grid-template-columns: 1fr; gap: 26px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 48px 0 62px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .release-note { width: 100%; max-width: 300px; margin-inline: auto; align-items: flex-start; text-align: left; line-height: 1.4; }
  .release-note::before { flex: 0 0 8px; margin-top: 5px; }
  .phone-stage { min-height: 535px; margin: -22px 0 -30px; }
  .phone { width: 270px; transform: rotate(1deg); }
  .phone-screen { min-height: 535px; }
  .floating-proof { right: calc(50% - 185px); bottom: 44px; width: 160px; }
  .feature-grid, .steps, .plans, .support-grid, .delete-overview { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 30px; }
  .feature-card { padding: 23px; }
  .plan-intro { min-height: 0; }
  .trust-panel { padding: 30px 24px; border-radius: 22px; }
  .trust-panel h2 { font-size: 30px; }
  .page-hero { padding: 52px 0 38px; }
  .legal-layout { width: min(calc(100% - 28px), 1040px); padding-top: 35px; }
  .toc { padding: 14px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .form-actions { display: block; }
  .form-note { display: block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
