:root {
  --bg: #FFF8EE;
  --card: #FFFFFF;
  --ink: #3A2E39;
  --subtle: #7C6E77;
  --brand: #6A4FD6;
  --brand-deep: #5A3FC8;
  --coral: #F97378;
  --coral-soft: #FEE6E6;
  --sunny: #E9B527;
  --sunny-soft: #FCF1D2;
  --mint: #3BB896;
  --mint-soft: #DFF3EC;
  --lavender-soft: #EEE8FB;
  --sky-soft: #E1EEFB;
  --line: rgba(58, 46, 57, 0.1);
  --shadow: 0 20px 50px -20px rgba(90, 63, 200, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131A;
    --card: #262029;
    --ink: #F6ECE4;
    --subtle: #B3A5AD;
    --brand: #9C85F2;
    --coral-soft: #3A2328;
    --sunny-soft: #352D19;
    --mint-soft: #1D332C;
    --lavender-soft: #2A2340;
    --sky-soft: #1C2A3A;
    --line: rgba(246, 236, 228, 0.12);
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

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

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 9px; }
.nav-link { color: var(--subtle); font-weight: 700; text-decoration: none; }
.nav-link:hover { color: var(--brand); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.pill { display: inline-block; background: var(--lavender-soft); color: var(--brand); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-bottom: 20px; }
.loopy { background: linear-gradient(90deg, var(--coral), #E9A400 50%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 21px; margin: 0 0 12px; }
.sub { color: var(--subtle); margin: 0; }

.hero-shot { position: relative; display: flex; justify-content: center; }
.blob { position: absolute; inset: 8% -4% 8% 4%; background: radial-gradient(circle at 30% 30%, var(--coral-soft), transparent 60%), radial-gradient(circle at 70% 70%, var(--mint-soft), transparent 60%), radial-gradient(circle at 60% 20%, var(--lavender-soft), transparent 55%); filter: blur(10px); border-radius: 50%; }

.phone { position: relative; margin: 0; width: min(300px, 100%); border-radius: 44px; padding: 10px; background: #1C1820; box-shadow: var(--shadow); }
.phone img { border-radius: 34px; }

/* Steps */
.steps { padding: 24px 0 72px; }
.steps h2, .privacy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 36px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border-radius: 28px; padding: 28px; }
.step h3 { font-size: 22px; font-weight: 800; margin: 16px 0 8px; }
.step p { margin: 0; color: var(--subtle); font-size: 17px; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 20px; color: #fff; }
.coral .num { background: var(--coral); }
.sunny .num { background: var(--sunny); }
.mint .num { background: var(--mint); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 8px 0 80px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gallery .phone { width: min(260px, 100%); }
.gallery figcaption { text-align: center; color: var(--subtle); font-weight: 600; font-size: 16px; max-width: 240px; }

/* Extras */
.extras { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; padding-bottom: 80px; }
.extras-intro h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.extras-intro > p { color: var(--subtle); margin: 0 0 24px; }
.widget-shot { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); max-width: 380px; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: var(--card); border-radius: 24px; padding: 22px; }
.feature .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
.feature.coral .icon { background: var(--coral-soft); }
.feature.sky .icon { background: var(--sky-soft); }
.feature.sunny .icon { background: var(--sunny-soft); }
.feature.mint .icon { background: var(--mint-soft); }
.feature.lavender .icon { background: var(--lavender-soft); }
.feature h3 { font-size: 19px; font-weight: 800; margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--subtle); font-size: 16px; }

/* Simple */
.simple { padding-bottom: 80px; }
.simple-card { background: var(--card); border-radius: 36px; padding: clamp(28px, 5vw, 56px); }
.simple-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.simple-card > p { color: var(--subtle); margin: 0 0 32px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.columns h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.columns li { position: relative; padding-left: 36px; }
.columns li::before { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.yes li::before { content: "✓"; background: var(--mint-soft); color: var(--mint); }
.no li::before { content: "–"; background: var(--coral-soft); color: var(--coral); }

/* Beta */
.cta { display: inline-block; margin-top: 24px; background: var(--brand); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; padding: 14px 28px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(90, 63, 200, 0.6); transition: transform 0.15s ease; }
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: scale(0.97); }

.beta { padding-bottom: 80px; scroll-margin-top: 24px; }
.beta-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; background: var(--lavender-soft); border-radius: 36px; padding: clamp(28px, 5vw, 56px); }
.beta-copy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.beta-copy p { margin: 0; color: var(--subtle); }
.beta-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.field em { font-style: normal; font-weight: 600; color: var(--subtle); }
.field input { font: inherit; font-weight: 500; font-size: 17px; color: var(--ink); background: var(--card); border: 2px solid transparent; border-radius: 14px; padding: 12px 14px; outline: none; width: 100%; }
.field input:focus { border-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.beta-form button { font: inherit; font-weight: 800; font-size: 18px; color: #fff; background: var(--brand); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(90, 63, 200, 0.6); transition: transform 0.15s ease, opacity 0.15s ease; }
.beta-form button:active { transform: scale(0.97); }
.beta-form button:disabled { opacity: 0.7; cursor: default; }
.beta-form.is-done button { background: var(--mint); box-shadow: none; }
.beta-form.is-done .field, .beta-form.is-done .check { opacity: 0.55; pointer-events: none; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 700; font-size: 15px; }
.form-status[data-kind="ok"] { color: var(--mint); }
.form-status[data-kind="error"] { color: var(--coral); }
.form-fine { margin: 0; font-size: 13px; color: var(--subtle); }
.form-fine a { color: var(--subtle); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy */
.privacy { text-align: center; padding-bottom: 80px; }
.privacy h2 { margin-bottom: 12px; }
.privacy p { color: var(--subtle); max-width: 560px; margin: 0 auto; }

/* Footer */
.footer { display: flex; align-items: center; gap: 12px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 15px; }
.footer img { border-radius: 7px; }
.footer > a { margin-left: auto; color: var(--subtle); }
.footer span a { color: inherit; }

/* Legal page */
.legal { max-width: 720px; padding: 32px 0 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal .updated { color: var(--subtle); margin: 0 0 32px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink); }

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 16px; gap: 40px; }
  .step-list, .gallery, .columns, .extras, .beta-card { grid-template-columns: 1fr; }
  .beta-card { gap: 24px; }
  .widget-shot { margin-inline: auto; }
  .gallery { gap: 44px; }
  .columns { gap: 28px; }
}
