/* ---------- 1. Design tokens: change values here, nowhere else ---------- */
    :root {
      --brand: #5560E4;
      --brand-strong: #4338CA;
      --brand-deep: #3730A3;
      --brand-tint: #EEF2FF;
      --brand-soft: #E0E7FF;

      --ink: #0F172A;
      --body: #475569;
      --muted: #64748B;
      --icon-muted: #94A3B8;
      --line: #E5E7EF;
      --line-button: #D9D5E6;
      --bg: #FAFAF8;
      --surface: #FFFFFF;

      --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
      --font-body: 'DM Sans', system-ui, sans-serif;

      --gutter: 20px;          /* side padding: phone */
      --section-y: 72px;       /* section top/bottom padding: phone */
      --max: 1200px;           /* max content width */
    }

    /* ---------- 2. Base ---------- */
    *, *::before, *::after { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--ink);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, p { margin: 0; }
    a { color: inherit; text-decoration: none; }
    svg { flex-shrink: 0; }
    a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
    @media (prefers-reduced-motion: no-preference) {
      a { transition: background-color .15s, border-color .15s, color .15s; }
    }

    /* A centred column every section's content sits in */
    .container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
    .section { padding: var(--section-y) 0; }
    .section--white { background: var(--surface); }

    .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); }
    .h2 {
      font-family: var(--font-display); font-weight: 700;
      font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.025em;
    }
    .section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

    /* ---------- 3. Top bar ---------- */
    /* Blends into the hero at the top; gains a border + soft shadow once the page scrolls */
    .topbar {
      position: sticky; top: 0; z-index: 10;
      background: var(--surface);
      border-bottom: 1px solid transparent;
    }
    .topbar.is-scrolled {
      border-bottom-color: var(--line);
      box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
    }
    @media (prefers-reduced-motion: no-preference) {
      .topbar { transition: border-color .2s, box-shadow .2s; }
    }
    .topbar .container { height: 64px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: flex; align-items: center; }
    .logo span { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
    .topbar .logo span { color: var(--brand); }
    .btn-outline {
      min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px;
      border: 1px solid var(--line-button); border-radius: 10px;
      font-size: 15px; font-weight: 600; color: var(--ink);
    }
    .btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

    /* A one-line status message above the hero, e.g. after account deletion */
    .notice { background: var(--brand-tint); border-bottom: 1px solid var(--brand-soft); color: var(--ink); font-size: 15px; line-height: 1.5; }
    .notice .container { padding-top: 14px; padding-bottom: 14px; }
    .notice strong { font-weight: 600; }

    /* ---------- 4. Hero ---------- */
    .hero { background: var(--surface); padding: 48px 0 72px; text-align: center; }
    .hero .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
    .pill { padding: 8px 16px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-strong); font-size: 14px; font-weight: 600; }
    .hero h1 {
      font-family: var(--font-display); font-weight: 800;
      font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em;
    }
    .hero .lead { max-width: 760px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--body); }
    .btn-primary {
      min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
      width: 100%; max-width: 360px; padding: 0 28px;
      border-radius: 12px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 600;
    }
    .btn-primary:hover { background: var(--brand-strong); }
    .btn-primary:active { background: var(--brand-deep); }

    .available { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .available-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .chip { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; }
    .chip::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--dot); }
    .chip--gpt      { background: #E3F5EE; color: #0B6B4F; --dot: #10A37F; }
    .chip--claude   { background: #FCEBE3; color: #9A3D16; --dot: #D97757; }
    .chip--gemini   { background: #E6EEFD; color: #1D4ED8; --dot: #4F7FF0; }
    .chip--deepseek { background: #E0F2FE; color: #0369A1; --dot: #0EA5E9; }
    .chip--more     { background: var(--brand-tint); color: var(--brand-strong); }
    .chip--more::before { display: none; }

    /* ---------- 5. Why Triim ---------- */
    .compare { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .compare-card { padding: 32px; border-radius: 20px; display: flex; flex-direction: column; gap: 20px; }
    .compare-card--without { background: var(--surface); border: 1px solid var(--line); }
    .compare-card--with { background: var(--brand); color: #fff; }
    .compare-title { font-size: 15px; font-weight: 600; color: var(--muted); }
    .compare-card--with .compare-title { color: var(--brand-soft); }
    .compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
    .compare-card--without .compare-list { color: var(--body); }
    .compare-list li { display: flex; gap: 14px; align-items: center; }

    /* ---------- 6. Features ---------- */
    /* Title, then intro underneath, on every screen size */
    .features-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 40px; }
    .features-head p { font-size: 18px; line-height: 1.55; color: var(--body); }
    .grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .card { padding: 32px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
    .card h3 { font-size: 20px; font-weight: 600; }
    .card p { font-size: 16px; line-height: 1.6; color: var(--body); }
    .icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; }

    /* ---------- 7. FAQ (native <details> accordion, no JavaScript) ---------- */
    .faq .section-head { align-items: center; text-align: center; }
    .faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-item summary {
      list-style: none; cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; gap: 24px;
      min-height: 44px; padding: 20px 0; font-size: 18px; font-weight: 600;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
    .faq-item summary::after {           /* the + / – icon, drawn in CSS */
      content: "+"; flex-shrink: 0; width: 24px; text-align: center;
      font-size: 24px; font-weight: 400; line-height: 1; color: var(--brand-strong);
    }
    .faq-item[open] summary::after { content: "–"; }
    .faq-item p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.6; color: var(--body); }

    /* ---------- 8. Footer ---------- */
    .footer { background: var(--brand-deep); color: #fff; padding: 56px 0 32px; }
    .footer-top { display: flex; flex-direction: column; gap: 32px; }
    .footer .logo span { color: #fff; }
    .footer-product { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--brand-soft); }
    .footer-product a { color: #fff; font-weight: 600; }
    .footer-product a:hover { text-decoration: underline; }
    .social-title { font-size: 15px; font-weight: 600; }
    .social { display: flex; gap: 12px; margin-top: 16px; }
    .social a { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--brand); display: flex; align-items: center; justify-content: center; }
    .social a:hover { background: rgba(255,255,255,.1); }
    .footer a:focus-visible { outline-color: #fff; }
    .footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--brand); font-size: 14px; color: var(--brand-soft); }

    /* ---------- 9. Tablet: 720px and up ---------- */
    @media (min-width: 720px) {
      :root { --gutter: 40px; }
      .btn-primary { width: auto; }
      .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
      .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
      .footer-social { text-align: right; }
      .social { justify-content: flex-end; }
    }

    /* ---------- 10. Desktop: 1080px and up ---------- */
    @media (min-width: 1080px) {
      :root { --gutter: 120px; --section-y: 112px; }
      .topbar .container { height: 72px; }
      .hero { padding: 56px 0 96px; }
      .hero .container { gap: 22px; }
      .section-head, .features-head { margin-bottom: 56px; }
      .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .compare-card { padding: 40px; }
      .footer { padding: 64px 0 40px; }
    }

/* Darker primary brand treatment */
.topbar .logo span {
    color: var(--brand-strong);
}

.hero .btn-primary {
    background: var(--brand-strong);
}

.hero .btn-primary:hover {
    background: var(--brand-strong);
}

.compare-card--with {
    background: var(--brand-strong);
}
