:root {
  color-scheme: light;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --primary-soft: #eef2ff;
  --primary-line: #c7d2fe;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --line: #e5e7eb;
  --wash: #f8fafc;
  --panel: #ffffff;
  --success: #16a34a;
  --success-soft: #ecfdf5;
  --success-line: #bbf7d0;
  --warning: #fff7ed;
  --warning-line: #fed7aa;
  --danger: #dc2626;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef2f7;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(34, 197, 94, 0.06), transparent 28%),
    #f3f6fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-weight: 900;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.18);
  font-size: 12px;
  font-weight: 950;
}

.brand-text {
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  color: #111827;
  font-size: 13px;
  font-weight: 750;
}

.nav-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 0;
  font-weight: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-account {
  min-width: 76px;
}

.language-select {
  height: 38px;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.language-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.11);
  outline: 0;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fef3c7, #bfdbfe);
  color: #1f2937;
  font-size: 12px;
  font-weight: 900;
}

.button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 850;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.button.primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.24);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--primary-line);
  color: var(--primary);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  box-shadow: none;
}

.page-card {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.home-card {
  display: flex;
  flex-direction: column;
}

.hero {
  min-height: 430px;
  padding: 62px 70px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 54px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.04), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.eyebrow {
  width: fit-content;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--primary);
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.hero h1 {
  margin: 20px 0 14px;
  max-width: 560px;
  color: #111827;
  font-size: clamp(38px, 5.1vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero p {
  max-width: 490px;
  margin: 0 0 26px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.duration {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.duration-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
}

.hero-art {
  min-height: 320px;
  display: grid;
  place-items: center;
}

.clipboard-scene {
  width: min(100%, 390px);
  aspect-ratio: 1.3;
  position: relative;
  display: grid;
  place-items: center;
}

.clipboard-blob {
  position: absolute;
  inset: 22px;
  background: #e9efff;
  border-radius: 44% 56% 52% 48%;
}

.clipboard {
  position: relative;
  width: 168px;
  height: 220px;
  border-radius: 10px;
  border: 8px solid #5b6fd6;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.22);
}

.clip {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 76px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 8px 8px 4px 4px;
  background: #4f61c9;
}

.clip::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #4f61c9;
  transform: translateX(-50%);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  margin: 24px 20px 0;
}

.check-row + .check-row {
  margin-top: 14px;
}

.mini-check {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 2px solid #93a4eb;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 950;
}

.paper-line {
  height: 11px;
  border-radius: 999px;
  background: #e2e8f0;
}

.person {
  position: absolute;
  bottom: 32px;
  width: 52px;
  height: 118px;
}

.person.left {
  left: 46px;
}

.person.right {
  right: 42px;
}

.person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 17px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #1f2937;
}

.person::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 9px;
  width: 34px;
  height: 74px;
  border-radius: 18px 18px 7px 7px;
  background: #f59e0b;
}

.person.right::after {
  background: #2563eb;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 26px 30px;
}

.feature-icon,
.step-num,
.card-icon,
.result-icon,
.tab-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 950;
}

.feature-icon {
  width: 40px;
  height: 40px;
}

