:root {
  --navy-950: #071b37;
  --navy-900: #0d2b5b;
  --navy-800: #113b74;
  --navy-700: #1a4f8f;
  --gold-600: #c68b08;
  --gold-500: #d4a017;
  --gold-400: #e8b83d;
  --gold-200: #f7e3a9;
  --slate-900: #1e2c38;
  --slate-700: #465665;
  --slate-600: #607080;
  --slate-400: #98a4af;
  --gray-200: #dce2e8;
  --gray-100: #ebeff3;
  --gray-050: #f6f8fa;
  --white: #ffffff;
  --success: #20795a;
  --success-soft: #e6f4ef;
  --warning: #a86705;
  --warning-soft: #fff4d8;
  --danger: #b23a3a;
  --danger-soft: #fceaea;
  --shadow-sm: 0 8px 24px rgba(7, 27, 55, 0.08);
  --shadow-md: 0 20px 55px rgba(7, 27, 55, 0.13);
  --shadow-lg: 0 32px 90px rgba(7, 27, 55, 0.22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  line-height: 1.28;
}

p {
  color: var(--slate-600);
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(212, 160, 23, 0.6);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--navy-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow > span {
  width: 34px;
  height: 2px;
  background: var(--gold-500);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.button-large {
  min-height: 56px;
  padding: 16px 28px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 10px 24px rgba(13, 43, 91, 0.2);
}

.button-primary:hover {
  box-shadow: 0 14px 30px rgba(13, 43, 91, 0.3);
}

.button-secondary {
  color: var(--navy-900);
  border-color: var(--gray-200);
  background: var(--white);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--navy-700);
  background: var(--gray-050);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.button-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
}

.button-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.24);
}

.button-ghost {
  color: var(--slate-700);
  border-color: var(--gray-200);
  background: transparent;
}

.button-full {
  width: 100%;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(13, 43, 91, 0.09);
  box-shadow: 0 8px 28px rgba(7, 27, 55, 0.07);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px 4px 12px 4px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  box-shadow: inset -9px -9px 16px rgba(0, 0, 0, 0.12);
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.brand-mark::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 23px;
  height: 23px;
  border: 3px solid var(--gold-400);
  border-radius: 50%;
  content: "";
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.13em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--slate-600);
  font-family: Georgia, serif;
  font-size: 0.56rem;
  letter-spacing: 0.17em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 52%, rgba(246, 248, 250, 0.8) 100%),
    radial-gradient(circle at 78% 25%, rgba(212, 160, 23, 0.13), transparent 34%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  border-left: 1px solid rgba(13, 43, 91, 0.05);
  background-image: linear-gradient(rgba(13, 43, 91, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 43, 91, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to left, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero-orb-one {
  top: 64px;
  right: 6%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(212, 160, 23, 0.18);
}

.hero-orb-two {
  right: 20%;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(13, 43, 91, 0.1);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 78px;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
}

.hero-copy h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.7vw, 5.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-copy h1 em {
  position: relative;
  color: var(--navy-800);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -5px;
  left: 2px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.66), transparent);
  content: "";
  filter: blur(4px);
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: 1.15rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 800;
}

.text-link span {
  color: var(--gold-600);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.trust-list {
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 30px 0 0;
  color: var(--slate-600);
  font-size: 0.88rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: var(--success-soft);
  font-size: 0.7rem;
  font-weight: 900;
}

.hero-preview {
  position: relative;
  min-height: 530px;
  perspective: 1200px;
}

.preview-glow {
  position: absolute;
  z-index: 0;
  top: 15%;
  left: 10%;
  width: 82%;
  height: 72%;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.16);
  filter: blur(50px);
}

.preview-card {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: 3%;
  left: 3%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-4deg) rotateX(1deg);
}

.preview-topbar {
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-dots i:nth-child(2) {
  background: rgba(212, 160, 23, 0.7);
}

.demo-pill,
.simulation-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(232, 184, 61, 0.35);
  border-radius: 999px;
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.12);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.preview-content {
  padding: 34px;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.preview-heading > div:first-child {
  display: flex;
  flex-direction: column;
}

.preview-kicker {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.preview-heading strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.26rem;
}

.score-ring {
  display: flex;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: center;
  padding-top: 20px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold-400);
  border-right-color: var(--gold-400);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.score-ring span,
.score-ring small {
  color: var(--white);
  transform: rotate(8deg);
}

.score-ring span {
  font-size: 1.4rem;
  font-weight: 900;
}

.score-ring small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
}

