:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #fffdf9;
  --text: #18202a;
  --muted: #5f6773;
  --accent: #f0a500;
  --accent-strong: #d98300;
  --accent-soft: rgba(240, 165, 0, 0.12);
  --line: rgba(24, 32, 42, 0.09);
  --success: #0d8a57;
  --shadow: 0 24px 60px rgba(24, 32, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1180px;
  --header: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 165, 0, 0.26), transparent 34%),
    linear-gradient(180deg, #fbf7ef 0%, #f1ebe0 100%);
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 241, 231, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
.section,
.footer-inner,
.ticker {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.topbar-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-logo {
  width: 156px;
  height: auto;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--accent-soft);
  color: var(--text);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn {
  color: #111;
  background: linear-gradient(135deg, var(--accent), #ffd267);
  box-shadow: 0 16px 30px rgba(240, 165, 0, 0.28);
}

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

.hero {
  padding: 42px 0 30px;
}

.hero-grid,
.two-col,
.cards,
.intent-grid,
.story-grid,
.policy-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.hero-copy,
.panel,
.card,
.intent-card,
.faq details,
.notice,
.table-wrap,
.page-hero,
.content-box,
.policy-box {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  font-size: 1.06rem;
  max-width: 64ch;
}

.hero-points,
.check-list,
.mini-list,
.footer-list,
.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-points li,
.check-list li,
.mini-list li,
.meta-list li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before,
.check-list li::before,
.mini-list li::before,
.meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffdc88);
}

.hero-aside {
  display: grid;
  gap: 18px;
}

.panel {
  padding: 24px;
}

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

.stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.section {
  padding: 34px 0;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 62ch;
}

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

.card,
.intent-card,
.content-box,
.policy-box {
  padding: 24px;
}

.card img {
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
}

.clickable-card {
  display: block;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.clickable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(24, 32, 42, 0.16);
  border-color: rgba(240, 165, 0, 0.3);
}

.clickable-card img {
  transition: transform 0.25s ease;
}

.clickable-card:hover img {
  transform: scale(1.02);
}

.tag-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag,
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.notice {
  padding: 24px;
  background: linear-gradient(180deg, rgba(240, 165, 0, 0.16), rgba(255, 255, 255, 0.84));
}

.table-wrap {
  padding: 14px;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.86rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  margin-top: 12px;
}

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

.intent-card h3,
.policy-box h3 {
  margin-bottom: 12px;
}

.page-hero {
  padding: 30px;
  margin-top: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  background: rgba(24, 32, 42, 0.96);
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  padding: 38px 0 92px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 24px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-list li + li {
  margin-top: 10px;
}

.ticker {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ticker span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.mobile-cta-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 14px 32px rgba(24, 32, 42, 0.18);
  z-index: 45;
  border: 1px solid rgba(24, 32, 42, 0.08);
}

.mobile-cta-bar a {
  flex: 1;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .story-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .cards,
  .intent-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
    backdrop-filter: none;
    background: rgba(246, 241, 231, 0.98);
  }

  .topbar-inner {
    padding: 14px 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 138px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav,
  .cta-group {
    width: 100%;
    display: none;
  }

  .topbar.menu-open .nav,
  .topbar.menu-open .cta-group {
    display: flex;
  }

  .topbar.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
  }

  .nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(24, 32, 42, 0.03);
  }

  .cta-group {
    order: 4;
    margin-top: 10px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
  }

  .cta-group a {
    flex: 1;
  }

  .hero-copy,
  .panel,
  .card,
  .intent-card,
  .page-hero,
  .content-box,
  .policy-box,
  .notice {
    padding: 20px;
    box-shadow: 0 14px 30px rgba(24, 32, 42, 0.08);
  }

  .cards,
  .intent-grid,
  .policy-grid,
  .hero-points,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta-bar {
    display: flex;
    box-shadow: 0 10px 24px rgba(24, 32, 42, 0.12);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover,
  .clickable-card:hover,
  .clickable-card:hover img {
    transform: none;
  }
}