.feature h3 {
  margin: 0 0 5px;
  font-size: 13px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.how-section {
  padding: 34px 44px 42px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: 26px;
}

.section-subtitle {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-card {
  min-height: 134px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.step-num {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  border-radius: 999px;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #ffffff;
  padding: 26px 44px;
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 950;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links button,
.footer-links a {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.footer-links button:hover,
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.wizard-card,
.checking-card,
.detail-card {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wizard-body {
  flex: 1;
  padding: 44px 72px 54px;
}

.progress-wrap {
  max-width: 710px;
  margin: 0 auto 44px;
}

.progress-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  height: 28px;
}

.progress-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #d9def0;
  transform: translateY(-50%);
}

.progress-step {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  justify-self: center;
  border-radius: 999px;
  border: 2px solid #d9def0;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 950;
}

.progress-step.done,
.progress-step.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.progress-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 8px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.progress-labels span {
  line-height: 1.15;
  padding: 0 4px;
}

.wizard-form-shell {
  max-width: 720px;
  margin: 0 auto;
}

.back-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

.wizard-title {
  text-align: center;
  margin: 14px 0 34px;
}

.wizard-title h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

.wizard-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.question-form {
  display: grid;
  gap: 20px;
}

.field label {
  display: block;
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 850;
}

.field-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 850;
}

.field-hint {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.required {
  color: var(--danger);
  margin-right: 2px;
}

.input,
.select {
  width: 100%;
  height: 44px;
  border: 1px solid #d9dee9;
  border-radius: 7px;
  background: #ffffff;
  padding: 0 13px;
  color: #111827;
  font-weight: 700;
}

.input::placeholder {
  color: #9ca3af;
}

.input:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.11);
  outline: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
}

.choice-grid-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  min-height: 42px;
  border: 1px solid #d9dee9;
  border-radius: 7px;
  background: #ffffff;
  color: #374151;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.choice-grid-list .choice {
  min-height: 56px;
  justify-content: space-between;
  text-align: left;
  padding: 12px 14px;
  line-height: 1.2;
}

.choice.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.definition {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid var(--primary-line);
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

.definition-wrap {
  position: relative;
  flex: 0 0 auto;
}

.field-definition {
  width: 24px;
  height: 24px;
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #159447;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(21, 148, 71, 0.16);
}

.tooltip-popover {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  left: 50%;
  right: auto;
  bottom: calc(100% + 10px);
  width: min(340px, 72vw);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  padding: 11px 12px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.16);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
  text-align: left;
  transform: translateX(-50%);
}

.tooltip-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-right: 1px solid var(--primary-line);
  border-bottom: 1px solid var(--primary-line);
  transform: translateX(-50%) rotate(45deg) translateY(-6px);
}

.field-tooltip {
  left: 0;
  bottom: auto;
  top: calc(100% + 10px);
  width: min(430px, 78vw);
  color: #111827;
  transform: none;
}

.field-tooltip::after {
  left: 12px;
  top: auto;
  bottom: 100%;
  border: 0;
  border-left: 1px solid var(--primary-line);
  border-top: 1px solid var(--primary-line);
  transform: rotate(45deg) translateY(6px);
}

.field-tooltip strong {
  display: block;
  margin-bottom: 7px;
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.field-tooltip span {
  display: block;
  color: #374151;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.48;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inline-age {
  display: grid;
  grid-template-columns: minmax(132px, 180px) 1fr;
  gap: 12px;
  align-items: center;
}

.suffix {
  color: #374151;
  font-weight: 850;
}

.error {
  margin-top: 7px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.wizard-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.wizard-actions .button {
  width: 100%;
  min-height: 48px;
}

.secure-note {
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.checking-body {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 54px 24px 80px;
}

.checking-panel {
  width: min(560px, 100%);
}

.checking-title {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
}

.check-ring {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 3px solid #bbf7d0;
  border-radius: 999px;
  color: var(--success);
  font-size: 36px;
}

.checking-title h1 {
  margin: 0 0 8px;
  font-size: 27px;
}

.checking-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 24px;
  margin-left: 42px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: center;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.status-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--success);
  font-size: 13px;
  font-weight: 950;
}

.status-dot.pending {
  color: #94a3b8;
  background: transparent;
  border: 2px dotted #cbd5e1;
}

.status-dot.idle {
  width: 8px;
  height: 8px;
  align-self: center;
  justify-self: center;
  background: #d1d5db;
  border: 0;
}

.checking-hint {
  margin: 44px 0 0 42px;
  border: 1px solid var(--success-line);
  border-radius: 8px;
  background: var(--success-soft);
  padding: 18px 20px;
  color: #166534;
  font-size: 13px;
  font-weight: 750;
}

.paywall-card {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.paywall-body {
  padding: 30px 48px 48px;
}

.paywall-hero {
  position: relative;
  margin: 14px auto 26px;
  text-align: center;
}

.paywall-hero h1 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
}

.paywall-hero h1 span {
  color: var(--primary);
}

.paywall-hero p {
  margin: 10px 0 0;
  color: #374151;
  font-size: 16px;
  font-weight: 650;
}

.confetti {
  position: absolute;
  inset: -10px 9% auto;
  height: 72px;
  pointer-events: none;
}

.confetti span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  opacity: 0.9;
}

.confetti span:nth-child(1) {
  left: 8%;
  top: 22px;
  background: #22c55e;
}

.confetti span:nth-child(2) {
  left: 22%;
  top: 50px;
  background: #f59e0b;
}