.preview-progress {
  height: 5px;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.preview-progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
}

.preview-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  grid-template-columns: repeat(3, 1fr);
}

.preview-stats > div {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.preview-stats span,
.preview-stats small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
}

.preview-stats strong {
  margin: 2px 0;
  color: var(--white);
  font-size: 1.65rem;
}

.preview-next {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 17px;
  border: 1px solid rgba(232, 184, 61, 0.17);
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.07);
}

.preview-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.14);
  font-size: 0.72rem;
  font-weight: 900;
}

.preview-next > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.preview-next small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.67rem;
}

.preview-next strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip {
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.12);
  font-size: 0.66rem;
  white-space: nowrap;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid rgba(13, 43, 91, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.floating-note > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.floating-note > div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.floating-note small {
  color: var(--slate-400);
  font-size: 0.64rem;
}

.floating-note strong {
  color: var(--navy-950);
  font-size: 0.8rem;
}

.floating-note-top {
  top: 15px;
  right: -10px;
}

.floating-note-top > span {
  color: var(--success);
  background: var(--success-soft);
}

.floating-note-bottom {
  bottom: 28px;
  left: -22px;
}

.floating-note-bottom > span {
  color: var(--warning);
  background: var(--warning-soft);
}

.demo-notice {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(13, 43, 91, 0.08);
  border-bottom: 1px solid rgba(13, 43, 91, 0.08);
  background: var(--gray-050);
}

.notice-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.notice-inner p {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.9rem;
}

.notice-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(13, 43, 91, 0.16);
  border-radius: 50%;
  color: var(--navy-800);
  font-family: Georgia, serif;
  font-weight: 700;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  letter-spacing: -0.025em;
}

.section-heading-split {
  display: grid;
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
  grid-template-columns: 1.15fr 0.85fr;
}

.section-heading-split > p {
  max-width: 470px;
  margin-bottom: 5px;
  font-size: 1.03rem;
  line-height: 1.9;
}

.process-section {
  background: var(--white);
}

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

.process-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
  border-color: rgba(13, 43, 91, 0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.process-card-featured {
  border-color: rgba(212, 160, 23, 0.2);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
}

.process-card-featured h3,
.process-card-featured .process-number {
  color: var(--white);
}

.process-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.process-number {
  position: absolute;
  top: 26px;
  right: 30px;
  color: var(--gray-200);
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.process-icon {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 16px;
  background: var(--gray-050);
}

.process-card-featured .process-icon {
  background: rgba(255, 255, 255, 0.08);
}

.process-icon > span {
  position: absolute;
  width: 26px;
  height: 3px;
  border-radius: 5px;
  background: var(--navy-700);
}

.process-icon > span:nth-child(1) {
  top: 20px;
}

.process-icon > span:nth-child(2) {
  top: 28px;
  width: 19px;
}

.process-icon > span:nth-child(3) {
  top: 36px;
  width: 23px;
}

.process-icon-search > span:first-child {
  width: 24px;
  height: 24px;
  border: 3px solid var(--gold-400);
  border-radius: 50%;
  background: transparent;
  transform: translate(-3px, -3px);
}

.process-icon-search > span:last-child {
  width: 17px;
  height: 3px;
  background: var(--gold-400);
  transform: translate(10px, 10px) rotate(45deg);
}

.process-icon-check > span:nth-child(1),
.process-icon-check > span:nth-child(2),
.process-icon-check > span:nth-child(3) {
  top: auto;
}

.process-icon-check > span:nth-child(1) {
  width: 8px;
  transform: translate(-8px, 4px) rotate(45deg);
}

.process-icon-check > span:nth-child(2) {
  width: 23px;
  transform: translate(4px, 0) rotate(-45deg);
}

.process-icon-check > span:nth-child(3) {
  display: none;
}

.process-card h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: 1.43rem;
}

.process-card p {
  margin-bottom: 0;
  line-height: 1.8;
}

.checker-section {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  background: var(--navy-950);
}

.checker-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(circle at 12% 8%, rgba(26, 79, 143, 0.85), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(212, 160, 23, 0.14), transparent 24%);
  pointer-events: none;
}

