:root {
      --blue:       #4B6BF5;
      --blue-light: #6B83F7;
      --blue-pale:  #EEF2FF;
      --ink:        #111827;
      --night:      #0D1B2E;
      --mid:        #6B7280;
      --canvas:     #F9FAFB;
      --white:      #FFFFFF;
      --rule:       #E5E7EB;
      --yellow:     #F5C518;
      --radius:     10px;
      --radius-pill:100px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; }
    a { text-decoration: none; color: inherit; }

    /* ─── HEADER ─── */
    .header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--rule);
    }
    .header-inner {
      max-width: 1160px; margin: 0 auto; padding: 0 32px;
      height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    .logo {
      display: flex; align-items: center; gap: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px; font-weight: 800;
      color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase;
    }
    .logo-mark {
      width: 24px; height: 24px;
      background: var(--yellow);
      clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
      transform: rotate(180deg); flex-shrink: 0;
    }
    .nav { display: flex; gap: 28px; list-style: none; }
    .nav a { font-size: 14px; font-weight: 500; color: var(--mid); transition: color 0.15s; }
    .nav a:hover { color: var(--ink); }
    .header-actions { display: flex; gap: 10px; align-items: center; }
    .btn-ghost {
      padding: 8px 18px; border: 1.5px solid var(--rule);
      border-radius: var(--radius-pill); background: transparent; color: var(--ink);
      font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
      transition: border-color 0.15s;
    }
    .btn-ghost:hover { border-color: var(--mid); }

    /* ─── HERO ─── */
    .hero {
      text-align: center;
      padding: 72px 24px 60px;
      background: var(--white);
      border-bottom: 1px solid var(--rule);
    }
    .hero-tag {
      display: inline-block;
      background: var(--canvas); color: var(--mid);
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.1em;
      padding: 5px 14px; border-radius: var(--radius-pill);
      border: 1px solid var(--rule);
      margin-bottom: 20px;
    }
    .hero h1 {
      font-family: 'Fraunces', serif;
      font-size: 48px; font-weight: 900;
      letter-spacing: -2px; line-height: 1.08;
      margin-bottom: 16px;
    }
    .hero h1 em { color: var(--blue); font-style: normal; }
    .hero p {
      font-size: 18px; color: var(--mid);
      max-width: 480px; margin: 0 auto 32px;
      line-height: 1.6;
    }

    /* ─── BILLING TOGGLE ─── */
    .billing-toggle {
      display: inline-flex; align-items: center; gap: 4px;
      background: var(--canvas); border-radius: var(--radius-pill);
      padding: 4px; border: 1px solid var(--rule);
    }
    .toggle-btn {
      padding: 8px 20px; border-radius: var(--radius-pill);
      border: none; background: transparent;
      font-size: 14px; font-weight: 600; color: var(--mid);
      cursor: pointer; font-family: inherit; transition: all 0.2s;
    }
    .toggle-btn.active {
      background: var(--blue); color: white;
    }
    .save-badge {
      background: #D1FAE5; color: #065F46;
      font-size: 11px; font-weight: 800;
      padding: 3px 9px; border-radius: var(--radius-pill);
      display: none; margin-left: 8px;
    }
    .save-badge.visible { display: inline-block; }

    /* ─── PRICING CARDS ─── */
    .pricing-section {
      max-width: 900px; margin: 0 auto;
      padding: 52px 24px 0;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
      align-items: start;
    }

    .plan-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px 24px;
      border: 1px solid var(--rule);
      position: relative;
      transition: border-color 0.15s;
    }
    .plan-card:hover { border-color: #D1D5DB; }

    .plan-card.featured {
      border-color: var(--blue);
    }

    .featured-badge {
      position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
      background: var(--blue); color: white;
      font-size: 11px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.08em;
      padding: 4px 16px; border-radius: var(--radius-pill);
      white-space: nowrap;
    }

    .plan-name {
      font-size: 12px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--mid); margin-bottom: 8px;
    }
    .plan-card.featured .plan-name { color: var(--blue); }

    .plan-price {
      display: flex; align-items: flex-end; gap: 4px;
      margin-bottom: 4px;
    }
    .price-num {
      font-family: 'Fraunces', serif;
      font-size: 48px; font-weight: 900;
      letter-spacing: -2px; line-height: 1; color: var(--ink);
    }
    .price-period {
      font-size: 14px; color: var(--mid);
      font-weight: 500; padding-bottom: 6px;
    }
    .price-free {
      font-family: 'Fraunces', serif;
      font-size: 32px; font-weight: 900; color: var(--ink);
    }
    .price-original {
      font-size: 13px; color: var(--mid);
      text-decoration: line-through; margin-bottom: 4px;
      display: none;
    }
    .price-original.visible { display: block; }
    .price-note { font-size: 12px; color: var(--mid); margin-bottom: 24px; min-height: 18px; }

    .plan-divider { border: none; border-top: 1px solid var(--rule); margin: 18px 0; }

    .plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
    .plan-features li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 13px; color: var(--ink); line-height: 1.4;
    }
    .feat-check {
      width: 18px; height: 18px; flex-shrink: 0;
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 10px; margin-top: 1px;
    }
    .feat-check.yes { background: #D1FAE5; color: #065F46; }
    .feat-check.no { background: var(--canvas); color: var(--mid); }
    .plan-features li.disabled { color: var(--mid); }

    .btn-plan {
      display: block; width: 100%;
      padding: 12px; border-radius: var(--radius-pill);
      font-size: 14px; font-weight: 800;
      text-align: center; cursor: pointer;
      font-family: inherit; transition: all 0.15s;
      border: 1.5px solid transparent;
    }
    .btn-plan-outline {
      background: transparent; border-color: var(--rule); color: var(--ink);
    }
    .btn-plan-outline:hover { border-color: var(--mid); }
    .btn-plan-primary {
      background: var(--yellow); color: var(--ink);
    }
    .btn-plan-primary:hover { background: #E0B400; }
    .btn-plan-dark { background: var(--ink); color: white; }
    .btn-plan-dark:hover { background: var(--night); }

    .plan-note {
      text-align: center; font-size: 11px; color: var(--mid); margin-top: 10px;
    }

    /* ─── FEATURES TABLE ─── */
    .features-section {
      max-width: 900px; margin: 64px auto 0; padding: 0 24px;
    }
    .features-section h2 {
      font-family: 'Fraunces', serif;
      font-size: 28px; font-weight: 900; letter-spacing: -0.5px;
      text-align: center; margin-bottom: 32px;
    }
    .features-table {
      background: var(--white); border-radius: var(--radius);
      overflow: hidden; border: 1px solid var(--rule);
    }
    .ft-header {
      display: grid; grid-template-columns: 1fr 100px 100px 100px;
      padding: 14px 24px;
      background: var(--canvas); border-bottom: 1px solid var(--rule);
    }
    .ft-header-cell {
      font-size: 11px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--mid); text-align: center;
    }
    .ft-header-cell:first-child { text-align: left; }
    .ft-header-cell.hl { color: var(--blue); }
    .ft-row {
      display: grid; grid-template-columns: 1fr 100px 100px 100px;
      padding: 13px 24px; border-bottom: 1px solid var(--rule);
      align-items: center;
    }
    .ft-row:last-child { border-bottom: none; }
    .ft-row:nth-child(even) { background: var(--canvas); }
    .ft-feature { font-size: 14px; font-weight: 500; color: var(--ink); }
    .ft-cell { text-align: center; font-size: 16px; }
    .ft-cell.text { font-size: 12px; font-weight: 700; color: var(--ink); }

    /* ─── TESTIMONIALS ─── */
    .testimonials {
      max-width: 900px; margin: 64px auto 0; padding: 0 24px;
    }
    .testimonials h2 {
      font-family: 'Fraunces', serif;
      font-size: 28px; font-weight: 900; letter-spacing: -0.5px;
      text-align: center; margin-bottom: 32px;
    }
    .testi-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
    .testi-card {
      background: var(--white); border-radius: var(--radius);
      padding: 24px; border: 1px solid var(--rule);
    }
    .testi-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }
    .testi-text {
      font-family: 'Fraunces', serif; font-style: italic;
      font-size: 14px; line-height: 1.65; color: var(--ink);
      margin-bottom: 16px;
    }
    .testi-author { display: flex; align-items: center; gap: 10px; }
    .testi-avatar {
      width: 36px; height: 36px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; flex-shrink: 0;
    }
    .testi-name { font-size: 13px; font-weight: 700; color: var(--ink); }
    .testi-role { font-size: 11px; color: var(--mid); }

    /* ─── FAQ ─── */
    .faq-section {
      max-width: 680px; margin: 64px auto 0; padding: 0 24px;
    }
    .faq-section h2 {
      font-family: 'Fraunces', serif;
      font-size: 28px; font-weight: 900; letter-spacing: -0.5px;
      text-align: center; margin-bottom: 32px;
    }
    .faq-list { display: flex; flex-direction: column; gap: 6px; }
    .faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
    .faq-q {
      width: 100%; background: none; border: none;
      padding: 18px 20px; text-align: left;
      font-size: 14px; font-weight: 700; color: var(--ink);
      cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
      font-family: inherit;
    }
    .faq-icon { font-size: 18px; color: var(--mid); transition: transform 0.25s; flex-shrink: 0; }
    .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
    .faq-a {
      display: none; padding: 0 20px 18px;
      font-size: 14px; color: var(--mid); line-height: 1.7;
      border-top: 1px solid var(--rule); padding-top: 16px;
    }
    .faq-item.open .faq-a { display: block; }

    /* ─── FINAL CTA ─── */
    .final-cta {
      background: var(--night);
      margin: 64px auto 0;
      border-radius: var(--radius);
      padding: 64px 48px;
      text-align: center;
      max-width: 900px;
    }
    .final-cta h2 {
      font-family: 'Fraunces', serif;
      font-size: 36px; font-weight: 900;
      color: white; letter-spacing: -1px; margin-bottom: 12px;
    }
    .final-cta h2 em { color: var(--yellow); font-style: normal; }
    .final-cta p { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }
    .final-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .btn-final-primary {
      padding: 14px 36px; background: var(--yellow); color: var(--ink);
      border: none; border-radius: var(--radius-pill); font-size: 15px; font-weight: 800;
      cursor: pointer; font-family: inherit;
      transition: background 0.15s;
    }
    .btn-final-primary:hover { background: #E0B400; }
    .btn-final-ghost {
      padding: 14px 36px; background: transparent;
      border: 1.5px solid rgba(255,255,255,0.2); color: white;
      border-radius: var(--radius-pill); font-size: 15px; font-weight: 700;
      cursor: pointer; font-family: inherit; transition: border-color 0.2s;
    }
    .btn-final-ghost:hover { border-color: rgba(255,255,255,0.5); }
    .final-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.3); }

    /* ─── FOOTER ─── */
    .footer { background: var(--ink); color: rgba(255,255,255,0.4); padding: 40px 24px 32px; }
    .footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
    .footer-logo { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 800; color: white; }
    .footer-logo span { color: var(--yellow); }
    .footer-links { display: flex; gap: 20px; font-size: 13px; }
    .footer-links a { transition: color 0.2s; }
    .footer-links a:hover { color: white; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      .header-inner { padding: 0 20px; }
      .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
      .testi-grid { grid-template-columns: 1fr; }
      .ft-header, .ft-row { grid-template-columns: 1fr 80px 80px 80px; }
      .hero { padding: 56px 24px 48px; }
      .hero h1 { font-size: 36px; letter-spacing: -1px; }
    }
    @media (max-width: 640px) {
      .header-inner { padding: 0 16px; }
      .nav { display: none; }
      .features-section { display: none; }
      .hero { padding: 44px 20px 40px; }
      .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
      .hero p { font-size: 16px; }
      .pricing-section { padding: 32px 16px 48px; }
      .testi-section { padding: 40px 16px; }
      .faq-section { padding: 40px 16px 48px; }
      .final-cta { padding: 48px 20px; }
      .final-cta h2 { font-size: 26px; }
      .final-cta-btns { flex-direction: column; align-items: center; }
      .footer { padding: 32px 16px 24px; }
    }
