:root {
  --bg: #060706;
  --surface: #10110f;
  --surface-2: #171713;
  --ink: #f4efe7;
  --muted: #aaa49a;
  --line: rgba(255, 255, 255, .12);
  --warm: #e3ad70;
  --warm-2: #c87f43;
  --good: #79c999;
  --danger: #e79182;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(225, 170, 106, .12), transparent 28rem),
    radial-gradient(circle at 90% 88%, rgba(93, 166, 185, .08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.proposal-note {
  padding: .55rem 1rem;
  background: #21180f;
  border-bottom: 1px solid rgba(227, 173, 112, .25);
  color: #e9c79f;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
}

.site-head {
  min-height: 74px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 6, .78);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.head-actions select {
  min-height: 42px;
  padding: 0 2.2rem 0 .85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #11120f;
}
.quiet-link { color: var(--muted); text-decoration: none; font-size: .9rem; }
.quiet-link:hover { color: var(--ink); }

.registration-shell {
  width: min(1220px, calc(100% - 2rem));
  margin: clamp(2rem, 6vh, 5rem) auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.eyebrow { margin: 0 0 1rem; color: var(--warm); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.registration-copy h1, .subscription-intro h1 {
  margin: 0;
  max-width: 780px;
  font: 600 clamp(2.6rem, 6vw, 5.7rem)/.97 var(--serif);
  letter-spacing: -.035em;
}
.registration-copy h1 em { display: block; color: var(--warm); font-style: normal; }
.lead { max-width: 680px; margin: 1.5rem 0 2rem; color: #c7c1b7; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.journey { margin: 2rem 0; padding: 1.3rem 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.journey span { padding: .35rem .9rem; border-inline-start: 1px solid var(--line); }
.journey span:first-child { border-inline-start: 0; padding-inline-start: 0; }
.journey small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.journey b { display: block; margin-top: .35rem; font-size: .95rem; }
.ai-spotlight {
  position: relative;
  margin: 1.2rem 0 .8rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  overflow: hidden;
  border: 1px solid rgba(108, 190, 211, .3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(108,190,211,.17), transparent 15rem),
    linear-gradient(145deg, rgba(18,25,26,.96), rgba(12,14,13,.96));
}
.ai-spotlight::after {
  content: "IA";
  position: absolute;
  inset: -.25rem .7rem auto auto;
  color: rgba(108,190,211,.055);
  font: 800 7rem/1 var(--sans);
  letter-spacing: -.08em;
  pointer-events: none;
}
.ai-spotlight-head { position: relative; z-index: 1; max-width: 580px; }
.ai-kicker { margin: 0 0 .5rem; color: #7cc5d5; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.ai-spotlight h2 { margin: 0; font: 600 clamp(1.4rem, 2.7vw, 2rem)/1.14 var(--serif); }
.ai-tools { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.15rem; }
.ai-tool { display: flex; gap: .8rem; padding: .9rem; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(4,7,7,.45); }
.ai-mark { flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 10px; color: #061012; background: linear-gradient(135deg, #9be0e7, #55a5ba); font-weight: 800; }
.ai-mark.colorista { color: #170d08; background: linear-gradient(135deg, #f2c17f, #d97875 55%, #9273c7); }
.ai-tool b { display: block; margin-bottom: .3rem; }
.ai-tool p { margin: 0; color: #aaaead; font-size: .8rem; line-height: 1.5; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.benefit {
  min-height: 112px;
  padding: 1rem;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.benefit b { display: block; margin-bottom: .35rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.checkout-card {
  position: sticky;
  top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(227, 173, 112, .32);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(28,25,20,.96), rgba(12,13,11,.98));
  box-shadow: 0 36px 100px rgba(0,0,0,.48);
}
.steps { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; color: #77736c; font-size: .72rem; }
.steps span { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.steps i { flex: 1; height: 1px; background: var(--line); }
.steps .active { border-color: var(--warm); color: var(--warm); background: rgba(227,173,112,.1); }
.checkout-card h2 { margin: 0; font: 600 2rem/1.1 var(--serif); }
.card-sub { margin: .65rem 0 1.4rem; color: var(--muted); line-height: 1.55; }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; padding: .35rem; background: #090a09; border: 1px solid var(--line); border-radius: 14px; }
.segmented button { min-height: 44px; padding: .6rem; color: var(--muted); border: 0; border-radius: 10px; background: transparent; font-weight: 700; }
.segmented button[aria-pressed="true"] { color: #17110b; background: var(--warm); }
.currency-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0; }
.currency-row label { color: var(--muted); font-size: .83rem; }
.currency-row select { min-height: 42px; padding: 0 2.2rem 0 .8rem; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #0c0d0b; }
.price { display: flex; align-items: baseline; gap: .45rem; margin: 1.1rem 0 .4rem; }
.price strong { font: 600 2.7rem/1 var(--serif); }
.price span, .billing-caption { color: var(--muted); }
.billing-caption { margin: 0 0 1.1rem; font-size: .82rem; }
.equal-benefits { margin: 1rem 0; padding: .85rem 1rem; color: #dcd1c3; background: rgba(121,201,153,.07); border: 1px solid rgba(121,201,153,.22); border-radius: 12px; font-size: .83rem; line-height: 1.5; }
.includes { margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.includes li { position: relative; margin: .7rem 0; padding-inline-start: 1.5rem; color: #d1cbc1; font-size: .88rem; }
.includes li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--good); font-weight: 800; }
.primary, .secondary, .danger-button {
  width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.2rem; border-radius: 999px; font-weight: 800; text-decoration: none;
}
.primary { border: 0; color: #1b120a; background: linear-gradient(120deg, #f0c08a, var(--warm-2)); box-shadow: 0 16px 34px rgba(200,127,67,.18); }
.primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.secondary { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.danger-button { color: #ffd6cf; border: 1px solid rgba(231,145,130,.35); background: rgba(231,145,130,.08); }
.trust { margin: .9rem 0 0; color: #827d75; text-align: center; font-size: .75rem; line-height: 1.45; }
.master-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.55; }
.master-note b { color: var(--ink); }

.account-form { display: grid; gap: .9rem; }
.account-form label { display: grid; gap: .38rem; color: #c9c2b8; font-size: .82rem; font-weight: 700; }
.account-form input { width: 100%; min-height: 48px; padding: .8rem .9rem; color: var(--ink); background: #0b0c0a; border: 1px solid var(--line); border-radius: 11px; }
.account-form input:focus { outline: 3px solid rgba(227,173,112,.14); border-color: var(--warm); }
.google-button { width: 100%; min-height: 50px; border: 0; border-radius: 999px; color: #18130f; background: #f4efe7; font-weight: 800; }
.divider { display: flex; align-items: center; gap: .8rem; color: #7d7870; font-size: .75rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.back-button { padding: 0; border: 0; color: var(--muted); background: transparent; }
.inline-error { padding: .75rem; color: #ffd1c9; background: rgba(231,145,130,.08); border-radius: 10px; font-size: .82rem; }

.subscription-shell { width: min(1060px, calc(100% - 2rem)); margin: clamp(2rem, 6vh, 4.5rem) auto; }
.subscription-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.subscription-intro h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.status-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border-radius: 999px; color: #bde8cc; background: rgba(121,201,153,.09); border: 1px solid rgba(121,201,153,.25); font-size: .8rem; font-weight: 800; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.subscription-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: rgba(17,18,15,.9); }
.panel h2 { margin: 0 0 1.25rem; font: 600 1.75rem/1.15 var(--serif); }
.plan-title { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.plan-title strong { font: 600 2rem/1.1 var(--serif); }
.plan-title span { color: var(--warm); font-weight: 800; }
.facts { margin: 1.6rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.fact { padding: 1rem; background: #0b0c0a; border-radius: 14px; }
.fact small { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.fact b { font-size: .95rem; }
.action-stack { display: grid; gap: .7rem; }
.help-copy { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.tool-list { display: grid; gap: .55rem; }
.tool-list span { padding: .7rem .8rem; background: #0b0c0a; border-radius: 10px; color: #cfc8bd; font-size: .84rem; }
.cancel-state { margin-bottom: 1rem; padding: 1rem; border: 1px solid rgba(227,173,112,.28); border-radius: 14px; background: rgba(227,173,112,.07); color: #ead8c2; line-height: 1.55; }
.demo-switcher { margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(255,255,255,.16); border-radius: 14px; }
.demo-switcher p { margin: 0 0 .7rem; color: #807b73; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.demo-switcher div { display: flex; flex-wrap: wrap; gap: .45rem; }
.demo-switcher button { padding: .45rem .7rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; }
.demo-switcher button[aria-pressed="true"] { color: var(--warm); border-color: var(--warm); }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.75); backdrop-filter: blur(10px); }
.modal { width: min(470px, 100%); padding: 1.5rem; background: #12130f; border: 1px solid rgba(227,173,112,.3); border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.modal h2 { margin: 0 0 .7rem; font: 600 1.8rem/1.15 var(--serif); }
.modal p { color: var(--muted); line-height: 1.6; }
.modal-actions { display: grid; gap: .6rem; margin-top: 1.2rem; }

.site-foot { padding: 1.5rem; color: #777269; border-top: 1px solid var(--line); text-align: center; font-size: .78rem; }

[dir="rtl"] .registration-copy, [dir="rtl"] .checkout-card, [dir="rtl"] .panel { text-align: right; }

@media (max-width: 880px) {
  .registration-shell, .subscription-grid { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .subscription-intro { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .site-head { min-height: 64px; }
  .quiet-link { display: none; }
  .registration-shell { width: min(100% - 1.2rem, 720px); margin-top: 1.4rem; }
  .registration-copy h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey span:nth-child(3) { border-inline-start: 0; }
  .ai-tools, .benefit-grid, .facts { grid-template-columns: 1fr; }
  .checkout-card, .panel { border-radius: 18px; }
  .subscription-shell { width: min(100% - 1.2rem, 720px); }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