.checker-backdrop::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.checker-section .container {
  position: relative;
  z-index: 1;
}

.checker-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.checker-heading h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.checker-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.tool-shell {
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.72fr);
}

.tool-main {
  min-width: 0;
  padding: 44px 48px 40px;
}

.wizard-progress {
  position: relative;
  display: grid;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--gray-100);
  grid-template-columns: repeat(3, 1fr);
}

.wizard-progress-line {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: calc(16.66% - 18px);
  left: calc(16.66% - 18px);
  height: 2px;
  overflow: hidden;
  background: var(--gray-200);
}

.wizard-progress-line span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gold-500);
  transition: width 0.35s ease;
}

.progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-step > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  color: var(--slate-400);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  transition: all 0.25s ease;
}

.progress-step > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.progress-step strong {
  color: var(--slate-600);
  font-size: 0.86rem;
  transition: color 0.25s ease;
}

.progress-step small {
  color: var(--slate-400);
  font-size: 0.7rem;
}

.progress-step.is-active > span,
.progress-step.is-complete > span {
  border-color: var(--navy-800);
  color: var(--white);
  background: var(--navy-800);
}

.progress-step.is-active strong,
.progress-step.is-complete strong {
  color: var(--navy-950);
}

.progress-step.is-complete > span {
  border-color: var(--success);
  background: var(--success);
}

