:root {
  --ink: #0f1c1a;
  --ink-soft: #263b36;
  --paper: #f6f1e7;
  --paper-deep: #e9e1d1;
  --white: #ffffff;
  --lime: #b9ff66;
  --lime-deep: #8fde3a;
  --coral: #ff6f56;
  --sky: #9fd9ff;
  --muted: #64746e;
  --line: rgba(15, 28, 26, 0.16);
  --shadow: 0 24px 70px rgba(15, 28, 26, 0.14);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body[dir="rtl"] {
  font-family: Tahoma, Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.narrow-shell {
  width: min(100% - 32px, 790px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 830;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lime);
  transform: rotate(-6deg);
}

.brand-mark i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark i:nth-child(1) { transform: translate(-7px, 5px); }
.brand-mark i:nth-child(2) { transform: translate(0, -6px); }
.brand-mark i:nth-child(3) { transform: translate(7px, 5px); }

.language-control {
  position: relative;
  color: var(--white);
}

.language-control select {
  width: 124px;
  min-height: 44px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 8px 38px 8px 14px;
  font-size: 16px;
  cursor: pointer;
}

.language-control option {
  color: var(--ink);
  background: var(--white);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

[dir="rtl"] .language-control select {
  padding: 8px 14px 8px 38px;
}

[dir="rtl"] .select-arrow {
  right: auto;
  left: 16px;
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(185, 255, 102, 0.05), transparent 42%),
    var(--ink);
  color: var(--white);
  padding: 132px 0 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 116px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.78;
  pointer-events: none;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  top: -130px;
  right: -190px;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.23), transparent 68%);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  left: -210px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(159, 217, 255, 0.18), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
}

.hero-copy,
.demo-wrap,
.split-heading > *,
.steps-grid > *,
.faq-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 22px;
  height: 8px;
  display: inline-block;
  border-radius: 999px;
  background: var(--lime);
}

.eyebrow-dark {
  color: var(--ink-soft);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 11vw, 86px);
  font-weight: 860;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 4.5vw, 20px);
  line-height: 1.56;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.wallet-check {
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wallet-check > label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wallet-input-row {
  display: grid;
  gap: 9px;
}

.wallet-input-row input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(3, 10, 9, 0.48);
  color: var(--white);
  padding: 12px 15px;
  font: inherit;
  font-size: 16px;
  outline: 0;
}

.wallet-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.wallet-input-row input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(185, 255, 102, 0.14);
}

.wallet-input-row input[aria-invalid="true"] {
  border-color: var(--coral);
}

.wallet-input-row .button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.82;
}

.wallet-input-row .button[aria-busy="true"] .button-arrow {
  animation: pulse-soft 900ms ease-in-out infinite alternate;
}

.wallet-error,
.wallet-helper {
  margin: 9px 1px 0;
  font-size: 12px;
  line-height: 1.45;
}

.wallet-error {
  color: #ffb3a2;
  font-weight: 720;
}

.wallet-error[hidden] {
  display: none;
}

.wallet-helper {
  color: rgba(255, 255, 255, 0.57);
}

.hero-secondary {
  display: inline-block;
  margin-top: 8px;
  color: var(--white);
  text-align: start;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 15px;
  padding: 12px 18px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(185, 255, 102, 0.18);
}

.button-primary:hover {
  background: #c8ff87;
}

.button-quiet {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-link {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 4px;
  font: inherit;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
  opacity: 0.76;
}

.button-link:hover {
  opacity: 1;
}

.hero-actions .button-link {
  color: var(--white);
}

.button-full {
  width: 100%;
}

.button-arrow {
  font-size: 18px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.handoff-section {
  background: var(--paper);
  padding: 26px 0 64px;
}

.handoff-card {
  display: grid;
  gap: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.handoff-copy h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(29px, 7.7vw, 48px);
  line-height: 1.05;
}

.handoff-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.handoff-copy .handoff-independent {
  margin-top: 12px;
  border-inline-start: 3px solid var(--coral);
  padding-inline-start: 12px;
  font-size: 13px;
}

.handoff-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.handoff-points li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 13px;
}

.handoff-points span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 11px;
  font-weight: 850;
}

