    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --white: #FFFFFF;
      --off-white: #FAF7F2;
      --warm-cream: #F5EDE0;
      --black: #1A1714;
      --charcoal: #2D2926;
      --sage: #7A9E7E;
      --sage-light: #EFF5F0;
      --sage-mid: #C2D9C4;
      --sage-dark: #5C8060;
      --terracotta: #C4704A;
      --gold: #C09A4A;
      --gray-700: #3D3632;
      --gray-600: #5A524C;
      --gray-500: #7A706A;
      --gray-400: #A89E98;
      --gray-300: #D4CAC4;
      --gray-200: #E8E2DC;
      --gray-100: #F2EDE8;
      --border: #E8E2DC;
    }

    html, body {
      height: 100%;
      font-family: 'DM Sans', -apple-system, sans-serif;
      background: var(--off-white);
      color: var(--charcoal);
      -webkit-font-smoothing: antialiased;
    }

    /* ── HEADER ── */
    .header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 1rem 1.5rem;
      display: flex; align-items: center; justify-content: space-between;
      background: rgba(250,247,242,0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .brand {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 1.4rem; font-weight: 600;
      color: var(--black); text-decoration: none;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
    .header-badge {
      font-size: 0.7rem; font-weight: 600; color: var(--sage-dark);
      background: var(--sage-light); border: 1px solid var(--sage-mid);
      padding: 0.2rem 0.65rem; border-radius: 20px;
      text-transform: uppercase; letter-spacing: 0.06em;
    }

    /* ── PROGRESS BAR ── */
    .progress-bar {
      position: fixed; top: 57px; left: 0; right: 0; z-index: 99;
      height: 3px; background: var(--gray-200);
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--sage), var(--sage-dark));
      transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      width: 0%;
    }

    /* ── MAIN STAGE ── */
    .stage {
      min-height: 100vh;
      padding: 100px 1.5rem 2rem;
      display: flex; align-items: center; justify-content: center;
    }

    /* ── SCREENS ── */
    .screen {
      display: none;
      width: 100%; max-width: 540px;
      animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .screen.active { display: block; }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── QUESTION LABEL ── */
    .q-step {
      font-size: 0.7rem; font-weight: 600; color: var(--sage-dark);
      text-transform: uppercase; letter-spacing: 0.08em;
      margin-bottom: 0.5rem;
    }
    .q-title {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 500; line-height: 1.25;
      color: var(--black); margin-bottom: 0.5rem;
    }
    .q-sub {
      font-size: 0.9rem; color: var(--gray-500); line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    /* ── INPUTS ── */
    .input-field {
      width: 100%;
      padding: 0.85rem 1rem;
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem; color: var(--charcoal);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .input-field:focus {
      border-color: var(--sage);
      box-shadow: 0 0 0 3px rgba(122,158,126,0.15);
    }
    .input-field::placeholder { color: var(--gray-400); }

    /* ── OPTION CHIPS ── */
    .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
    .chip {
      padding: 0.5rem 1rem;
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: 24px; font-size: 0.875rem; color: var(--gray-600);
      cursor: pointer; transition: all 0.15s; user-select: none;
    }
    .chip:hover { border-color: var(--sage-mid); background: var(--sage-light); }
    .chip.selected { background: var(--sage); border-color: var(--sage-dark); color: white; font-weight: 500; }

    /* ── BTN ── */
    .btn-primary {
      width: 100%; padding: 0.9rem 1.5rem;
      background: var(--sage); color: white;
      border: none; border-radius: 10px;
      font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
      cursor: pointer; transition: background 0.2s, transform 0.1s;
      margin-top: 1rem;
    }
    .btn-primary:hover { background: var(--sage-dark); }
    .btn-primary:active { transform: scale(0.98); }
    .btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

    .btn-skip {
      display: block; text-align: center; margin-top: 0.75rem;
      color: var(--gray-400); font-size: 0.825rem; cursor: pointer;
      text-decoration: none; transition: color 0.15s;
    }
    .btn-skip:hover { color: var(--gray-600); }

    /* ── WELCOME SCREEN ── */
    .welcome-eyebrow {
      display: inline-block;
      font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--sage-dark); background: var(--sage-light);
      border: 1px solid var(--sage-mid); padding: 0.25rem 0.75rem; border-radius: 20px;
      margin-bottom: 1.25rem;
    }
    .welcome-title {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 500; line-height: 1.2;
      color: var(--black); margin-bottom: 0.75rem;
    }
    .welcome-title em { font-style: italic; color: var(--sage-dark); }
    .welcome-desc {
      font-size: 1rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1.75rem;
    }
    .preview-list {
      background: var(--white); border: 1px solid var(--border); border-radius: 12px;
      padding: 1rem 1.25rem; margin-bottom: 1.75rem; list-style: none;
    }
    .preview-list li {
      display: flex; align-items: flex-start; gap: 0.6rem;
      padding: 0.5rem 0; font-size: 0.9rem; color: var(--gray-600);
      border-bottom: 1px solid var(--gray-100);
    }
    .preview-list li:last-child { border-bottom: none; }
    .preview-list .check { color: var(--sage); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
    .preview-list .locked { color: var(--gold); }
    .free-badge { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage-dark); background: var(--sage-light); border-radius: 4px; padding: 1px 5px; }
    .paid-badge { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); background: #FBF5E8; border-radius: 4px; padding: 1px 5px; }

    /* ── LANGUAGE ── */
    .language-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.85rem;
      margin-bottom: 1.25rem;
    }
    .language-title {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--gray-500);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.65rem;
    }
    .language-options {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
    }
    .language-option {
      min-height: 42px;
      padding: 0.55rem 0.6rem;
      background: var(--off-white);
      border: 1.5px solid var(--border);
      border-radius: 9px;
      color: var(--gray-600);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 600;
      line-height: 1.25;
      transition: background 0.16s, border-color 0.16s, color 0.16s;
    }
    .language-option:hover { border-color: var(--sage-mid); background: var(--sage-light); }
    .language-option.selected {
      background: var(--sage-light);
      border-color: var(--sage);
      color: var(--sage-dark);
    }
    @media (max-width: 560px) {
      .language-options { grid-template-columns: 1fr; }
    }

    /* ── OAUTH BUTTONS ── */
    .oauth-row { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
    .btn-oauth {
      display: flex; align-items: center; justify-content: center; gap: 0.65rem;
      width: 100%; padding: 0.85rem 1.25rem;
      background: var(--white); color: var(--charcoal);
      border: 1.5px solid var(--border); border-radius: 10px;
      font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
      cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
    }
    .btn-oauth:hover { border-color: var(--gray-400); box-shadow: 0 2px 8px rgba(44,36,22,0.07); }
    .btn-oauth:disabled { opacity: 0.55; cursor: not-allowed; }
    .btn-meta svg path { } /* colour locked in SVG */

    .oauth-divider {
      display: flex; align-items: center; gap: 0.75rem;
      margin-bottom: 1rem; color: var(--gray-400); font-size: 0.8rem;
    }
    .oauth-divider::before, .oauth-divider::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }

    .email-row { display: flex; gap: 0.6rem; align-items: stretch; }
    .email-row .input-field { flex: 1; margin-bottom: 0; }
    .btn-email {
      padding: 0 1.25rem;
      background: var(--sage); color: white;
      border: none; border-radius: 10px;
      font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
      cursor: pointer; white-space: nowrap;
      transition: background 0.2s;
    }
    .btn-email:hover { background: var(--sage-dark); }
    .btn-email:disabled { opacity: 0.55; cursor: not-allowed; }
    .privacy-note { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.6rem; text-align: center; }

    /* ── LOADING SCREEN ── */
    .loading-wrap {
      text-align: center; padding: 2rem 1rem;
    }
    .spinner {
      width: 48px; height: 48px; margin: 0 auto 1.5rem;
      border: 3px solid var(--sage-light);
      border-top-color: var(--sage);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .loading-title {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 1.6rem; font-weight: 500; color: var(--black);
      margin-bottom: 0.5rem;
    }
    .loading-sub { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }
    .loading-steps { list-style: none; margin: 1.5rem 0; }
    .loading-steps li {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.6rem 1rem; background: var(--white);
      border: 1px solid var(--border); border-radius: 8px; margin-bottom: 0.5rem;
      font-size: 0.875rem; color: var(--gray-600);
      transition: all 0.3s;
    }
    .loading-steps li .step-icon { font-size: 1rem; }
    .loading-steps li.done { color: var(--sage-dark); border-color: var(--sage-mid); background: var(--sage-light); }
    .loading-steps li.active { color: var(--charcoal); border-color: var(--sage); }

    /* ── PASSWORD SCREEN ── */
    .password-wrap {
      text-align: center; max-width: 440px;
    }
    .password-title {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(1.7rem, 4.5vw, 2.2rem); font-weight: 500; color: var(--black);
      margin-bottom: 0.5rem;
    }
    .password-sub {
      font-size: 0.95rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 2rem;
    }
    .password-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 16px;
      padding: 2rem; text-align: left;
    }
    .password-card .field-label {
      display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 0.4rem;
    }
    .password-card .input-field { margin-bottom: 1rem; }
    .password-success {
      text-align: center; padding: 1.5rem;
    }
    .password-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }

    /* ── ERROR ── */
    .error-msg {
      background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px;
      padding: 0.75rem 1rem; font-size: 0.875rem; color: #991B1B;
      margin-top: 0.75rem; display: none;
    }
    .error-msg.visible { display: block; }

    /* ── BACK BUTTON ── */
    .back-btn {
      display: flex; align-items: center; gap: 0.35rem;
      color: var(--gray-400); font-size: 0.825rem; cursor: pointer;
      background: none; border: none; padding: 0; margin-bottom: 1.5rem;
      transition: color 0.15s;
    }
    .back-btn:hover { color: var(--charcoal); }

    @media (max-width: 480px) {
      .stage { padding-top: 90px; }
      .email-row { flex-direction: column; }
    }