.form-message {
  margin-top: 24px;
  padding: 12px 15px;
  border: 1px solid rgba(178, 58, 58, 0.2);
  border-radius: var(--radius-sm);
  color: var(--danger);
  background: var(--danger-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-message.is-success {
  border-color: rgba(32, 121, 90, 0.22);
  color: var(--success);
  background: var(--success-soft);
}

.form-step {
  padding-top: 34px;
}

.form-step.is-entering {
  animation: step-in 0.35s ease both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-heading {
  margin-bottom: 30px;
}

.step-heading > span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.step-heading h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 1.58rem;
}

.step-heading p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.required-mark {
  color: var(--danger);
}

.optional-label {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--slate-600);
  background: var(--gray-100);
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

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

.field {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4adb6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(26, 79, 143, 0.1);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.field > small,
.field-meta small,
.field-intro {
  display: block;
  margin-top: 7px;
  color: var(--slate-400);
  font-size: 0.75rem;
  line-height: 1.55;
}

.field-intro {
  margin: -3px 0 12px;
}

.field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.character-count {
  flex: 0 0 auto;
  margin-top: 7px;
  color: var(--slate-400);
  font-size: 0.72rem;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.76rem;
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--slate-600);
  border-bottom: 2px solid var(--slate-600);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.field select {
  padding-right: 42px;
  appearance: none;
  cursor: pointer;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-card {
  position: relative;
  display: flex !important;
  min-height: 78px;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover {
  border-color: rgba(13, 43, 91, 0.3);
}

.choice-card input,
.segmented-control input,
.tag-options input,
.document-item input,
.acknowledgement input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-control {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.choice-card input:focus-visible + .choice-control,
.document-item input:focus-visible + .checkbox-control,
.acknowledgement input:focus-visible + .checkbox-control {
  outline: 3px solid rgba(212, 160, 23, 0.5);
  outline-offset: 3px;
}

.choice-card input:checked + .choice-control {
  border: 5px solid var(--navy-800);
}

.choice-card:has(input:checked) {
  border-color: var(--navy-700);
  background: rgba(26, 79, 143, 0.04);
  box-shadow: 0 0 0 1px var(--navy-700);
}

.choice-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.choice-card strong {
  color: var(--navy-950);
  font-size: 0.84rem;
}

.choice-card small {
  color: var(--slate-400);
  font-size: 0.68rem;
  font-weight: 500;
}

.segmented-control {
  display: grid;
  height: 50px;
  padding: 4px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-050);
  grid-template-columns: repeat(3, 1fr);
}

.segmented-control label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.segmented-control span {
  display: grid;
  height: 100%;
  place-items: center;
  border-radius: 7px;
  color: var(--slate-600);
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.segmented-control input:checked + span {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(7, 27, 55, 0.1);
  font-weight: 800;
}

.segmented-control input:focus-visible + span,
.tag-options input:focus-visible + span {
  outline: 3px solid rgba(212, 160, 23, 0.5);
}

.tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.tag-options span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--white);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.tag-options input:checked + span {
  border-color: var(--navy-700);
  color: var(--white);
  background: var(--navy-800);
}

.document-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  grid-template-columns: repeat(2, 1fr);
}

.document-item {
  position: relative;
  display: flex !important;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin: 0 !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.document-item:nth-child(even) {
  border-right: 0;
}

.document-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.document-item:last-child {
  border-bottom: 0;
}

.document-item:hover,
.document-item:has(input:checked) {
  background: var(--gray-050);
}

.checkbox-control {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid var(--gray-200);
  border-radius: 5px;
  background: var(--white);
  transition: all 0.2s ease;
}

.document-item input:checked + .checkbox-control,
.acknowledgement input:checked + .checkbox-control {
  border-color: var(--navy-800);
  background: var(--navy-800);
}

.document-item input:checked + .checkbox-control::after,
.acknowledgement input:checked + .checkbox-control::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  content: "";
  transform: rotate(45deg);
}

.document-item > span:last-child {
  display: flex;
  flex-direction: column;
}

.document-item strong {
  color: var(--navy-950);
  font-size: 0.82rem;
}

.document-item small {
  color: var(--slate-400);
  font-size: 0.68rem;
  font-weight: 500;
}

.acknowledgement {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  background: rgba(247, 227, 169, 0.22);
  cursor: pointer;
  font-size: 0.8rem;
}

.acknowledgement .checkbox-control {
  margin-top: 2px;
}

.acknowledgement-error {
  margin-top: -18px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 34px;
}

.result-panel {
  min-width: 0;
  padding: 42px 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(212, 160, 23, 0.18), transparent 32%),
    linear-gradient(160deg, #123b73, var(--navy-950) 68%);
}

.result-empty {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
}

.empty-illustration {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.empty-illustration span:nth-child(1) {
  position: absolute;
  top: 27px;
  left: 37px;
  width: 43px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
}

.empty-illustration span:nth-child(2),
.empty-illustration span:nth-child(3) {
  position: absolute;
  left: 48px;
  width: 23px;
  height: 2px;
  background: var(--gold-400);
}

.empty-illustration span:nth-child(2) {
  top: 46px;
}

.empty-illustration span:nth-child(3) {
  top: 57px;
  width: 17px;
}

.result-kicker {
  margin-bottom: 8px;
  color: var(--gold-200);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.result-empty h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.result-empty > p:not(.result-kicker) {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.result-empty ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  list-style: none;
}

.result-empty li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-empty li span {
  color: var(--gold-400);
}

.result-content {
  animation: result-in 0.5s ease both;
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.simulation-badge {
  margin-bottom: 3px;
}

.result-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
}

.result-status.is-good {
  color: #bbf0dc;
  background: rgba(32, 121, 90, 0.24);
}

.result-status.is-warning {
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.14);
}

.result-status.is-low {
  color: #ffd0d0;
  background: rgba(178, 58, 58, 0.2);
}

.result-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 27px;
}

.result-score {
  min-width: 91px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.result-score-row > div:last-child {
  display: flex;
  flex-direction: column;
}

.result-score-row small,
.result-score-row span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
}

.result-score-row strong {
  color: var(--white);
  font-size: 0.95rem;
}

.result-meter {
  height: 6px;
  margin: 18px 0 28px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.result-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  transition: width 0.7s ease;
}

.result-summary {
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-summary > div {
  display: grid;
  gap: 12px;
  padding: 10px 0;
  grid-template-columns: 78px 1fr;
}

.result-summary dt {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.result-summary dd {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.result-section-title h4 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 0.92rem;
}

.result-section-title span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.result-tasks ol {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: result-task;
}

.result-tasks li {
  position: relative;
  padding: 10px 10px 10px 40px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.75rem;
  line-height: 1.5;
  counter-increment: result-task;
}

.result-tasks li::before {
  position: absolute;
  top: 10px;
  left: 11px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-200);
  background: rgba(212, 160, 23, 0.14);
  content: counter(result-task);
  font-size: 0.62rem;
  font-weight: 900;
}

.result-disclaimer {
  display: flex;
  gap: 10px;
  margin: 22px 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.1);
}

.result-disclaimer > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-family: Georgia, serif;
  font-size: 0.68rem;
}

.result-disclaimer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.67rem;
  line-height: 1.55;
}

.result-actions {
  display: grid;
  gap: 9px;
}

.result-actions .button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.result-actions .button-ghost {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.15);
}

.result-actions .button-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.privacy-section {
  overflow: hidden;
  background: var(--gray-050);
}

.privacy-grid {
  display: grid;
  align-items: center;
  gap: 105px;
  grid-template-columns: 0.83fr 1.17fr;
}

.privacy-visual {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(13, 43, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 43, 91, 0.04) 1px, transparent 1px),
    var(--white);
  background-size: 34px 34px;
  box-shadow: var(--shadow-md);
}