.handoff-points p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.handoff-fallback {
  margin: 0;
  border: 1px solid rgba(255, 118, 88, 0.24);
  border-radius: 14px;
  background: rgba(255, 118, 88, 0.08);
  padding: 13px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.5;
}

.handoff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.handoff-links a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.note-shield {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 255, 102, 0.15);
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
}

.demo-wrap {
  position: relative;
  padding: 16px 0 30px;
}

.demo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: linear-gradient(160deg, #1c302b, #0b1412 70%);
  padding: 22px 18px 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.demo-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.18), transparent 70%);
}

.demo-topline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.demo-kicker {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.demo-card h2 {
  margin: 6px 0 0;
  font-size: 21px;
}

.status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(185, 255, 102, 0.2);
  border-radius: 999px;
  background: rgba(185, 255, 102, 0.08);
  color: var(--lime);
  padding: 6px 8px;
  font-size: 9px;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(185, 255, 102, 0.11);
}

.risk-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.risk-ring {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #13231f 56%, transparent 57%),
    conic-gradient(var(--coral) 0 62%, rgba(255, 255, 255, 0.09) 62% 100%);
}

.risk-ring span {
  display: block;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
}

.risk-ring small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
}

.risk-summary span,
.risk-summary strong {
  display: block;
}

.risk-summary span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.risk-summary strong {
  font-size: 15px;
  line-height: 1.3;
}

.signal-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.signal-list strong,
.signal-list small {
  display: block;
}

.signal-list strong {
  font-size: 12px;
}

.signal-list small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.signal-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.signal-warn { background: rgba(255, 111, 86, 0.13); color: var(--coral); }
.signal-alert { background: rgba(185, 255, 102, 0.12); color: var(--lime); }
.signal-info { background: rgba(159, 217, 255, 0.12); color: var(--sky); }

.signal-state {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
}

.demo-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  text-align: center;
}

.floating-proof {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 28, 26, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 9px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.floating-proof-top {
  top: 2px;
  right: 16px;
  animation: float-soft 4s ease-in-out infinite;
}

.floating-proof-bottom {
  bottom: 10px;
  left: 10px;
  animation: float-soft 4s ease-in-out 1.2s infinite;
}

.proof-dot,
.proof-check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.proof-dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 5px rgba(185, 255, 102, 0.11);
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  text-align: center;
}

.trust-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
}

.trust-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

[dir="rtl"] .trust-strip span + span {
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: 82px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.steps-copy h2,
.faq-intro h2,
.final-card h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 850;
}

.section-heading > p:last-child,
.split-heading > p,
.steps-copy > p:last-child,
.safety-grid p,
.feature-card p,
.faq-list p,
.final-card > p {
  color: var(--muted);
}

.centered {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.check-section {
  position: relative;
  background: var(--paper);
}

.quiz-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quiz-progress-wrap {
  padding: 18px 18px 0;
}

.quiz-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.quiz-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.quiz-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime-deep);
  transition: width 260ms ease;
}

.quiz-stage,
.quiz-result {
  padding: 30px 18px 22px;
}

