:root {
  --bg: #fff8f3; --raised: #ffffff; --sunken: #f4eaf1;
  --ink: #2a1030; --muted: #6b5470; --line: #e9dce6;
  --brand: #6a2468; --on-brand: #ffffff; --tint: #f6e6f2;
  --block-a: #5e1c60; --block-b: #3a0f40; --block-text: #fff1e6; --gold: #ffe3a3;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #160a1a; --raised: #221128; --sunken: #100612;
    --ink: #fff1e6; --muted: #cdb8cf; --line: #3a2542;
    --brand: #ffe3a3; --on-brand: #160a1a; --tint: #3a2043;
    --block-a: #6b2a70; --block-b: #4a1650;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 28px 0 56px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 30em; margin: 18px 0 0; }
.steady-line { width: min(340px, 80%); height: 52px; margin: 22px 0 6px; overflow: visible; }
.steady-line path { fill: none; stroke: url(#lineGrad); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.6s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; padding: 9px 22px 9px 16px; border-radius: 12px; border: 1px solid #555; }
.badge svg { width: 26px; height: 26px; fill: #fff; }
.badge small { display: block; font-size: .7rem; line-height: 1; opacity: .85; }
.badge strong { display: block; font-size: 1.28rem; line-height: 1.15; font-weight: 600; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 12px; }

/* phone */
.phone { width: min(300px, 70vw); margin: 0 auto; border-radius: 42px; padding: 9px; background: #1d0c22; box-shadow: 0 30px 60px rgba(42,16,48,.28); }
.phone img { border-radius: 34px; width: 100%; }
.hero .phone { transform: rotate(2.5deg); }

/* breathing block (signature motion) */
.breath { background: linear-gradient(145deg, var(--block-a), var(--block-b)); color: var(--block-text); border-radius: 36px; padding: 56px 28px; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.breath h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.breath p { color: var(--block-text); opacity: .92; max-width: 28em; }
.ring-wrap { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 12px solid var(--gold); opacity: .9; animation: breathe 10s ease-in-out infinite; }
.ring.soft { border-color: rgba(255,241,230,.25); animation: none; }
@keyframes breathe { 0% { transform: scale(.72); } 40% { transform: scale(1); } 100% { transform: scale(.72); } }
.ring-label { position: relative; text-align: center; font-family: var(--serif); }
.ring-label b { display: block; font-size: 1.5rem; }
.ring-label span { font-family: var(--sans); font-size: .95rem; opacity: .85; }

/* features */
section.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; }
section.feat.flip .copy { order: 2; }
.feat h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.feat p { color: var(--muted); margin: 0 0 12px; max-width: 30em; }
.feat ul { margin: 14px 0 0; padding: 0; list-style: none; }
.feat li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); }
.feat li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ff8f7a, #ffe3a3); }

/* plans */
.plans { background: var(--sunken); border-radius: 36px; padding: 52px 28px; margin: 24px 0 0; text-align: center; }
.plans h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.plans > p { color: var(--muted); max-width: 36em; margin: 12px auto 0; }
.plan-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 28px; }
.plan { background: var(--raised); border: 1px solid var(--line); border-radius: 24px; padding: 22px 30px; min-width: 210px; }
.plan.pick { border: 2px solid var(--brand); }
.plan b { display: block; font-family: var(--serif); font-size: 2rem; }
.plan span { color: var(--muted); font-size: .95rem; }

/* note */
.note { text-align: center; color: var(--muted); padding: 40px 0 8px; font-size: 1rem; }
.note strong { color: var(--ink); font-weight: 600; }

/* footer */
footer { margin-top: 48px; background: linear-gradient(145deg, var(--block-a), var(--block-b)); color: var(--block-text); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 40px; }
footer a { color: var(--block-text); text-decoration: none; display: block; padding: 4px 0; opacity: .92; }
footer a:hover { text-decoration: underline; }
footer h4 { margin: 0 0 8px; font-family: var(--sans); font-size: .85rem; font-weight: 600; opacity: .75; }
footer .fb { display: flex; gap: 12px; align-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
footer .fb img { width: 44px; height: 44px; border-radius: 11px; }
footer p { opacity: .85; font-size: .92rem; margin: 12px 0 0; max-width: 26em; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,241,230,.2); padding-top: 18px; font-size: .88rem; opacity: .8; }

/* text pages (support + legal) */
.doc { max-width: 760px; margin: 0 auto; padding: 12px 20px 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 18px 0 8px; }
.doc h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
.doc p, .doc li { color: var(--ink); }
.doc em { color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.mailcard { background: var(--raised); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin: 22px 0 10px; }
.mailcard a { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }

@media (max-width: 800px) {
  .hero, section.feat, .breath, footer .wrap { grid-template-columns: 1fr; }
  section.feat.flip .copy { order: 0; }
  .hero { padding-top: 8px; }
  .hero .phone { transform: none; }
  .top nav a { margin-left: 14px; }
  .breath { border-radius: 28px; padding: 40px 20px; }
  section.feat { gap: 28px; padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steady-line path { animation: none; stroke-dashoffset: 0; }
  .ring { animation: none; transform: scale(.85); }
}