.confetti span:nth-child(3) {
  right: 23%;
  top: 14px;
  background: #38bdf8;
}

.confetti span:nth-child(4) {
  right: 12%;
  top: 48px;
  background: #4f46e5;
}

.confetti span:nth-child(5) {
  left: 50%;
  top: 2px;
  background: #16a34a;
}

.unlock-panel {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--primary-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.price-side {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 28px 30px;
  text-align: center;
}

.crown-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.price-side p {
  margin: 4px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.price {
  color: var(--primary);
  font-size: 64px;
  font-weight: 950;
  line-height: 0.98;
}

.price-note {
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
}

.unlock-button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  font-size: 15px;
  gap: 10px;
}

.paywall-warning {
  width: 100%;
  margin: 10px 0 0;
  text-align: left;
}

.paywall-consent {
  width: 100%;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.paywall-consent button {
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-status {
  width: 100%;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 750;
}

.auth-status.signed-in {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 9px;
  text-align: left;
}

.auth-status img,
.auth-status.signed-in > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.auth-status img {
  object-fit: cover;
}

.auth-status.signed-in > span {
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
}

.auth-status strong,
.auth-status small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-status strong {
  color: #111827;
  font-size: 12px;
}

.auth-status small {
  color: #6b7280;
  font-size: 11px;
}

.auth-status button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.unlock-features {
  min-width: 0;
  padding: 28px 36px;
}

.unlock-features h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 19px;
  line-height: 1.25;
}

.unlock-feature {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
  padding: 10px 0;
}

.unlock-feature:last-child {
  border-bottom: 0;
}

.unlock-feature span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.unlock-feature p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  font-weight: 750;
}

.preview-section {
  width: min(1260px, 100%);
  margin: 34px auto 0;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.preview-head h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
}

.preview-head h2 span,
.preview-unlock-link {
  color: var(--muted);
  font-weight: 750;
}

.preview-unlock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-align: right;
}

.preview-unlock-link:hover,
.preview-unlock-link:focus-visible {
  color: var(--primary);
}

.button-lock,
.mini-lock,
.overlay-lock {
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.button-lock {
  width: 13px;
  height: 11px;
  color: #ffffff;
}

.mini-lock {
  width: 10px;
  height: 9px;
  color: #6b7280;
}

.overlay-lock {
  width: 14px;
  height: 12px;
  color: #374151;
}

.button-lock::before,
.mini-lock::before,
.overlay-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% - 1px);
  width: 72%;
  height: 72%;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.mini-lock::before {
  border-width: 1.5px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.paywall-preview-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.paywall-preview-card:hover,
.paywall-preview-card:focus-visible {
  border-color: var(--primary-line);
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.15);
  outline: 0;
  transform: translateY(-1px);
}

.preview-blur {
  height: 100%;
  padding: 24px;
  filter: blur(4px);
  opacity: 0.62;
}

.preview-card-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  min-width: 0;
}

.preview-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 20px;
  font-weight: 950;
}

.preview-card-head h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
}

.preview-card-head p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.34);
  color: #374151;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.lock-overlay span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.lock-overlay p {
  margin: 0;
}

.results-card {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.results-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  padding: 28px 38px 42px;
}

.filters-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  align-self: start;
  background: #ffffff;
}

.filters-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

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

.filters-summary::after {
  content: "⌄";
  color: var(--primary);
  font-size: 15px;
  font-weight: 950;
}

.filters-drawer[open] .filters-summary::after {
  transform: rotate(180deg);
}

.filters-content {
  padding: 0 18px 18px;
}

.clear-link {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #111827;
}

.filter-check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.filter-label {
  min-width: 0;
  flex: 1;
}

.filter-count {
  margin-left: auto;
  color: #374151;
  font-weight: 850;
}

