:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --muted: #f6f7fb;
  --text: #121525;
  --subtle: rgba(18, 21, 37, 0.72);
  --border: rgba(18, 21, 37, 0.14);
  --brand: #ffd35a;
  --brand2: #ff8a63;
  --shadow: rgba(17, 22, 39, 0.10);
  --radius: 16px;
  --radius2: 22px;
  --container: 1120px;
}

html.a11y {
  font-size: 18px;
}

html.a11y body {
  background: #ffffff;
}

html.a11y * {
  scroll-margin-top: 90px;
}

html.a11y .lead {
  font-size: 1.05rem;
}

html.a11y .h1 {
  font-size: 2.25rem;
}

html.a11y .h2 {
  font-size: 1.5rem;
}

html.a11y .nav__link {
  font-size: 1rem;
}

html.a11y .tile__text,
html.a11y .footer__text,
html.a11y .note {
  font-size: 0.95rem;
}

html.a11y a {
  text-decoration-thickness: 0.14em;
}

html.a11y .hero__copy,
html.a11y .hero__card,
html.a11y .tile,
html.a11y .quiz__step {
  box-shadow: none;
}

html.a11y .btn,
html.a11y .btn--ghost,
html.a11y .nav__toggle {
  border-width: 2px;
}

.a11yToggle {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 13.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.a11yToggle__icon {
  width: 22px;
  height: 22px;
}

.a11yToggle[aria-pressed="true"] {
  background: rgba(255, 211, 90, 0.22);
}

.a11yToggle--float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  box-shadow: 0 18px 60px rgba(17, 22, 39, 0.16);
}

@media (max-width: 740px) {
  .a11yToggle--float {
    right: 12px;
    bottom: 12px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans",
    sans-serif;
  background: radial-gradient(1200px 900px at 15% 10%, rgba(255, 211, 90, 0.26), transparent 55%),
    radial-gradient(900px 700px at 80% 20%, rgba(255, 138, 99, 0.20), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff);
  color: var(--text);
  line-height: 1.45;
}

/* Watermark background from emblem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background-image: url("./logo.png?v=20260426_4");
  background-repeat: repeat;
  background-size: 220px auto;
  background-position: 24px 24px;
  filter: saturate(0.95) grayscale(0.1);
}

.header,
.main,
.footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #0b0e1a;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  z-index: 1000;
}

.skip:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(246, 247, 251, 0.9);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(18, 21, 37, 0.78);
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 21, 37, 0.12);
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.chip strong {
  font-weight: 800;
  color: rgba(18, 21, 37, 0.88);
}

.chip--cta {
  border-color: rgba(255, 211, 90, 0.5);
  background: rgba(255, 211, 90, 0.18);
}

.topbar__phone {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand--toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.brand--toggle:focus-visible {
  outline: 2px solid rgba(255, 211, 90, 0.8);
  outline-offset: 4px;
  border-radius: 14px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 211, 90, 0.95), rgba(255, 138, 99, 0.85));
  color: #0b1020;
  font-weight: 800;
}

.brand__logoImg {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 6px 14px rgba(17, 22, 39, 0.12));
}

.brand__title {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__subtitle {
  font-size: 12.5px;
  color: var(--subtle);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav__list {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--subtle);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: #0b0e1a;
  background: rgba(255, 211, 90, 0.18);
  border: 1px solid var(--border);
}

.nav__link:hover {
  color: #0b0e1a;
  background: rgba(17, 22, 39, 0.04);
}

.main {
  padding-bottom: 56px;
}

.hero {
  padding: 42px 0 18px;
}

.heroCover {
  position: relative;
  padding: 48px 0 26px;
}

/* .heroCover__bg removed: keep global page background */

.heroCover__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  align-items: stretch;
}

.heroCover__copy {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 18px 60px var(--shadow);
  padding: 24px;
}

.heroCover__card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 18px 60px var(--shadow);
  padding: 18px 18px 16px;
}

.heroCover__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.heroCover__headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 8px;
}

.heroCover__headlineText {
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
}

.heroCover__title {
  /* Gold 25% (subtle tint like logo gold) */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #3a2a10;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  .heroCover__title {
    color: color-mix(in srgb, #0b0e1a 10%, #c68618 90%);
  }
}

.heroCover__logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 34px rgba(17, 22, 39, 0.14));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(18, 21, 37, 0.86);
  font-weight: 750;
  font-size: 13px;
}

.heroCover__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 10px;
}

.miniTile {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(246, 247, 251, 0.78);
  padding: 12px 12px 11px;
}

.miniTile__title {
  font-weight: 900;
  margin-bottom: 4px;
}