.shield {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 190px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  clip-path: polygon(50% 0, 92% 16%, 86% 68%, 50% 100%, 14% 68%, 8% 16%);
  transform: translate(-50%, -50%);
}

.shield::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(232, 184, 61, 0.65);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.shield span::before,
.shield span::after {
  position: absolute;
  z-index: 1;
  background: var(--gold-400);
  content: "";
}

.shield span::before {
  top: 94px;
  left: 66px;
  width: 21px;
  height: 5px;
  border-radius: 4px;
  transform: rotate(45deg);
}

.shield span::after {
  top: 88px;
  left: 78px;
  width: 37px;
  height: 5px;
  border-radius: 4px;
  transform: rotate(-47deg);
}

.privacy-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 4px 12px rgba(7, 27, 55, 0.2);
}

.privacy-dot::after {
  position: absolute;
  height: 1px;
  background: rgba(13, 43, 91, 0.15);
  content: "";
  transform-origin: left center;
}

.privacy-dot-one {
  top: 80px;
  left: 65px;
}

.privacy-dot-one::after {
  width: 72px;
  transform: rotate(29deg);
}

.privacy-dot-two {
  top: 96px;
  right: 57px;
}

.privacy-dot-two::after {
  width: 68px;
  transform: rotate(148deg);
}

.privacy-dot-three {
  bottom: 62px;
  left: 82px;
}

.privacy-dot-three::after {
  width: 58px;
  transform: rotate(-37deg);
}

.privacy-copy h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
}

.privacy-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.privacy-points {
  display: grid;
  gap: 15px;
}

.privacy-points > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.privacy-points > div > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--navy-800);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.privacy-points p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.privacy-points strong {
  color: var(--navy-950);
  font-size: 0.93rem;
}

.privacy-points small {
  color: var(--slate-600);
  font-size: 0.78rem;
}

.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  align-items: start;
  gap: 90px;
  grid-template-columns: 0.72fr 1.28fr;
}

.faq-heading {
  position: sticky;
  top: 118px;
}

.faq-heading h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.faq-heading > p:not(.eyebrow) {
  max-width: 390px;
  line-height: 1.9;
}

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

.faq-list details {
  border-bottom: 1px solid var(--gray-200);
}

.faq-list summary {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy-950);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 12px;
  height: 2px;
  background: var(--navy-800);
  content: "";
  transition: transform 0.2s ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 720px;
  padding: 0 54px 25px 0;
  margin: -4px 0 0;
  line-height: 1.85;
}