.quiz-question-number {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.quiz-stage h3,
.quiz-result h3 {
  margin-bottom: 28px;
  font-size: clamp(27px, 7vw, 38px);
  font-weight: 820;
  line-height: 1.18;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-option {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 12px 16px;
  font-weight: 760;
  cursor: pointer;
}

.quiz-option i {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(15, 28, 26, 0.25);
  border-radius: 50%;
}

.quiz-option:hover {
  border-color: var(--ink);
  background: var(--lime);
}

.quiz-result {
  text-align: center;
}

.quiz-result[hidden] {
  display: none;
}

.result-orbit {
  width: 86px;
  height: 86px;
  position: relative;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.result-orbit::before {
  content: "✓";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 22px;
  font-weight: 900;
}

.result-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.result-orbit i:nth-child(1) { top: 5px; left: 19px; }
.result-orbit i:nth-child(2) { bottom: 12px; right: 6px; background: var(--sky); }
.result-orbit i:nth-child(3) { bottom: 3px; left: 23px; background: var(--lime-deep); }

.result-kicker {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.quiz-result > p:not(.result-kicker) {
  margin-bottom: 24px;
  color: var(--muted);
}

.quiz-result > .habit-disclaimer {
  margin: -12px 0 18px;
  border-radius: 12px;
  background: var(--paper-deep);
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
}

.result-reasons {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 17px;
  text-align: start;
}

.result-reasons > p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-reasons ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-reasons li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.result-reasons li::before {
  content: "";
  position: absolute;
  inset: 0.5em auto auto 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

[dir="rtl"] .result-reasons li::before {
  right: 0;
  left: auto;
}

.result-restart {
  margin-top: 10px;
  color: var(--ink);
}

.value-section {
  background: #fffdf8;
}

.split-heading {
  display: grid;
  gap: 18px;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3 {
  margin: auto 0 10px;
  font-size: 28px;
  font-weight: 820;
}

.feature-card p {
  margin-bottom: 0;
}

.feature-number {
  font-size: 12px;
  font-weight: 800;
}

.feature-card-dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--ink);
  color: var(--white);
}

.feature-card-dark p {
  color: rgba(255, 255, 255, 0.6);
}

.feature-card-lime {
  background: var(--lime);
}

.feature-card-lime p {
  color: rgba(15, 28, 26, 0.68);
}

.feature-card-light {
  background: var(--paper);
}

.feature-visual {
  position: relative;
  height: 154px;
  margin: 26px 0 20px;
}

.feature-visual-scan {
  display: grid;
  align-content: center;
  gap: 12px;
}

.feature-visual-scan span {
  width: 100%;
  height: 16px;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.feature-visual-scan span:nth-child(2) { width: 82%; }
.feature-visual-scan span:nth-child(3) { width: 68%; }
.feature-visual-scan i {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 48%;
  width: 2px;
  background: var(--lime);
  box-shadow: 0 0 24px var(--lime);
  animation: scan-line 2.8s ease-in-out infinite alternate;
}

.feature-visual-score {
  display: grid;
  place-items: center;
}

.feature-visual-score b {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 46px;
}

.feature-visual-score i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.feature-visual-score i:nth-of-type(1) { top: 18px; left: 24%; }
.feature-visual-score i:nth-of-type(2) { top: 56%; right: 18%; }
.feature-visual-score i:nth-of-type(3) { bottom: 10px; left: 32%; }

.feature-visual-control {
  display: grid;
  align-content: center;
  gap: 16px;
}

.feature-visual-control span {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--paper-deep);
}

.feature-visual-control span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  transform: translateY(-50%);
}

.feature-visual-control span:nth-child(1)::after { left: 20%; }
.feature-visual-control span:nth-child(2)::after { right: 18%; }
.feature-visual-control span:nth-child(3)::after { left: 48%; }

.steps-section {
  background: var(--ink);
  color: var(--white);
}

.steps-grid {
  display: grid;
  gap: 42px;
}

.steps-copy > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.steps-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.steps-list > li > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

.steps-list h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.steps-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.trust-section {
  background: var(--paper);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.safety-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
}

.safety-grid article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 850;
}

.safety-grid h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.safety-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.faq-section {
  background: #fffdf8;
}

.faq-grid {
  display: grid;
  gap: 34px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list p {
  padding: 0 46px 24px 0;
}

[dir="rtl"] .faq-list p {
  padding: 0 0 24px 46px;
}

.final-section {
  background: #fffdf8;
  padding-top: 20px;
}

.final-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
  padding: 42px 24px;
  text-align: center;
}

.final-card > *:not(.final-orbit) {
  position: relative;
  z-index: 2;
}

.final-card .eyebrow {
  justify-content: center;
}

.final-card h2 {
  max-width: 760px;
  margin-inline: auto;
}

.final-card > p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.62);
}

.final-card .button {
  width: 100%;
}