.miniTile__text {
  color: var(--subtle);
  font-size: 14px;
}

.heroCover__actions {
  margin-top: 14px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: stretch;
}

.hero__copy {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: 0 16px 50px var(--shadow);
  padding: 22px;
}

.h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.lead {
  margin: 0 0 16px;
  color: var(--subtle);
  font-size: 16.5px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 211, 90, 0.35);
  background: linear-gradient(135deg, rgba(255, 211, 90, 0.92), rgba(255, 138, 99, 0.78));
  color: #0b1020;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 211, 90, 0.08);
}

.btn:hover {
  filter: brightness(1.02);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: #0b0e1a;
  font-weight: 700;
}

.note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(18, 21, 37, 0.7);
}

.hero__card {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 50px var(--shadow);
  padding: 18px 18px 16px;
}

.kv {
  margin: 0;
}

.kv__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(18, 21, 37, 0.10);
}

.kv__row:last-child {
  border-bottom: 0;
}

.kv dt {
  font-weight: 700;
  color: rgba(18, 21, 37, 0.82);
}

.kv dd {
  margin: 0;
  color: rgba(18, 21, 37, 0.82);
}

.card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.link {
  color: #0b0e1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.link:hover {
  background: rgba(255, 211, 90, 0.18);
  border-color: rgba(255, 211, 90, 0.35);
}

.section {
  padding: 26px 0;
}

.section--muted {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.tile:hover {
  background: rgba(255, 255, 255, 0.98);
}

.tile__title {
  font-weight: 800;
  margin-bottom: 6px;
}

.tile__text {
  color: var(--subtle);
  font-size: 14px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(18, 21, 37, 0.82);
}

.list li {
  margin: 8px 0;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 0 22px;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.footer__title {
  font-weight: 800;
  margin-bottom: 8px;
}

.footer__text {
  color: rgba(18, 21, 37, 0.75);
  font-size: 13px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: rgba(18, 21, 37, 0.8);
  font-size: 13px;
}

.footer__links a {
  text-decoration: none;
}

.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 21, 37, 0.10);
  color: rgba(18, 21, 37, 0.65);
  font-size: 12.5px;
}

.footer__disclaimer {
  margin-top: 10px;
  color: rgba(18, 21, 37, 0.7);
  font-size: 12.5px;
}

.form {
  display: grid;
  gap: 12px;
}

.form__row {
  display: grid;
  gap: 8px;
}

.form__label {
  font-weight: 800;
  font-size: 13.5px;
  color: rgba(18, 21, 37, 0.86);
}

.form__control {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.form__control:focus {
  outline: 2px solid rgba(255, 211, 90, 0.35);
  outline-offset: 2px;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(18, 21, 37, 0.86);
  font-size: 13.5px;
}

.form__check input {
  margin-top: 3px;
}

.quiz__header {
  display: grid;
  gap: 10px;
}

.quiz__progress {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.quiz__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 211, 90, 0.92), rgba(255, 138, 99, 0.78));
}

.quiz__meta {
  color: rgba(18, 21, 37, 0.7);
  font-size: 13px;
}

.quiz {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.quiz__step {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  padding: 14px;
}

.quiz__q {
  font-weight: 800;
  margin-bottom: 10px;
}

.quiz__opt {
  display: flex;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(18, 21, 37, 0.10);
  background: rgba(17, 22, 39, 0.03);
  cursor: pointer;
  user-select: none;
  margin: 8px 0;
}

.quiz__opt:hover {
  background: rgba(17, 22, 39, 0.05);
}

.quiz__opt input {
  margin-top: 3px;
}

.quiz__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz__result {
  border-top: 1px solid rgba(233, 236, 255, 0.1);
  padding-top: 12px;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .heroCover__inner {
    grid-template-columns: 1fr;
  }
  .heroCover__tiles {
    grid-template-columns: 1fr;
  }
  .heroCover__headline {
    flex-direction: column;
    align-items: flex-start;
  }
  .heroCover__logo {
    width: 132px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  /* Main page hero: hide badges on mobile */
  .heroCover__badges {
    display: none;
  }

  /* Center emblem in hero on mobile */
  .heroCover__headline {
    align-items: center;
    text-align: center;
  }

  .heroCover__logo {
    margin: 0 auto;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__left {
    display: none;
  }

  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: none;
    position: absolute;
    right: 16px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    min-width: min(92vw, 340px);
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 60px rgba(17, 22, 39, 0.16);
  }
  .nav__list.is-open {
    display: flex;
  }
  .nav__link {
    padding: 12px 12px;
  }
  .h1 {
    font-size: 30px;
  }
}