.closing-section {
  padding: 76px 0;
  background:
    radial-gradient(circle at 80% 0, rgba(212, 160, 23, 0.2), transparent 30%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.closing-inner h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.closing-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 58px 0 24px;
  background: #06162d;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy span {
  color: rgba(255, 255, 255, 0.45);
}

.footer-main > p {
  margin: 0 auto 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.footer-main nav {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.footer-main nav a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.33);
  font-size: 0.72rem;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: #7e2424;
}

.noscript-message {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--danger);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero-grid {
    gap: 45px;
    grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  }

  .floating-note-top {
    right: 0;
  }

  .floating-note-bottom {
    left: 0;
  }

  .tool-shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.6fr);
  }

  .tool-main {
    padding: 38px 34px;
  }

  .progress-step small {
    display: none;
  }

  .result-panel {
    padding: 38px 28px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav > a:not(.button) {
    padding: 13px 8px;
    border-bottom: 1px solid var(--gray-100);
  }

  .primary-nav .button {
    margin-top: 12px;
  }

  .hero {
    padding: 78px 0 86px;
  }

  .hero-grid {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-preview {
    width: min(100%, 600px);
    min-height: 500px;
    margin-inline: auto;
  }

  .section-heading-split {
    gap: 30px;
    grid-template-columns: 1fr;
  }

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

  .process-card {
    min-height: 0;
  }

  .tool-shell {
    grid-template-columns: 1fr;
  }

  .result-panel {
    min-height: 520px;
  }

  .result-empty {
    min-height: 440px;
  }

  .privacy-grid,
  .faq-grid {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

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

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

  .brand-copy strong {
    font-size: 1rem;
  }

  .primary-nav {
    top: 70px;
  }

  .hero {
    padding: 62px 0 70px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12.8vw, 3.65rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .text-link {
    justify-content: center;
  }

  .trust-list {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-preview {
    min-height: 462px;
  }

  .preview-card {
    top: 40px;
    right: 0;
    left: 0;
    transform: none;
  }

  .preview-content {
    padding: 24px 20px;
  }

  .preview-heading strong {
    font-size: 1rem;
  }

  .score-ring {
    width: 66px;
    height: 66px;
    padding-top: 15px;
  }

  .preview-stats > div {
    padding: 13px 10px;
  }

  .preview-stats strong {
    font-size: 1.4rem;
  }

  .floating-note {
    display: none;
  }

  .notice-inner {
    align-items: flex-start;
    padding-block: 17px;
  }

  .notice-inner p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .process-card {
    padding: 30px 26px;
  }

  .checker-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .checker-heading .button {
    width: 100%;
  }

  .tool-shell {
    border-radius: 18px;
  }

  .tool-main {
    padding: 30px 20px;
  }

  .wizard-progress {
    gap: 8px;
    padding-bottom: 25px;
  }

  .wizard-progress-line {
    right: calc(16.66% - 13px);
    left: calc(16.66% - 13px);
  }

  .progress-step {
    justify-content: center;
  }

  .progress-step > div {
    display: none;
  }

  .form-step {
    padding-top: 28px;
  }

  .step-heading h3 {
    font-size: 1.35rem;
  }

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

  .field-full {
    grid-column: 1;
  }

  .choice-grid-three {
    grid-template-columns: 1fr;
  }

  .document-list {
    grid-template-columns: 1fr;
  }

  .document-item,
  .document-item:nth-child(even),
  .document-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .document-item:last-child {
    border-bottom: 0;
  }

  .acknowledgement-error {
    margin-top: -18px;
  }

  .form-actions .button {
    flex: 1;
  }

  .result-panel {
    min-height: 500px;
    padding: 34px 23px;
  }

  .privacy-visual {
    min-height: 320px;
  }

  .shield {
    width: 130px;
    height: 155px;
  }

  .shield::after {
    width: 62px;
    height: 62px;
  }

  .shield span::before {
    top: 79px;
    left: 51px;
  }

  .shield span::after {
    top: 72px;
    left: 64px;
  }

  .faq-list summary {
    min-height: 74px;
    font-size: 0.92rem;
  }

  .faq-list details p {
    padding-right: 0;
    font-size: 0.9rem;
  }

  .closing-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .closing-inner .button {
    width: 100%;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main > p {
    margin: -17px 0 0 58px;
  }

  .footer-main nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .toast {
    right: 15px;
    bottom: 15px;
    left: 15px;
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 2.25rem;
  }
}

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

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

@media print {
  body {
    background: var(--white);
  }

  .site-header,
  .hero,
  .demo-notice,
  .process-section,
  .checker-heading,
  .tool-main,
  .privacy-section,
  .faq-section,
  .closing-section,
  .site-footer,
  .toast {
    display: none !important;
  }

  .checker-section {
    padding: 0;
    background: var(--white);
  }

  .tool-shell {
    display: block;
    border: 0;
    box-shadow: none;
  }

  .result-panel {
    min-height: 0;
    color: var(--slate-900);
    background: var(--white);
  }

  .result-panel *,
  .result-score,
  .result-score-row strong,
  .result-summary dd,
  .result-section-title h4 {
    color: var(--slate-900) !important;
  }

  .result-kicker,
  .result-score-row small,
  .result-score-row span,
  .result-summary dt,
  .result-section-title span,
  .result-disclaimer p {
    color: var(--slate-600) !important;
  }

  .result-tasks li,
  .result-disclaimer {
    border: 1px solid var(--gray-200);
    background: var(--gray-050);
  }

  .result-actions {
    display: none;
  }
}
