  :root {
    --brand-50: #eef2f8;
    --brand-100: #d5deee;
    --brand-200: #adc0dd;
    --brand-300: #7f9bc7;
    --brand-400: #4f6ea6;
    --brand-500: #294b83;
    --brand-600: #0f295a;
    --brand-700: #0c2149;
    --brand-800: #0a1a3a;
    --brand-900: #071229;
    --ink: #1e2430;
    --muted: #5b6474;
    --line: #e3e8f0;
    --bg-soft: #f7f9fc;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff;
  }
  a { color: var(--brand-500); text-decoration: none; }
  a:hover { text-decoration: underline; }
  .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .btn:hover { text-decoration: none; }
  .btn-primary { background: var(--brand-600); color: #fff; }
  .btn-primary:hover { background: var(--brand-700); }
  .btn-secondary { background: #fff; color: var(--brand-600); border: 1.5px solid var(--brand-200); }
  .btn-secondary:hover { border-color: var(--brand-400); background: var(--brand-50); }
  .btn-small { padding: 8px 20px; font-size: 0.9rem; }

  /* Header */
  header {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    z-index: 10;
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .nav-brand {
    display: flex;
    align-items: center;
  }
  .nav-brand img {
    height: 32px;
    width: auto;
    display: block;
  }
  .nav-brand:hover { text-decoration: none; }
  .nav-links { display: flex; align-items: center; gap: 28px; }
  .nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
  .nav-links a:hover { color: var(--brand-500); text-decoration: none; }
  .nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
  @media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

  /* Hero */
  .hero {
    background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
    padding: 80px 0 64px;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--brand-800);
    max-width: 800px;
    margin: 0 auto 20px;
  }
  .hero p.lede {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 32px;
  }
  .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
  .hero-note { font-size: 0.85rem; color: var(--muted); }

  /* Product screenshots (captured from the app) */
  .shot {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 45px -22px rgba(11, 26, 51, 0.4);
  }
  .hero .shot { max-width: 940px; margin: 48px auto 0; }

  /* Sections */
  section { padding: 72px 0; }
  section.alt { background: var(--bg-soft); }
  .section-heading { text-align: center; max-width: 720px; margin: 0 auto 48px; }
  .section-heading h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--brand-800);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }
  .section-heading p { color: var(--muted); font-size: 1.05rem; }

  /* How it works */
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
  .step { text-align: center; }
  .step .num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
  }
  .step h3 { font-size: 1rem; color: var(--brand-800); margin-bottom: 6px; }
  .step p { font-size: 0.9rem; color: var(--muted); }

  /* Feature grid */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
  .feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
  }
  .feature h3 { font-size: 1.05rem; color: var(--brand-800); margin-bottom: 8px; }
  .feature p { font-size: 0.93rem; color: var(--muted); }

  /* Split feature rows */
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
  }
  .split:last-child { margin-bottom: 0; }
  @media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }
  .split h3 { font-size: 1.4rem; color: var(--brand-800); margin-bottom: 12px; }
  .split p { color: var(--muted); margin-bottom: 10px; }

  /* Personas */
  .personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 800px) { .personas { grid-template-columns: 1fr; } }
  .persona {
    border-left: 4px solid var(--brand-400);
    background: #fff;
    border-radius: 0 12px 12px 0;
    padding: 24px 26px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .persona h3 { font-size: 1.05rem; color: var(--brand-800); margin-bottom: 8px; }
  .persona p { font-size: 0.93rem; color: var(--muted); }

  /* Pricing */
  .tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
  .tier {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
  }
  .tier.highlight { border: 2px solid var(--brand-500); position: relative; }
  .tier.highlight .badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--brand-500);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 99px;
    white-space: nowrap;
  }
  .tier h3 { font-size: 1.1rem; color: var(--brand-800); }
  .tier .price { font-size: 1.9rem; font-weight: 700; color: var(--brand-800); margin-top: 8px; }
  .tier .price[hidden] { display: none; }
  .tier .price .period { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
  .tier .limit { font-size: 1.5rem; font-weight: 700; color: var(--brand-600); margin: 10px 0 2px; }
  .tier .limit-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
  .tier ul { list-style: none; flex: 1; margin-bottom: 20px; }
  .tier li { font-size: 0.9rem; color: var(--muted); padding: 5px 0 5px 24px; position: relative; }
  .tier li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-400); font-weight: 700; }
  .tier .btn { text-align: center; }
  .pricing-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 28px; }

  /* Final CTA */
  .cta-banner { background: var(--brand-700); color: #fff; text-align: center; }
  .cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
  .cta-banner p { color: var(--brand-200); max-width: 560px; margin: 0 auto 28px; }
  .cta-banner .btn-primary { background: #fff; color: var(--brand-700); }
  .cta-banner .btn-primary:hover { background: var(--brand-50); }

  /* Contact form */
  .contact-form {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 0.88rem; font-weight: 600; color: var(--brand-800); }
  .field .optional { font-weight: 400; color: var(--muted); }
  .field input,
  .field textarea {
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;
    transition: border-color 0.15s ease;
  }
  .field textarea { resize: vertical; min-height: 120px; }
  .field input:focus,
  .field textarea:focus { outline: none; border-color: var(--brand-400); }
  .form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .form-actions .btn { border: none; cursor: pointer; }
  .form-actions .btn:disabled { opacity: 0.55; cursor: not-allowed; }
  .form-status { font-size: 0.9rem; color: var(--muted); flex: 1; min-width: 220px; }
  .form-status.is-success { color: var(--brand-600); font-weight: 600; }
  .form-status.is-error { color: #b3261e; }
  .form-status a { color: inherit; text-decoration: underline; }
  .contact-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 20px; }

  /* Footer */
  footer { border-top: 1px solid var(--line); padding: 40px 0; }
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-brand { display: flex; align-items: center; gap: 12px; }
  .footer-brand img { height: 22px; width: auto; display: block; }
  .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
  .footer-links a { color: var(--muted); font-size: 0.9rem; }
  .footer-copy { color: var(--muted); font-size: 0.85rem; width: 100%; margin-top: 16px; }