
/* =========================================================
   NACHGERMANY — GLOBAL STYLES
   /assets/css/style.css
========================================================= */


/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
  --black: #111111;
  --white: #ffffff;

  --red: #d71920;
  --gold: #f2c94c;

  --text: #171717;
  --muted: #666666;

  --line: #deded9;
  --soft: #f5f5f2;
  --cream: #faf8ef;

  --container: 1240px;

  --header-height: 76px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.10);

  --transition: 0.2s ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;

  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;

  background: var(--white);

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;

  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;

  max-width: 100%;
}

a {
  color: inherit;

  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;

  background: none;

  cursor: pointer;
}


/* =========================================================
   LAYOUT
========================================================= */

.container {
  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin-inline: auto;
}


/* =========================================================
   GERMAN FLAG TOP LINE
========================================================= */

.german-line {
  position: relative;

  width: 100%;

  height: 4px;

  background:
    linear-gradient(
      to bottom,
      var(--black) 0 33.33%,
      var(--red) 33.33% 66.66%,
      var(--gold) 66.66% 100%
    );

  z-index: 1000;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: relative;

  width: 100%;

  min-height: var(--header-height);

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid var(--line);

  z-index: 100;
}

.header-inner {
  min-height: var(--header-height);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo,
.footer-logo {
  display: inline-flex;

  align-items: baseline;

  flex-shrink: 0;

  color: var(--black);

  font-size: 22px;

  font-weight: 900;

  letter-spacing: -1px;

  line-height: 1;
}

.logo span,
.footer-logo span {
  color: var(--red);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.main-nav {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 24px;

  margin-left: auto;
}

.main-nav > a {
  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: #444;

  font-size: 13px;

  font-weight: 750;

  white-space: nowrap;

  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.main-nav > a:not(.nav-cta):not(.nav-signup):not(.nav-login)::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;

  background: var(--red);

  transform: scaleX(0);

  transform-origin: center;

  transition: transform var(--transition);
}

.main-nav > a:hover {
  color: var(--black);
}

.main-nav > a.active {
  color: var(--black);
}

.main-nav > a.active::after {
  transform: scaleX(1);
}


/* =========================================================
   NAV CTA
========================================================= */

.nav-cta {
  padding: 10px 14px;

  color: var(--red) !important;

  border: 1px solid rgba(215, 25, 32, 0.35);

  border-radius: var(--radius-sm);

  background: rgba(215, 25, 32, 0.04);
}

.nav-cta:hover {
  background: rgba(215, 25, 32, 0.09);

  border-color: var(--red);
}


/* =========================================================
   AUTH NAVIGATION
========================================================= */

.nav-login,
.nav-signup {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 16px;

  border-radius: var(--radius-sm);

  font-size: 13px;

  font-weight: 800;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.nav-login {
  border: 1px solid var(--line);

  background: var(--white);

  color: var(--black);
}

.nav-login:hover {
  background: var(--soft);

  border-color: #cfcfca;
}

.nav-signup {
  border: 1px solid var(--black);

  background: var(--black);

  color: var(--white);
}

.nav-signup:hover {
  background: #2a2a2a;

  border-color: #2a2a2a;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;

  position: relative;

  width: 42px;

  height: 42px;

  padding: 0;

  border: 1px solid var(--line);

  border-radius: var(--radius-sm);

  background: var(--white);
}

.menu-toggle span {
  position: absolute;

  left: 10px;

  width: 20px;

  height: 2px;

  background: var(--black);

  transition:
    transform var(--transition),
    top var(--transition);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 23px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
  display: none;

  width: min(
    calc(100% - 32px),
    var(--container)
  );

  margin: 12px auto 0;

  padding: 14px;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  background: var(--white);

  box-shadow: var(--shadow-md);

  z-index: 90;
}

.mobile-menu.open {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.mobile-menu > a {
  display: block;

  padding: 13px 16px;

  border-radius: var(--radius-sm);

  color: var(--black);

  font-size: 14px;

  font-weight: 800;

  text-align: center;
}

.mobile-menu > a:first-child {
  background: var(--soft);
}

.mobile-menu > a:hover {
  background: var(--soft);
}

.mobile-cta {
  border: 1px solid rgba(215, 25, 32, 0.30);

  color: var(--red) !important;

  background: rgba(215, 25, 32, 0.04);
}

.mobile-signup {
  border: 1px solid var(--black);

  background: var(--black);

  color: var(--white) !important;
}

.mobile-login {
  border: 1px solid var(--line);

  background: var(--white);

  color: var(--black);
}


/* =========================================================
   BUTTON SYSTEM
========================================================= */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 46px;

  padding: 12px 20px;

  border: 1px solid transparent;

  border-radius: var(--radius-sm);

  font-size: 13px;

  font-weight: 850;

  line-height: 1;

  cursor: pointer;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--black);

  background: var(--black);

  color: var(--white);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.button-primary:hover {
  background: #292929;

  border-color: #292929;
}

.button-secondary {
  border-color: var(--line);

  background: var(--white);

  color: var(--black);
}

.button-secondary:hover {
  border-color: #bdbdb7;

  background: var(--soft);
}

.button-red {
  border-color: var(--red);

  background: var(--red);

  color: var(--white);
}

.button-red:hover {
  background: #b9141a;

  border-color: #b9141a;
}


/* =========================================================
   SECTION LABELS
========================================================= */

.eyebrow,
.section-label {
  display: flex;

  align-items: center;

  gap: 9px;

  color: var(--black);

  font-size: 11px;

  font-weight: 850;

  letter-spacing: 1.5px;

  line-height: 1.2;

  text-transform: uppercase;
}

.section-label {
  margin-bottom: 18px;
}

.mini-flag {
  display: inline-flex;

  flex-direction: column;

  width: 20px;

  height: 13px;

  overflow: hidden;

  border-radius: 2px;
}

.mini-flag span {
  display: block;

  flex: 1;
}

.mini-flag .black {
  background: var(--black);
}

.mini-flag .red {
  background: var(--red);
}

.mini-flag .gold {
  background: var(--gold);
}


/* =========================================================
   GENERAL TYPOGRAPHY
========================================================= */

.section-title {
  max-width: 800px;

  margin: 0;

  color: var(--black);

  font-size:
    clamp(38px, 5vw, 60px);

  font-weight: 900;

  line-height: 0.98;

  letter-spacing: -3px;
}

.section-intro {
  max-width: 680px;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   ROUTE CARD LINKS
========================================================= */

.route-card a {
  color: var(--black);

  transition:
    color var(--transition),
    transform var(--transition);
}

.route-card a:hover {
  color: var(--red);

  transform: translateX(3px);
}


/* =========================================================
   CTA
========================================================= */

.home-cta .button {
  flex-shrink: 0;
}

.home-cta .button-red {
  min-width: 210px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #f7f7f4;

  border-top: 1px solid var(--line);

  color: var(--black);
}

.footer-main {
  display: grid;

  grid-template-columns:
    minmax(240px, 1.7fr)
    repeat(3, minmax(130px, 1fr));

  gap: 50px;

  padding-top: 65px;

  padding-bottom: 55px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand p {
  margin: 17px 0 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.7;
}

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 10px;
}

.footer-title {
  margin-bottom: 6px;

  color: var(--black);

  font-size: 11px;

  font-weight: 850;

  letter-spacing: 1.4px;

  text-transform: uppercase;
}

.footer-column a {
  color: #555;

  font-size: 13px;

  font-weight: 600;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-column a:hover {
  color: var(--red);

  transform: translateX(2px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  padding-bottom: 22px;

  border-top: 1px solid var(--line);

  color: #777;

  font-size: 11px;

  line-height: 1.5;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 1;

  transform: translateY(0);
}


/*
  main.js can add .reveal-hidden and .reveal-visible
  if scroll animation is enabled.
*/

.reveal-hidden {
  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal-visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.35);

  outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

  .container {
    width: min(
      calc(100% - 36px),
      var(--container)
    );
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav > a {
    font-size: 12px;
  }

  .nav-cta {
    padding: 9px 11px;
  }

  .nav-login,
  .nav-signup {
    padding: 9px 13px;

    font-size: 12px;
  }

  .footer-main {
    grid-template-columns:
      1.5fr
      1fr
      1fr;

    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;

    max-width: 500px;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

  :root {
    --header-height: 68px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);

    gap: 15px;
  }

  .logo {
    font-size: 20px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;

    gap: 38px 25px;

    padding-top: 50px;

    padding-bottom: 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .container {
    width: calc(100% - 28px);
  }

  .logo {
    font-size: 19px;
  }

  .menu-toggle {
    width: 40px;

    height: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-column {
    gap: 9px;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   HOMEPAGE EXPANSION
========================================================= */

.home-hero {
  padding: 76px 0 88px;
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 68%, var(--cream) 100%);
}

.evaluation-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.hero-copy {
  padding-top: 26px;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--black);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -5px;
}

.hero-lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 19px 14px 19px 0;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--black);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.credibility-block {
  max-width: 560px;
  margin-top: 27px;
  padding-left: 17px;
  border-left: 3px solid var(--gold);
}

.credibility-block strong {
  color: var(--black);
  font-size: 15px;
}

.credibility-block p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.evaluation-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.card-kicker,
.plan-badge {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-transform: uppercase;
}

.evaluation-card h2 {
  margin: 13px 0 0;
  color: var(--black);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.evaluation-card > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.evaluation-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.form-field label,
.form-field legend {
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #cfcfca;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}

.form-field.has-error input {
  border-color: var(--red);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 1px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfcfca;
  border-radius: var(--radius-sm);
  color: #444;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.choice-card:hover {
  border-color: var(--black);
}

.choice-card:has(input:checked) {
  border-color: var(--red);
  background: rgba(215, 25, 32, .05);
  color: var(--black);
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(215, 25, 32, .35);
  outline-offset: 3px;
}

.form-error {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  line-height: 1.4;
}

.form-submit {
  width: 100%;
  margin-top: 2px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.form-note {
  margin: -5px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.form-status {
  min-height: 16px;
  margin: 0;
  color: var(--red);
  font-size: 12px;
}

.success-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #a8d5b4;
  background: #effaf1;
  color: #205b2e;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2c8c46;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.success-box p {
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.success-box small {
  grid-column: 2;
  margin-top: -5px;
  color: #4a7353;
  font-size: 10px;
  line-height: 1.45;
}

.account-card {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.account-card h3 {
  margin: 9px 0 0;
  color: var(--black);
  font-size: 20px;
  letter-spacing: -.7px;
}

.account-card p {
  margin: 8px 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.account-card .button {
  width: 100%;
}

.how-section,
.risk-section,
.comparison-section,
.expert-section,
.faq-section {
  padding: 92px 0;
}

.how-section {
  background: var(--white);
}

.principles-section {
  padding: 78px 0;
  background: var(--white);
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 8vw, 90px);
  align-items: start;
}

.principles-left h2 {
  max-width: 500px;
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
}

.principles-left p {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.principle-number {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.principle h3 {
  margin: 0 0 5px;
  color: var(--black);
  font-size: 18px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.content-head {
  max-width: 760px;
}

.content-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -3px;
}

.content-head p {
  max-width: 680px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-grid,
.risk-grid,
.plan-grid {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  position: relative;
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  background: var(--white);
}

.step-card + .step-card::before {
  content: "→";
  position: absolute;
  top: 26px;
  left: -22px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.step-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.step-card h3 {
  margin: 35px 0 0;
  color: var(--black);
  font-size: 23px;
  letter-spacing: -.8px;
}

.step-card p,
.risk-card p,
.plan-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.step-card p {
  margin: 11px 0 0;
}

.risk-section,
.expert-section {
  background: var(--soft);
}

.risk-grid {
  grid-template-columns: repeat(3, 1fr);
}

.risk-card {
  min-height: 215px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.risk-card:hover,
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.risk-card > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.risk-card h3 {
  margin: 27px 0 0;
  color: var(--black);
  font-size: 20px;
  letter-spacing: -.5px;
}

.risk-card p {
  margin: 8px 0 0;
}

.comparison-wrap {
  max-width: 100%;
  margin-top: 44px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.comparison-table thead th:first-child {
  width: 28%;
  text-align: left;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  color: var(--black);
  font-weight: 750;
  text-align: left;
}

.comparison-table tbody tr:nth-child(even) {
  background: #fbfbf9;
}

.indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
}

.indicator::before {
  font-size: 14px;
  line-height: 1;
}

.indicator.yes {
  color: #22723a;
}

.indicator.yes::before {
  content: "✓";
}

.indicator.no {
  color: #777;
}

.indicator.no::before {
  content: "—";
}

.indicator.partial {
  color: #9a7015;
}

.indicator.partial::before {
  content: "◐";
}

.plan-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 405px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.plan-card.featured {
  border-color: var(--black);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  padding: 7px 10px;
  background: var(--black);
  color: var(--white);
}

.plan-heading h3 {
  margin: 0;
  color: var(--black);
  font-size: 26px;
  letter-spacing: -1px;
}

.plan-heading p {
  min-height: 21px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-price {
  margin: 27px 0 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 19px;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 19px 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
}

.faq-question span {
  flex-shrink: 0;
  color: var(--red);
  font-size: 22px;
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 35px 19px 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-question:focus-visible,
.faq-answer a:focus-visible,
.comparison-wrap:focus-visible {
  outline: 3px solid rgba(215, 25, 32, .35);
  outline-offset: 3px;
}

.package-hero {
  padding: 78px 0 70px;
  background: var(--cream);
}

.package-hero h1 {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--black);
  font-size: clamp(45px, 7vw, 76px);
  line-height: .95;
  letter-spacing: -4px;
}

.package-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.package-section {
  padding: 72px 0;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.package-panel {
  padding: 27px;
  border: 1px solid var(--line);
  background: var(--white);
}

.package-panel h2 {
  margin: 0;
  color: var(--black);
  font-size: 25px;
  letter-spacing: -.8px;
}

.package-panel p,
.package-panel li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.package-panel ul {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding-left: 19px;
}

.package-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.package-process article {
  padding-top: 20px;
  border-top: 2px solid var(--red);
}

.package-process span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.package-process h3 {
  margin: 12px 0 0;
  color: var(--black);
  font-size: 18px;
}

.package-process p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.package-faq {
  max-width: 820px;
  margin-top: 34px;
}

.package-cta {
  padding: 62px 0;
  background: var(--black);
  color: var(--white);
}

.package-cta h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -2px;
  line-height: 1;
}

.package-cta p {
  max-width: 650px;
  margin: 12px 0 22px;
  color: #bdbdbd;
}

@media (max-width: 900px) {
  .evaluation-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .evaluation-card {
    max-width: 620px;
  }

  .step-grid,
  .risk-grid,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card + .step-card::before {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .principles-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding: 52px 0 64px;
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(45px, 13vw, 64px);
    letter-spacing: -3.5px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-stats {
    margin-top: 35px;
  }

  .hero-stats div {
    padding: 15px 8px 15px 0;
  }

  .hero-stats div + div {
    padding-left: 10px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .hero-stats span {
    font-size: 10px;
  }

  .evaluation-card {
    padding: 24px 20px;
  }

  .evaluation-card h2 {
    font-size: 27px;
  }

  .how-section,
  .principles-section,
  .risk-section,
  .comparison-section,
  .expert-section,
  .faq-section {
    padding: 68px 0;
  }

  .content-head h2 {
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: -2.5px;
  }

  .step-grid,
  .risk-grid,
  .plan-grid,
  .package-grid,
  .package-process {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .risk-card {
    min-height: auto;
  }

  .principles-left h2 {
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: -2.5px;
  }

  .plan-card {
    min-height: 0;
  }

  .comparison-wrap {
    margin-top: 30px;
  }

  .faq-question {
    padding: 17px 0;
    font-size: 14px;
  }

  .package-hero {
    padding: 58px 0;
  }

  .package-hero h1 {
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -3px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-stats strong {
    font-size: 19px;
  }

  .hero-stats span {
    font-size: 9px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HOMEPAGE — SIMPLE START
========================================================= */

.home-hero-simple {
  padding: clamp(64px, 9vw, 120px) 0 clamp(58px, 8vw, 100px);
  background:
    radial-gradient(circle at 82% 22%, rgba(242, 201, 76, .17), transparent 23rem),
    linear-gradient(135deg, var(--white), #fafafa 62%, var(--cream));
}

.hero-simple-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.home-hero-simple .hero-copy {
  padding-top: 0;
}

.home-hero-simple .hero-copy h1 {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-signin {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-signin a,
.text-link {
  color: var(--black);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 46px;
}

.hero-route-links a {
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.hero-route-links a span {
  color: var(--red);
  margin-left: 4px;
}

.tool-spotlight {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.tool-spotlight h2 {
  max-width: 380px;
  margin: 12px 0 0;
  color: var(--black);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.02;
}

.tool-spotlight > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.spotlight-tools {
  display: grid;
  gap: 9px;
  margin: 25px 0 20px;
}

.spotlight-tools a {
  display: grid;
  gap: 3px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.spotlight-tools a:hover {
  border-color: var(--black);
  background: var(--soft);
  transform: translateX(3px);
}

.spotlight-tools strong {
  color: var(--black);
  font-size: 14px;
}

.spotlight-tools span {
  color: var(--muted);
  font-size: 12px;
}

.nav-tools,
.mobile-tools {
  color: var(--red) !important;
}

.home-cta {
  padding: 58px 0;
  background: var(--black);
  color: var(--white);
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.8px;
  line-height: 1.05;
}

.home-cta p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #d0d0d0;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-cta .button-secondary {
  border-color: #555;
  background: transparent;
  color: var(--white);
}

.home-cta .button-secondary:hover {
  border-color: var(--white);
  background: #252525;
}

/* Route pages hold the detailed guidance; the homepage stays an easy start. */
.home-hero-simple ~ .how-section,
.home-hero-simple ~ .principles-section,
.home-hero-simple ~ .risk-section,
.home-hero-simple ~ .comparison-section,
.home-hero-simple ~ .expert-section,
.home-hero-simple ~ .faq-section {
  display: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-simple-grid {
    grid-template-columns: 1fr;
  }

  .tool-spotlight {
    max-width: 620px;
  }

  .home-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .home-hero-simple {
    padding: 52px 0 64px;
  }

  .hero-route-links {
    display: grid;
    gap: 13px;
    margin-top: 35px;
  }

  .hero-route-links a {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
  }

  .tool-spotlight {
    padding: 24px 20px;
  }

  .home-cta {
    padding: 48px 0;
  }

  .home-cta-actions,
  .home-cta-actions .button {
    width: 100%;
  }
}

/* =========================================================
   ROUTE HUBS, NAVIGATION AND PRICING
========================================================= */

.main-nav .nav-item { position: relative; }
.main-nav .nav-trigger { gap: 5px; }
.main-nav .nav-trigger::after { content: "⌄"; color: var(--red); font-size: 13px; }
.mega-menu { position: absolute; top: calc(100% + 17px); left: -22px; display: none; width: min(720px, 74vw); padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-md); }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.mega-menu h3 { grid-column: 1 / -1; margin: 0; font-size: 12px; letter-spacing: .9px; text-transform: uppercase; }
.mega-menu a { display: grid; gap: 2px; padding: 4px 0; }
.mega-menu em { color: var(--red); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
.mega-menu strong { color: var(--black); font-size: 14px; }
.mega-menu span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.mega-menu a:hover strong { color: var(--red); }
.logo::before, .footer-logo::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 7px; border-radius: 50%; background: linear-gradient(to bottom, var(--black) 0 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%); }

.path-hero { padding: clamp(60px, 9vw, 110px) 0; background: linear-gradient(135deg, #fafafa, var(--cream)); }
.path-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.path-label, .visual-kicker, .price-kicker { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; }
.path-copy h1 { max-width: 680px; margin: 15px 0 0; font-size: clamp(46px, 6.5vw, 76px); font-weight: 900; letter-spacing: -4px; line-height: .96; }
.path-copy .intro { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.path-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.path-visual { position: relative; overflow: hidden; min-height: 350px; padding: 30px; border-radius: var(--radius-md); background: var(--black); color: var(--white); }
.path-visual-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 42px 42px; }
.path-visual-content { position: relative; display: flex; height: 100%; min-height: 290px; flex-direction: column; justify-content: space-between; }
.visual-title { max-width: 420px; font-size: clamp(64px, 10vw, 120px); font-weight: 900; letter-spacing: -6px; line-height: .8; }
.visual-bottom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.visual-step { padding: 10px; border: 1px solid rgba(255,255,255,.25); font-size: 12px; font-weight: 800; }
.info-section { padding: clamp(65px, 9vw, 110px) 0; }
.info-section.alt { background: var(--soft); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.info-card { min-height: 220px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.info-number { color: var(--red); font-size: 12px; font-weight: 900; }
.info-card h3 { margin: 30px 0 8px; font-size: 19px; line-height: 1.15; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pricing-hero { padding: clamp(72px, 10vw, 130px) 0; background: var(--black); color: var(--white); }
.pricing-hero h1 { max-width: 800px; margin: 18px 0 0; font-size: clamp(48px, 7vw, 82px); letter-spacing: -4.5px; line-height: .94; }
.pricing-hero p { max-width: 690px; margin: 22px 0 30px; color: #d0d0d0; font-size: 18px; line-height: 1.65; }
.pricing-section { padding: clamp(65px, 9vw, 110px) 0; }
.pricing-soft { background: var(--soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.price-card-featured { border: 2px solid var(--red); box-shadow: var(--shadow-md); }
.price-badge { position: absolute; top: -13px; left: 25px; padding: 5px 9px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.price-card h2 { margin: 16px 0 0; font-size: 50px; letter-spacing: -3px; }
.price-note { margin: 0; color: var(--muted); font-size: 13px; }
.price-card > p:not(.price-note) { min-height: 48px; color: #444; }
.price-card ul { display: grid; gap: 10px; margin: 12px 0 28px; padding: 0; list-style: none; }
.price-card li { position: relative; padding-left: 21px; color: #444; font-size: 14px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.price-card .button { width: 100%; margin-top: auto; }
.pricing-two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 8vw, 110px); align-items: start; }
.pricing-two-column h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -2.5px; line-height: 1; }
.pricing-two-column p { color: var(--muted); line-height: 1.65; }
.pricing-list { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.pricing-list div { display: grid; gap: 5px; padding: 20px; background: var(--white); }
.pricing-list span { color: var(--muted); font-size: 14px; }
.pricing-table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); }
.pricing-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.pricing-table th, .pricing-table td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pricing-table thead { background: var(--black); color: var(--white); }
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-faq { max-width: 800px; display: grid; gap: 8px; }
.pricing-faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pricing-faq summary { cursor: pointer; font-weight: 800; }
.pricing-faq p { max-width: 700px; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) { .mega-menu { display: none !important; } .path-layout, .pricing-two-column { grid-template-columns: 1fr; } .info-grid { grid-template-columns: repeat(2, 1fr); } .pricing-grid { grid-template-columns: 1fr; max-width: 570px; } }
@media (max-width: 700px) { .path-copy h1, .pricing-hero h1 { letter-spacing: -3px; } .path-copy .intro, .pricing-hero p { font-size: 16px; } .path-visual { min-height: 270px; } .path-visual-content { min-height: 210px; } .visual-title { font-size: 76px; } .info-grid { grid-template-columns: 1fr; } .info-card { min-height: 0; } .price-card { padding: 25px 20px; } }
