:root {
  color-scheme: light;
  --bg: #f4f3ed;
  --bg-soft: #ecebe4;
  --surface: rgba(255, 255, 252, 0.94);
  --surface-solid: #fffefa;
  --surface-raised: #f0efe8;
  --surface-input: #fbfaf6;
  --line: rgba(24, 45, 37, 0.1);
  --line-strong: rgba(24, 45, 37, 0.2);
  --text: #15231d;
  --text-soft: #46564f;
  --text-muted: #75827c;
  --brand: #17785c;
  --brand-strong: #0f5e47;
  --brand-soft: rgba(23, 120, 92, 0.09);
  --cyan: #39896d;
  --cyan-soft: rgba(57, 137, 109, 0.1);
  --success: #1c805f;
  --warning: #b36e22;
  --danger: #c84c55;
  --shadow: 0 28px 70px rgba(28, 47, 39, 0.13);
  --shadow-small: 0 12px 35px rgba(28, 47, 39, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shell: 1180px;
  --ease: 140ms cubic-bezier(.2, .8, .2, 1);
  --font: Inter, "Segoe UI", Arial, sans-serif;
  --font-ar: Tahoma, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 2%, rgba(52, 143, 107, 0.09), transparent 27rem),
    radial-gradient(circle at 92% 24%, rgba(208, 174, 107, 0.1), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-ar); }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { display: block; width: 1.15em; height: 1.15em; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; direction: ltr; unicode-bidi: isolate; }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: #07111f;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; border-radius: 999px; filter: blur(90px); pointer-events: none; opacity: .22; z-index: -2; }
.ambient-one { width: 420px; height: 420px; background: #acd9c6; inset: -190px auto auto -120px; }
.ambient-two { width: 360px; height: 360px; background: #e5d2a7; inset: 42vh -180px auto auto; }
.page-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .35;
  background-image: linear-gradient(rgba(20,55,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(20,55,42,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { width: min(calc(100% - 40px), 900px); }
.help-shell { width: min(calc(100% - 40px), 1020px); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.075);
  background: rgba(18, 17, 15, .82);
  backdrop-filter: blur(20px) saturate(135%);
}
.topbar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, #dfad79, #b8753e 62%, #708d76);
  box-shadow: 0 9px 28px rgba(155, 94, 43, .3), inset 0 1px rgba(255,255,255,.25);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--text-muted); font-size: .7rem; margin-block-start: 4px; }

.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.045); }
.nav-link.active { color: #f2d3b4; background: var(--brand-soft); }

.topbar-actions { display: flex; align-items: center; gap: 9px; }
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: .76rem;
  white-space: nowrap;
}
.status-dot, .mini-dot, .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(118,169,137,.1), 0 0 12px rgba(118,169,137,.55); flex: 0 0 auto; }
.icon-button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.icon-button:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.06); }
.language-button { padding-inline: 12px; width: auto; font-size: .8rem; font-weight: 700; }
.language-button svg { width: 17px; height: 17px; }
.theme-button { width: 40px; padding: 0; }
.theme-button svg { width: 17px; height: 17px; transition: transform 260ms ease; }
.theme-button:hover svg { transform: rotate(10deg) scale(1.06); }