.final-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.final-orbit::before,
.final-orbit::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.final-orbit::after {
  inset: 145px;
  background: rgba(185, 255, 102, 0.08);
}

.final-orbit i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
}

.final-orbit i:nth-child(1) { top: 80px; left: 104px; }
.final-orbit i:nth-child(2) { right: 44px; top: 45%; background: var(--coral); }
.final-orbit i:nth-child(3) { bottom: 65px; left: 35%; background: var(--sky); }

.site-footer {
  background: #fffdf8;
  padding: 24px 0 calc(90px + env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.brand-footer {
  justify-content: center;
  color: var(--ink);
}

.footer-inner p {
  margin: 0;
}

.footer-safety {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
  text-align: center;
}

.footer-safety > span:first-child {
  color: var(--lime);
  font-weight: 900;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 4px 0;
  font: inherit;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.disclosure-dialog {
  width: min(100% - 28px, 560px);
  max-height: min(86vh, 720px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: transparent;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(3, 10, 9, 0.34);
}

.disclosure-dialog::backdrop {
  background: rgba(3, 10, 9, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.disclosure-panel {
  background: var(--white);
  padding: 24px;
}

.disclosure-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.disclosure-heading h2 {
  margin: 0;
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.1;
}

.dialog-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.disclosure-panel > p {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.55;
}

.disclosure-panel > .button {
  margin-top: 8px;
}

.sticky-action {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  background: rgba(246, 241, 231, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(15, 28, 26, 0.12);
  transform: translateY(110%);
  transition: transform 220ms ease;
}

.sticky-action.is-visible {
  transform: translateY(0);
}

.noscript {
  position: fixed;
  z-index: 100;
  inset: auto 16px 16px;
  border-radius: 14px;
  background: var(--coral);
  color: var(--ink);
  padding: 14px;
  font-weight: 700;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes scan-line {
  from { left: 12%; }
  to { left: 88%; }
}

@keyframes pulse-soft {
  from { opacity: 0.45; transform: translateX(0); }
  to { opacity: 1; transform: translateX(3px); }
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .button {
    width: auto;
  }

  .wallet-input-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .wallet-input-row .button {
    min-width: 180px;
  }

  .quiz-progress-wrap {
    padding: 22px 28px 0;
  }

  .quiz-stage,
  .quiz-result {
    padding: 38px 28px 30px;
  }

  .final-card {
    padding: 74px 42px;
  }

  .final-card .button {
    width: auto;
  }
}

@media (max-width: 340px) {
  body {
    min-width: 0;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .language-control select {
    width: 112px;
    padding-inline-start: 12px;
  }
}

@media (min-width: 760px) {
  .section {
    padding: 110px 0;
  }

  .header-inner {
    min-height: 84px;
  }

  .hero {
    padding-top: 160px;
  }

  .demo-card {
    padding: 28px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .handoff-section {
    padding: 42px 0 86px;
  }

  .handoff-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 34px 56px;
    padding: 38px;
  }

  .handoff-links {
    grid-column: 1 / -1;
  }

  .handoff-fallback {
    grid-column: 1 / -1;
  }

  .feature-card {
    min-height: 470px;
  }

  .safety-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 80px;
  }

  .steps-copy,
  .faq-intro {
    position: sticky;
    top: 36px;
    align-self: start;
  }

  .footer-inner {
    grid-template-columns: auto minmax(240px, 1fr) auto auto;
    align-items: center;
    text-align: left;
  }

  [dir="rtl"] .footer-inner {
    text-align: right;
  }

  .brand-footer {
    justify-content: flex-start;
  }

  .sticky-action {
    display: none;
  }

  .site-footer {
    padding-bottom: 32px;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 72px;
  }

  .hero h1 {
    font-size: clamp(58px, 6.2vw, 84px);
  }

  .split-heading {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    align-items: end;
    gap: 70px;
  }

  .safety-grid article {
    min-height: 250px;
    padding: 24px;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 6vw, 56px);
  }

  .hero-lede {
    margin-bottom: 18px;
  }

  .demo-card {
    transform: scale(0.9);
    transform-origin: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