.filter-empty {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.box {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.results-main {
  min-width: 0;
}

.results-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.results-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.16;
}

.results-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.sort-control {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 8px 7px 12px;
  color: #111827;
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.sort-control span {
  flex: 0 0 auto;
  color: #111827;
}

.sort-select {
  min-width: 110px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.sort-select:focus {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  outline: 0;
}

.scheme-list {
  display: grid;
  gap: 14px;
}

.scheme-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 32px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.scheme-card.featured {
  border-color: var(--line);
  background: #ffffff;
}

.scheme-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.scheme-card h3 {
  margin: 0;
  color: #20242c;
  font-size: 22px;
  line-height: 1.2;
}

.scheme-meta {
  margin-top: 16px;
  color: #6b7280;
  font-size: 16px;
  font-weight: 700;
}

.scheme-card p {
  margin: 18px 0 0;
  color: #303641;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  border: 1px solid #199249;
  border-radius: 999px;
  background: #ffffff;
  color: #15803d;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 850;
}

.tag.green {
  color: #15803d;
  background: #ffffff;
}

.details-link {
  border: 1px solid var(--primary-line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
}

.warning {
  margin-bottom: 16px;
  border: 1px solid var(--warning-line);
  border-radius: 8px;
  background: var(--warning);
  padding: 14px 16px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 750;
}

.warning.neutral {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary);
}

.detail-body {
  padding: 30px 42px 44px;
}

.back-link {
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: 0;
  font-size: 12px;
  font-weight: 850;
}

.detail-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin: 28px 0 24px;
}

.detail-heading h1 {
  margin: 0 0 8px;
  font-size: 31px;
  line-height: 1.16;
}

.detail-heading p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.45;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.eligibility-cta {
  min-height: 60px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #ffffff;
  padding: 10px 18px 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.eligibility-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(79, 70, 229, 0.34);
}

.eligibility-cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.eligibility-cta strong,
.eligibility-cta small {
  display: block;
}

.eligibility-cta strong {
  font-size: 15px;
  font-weight: 950;
}

.eligibility-cta small {
  margin-top: 2px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 750;
}

.legal-card {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 42px 32px 58px;
}

.legal-header {
  margin: 28px 0 30px;
}

.legal-header .eyebrow {
  margin-bottom: 16px;
}

.legal-header h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.1;
}

.legal-header p {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.legal-section p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 12px;
}

.contact-mail {
  margin-top: 22px;
}

.relevance {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: #15803d;
  font-size: 13px;
  font-weight: 850;
}

.relevance strong {
  border-radius: 999px;
  background: #dcfce7;
  padding: 8px 13px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.info-drawer {
  margin-bottom: 26px;
}

.info-summary {
  display: none;
  list-style: none;
}

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

.info-card {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}

.card-icon {
  width: 30px;
  height: 30px;
}

.info-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.info-card strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  overflow-x: auto;
}

.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #4b5563;
  flex: 1 1 118px;
  padding: 14px 4px;
  font-size: 12px;
  font-weight: 850;
}

.tab.active {
  border-color: var(--primary);
  color: var(--primary);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
}

.detail-copy h2,
.apply-copy h2 {
  margin: 0 0 22px;
  font-size: 24px;
}

.detail-copy p,
.detail-copy li,
.apply-copy p {
  color: #303641;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.detail-copy p {
  margin: 0 0 18px;
}

.detail-copy ol,
.detail-copy ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.detail-copy strong {
  color: #20242c;
  font-weight: 900;
}

.detail-copy a {
  color: #15803d;
  font-weight: 850;
  text-decoration: none;
}

.application-mode {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.application-mode:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.application-mode h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
}

.faq-copy {
  max-width: 980px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 900;
}

.faq-item.open .faq-question {
  background: var(--primary-soft);
  color: var(--primary);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary-line);
  font-weight: 950;
}

.faq-answer {
  padding: 18px 20px 4px;
}

.eligibility-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.42);
}

.eligibility-modal {
  width: min(760px, 100%);
  height: 100vh;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.2);
  display: grid;
  grid-template-rows: auto 1fr;
}

.eligibility-modal-head {
  min-height: 72px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eligibility-modal-head h2 {
  margin: 0;
  font-size: 24px;
}

.eligibility-modal-head p {
  margin: 5px 0 0;
  color: var(--success);
  font-size: 15px;
  font-weight: 900;
}

.eligibility-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fee2e2;
  color: var(--danger);
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.eligibility-modal-body {
  padding: 28px 34px;
  overflow-y: auto;
}

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
}

.legal-modal {
  width: min(880px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.legal-modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-modal-head h2 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
}

.legal-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
}