.main-content { min-height: calc(100vh - 150px); }
.app-view { display: none; padding-block: 0 78px; animation: view-in 240ms ease; }
.app-view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.hero { min-height: 400px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 50px; padding-block: 62px 42px; }
.hero-secondary { margin-block-start: 62px; border-top: 1px solid var(--line); }
.hero-copy { max-width: 680px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dba775;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero h1 { max-width: 680px; margin: 17px 0 18px; font-size: clamp(2.45rem, 5vw, 4.55rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
html[dir="rtl"] .hero h1 { letter-spacing: -.035em; line-height: 1.15; }
.hero-copy > p { max-width: 625px; margin: 0; color: var(--text-soft); font-size: 1.07rem; line-height: 1.75; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block-start: 28px; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: .77rem; }
.hero-trust svg { width: 15px; height: 15px; color: var(--cyan); }

.hero-visual { position: relative; min-height: 300px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(211,164,119,.19); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); inset: 50% auto auto -4px; box-shadow: 0 0 15px var(--cyan); }
.orbit-one { width: 300px; height: 220px; transform: rotate(-16deg); animation: orbit-float 8s ease-in-out infinite; }
.orbit-two { width: 230px; height: 290px; transform: rotate(28deg); animation: orbit-float 10s ease-in-out infinite reverse; }
@keyframes orbit-float { 0%,100% { translate: 0 -4px; } 50% { translate: 0 8px; } }
.hero-logo { position: absolute; width: 86px; height: 86px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-small); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo-main { width: 138px; height: 138px; border-radius: 37px; z-index: 2; }
.hero-logo-claude { inset: 24px 5% auto auto; transform: rotate(7deg); }
.hero-logo-grok { inset: auto auto 28px 3%; transform: rotate(-8deg); }
.floating-badge { position: absolute; inset: auto 2% 28px auto; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(118,169,137,.25); border-radius: 12px; background: rgba(28,27,23,.94); color: #bfe0c9; font-size: .74rem; font-weight: 700; box-shadow: var(--shadow-small); }
.floating-badge svg { width: 15px; color: var(--success); }

.panel { background: linear-gradient(145deg, rgba(35,32,27,.96), rgba(25,23,20,.95)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-small); }
.section-block { margin-block: 32px 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-block-end: 18px; }
.section-heading h2, .page-heading h1 { margin: 6px 0; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.section-heading p, .page-heading p { margin: 0; color: var(--text-muted); }

.resume-banner { display: flex; align-items: center; gap: 15px; padding: 14px 15px; margin-block: 24px 28px; border: 1px solid rgba(201,138,80,.25); border-radius: 16px; background: linear-gradient(90deg, rgba(201,138,80,.13), rgba(118,169,137,.06)); }
.resume-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: #e0ad7c; flex: 0 0 auto; }
.resume-copy { display: grid; flex: 1; min-width: 0; }
.resume-copy strong { font-size: .91rem; }
.resume-copy span { color: var(--text-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.product-card { position: relative; min-width: 0; padding: 12px; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 15px; text-align: start; border: 1px solid var(--line); border-radius: 19px; background: rgba(31,29,25,.72); cursor: pointer; overflow: hidden; transform: translate3d(0,0,0); backface-visibility: hidden; will-change: transform; transition: transform 110ms cubic-bezier(.2,.8,.2,1), border-color 120ms ease-out, background-color 120ms ease-out, box-shadow 140ms ease-out; }
.product-card:hover { transform: translate3d(0,-2px,0); border-color: var(--line-strong); background: rgba(41,37,31,.94); }
.product-card:active { transform: translate3d(0,-1px,0) scale(.995); transition-duration: 55ms; }
.product-card.selected { border-color: rgba(201,138,80,.58); background: linear-gradient(135deg, rgba(201,138,80,.13), rgba(31,29,25,.94)); box-shadow: inset 0 0 0 1px rgba(201,138,80,.08), 0 12px 35px rgba(0,0,0,.18); }
.product-art { position: relative; width: 84px; aspect-ratio: 1; border-radius: 19px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-content { display: grid; min-width: 0; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-name { font-size: 1rem; font-weight: 800; }
.selected-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); opacity: 0; transform: scale(.75); transition: var(--ease); }
.selected-check svg { width: 13px; height: 13px; }
.selected .selected-check { opacity: 1; transform: scale(1); }
.product-plans { margin-block: 5px 8px; color: var(--text-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-status { display: flex; align-items: center; gap: 7px; color: #9ec1a7; font-size: .69rem; min-width: 0; }
.product-status span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-status.unavailable { color: #ffd08b; }
.product-status.unavailable .mini-dot { background: var(--warning); box-shadow: none; }

.activation-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 18px; align-items: start; scroll-margin-top: 92px; }
.progress-card { position: sticky; top: 94px; padding: 20px; }
.progress-heading { display: flex; justify-content: space-between; align-items: center; padding-block-end: 17px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: .76rem; font-weight: 700; }
.progress-heading strong { color: #ddb080; direction: ltr; unicode-bidi: isolate; }
.progress-list { list-style: none; margin: 18px 0; padding: 0; }
.progress-step { position: relative; min-height: 70px; display: grid; grid-template-columns: 34px 1fr 16px; gap: 11px; align-items: start; color: var(--text-muted); }
.progress-step:not(:last-child)::after { content: ""; position: absolute; inset-block: 36px 6px; inset-inline-start: 16px; width: 1px; background: var(--line); }
.progress-index { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 11px; font-size: .77rem; font-weight: 800; background: var(--surface-input); z-index: 1; }
.progress-step > span:nth-child(2) { display: grid; padding-block-start: 1px; }
.progress-step strong { color: var(--text-soft); font-size: .82rem; }
.progress-step small { margin-block-start: 3px; font-size: .68rem; color: var(--text-muted); }
.progress-step > svg { opacity: 0; color: var(--success); width: 15px; margin-block-start: 9px; }
.progress-step.active .progress-index { color: white; border-color: var(--brand); background: var(--brand); box-shadow: 0 7px 20px rgba(173,111,57,.25); }
.progress-step.active strong { color: white; }
.progress-step.done .progress-index { color: var(--success); border-color: rgba(118,169,137,.35); background: rgba(118,169,137,.1); font-size: 0; }
.progress-step.done .progress-index::before { content: "✓"; font-size: .85rem; }
.progress-step.done::after { background: rgba(118,169,137,.3); }
.progress-step.done > svg { opacity: 1; }
.privacy-note { display: flex; gap: 9px; padding: 12px; border-radius: 12px; background: rgba(118,169,137,.07); color: var(--text-muted); font-size: .68rem; line-height: 1.55; }
.privacy-note svg { flex: 0 0 auto; width: 15px; color: var(--cyan); margin-block-start: 2px; }

.wizard-card { min-height: 520px; padding: clamp(22px, 4vw, 38px); }
.wizard-panel { animation: panel-in 220ms ease; }
@keyframes panel-in { from { opacity: 0; transform: translateX(7px); } to { opacity: 1; transform: translateX(0); } }
html[dir="rtl"] .wizard-panel { animation-name: panel-in-rtl; }
@keyframes panel-in-rtl { from { opacity: 0; transform: translateX(-7px); } to { opacity: 1; transform: translateX(0); } }
.card-heading { display: flex; align-items: flex-start; gap: 15px; margin-block-end: 30px; }
.card-icon, .page-icon, .modal-icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #e2b181; background: var(--brand-soft); border: 1px solid rgba(201,138,80,.18); }
.card-icon svg, .page-icon svg { width: 21px; height: 21px; }
.card-heading h2 { margin: 5px 0 5px; font-size: 1.5rem; letter-spacing: -.025em; }
.card-heading p { margin: 0; color: var(--text-muted); font-size: .87rem; }

.field-label { display: block; margin-block-end: 9px; color: var(--text-soft); font-size: .79rem; font-weight: 750; }
.input-shell { position: relative; display: flex; align-items: center; }
.input-shell > svg { position: absolute; inset-inline-start: 15px; color: var(--text-muted); width: 18px; pointer-events: none; }
.text-input, .text-area { width: 100%; border: 1px solid var(--line-strong); border-radius: 13px; outline: none; background: var(--surface-input); color: var(--text); transition: border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.text-input { height: 52px; padding-inline: 46px 15px; }
.text-area { min-height: 118px; padding: 14px 15px; resize: vertical; line-height: 1.55; }
.text-input::placeholder, .text-area::placeholder { color: #6f675d; }
.text-input:focus, .text-area:focus { border-color: rgba(201,138,80,.65); box-shadow: 0 0 0 4px rgba(201,138,80,.09); background: #1d1a16; }
.field-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block: 9px 24px; color: var(--text-muted); font-size: .69rem; }
.field-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.field-meta svg { width: 13px; height: 13px; }
.field-meta .over-limit { color: var(--danger); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-block-end: 9px; }
.label-row .field-label { margin: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #d6a371; text-decoration: none; font-size: .72rem; font-weight: 700; cursor: pointer; }
.text-button:hover { color: #f0cfad; }
.text-button svg { width: 13px; height: 13px; }
.field-warning { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 22px; color: #b8afa2; font-size: .68rem; }
.field-warning svg { flex: 0 0 auto; width: 14px; color: var(--warning); }

.button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), opacity var(--ease), box-shadow var(--ease);
}
.button svg { width: 16px; height: 16px; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .58; cursor: wait; }
.button.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.button-primary { color: #fffaf4; background: linear-gradient(135deg, #d49a62, #ad6f39); box-shadow: 0 9px 23px rgba(148,86,35,.24); }
.button-primary:hover:not(:disabled) { box-shadow: 0 12px 28px rgba(148,86,35,.36); }
.button-success { color: #051611; background: linear-gradient(135deg, #5ee1b4, #2fb98e); box-shadow: 0 9px 23px rgba(47,185,142,.18); }
.button-secondary { color: var(--text-soft); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.button-secondary:hover:not(:disabled), .button-ghost:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.button-ghost { color: var(--text-soft); border-color: var(--line); background: transparent; }
.button-danger-ghost { color: #ffabb3; border-color: rgba(255,107,122,.25); background: rgba(255,107,122,.06); }
.button-wide { width: 100%; min-height: 49px; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .74rem; }
.button-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 26px; }
.button-row.center { justify-content: center; flex-wrap: wrap; }

.verified-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 17px; margin-block: -9px 24px; padding: 11px 13px; border: 1px solid rgba(118,169,137,.16); border-radius: 12px; background: rgba(118,169,137,.06); font-size: .72rem; }
.verified-strip > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #a8cfb3; }
.verified-strip svg { width: 14px; }
.verified-strip strong { color: var(--text); }
.verified-strip .mono { margin-inline-start: auto; color: var(--text-muted); }

.review-list, .compact-summary, .details-grid { margin: 0; }
.review-list > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.review-list dt, .compact-summary dt, .details-grid dt { color: var(--text-muted); font-size: .78rem; }
.review-list dd, .compact-summary dd, .details-grid dd { margin: 0; color: var(--text); font-size: .85rem; font-weight: 720; text-align: end; overflow-wrap: anywhere; }

.notice { display: flex; align-items: flex-start; gap: 11px; margin-block: 24px; padding: 14px; border-radius: 13px; font-size: .75rem; line-height: 1.6; }
.notice > svg { flex: 0 0 auto; width: 17px; margin-block-start: 2px; }
.notice > div { display: grid; }
.notice strong { margin-block-end: 2px; }
.notice span { color: var(--text-soft); }
.notice-warning { border: 1px solid rgba(245,185,66,.2); background: rgba(245,185,66,.07); }
.notice-warning > svg { color: var(--warning); }
.notice-danger { border: 1px solid rgba(255,107,122,.2); background: rgba(255,107,122,.07); }
.notice-danger > svg { color: var(--danger); }
.notice.compact { margin-block: 16px 22px; }

.result-state { padding-block: 24px 8px; text-align: center; }
.processing-mark { position: relative; width: 82px; height: 82px; margin: 0 auto 22px; display: grid; place-items: center; color: #dfad7c; }
.processing-mark span { position: absolute; inset: 0; border: 2px solid rgba(201,138,80,.15); border-top-color: var(--brand); border-right-color: var(--cyan); border-radius: 50%; animation: spin 1.15s linear infinite; }
.processing-mark svg { width: 28px; height: 28px; }
.result-state h2 { margin: 7px 0 8px; font-size: 1.65rem; letter-spacing: -.025em; }
.result-state > p { max-width: 520px; margin: 0 auto; color: var(--text-muted); font-size: .86rem; }
.live-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 27px auto 17px; max-width: 640px; }
.live-metrics > div { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15,14,12,.36); }
.live-metrics span { color: var(--text-muted); font-size: .66rem; }
.live-metrics strong { font-size: .8rem; }
.timeline-log { max-width: 640px; max-height: 150px; overflow: auto; margin: 0 auto 17px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #151310; text-align: start; }
.timeline-log:empty { display: none; }
.timeline-log > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding-block: 6px; color: var(--text-soft); font-size: .7rem; border-bottom: 1px dashed rgba(255,255,255,.05); }
.timeline-log time { color: var(--text-muted); font-family: monospace; direction: ltr; }
.result-icon { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 23px; }
.result-icon svg { width: 31px; height: 31px; stroke-width: 2.3; }
.result-icon.success { color: var(--success); background: rgba(53,213,157,.1); border: 1px solid rgba(53,213,157,.25); box-shadow: 0 12px 35px rgba(53,213,157,.1); }
.result-icon.failure { color: var(--danger); background: rgba(255,107,122,.09); border: 1px solid rgba(255,107,122,.23); }
.success-text { color: #5ce3b6; }
.danger-text { color: #ff929e; }
.compact-summary { max-width: 500px; margin: 24px auto; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.compact-summary > div { display: flex; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.compact-summary > div:last-child { border-bottom: 0; }

.page-heading { max-width: 720px; margin-inline: auto; padding-block: 66px 30px; text-align: center; }
.page-heading .page-icon { margin: 0 auto 17px; }
.page-heading p { max-width: 650px; margin-inline: auto; line-height: 1.7; }
.form-panel, .results-panel, .subscription-result { padding: clamp(22px, 4vw, 34px); }
.results-panel, .subscription-result { margin-block-start: 18px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-block-end: 20px; }
.results-heading h2 { margin: 5px 0 0; font-size: 1.25rem; }
.result-count { color: var(--text-muted); font-size: .74rem; }
.results-list { display: grid; gap: 9px; }
.query-result { display: grid; grid-template-columns: 39px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(18,16,14,.38); }
.query-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: #d9a573; }
.query-icon svg { width: 18px; }
.query-result > div { display: grid; min-width: 0; }
.query-result strong { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.query-result > div span { color: var(--text-muted); font-size: .69rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: rgba(255,255,255,.04); font-size: .66rem; font-weight: 750; white-space: nowrap; }
.status-badge.success, .status-used, .status-done { color: #87e6c8; border-color: rgba(53,213,157,.22); background: rgba(53,213,157,.07); }
.status-processing, .status-pending { color: #dfb58c; border-color: rgba(201,138,80,.22); background: var(--brand-soft); }
.status-failed, .status-invalid, .status-not_found { color: #ffa0aa; border-color: rgba(255,107,122,.22); background: rgba(255,107,122,.07); }

.replacement-result { margin-block-start: 18px; padding: 38px; text-align: center; }
.replacement-result h2 { margin: 6px 0; }
.replacement-result > p { margin: 0; color: var(--text-muted); }
.code-display { width: min(100%, 540px); margin: 24px auto; padding: 15px 17px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid rgba(53,213,157,.28); border-radius: 13px; background: rgba(53,213,157,.06); color: var(--text); cursor: pointer; }
.code-display > span:first-child { overflow-wrap: anywhere; }
.code-display > span:last-child { display: inline-flex; align-items: center; gap: 6px; color: #79dfbd; font-size: .72rem; font-weight: 800; }
.code-display svg { width: 15px; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--line); }
.details-grid > div { display: grid; gap: 5px; padding: 14px; background: var(--surface-input); }
.details-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.details-grid dd { text-align: start; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.help-card { padding: 23px; }
.help-card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: #d9a675; }
.help-card-icon svg { width: 19px; }
.help-card h2 { margin: 18px 0 8px; font-size: 1rem; }
.help-card p { min-height: 70px; margin: 0 0 18px; color: var(--text-muted); font-size: .77rem; line-height: 1.7; }
.faq-panel { margin-block-start: 18px; padding: clamp(22px, 4vw, 34px); }
.faq-panel h2 { margin: 0 0 18px; font-size: 1.25rem; }
.faq-panel details { border-top: 1px solid var(--line); }
.faq-panel summary { padding: 16px 2px; cursor: pointer; color: var(--text-soft); font-size: .85rem; font-weight: 700; }
.faq-panel details p { margin: -2px 0 18px; color: var(--text-muted); font-size: .78rem; line-height: 1.7; }

.footer { border-top: 1px solid var(--line); background: rgba(15,14,12,.76); }
.footer-inner { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--text-muted); font-size: .72rem; }
.footer .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.footer .brand-mark svg { width: 17px; }
.footer p { text-align: center; }

.mobile-nav { display: none; }

.modal-layer { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(8,7,6,.8); backdrop-filter: blur(14px); }
.modal { width: min(100%, 620px); max-height: min(90vh, 760px); overflow: auto; padding: 26px; border: 1px solid var(--line-strong); border-radius: 22px; background: #211e19; box-shadow: var(--shadow); }
.modal > header { display: grid; grid-template-columns: 46px 1fr 40px; align-items: center; gap: 13px; }
.modal h2 { margin: 4px 0 0; font-size: 1.2rem; }
.modal > footer { display: flex; justify-content: flex-end; gap: 10px; margin-block-start: 22px; }
.guide-steps { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 13px; }
.guide-steps li { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 12px; }
.guide-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: #dda976; font-weight: 800; font-size: .74rem; }
.guide-steps p, .modal > p { margin: 0; color: var(--text-soft); font-size: .8rem; line-height: 1.7; }
.modal-open { overflow: hidden; }

.toast-region { position: fixed; z-index: 500; inset-block-end: 24px; inset-inline-end: 24px; width: min(calc(100% - 40px), 390px); display: grid; gap: 10px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 20px 1fr 28px; align-items: center; gap: 10px; padding: 12px 11px 12px 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(32,29,24,.97); box-shadow: var(--shadow-small); color: var(--text-soft); font-size: .76rem; transform: translateY(12px); opacity: 0; transition: 220ms ease; pointer-events: auto; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > svg { width: 18px; color: #dca875; }
.toast-success > svg { color: var(--success); }
.toast-error > svg { color: var(--danger); }
.toast button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); display: grid; place-items: center; cursor: pointer; }
.toast button:hover { background: rgba(255,255,255,.06); color: white; }
.toast button svg { width: 14px; }

:focus-visible { outline: 2px solid #dca875; outline-offset: 3px; }

/* Premium light interface */
.topbar { border-color: var(--line); background: rgba(250, 249, 244, .88); box-shadow: 0 1px 0 rgba(255,255,255,.8); }
.brand-mark { color: white; background: linear-gradient(145deg, #2e9875, #126148 65%, #ddbd78); box-shadow: 0 9px 25px rgba(20,104,78,.2), inset 0 1px rgba(255,255,255,.3); }
.nav-link:hover { background: rgba(23,120,92,.055); }
.nav-link.active { color: var(--brand-strong); background: var(--brand-soft); }
.icon-button { background: rgba(255,255,255,.6); }
.icon-button:hover { background: white; }
.eyebrow, .section-kicker { color: var(--brand); }
.status-dot, .mini-dot, .eyebrow-dot { box-shadow: 0 0 0 4px rgba(28,128,95,.09), 0 0 11px rgba(28,128,95,.35); }

.activation-masthead { min-height: 190px; display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: center; gap: 36px; padding: 24px 28px; margin-block: 26px 4px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(120deg, rgba(255,255,252,.94), rgba(239,246,241,.9)); box-shadow: var(--shadow-small); overflow: hidden; }
.activation-masthead-copy h1 { margin: 8px 0 6px; font-size: clamp(1.7rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -.045em; }
.activation-masthead-copy p { margin: 0; color: var(--text-muted); font-size: .94rem; }
.service-orbit { position: relative; min-height: 140px; }
.orbit-track { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(23,120,92,.17); border-radius: 50%; transform: translate(-50%,-50%) rotate(-10deg); }
.orbit-track-a { width: 220px; height: 92px; }
.orbit-track-b { width: 155px; height: 125px; transform: translate(-50%,-50%) rotate(28deg); }
.orbit-track-c { width: 190px; height: 112px; transform: translate(-50%,-50%) rotate(-31deg); opacity: .68; }
.orbit-center { position: absolute; inset: 50% auto auto 50%; width: 58px; height: 58px; display: grid; place-items: center; color: white; border-radius: 19px; background: linear-gradient(145deg,var(--brand),var(--brand-strong)); box-shadow: 0 14px 30px rgba(23,120,92,.25); transform: translate(-50%,-50%); animation: center-breathe 3.6s ease-in-out infinite; }
.orbit-plane { position: absolute; inset: 0; transform-origin: center; pointer-events: none; }
.orbit-plane-gpt, .orbit-plane-claude, .orbit-plane-grok { transform: rotate(-10deg); }
.orbit-service { position: absolute; inset: 0 auto auto 0; width: 43px; height: 43px; padding: 3px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 20px rgba(32,56,46,.12); overflow: hidden; offset-path: ellipse(40% 29% at 50% 50%); offset-anchor: center; offset-rotate: 0deg; animation: service-orbit 16s linear infinite; will-change: offset-distance; }
.orbit-service img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; transform: rotate(10deg) scale(1.02); }
.orbit-service-gpt { animation-delay: 0s; }
.orbit-service-claude { animation-delay: -5.333s; }
.orbit-service-grok { animation-delay: -10.666s; }
@keyframes center-breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.04); } }
@keyframes service-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.panel { background: var(--surface); }
.section-block { margin-block: 28px 22px; }
.resume-banner { border-color: rgba(23,120,92,.17); background: linear-gradient(90deg, rgba(23,120,92,.07), rgba(218,183,111,.08)); }
.resume-icon { color: var(--brand); }
.product-card { grid-template-columns: 76px 1fr; padding: 11px; border-color: var(--line); background: rgba(255,255,252,.86); }
.product-card:hover { background: white; box-shadow: var(--shadow-small); }
.product-card.selected { border-color: rgba(23,120,92,.42); background: linear-gradient(135deg, rgba(23,120,92,.07), white); box-shadow: inset 0 0 0 1px rgba(23,120,92,.04), 0 12px 32px rgba(32,70,54,.08); }
.product-art { width: 76px; border-radius: 18px; box-shadow: 0 8px 20px rgba(32,56,46,.12); }
.selected-check { background: var(--brand); }
.product-status { color: var(--success); }
.progress-heading strong { color: var(--brand); }
.privacy-note { background: var(--cyan-soft); }
.card-icon, .page-icon, .modal-icon { color: var(--brand); border-color: rgba(23,120,92,.13); }
.text-input:focus, .text-area:focus { border-color: rgba(23,120,92,.55); box-shadow: 0 0 0 4px rgba(23,120,92,.08); background: white; }
.text-input::placeholder, .text-area::placeholder { color: #9aa49f; }
.text-button { color: var(--brand); }
.text-button:hover { color: var(--brand-strong); }
.button-primary { color: white; background: linear-gradient(135deg, #21916d, #126047); box-shadow: 0 9px 23px rgba(18,96,71,.2); }
.button-primary:hover:not(:disabled) { box-shadow: 0 12px 28px rgba(18,96,71,.3); }
.button-success { color: white; background: linear-gradient(135deg, #319b77, #176649); }
.field-warning { color: var(--text-muted); }
.live-metrics > div, .query-result { background: rgba(244,247,244,.8); }
.timeline-log { background: #f7f8f5; }
.footer { background: rgba(240,239,232,.8); }

.account-guide { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(220px,.65fr); gap: 18px; padding: 13px; margin-block: 0 24px; border: 1px solid var(--line); border-radius: 18px; background: #f1f5f1; }
.guide-media { min-width: 0; aspect-ratio: 1.92; border-radius: 13px; overflow: hidden; background: #111; box-shadow: 0 8px 20px rgba(29,47,39,.13); }
.guide-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.guide-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 8px 8px 8px 2px; }
.guide-label { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.guide-label svg { width: 14px; }
.guide-content h3 { margin: 9px 0 6px; font-size: 1rem; line-height: 1.25; }
.guide-content p { margin: 0 0 13px; color: var(--text-muted); font-size: .73rem; line-height: 1.6; }
.guide-content .button { margin-block-start: auto; }
.detected-account { display: grid; grid-template-columns: 34px minmax(0,1fr) 22px; align-items: center; gap: 10px; padding: 11px 13px; margin: -7px 0 18px; border: 1px solid rgba(28,128,95,.18); border-radius: 12px; background: rgba(28,128,95,.06); color: var(--success); }
.detected-account > svg { width: 18px; }
.detected-account > span { display: grid; min-width: 0; }
.detected-account small { color: var(--text-muted); font-size: .64rem; }
.detected-account strong { overflow: hidden; color: var(--text); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.eligibility-confirm { display: flex; align-items: flex-start; gap: 11px; padding: 13px; margin-block: 2px 10px; border: 1px solid rgba(23,120,92,.18); border-radius: 13px; background: rgba(23,120,92,.055); cursor: pointer; }
.eligibility-confirm input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: 0 0 auto; }
.eligibility-confirm > span { display: grid; }
.eligibility-confirm strong { font-size: .78rem; }
.eligibility-confirm small { margin-block-start: 2px; color: var(--text-muted); font-size: .67rem; }
.eligibility-warning { margin: 0 0 20px; }
.notice-danger { color: #7d3036; }
.modal { background: white; }
.toast { background: rgba(255,255,252,.98); }
.toast button:hover { color: var(--text); background: var(--brand-soft); }
:focus-visible { outline-color: var(--brand); }

/* Complete dark theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b100e;
  --bg-soft: #111814;
  --surface: rgba(19, 27, 23, 0.94);
  --surface-solid: #151d19;
  --surface-raised: #1a241f;
  --surface-input: #101713;
  --line: rgba(220, 239, 230, 0.1);
  --line-strong: rgba(220, 239, 230, 0.18);
  --text: #edf5f1;
  --text-soft: #c0cdc6;
  --text-muted: #899890;
  --brand: #59c39f;
  --brand-strong: #83d8ba;
  --brand-soft: rgba(89, 195, 159, 0.12);
  --cyan: #67c8a8;
  --cyan-soft: rgba(103, 200, 168, 0.1);
  --success: #58c79f;
  --warning: #e2aa62;
  --danger: #ef7c85;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --shadow-small: 0 14px 38px rgba(0, 0, 0, 0.28);
}

body,
.topbar,
.panel,
.activation-masthead,
.text-input,
.text-area,
.account-guide,
.modal,
.toast,
.mobile-nav,
.footer { transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 2%, rgba(39, 132, 99, 0.15), transparent 29rem),
    radial-gradient(circle at 92% 24%, rgba(172, 125, 63, 0.09), transparent 27rem),
    var(--bg);
}
html[data-theme="dark"] .ambient-one { background: #174d3a; opacity: .25; }
html[data-theme="dark"] .ambient-two { background: #5d4527; opacity: .18; }
html[data-theme="dark"] .page-grid {
  opacity: .28;
  background-image: linear-gradient(rgba(191,232,214,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(191,232,214,.035) 1px, transparent 1px);
}
html[data-theme="dark"] .skip-link { background: #edf5f1; color: #08110d; }
html[data-theme="dark"] .topbar {
  border-color: var(--line);
  background: rgba(10, 15, 12, .88);
  box-shadow: 0 1px 0 rgba(255,255,255,.025);
}
html[data-theme="dark"] .brand-mark { box-shadow: 0 10px 28px rgba(3, 15, 10, .5), inset 0 1px rgba(255,255,255,.22); }
html[data-theme="dark"] .nav-link:hover { background: rgba(89,195,159,.08); }
html[data-theme="dark"] .nav-link.active { color: #9de7cd; background: rgba(89,195,159,.12); }
html[data-theme="dark"] .icon-button { background: rgba(255,255,255,.035); }
html[data-theme="dark"] .icon-button:hover { color: var(--text); background: rgba(255,255,255,.075); }
html[data-theme="dark"] .activation-masthead {
  background: linear-gradient(120deg, rgba(22,31,27,.97), rgba(16,27,22,.94));
  box-shadow: var(--shadow-small), inset 0 1px rgba(255,255,255,.025);
}
html[data-theme="dark"] .orbit-track { border-color: rgba(103,200,168,.21); }
html[data-theme="dark"] .orbit-service { border-color: rgba(221,239,231,.14); background: #edf2ef; box-shadow: 0 9px 24px rgba(0,0,0,.3); }
html[data-theme="dark"] .panel { background: linear-gradient(145deg, rgba(21,30,26,.97), rgba(16,23,20,.96)); }
html[data-theme="dark"] .resume-banner { border-color: rgba(89,195,159,.19); background: linear-gradient(90deg, rgba(89,195,159,.09), rgba(195,144,75,.075)); }
html[data-theme="dark"] .product-card { border-color: var(--line); background: rgba(20,29,25,.88); }
html[data-theme="dark"] .product-card:hover { border-color: var(--line-strong); background: #19231f; box-shadow: var(--shadow-small); }
html[data-theme="dark"] .product-card.selected {
  border-color: rgba(89,195,159,.46);
  background: linear-gradient(135deg, rgba(89,195,159,.13), rgba(20,29,25,.98));
  box-shadow: inset 0 0 0 1px rgba(89,195,159,.05), 0 13px 34px rgba(0,0,0,.25);
}
html[data-theme="dark"] .product-art { background: #eef2ef; box-shadow: 0 9px 24px rgba(0,0,0,.28); }
html[data-theme="dark"] .progress-step.active strong { color: var(--text); }
html[data-theme="dark"] .progress-step.active .progress-index { color: #07140f; box-shadow: 0 7px 20px rgba(44,143,108,.23); }
html[data-theme="dark"] .card-icon,
html[data-theme="dark"] .page-icon,
html[data-theme="dark"] .modal-icon { border-color: rgba(89,195,159,.18); background: rgba(89,195,159,.1); }
html[data-theme="dark"] .text-input,
html[data-theme="dark"] .text-area { background: #0e1512; }
html[data-theme="dark"] .text-input::placeholder,
html[data-theme="dark"] .text-area::placeholder { color: #6f7d76; }
html[data-theme="dark"] .text-input:focus,
html[data-theme="dark"] .text-area:focus { border-color: rgba(89,195,159,.58); box-shadow: 0 0 0 4px rgba(89,195,159,.1); background: #121c17; }
html[data-theme="dark"] .button-primary { background: linear-gradient(135deg, #2ca57b, #197154); box-shadow: 0 9px 24px rgba(4,32,23,.45); }
html[data-theme="dark"] .button-primary:hover:not(:disabled) { box-shadow: 0 13px 30px rgba(4,32,23,.58); }
html[data-theme="dark"] .button-secondary { background: rgba(255,255,255,.035); }
html[data-theme="dark"] .button-secondary:hover:not(:disabled),
html[data-theme="dark"] .button-ghost:hover:not(:disabled) { background: rgba(255,255,255,.075); }
html[data-theme="dark"] .verified-strip { border-color: rgba(88,199,159,.19); background: rgba(88,199,159,.075); }
html[data-theme="dark"] .verified-strip > span:first-child { color: #91d8bd; }
html[data-theme="dark"] .notice-danger { color: #ffc0c5; }
html[data-theme="dark"] .live-metrics > div,
html[data-theme="dark"] .query-result { background: rgba(10,17,14,.62); }
html[data-theme="dark"] .timeline-log { background: #0c120f; }
html[data-theme="dark"] .timeline-log > div { border-bottom-color: rgba(255,255,255,.06); }
html[data-theme="dark"] .status-badge { background: rgba(255,255,255,.035); }
html[data-theme="dark"] .details-grid > div { background: #111915; }
html[data-theme="dark"] .account-guide { background: #111b16; }
html[data-theme="dark"] .guide-media { box-shadow: 0 9px 24px rgba(0,0,0,.32); }
html[data-theme="dark"] .eligibility-confirm { border-color: rgba(89,195,159,.2); background: rgba(89,195,159,.075); }
html[data-theme="dark"] .footer { background: rgba(10,15,12,.86); }
html[data-theme="dark"] .modal-layer { background: rgba(3,7,5,.82); }
html[data-theme="dark"] .modal { background: #151e1a; }
html[data-theme="dark"] .toast { background: rgba(20,29,25,.98); }
html[data-theme="dark"] .toast button:hover { color: var(--text); background: var(--brand-soft); }
html[data-theme="dark"] .mobile-nav { background: rgba(12,18,15,.96); }
html[data-theme="dark"] ::selection { color: #06110d; background: #70d4b1; }
html[data-theme="dark"] { scrollbar-color: #33483f #0d1411; }

@media (max-width: 1060px) {
  .desktop-nav { gap: 1px; }
  .nav-link { padding-inline: 9px; }
  .nav-link span { display: none; }
  .nav-link svg { width: 18px; height: 18px; }
  .product-card { grid-template-columns: 88px 1fr; }
  .product-art { width: 88px; }
}

@media (max-width: 820px) {
  body { padding-block-end: calc(74px + env(safe-area-inset-bottom)); }
  .shell, .narrow-shell, .help-shell { width: min(calc(100% - 28px), var(--shell)); }
  .topbar-inner { min-height: 66px; }
  .desktop-nav, .service-chip { display: none; }
  .activation-masthead { grid-template-columns: minmax(0,1fr) 190px; min-height: 160px; padding: 20px; }
  .activation-masthead-copy h1 { font-size: 1.8rem; }
  .service-orbit { min-height: 120px; }
  .orbit-track-a { width: 165px; height: 78px; }
  .orbit-track-b { width: 120px; height: 105px; }
  .orbit-track-c { width: 145px; height: 92px; }
  .orbit-service { width: 38px; height: 38px; border-radius: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-block: 44px 30px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .eyebrow { justify-content: center; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: 250px; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-logo-main { width: 120px; height: 120px; }
  .hero-logo { width: 74px; height: 74px; }
  .orbit-one { width: 260px; height: 190px; }
  .orbit-two { width: 190px; height: 245px; }
  .product-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(255px, 78vw); overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: inline mandatory; scrollbar-width: none; }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { grid-template-columns: 72px 1fr; scroll-snap-align: start; }
  .product-art { width: 72px; }
  .activation-layout { grid-template-columns: 1fr; }
  .progress-card { position: static; padding: 12px; }
  .progress-heading, .privacy-note, .progress-step > span:nth-child(2) { display: none; }
  .progress-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
  .progress-step { min-height: 36px; display: flex; justify-content: center; }
  .progress-step:not(:last-child)::after { inset: 17px -50% auto 50%; width: 100%; height: 1px; }
  html[dir="rtl"] .progress-step:not(:last-child)::after { inset-inline-start: -50%; }
  .progress-step > svg { display: none; }
  .wizard-card { min-height: 0; }
  .account-guide { grid-template-columns: 1fr; }
  .guide-content { padding: 5px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-card p { min-height: 0; }
  .footer { display: none; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 150; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(250,249,244,.96); backdrop-filter: blur(18px); }
  .mobile-nav-link { min-width: 0; display: grid; justify-items: center; gap: 3px; padding: 5px 2px; border-radius: 10px; color: var(--text-muted); text-decoration: none; font-size: .59rem; font-weight: 700; }
  .mobile-nav-link svg { width: 18px; height: 18px; }
  .mobile-nav-link.active { color: var(--brand); background: var(--brand-soft); }
  .toast-region { inset-block-end: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .shell, .narrow-shell, .help-shell { width: min(calc(100% - 20px), var(--shell)); }
  .brand-copy small { display: none; }
  .language-button { padding-inline: 10px; }
  .activation-masthead { grid-template-columns: minmax(0,1fr) 112px; min-height: 132px; gap: 5px; padding: 15px 13px; text-align: start; }
  .activation-masthead .eyebrow { justify-content: flex-start; font-size: .58rem; letter-spacing: .07em; }
  .activation-masthead-copy h1 { margin-block: 6px 5px; font-size: 1.35rem; }
  .activation-masthead-copy p { font-size: .7rem; line-height: 1.4; }
  .service-orbit { min-height: 102px; width: 112px; margin-inline: auto; }
  .orbit-track-a { width: 106px; height: 55px; }
  .orbit-track-b { width: 78px; height: 88px; }
  .orbit-center { width: 46px; height: 46px; border-radius: 15px; }
  .orbit-service { width: 31px; height: 31px; padding: 2px; border-radius: 10px; }
  .orbit-service img { border-radius: 7px; }
  .hero { padding-block-start: 34px; }
  .hero h1 { margin-block: 14px; }
  .hero-copy > p { font-size: .92rem; }
  .hero-trust { display: grid; justify-content: center; }
  .hero-visual { min-height: 220px; }
  .hero-logo-main { width: 105px; height: 105px; border-radius: 29px; }
  .hero-logo { width: 64px; height: 64px; border-radius: 18px; }
  .floating-badge { inset-inline-end: 0; font-size: .66rem; }
  .resume-banner { align-items: flex-start; flex-wrap: wrap; }
  .resume-copy { width: calc(100% - 96px); }
  .resume-banner .button { margin-inline-start: 57px; }
  .resume-banner > .icon-button { position: absolute; inset-inline-end: 25px; }
  .product-card { grid-template-columns: 68px 1fr; padding: 10px; }
  .product-art { width: 68px; }
  .wizard-card { padding: 20px 16px; border-radius: 18px; }
  .card-heading { gap: 11px; margin-block-end: 24px; }
  .card-icon { width: 42px; height: 42px; border-radius: 13px; }
  .card-heading h2 { font-size: 1.24rem; }
  .card-heading p { font-size: .76rem; }
  .label-row { align-items: flex-start; flex-direction: column; }
  .inline-actions { gap: 10px; }
  .button-row { align-items: stretch; flex-direction: column-reverse; }
  .button-row .button { width: 100%; }
  .review-list > div { align-items: flex-start; }
  .review-list dd { max-width: 60%; }
  .live-metrics { grid-template-columns: 1fr; }
  .timeline-log > div { grid-template-columns: 62px 1fr; }
  .page-heading { padding-block: 42px 24px; }
  .form-panel, .results-panel, .subscription-result { padding: 19px 15px; border-radius: 18px; }
  .query-result { grid-template-columns: 36px minmax(0,1fr); }
  .query-result .status-badge { grid-column: 2; justify-self: start; }
  .details-grid { grid-template-columns: 1fr; }
  .details-grid > div:last-child:nth-child(odd) { grid-column: auto; }
  .replacement-result { padding: 28px 15px; }
  .code-display { align-items: flex-start; flex-direction: column; }
  .modal-layer { padding: 10px; align-items: end; }
  .modal { max-height: 92vh; padding: 20px 15px calc(20px + env(safe-area-inset-bottom)); border-radius: 21px 21px 0 0; }
  .modal > header { grid-template-columns: 42px 1fr 38px; }
  .modal > footer { flex-direction: column-reverse; }
  .modal > footer .button { width: 100%; }
  .toast-region { inset-inline: 10px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .orbit-center, .orbit-service { animation: none !important; }
  .orbit-service-gpt { offset-distance: 0%; }
  .orbit-service-claude { offset-distance: 33.333%; }
  .orbit-service-grok { offset-distance: 66.666%; }
}