.legal-modal-intro {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.legal-modal .legal-content {
  display: grid;
  gap: 18px;
}

.legal-modal .legal-section {
  padding: 0;
}

.legal-modal .legal-section h2 {
  font-size: 17px;
}

.legal-modal .legal-section p {
  font-size: 13px;
}

.eligibility-loader {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.eligibility-question-list {
  display: grid;
  gap: 26px;
}

.eligibility-question h3 {
  margin: 0 0 13px;
  color: #20242c;
  font-size: 20px;
  line-height: 1.35;
}

.eligibility-points {
  margin: -4px 0 14px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.eligibility-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.eligibility-option {
  border: 1px solid #cfd6e3;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  min-width: 120px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
}

.eligibility-option.selected {
  border-color: var(--success);
  background: var(--success-soft);
  color: #15803d;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.12);
}

.radio-dot {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.eligibility-option.selected .radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: currentColor;
}

.eligibility-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.eligibility-result {
  max-width: 640px;
  margin: 36px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 32px 28px;
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.result-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 6px solid currentColor;
  color: var(--success);
  font-size: 34px;
  font-weight: 950;
}

.eligibility-result.not-eligible .result-icon {
  color: var(--danger);
}

.eligibility-result p {
  margin: 0;
  color: #303641;
  font-size: 20px;
  line-height: 1.45;
}

.eligibility-result .eligibility-note {
  color: var(--muted);
  font-size: 15px;
}

.rejection-reasons {
  text-align: left;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #374151;
}

.rejection-reasons ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.side-panel {
  display: grid;
  gap: 14px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.link-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--primary);
  padding: 11px 12px;
  margin-top: 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
}

.share-row {
  display: flex;
  gap: 8px;
}

.share {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 28px;
}

.timeline {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child {
  border-bottom: 0;
}

.timeline-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.timeline-step h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.help-card {
  align-self: start;
  border: 1px solid var(--warning-line);
  border-radius: 8px;
  background: #fffaf0;
  padding: 20px;
}

.help-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.help-card p {
  margin: 0 0 14px;
  color: #7c5e25;
  font-size: 13px;
  line-height: 1.45;
}

.feedback {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: #f5f3ff;
  padding: 16px 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.feedback-actions {
  display: flex;
  gap: 8px;
}

.feedback-actions button {
  min-width: 48px;
  border: 1px solid var(--primary-line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .top-nav {
    height: auto;
    min-height: 58px;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .brand-text {
    min-width: 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .language-select {
    width: 106px;
    height: 36px;
    padding: 0 26px 0 10px;
    font-size: 12px;
  }

  .nav-actions .button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-start {
    display: none;
  }

  .page-card,
  .results-card,
  .paywall-card {
    width: 100%;
    margin: 0;
    min-height: 100vh;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 20px 20px;
    gap: 14px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero-art {
    min-height: 178px;
    overflow: hidden;
  }

  .clipboard-scene {
    width: min(100%, 250px);
  }

  .clipboard {
    width: 116px;
    height: 154px;
    border-width: 6px;
  }

  .clip {
    width: 58px;
    height: 24px;
  }

  .check-row {
    grid-template-columns: 16px 1fr;
    gap: 7px;
    margin: 18px 14px 0;
  }

  .mini-check {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .paper-line {
    height: 8px;
  }

  .person {
    bottom: 22px;
    transform: scale(0.72);
  }

  .person.left {
    left: 8px;
  }

  .person.right {
    right: 8px;
  }

  .feature-strip,
  .how-grid,
  .detail-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }

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

  .feature {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 16px;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .wizard-body {
    padding: 28px 18px 34px;
  }

  .progress-wrap {
    margin-bottom: 30px;
  }

  .progress-labels {
    display: none;
  }

  .two-column,
  .inline-age {
    grid-template-columns: 1fr;
  }

  .field-title {
    position: relative;
  }

  .field-definition-wrap {
    position: static;
  }

  .field-tooltip {
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    width: auto;
    max-width: none;
    transform: none;
  }

  .field-tooltip::after {
    left: auto;
    right: 16px;
  }

  .paywall-body {
    padding: 22px 14px 34px;
  }

  .paywall-body .progress-wrap {
    margin-bottom: 28px;
  }

  .paywall-hero {
    margin: 6px auto 22px;
  }

  .paywall-hero h1 {
    font-size: 24px;
  }

  .paywall-hero p {
    font-size: 14px;
    line-height: 1.45;
  }

  .confetti {
    display: none;
  }

  .unlock-panel {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .price-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 18px;
  }

  .price {
    font-size: 54px;
  }

  .price-note {
    font-size: 11px;
  }

  .unlock-features {
    padding: 22px 18px;
  }

  .unlock-features h2 {
    font-size: 18px;
  }

  .preview-section {
    margin-top: 26px;
  }

  .preview-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .preview-unlock-link {
    text-align: left;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .paywall-preview-card {
    min-height: 180px;
  }

  .results-body,
  .detail-body {
    padding: 16px 14px 30px;
  }

  .results-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .filters-panel {
    border-radius: 10px;
  }

  .filters-summary {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .filters-content {
    max-height: 50vh;
    overflow: auto;
    padding: 0 16px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .filters-drawer[open] .filters-summary {
    border-bottom: 1px solid var(--line);
  }

  .filter-group {
    margin-top: 12px;
    padding-top: 12px;
  }

  .filter-group h3 {
    font-size: 14px;
  }

  .filter-check {
    font-size: 13px;
  }

  .results-head,
  .detail-heading,
  .scheme-card {
    grid-template-columns: 1fr;
  }

  .results-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .results-head h1 {
    font-size: 23px;
  }

  .sort-control {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .sort-select {
    min-width: 132px;
  }

  .scheme-card {
    padding: 18px;
  }

  .scheme-card h3 {
    font-size: 19px;
  }

  .scheme-meta {
    margin-top: 10px;
    font-size: 13px;
  }

  .scheme-card p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .scheme-card .tag-row {
    gap: 7px;
    margin-top: 14px;
  }

  .scheme-card .tag {
    padding: 5px 9px;
    font-size: 12px;
  }

  .detail-body {
    padding-top: 18px;
  }

  .detail-body > .warning.neutral {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 70;
    margin: 0;
    padding: 11px 13px;
    box-shadow: var(--shadow-soft);
  }

  .detail-heading {
    margin: 22px 0 14px;
  }

  .detail-heading h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .detail-heading p {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .detail-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .detail-tags .tag {
    flex: 0 0 auto;
    padding: 7px 11px;
    font-size: 13px;
  }

  .detail-actions {
    margin-top: 12px;
  }

  .eligibility-cta {
    width: 100%;
    max-width: 340px;
  }

  .info-drawer {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
  }

  .info-summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
  }

  .info-summary::after {
    content: "⌄";
    color: var(--primary);
    font-size: 15px;
    font-weight: 950;
  }

  .info-drawer[open] .info-summary {
    border-bottom: 1px solid var(--line);
  }

  .info-drawer[open] .info-summary::after {
    transform: rotate(180deg);
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .info-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
  }

  .card-icon {
    display: none;
  }

  .info-card strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .eligibility-modal {
    width: 100%;
  }

  .legal-modal-overlay {
    padding: 10px;
  }

  .legal-modal {
    max-height: calc(100vh - 20px);
    border-radius: 10px;
  }

  .eligibility-modal-head {
    padding: 14px 16px;
  }

  .legal-modal-head {
    padding: 14px 16px;
  }

  .legal-modal-head h2 {
    font-size: 20px;
  }

  .eligibility-modal-body {
    padding: 22px 16px;
  }

  .legal-modal-body {
    padding: 18px 16px;
  }

  .eligibility-option,
  .eligibility-actions .button {
    flex: 1 1 140px;
  }

  .scheme-match,
  .relevance {
    justify-items: start;
    text-align: left;
  }

  .tabs {
    display: flex;
    overflow-x: auto;
    position: sticky;
    top: 58px;
    z-index: 30;
    margin: 0 -14px 18px;
    padding: 0 14px;
    background: #ffffff;
  }

  .tab {
    flex: 0 0 auto;
    padding: 13px 14px;
    font-size: 12px;
  }

  .checking-title {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .check-ring {
    margin: 0 auto;
  }

  .check-list,
  .checking-hint {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .top-nav {
    padding-inline: 12px;
  }

  .brand-text {
    display: none;
  }

  .language-select {
    width: 94px;
  }

  .nav-actions .button {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 31px;
  }

  .legal-page {
    padding: 28px 18px 42px;
  }

  .legal-header h1 {
    font-size: 34px;
  }

  .legal-section {
    padding: 18px;
  }
}
