:root {
  --ink: #102b4e;
  --ink-soft: #486177;
  --cream: #fbfaf7;
  --paper: #ffffff;
  --line: #e2e9ed;
  --sun: #f7b31b;
  --coral: #ed684e;
  --teal: #2f8f95;
  --pale-sun: #fff6df;
  --pale-coral: #fff0eb;
  --pale-teal: #eaf7f6;
  --shadow: 0 20px 60px rgba(16, 43, 78, 0.09);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(226, 233, 237, 0.9);
  backdrop-filter: blur(16px);
}

.nav-wrap, .footer-wrap, .container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 12px; }

.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 9px 13px;
  border-radius: 10px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--paper); }
.nav-links .nav-cta { color: var(--paper); background: var(--ink); margin-left: 4px; }
.nav-links .nav-cta:hover { background: #1b406a; color: var(--paper); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
}

.hero { padding: 88px 0 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: center; gap: 72px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--coral); }
.hero h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: 0.98; letter-spacing: -0.075em; }
.hero-lead { max-width: 560px; margin: 0; color: var(--ink-soft); font-size: 1.14rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(16, 43, 78, 0.12); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button-coral { background: var(--coral); color: var(--paper); }

.hero-art { position: relative; min-height: 520px; }
.hero-art::before { content: ""; position: absolute; inset: 34px 10px 0 20px; border-radius: 42% 58% 52% 48% / 44% 38% 62% 56%; background: var(--pale-sun); transform: rotate(-5deg); }
.hero-art::after { content: ""; position: absolute; width: 180px; height: 180px; top: -12px; right: -12px; border-radius: 50%; background: var(--pale-coral); }
.hero-image { position: absolute; z-index: 1; width: min(100%, 475px); aspect-ratio: 1; object-fit: cover; right: 0; top: 15px; border-radius: 32px; box-shadow: var(--shadow); }
.floating-note { position: absolute; z-index: 2; bottom: 22px; left: 0; width: min(285px, 72%); padding: 18px 19px; border: 1px solid rgba(255,255,255,0.9); border-radius: 16px; background: rgba(255,255,255,0.9); box-shadow: var(--shadow); }
.floating-note strong { display: block; margin-bottom: 3px; font-size: 0.9rem; }
.floating-note span { color: var(--ink-soft); font-size: 0.8rem; }

.section { padding: 86px 0; }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 660px; margin-bottom: 38px; }
.section-heading h2 { margin: 12px 0 10px; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -0.055em; }
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card img { width: 100%; height: 190px; object-fit: cover; background: #f7f7f6; }
.feature-copy { padding: 22px; }
.feature-copy h3 { margin: 0 0 7px; font-size: 1.16rem; }
.feature-copy p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.icon-chip { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; font-weight: 800; }
.chip-sun { color: #966c00; background: var(--pale-sun); }
.chip-coral { color: #a84531; background: var(--pale-coral); }
.chip-teal { color: #176c70; background: var(--pale-teal); }

.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 78px; align-items: start; }
.split h2 { margin: 13px 0 12px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.07; letter-spacing: -0.055em; }
.split-intro { margin: 0; color: var(--ink-soft); }
.principles { display: grid; gap: 15px; }
.principle { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principle:last-child { border-bottom: 0; }
.principle-number { color: var(--coral); font-size: 0.8rem; font-weight: 850; padding-top: 3px; }
.principle h3 { margin: 0 0 4px; font-size: 1rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.band { padding: 32px 0; background: var(--ink); color: var(--paper); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.band p { margin: 0; color: #d9e5ec; }
.band .button-secondary { background: transparent; color: var(--paper); border-color: #59728b; }

.page-hero { padding: 78px 0 54px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 800px; margin: 15px 0 12px; font-size: clamp(2.8rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -0.07em; }
.page-hero p { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; color: var(--ink-soft); font-size: 0.84rem; }
.page-meta strong { color: var(--ink); }

.legal-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 110px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.toc-label { margin-bottom: 10px; color: var(--ink-soft); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0; color: var(--ink-soft); text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--coral); }
.legal-copy { max-width: 780px; }
.legal-copy .notice { margin-bottom: 28px; }
.legal-section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.legal-section:first-of-type { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -0.02em; }
.legal-section p { margin: 0; color: var(--ink-soft); }
.notice { padding: 18px 20px; border: 1px solid #f1dfb0; border-radius: 14px; background: var(--pale-sun); color: #6f5716; }
.notice strong { color: var(--ink); }

.support-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 22px; align-items: start; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.support-card h2, .support-card h3 { margin: 0 0 9px; letter-spacing: -0.025em; }
.support-card p { margin: 0; color: var(--ink-soft); }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 10px 28px 0 0; font-size: 0.91rem; }
.contact-box { background: var(--ink); color: var(--paper); }
.contact-box p { color: #d9e5ec; }
.contact-box a { display: inline-block; margin-top: 17px; color: #ffd66d; font-weight: 800; text-decoration: none; word-break: break-word; }
.contact-box a:hover { text-decoration: underline; }
.support-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.support-list li { display: flex; gap: 10px; align-items: start; color: var(--ink-soft); font-size: 0.9rem; }
.support-list li::before { content: "+"; color: var(--teal); font-weight: 900; }

.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.rule-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.rule-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.rule-card p { margin: 0; color: var(--ink-soft); font-size: 0.91rem; }
.rule-card.warm { background: var(--pale-coral); border-color: #f4d7cf; }
.rule-card.cool { background: var(--pale-teal); border-color: #cce8e5; }
.rule-card.sunny { background: var(--pale-sun); border-color: #f1dfb0; }
.enforcement { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.enforcement-step { padding: 18px; border-top: 3px solid var(--coral); background: var(--paper); }
.enforcement-step strong { display: block; margin-bottom: 5px; }
.enforcement-step span { color: var(--ink-soft); font-size: 0.86rem; }

.footer { padding: 45px 0 28px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 30px; }
.footer-note { max-width: 310px; color: var(--ink-soft); font-size: 0.88rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 48px; }
.footer-links h3 { margin: 0 0 11px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links a { display: block; margin: 5px 0; color: var(--ink-soft); font-size: 0.86rem; text-decoration: none; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: var(--ink-soft); font-size: 0.77rem; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero-grid, .split, .support-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 55px; }
  .hero-art { min-height: 430px; max-width: 620px; width: 100%; margin: 0 auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 16px; }
  .toc-label { flex-basis: 100%; }
  .toc a { border: 0; padding: 5px 0; }
}

@media (max-width: 700px) {
  .nav-wrap, .footer-wrap, .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 16px; right: 16px; padding: 10px; flex-direction: column; align-items: stretch; gap: 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 13px; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; }
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .hero-art { min-height: 350px; }
  .hero-image { width: 85%; border-radius: 23px; }
  .floating-note { left: 0; bottom: 0; }
  .section { padding: 62px 0; }
  .feature-grid, .rule-grid, .enforcement { grid-template-columns: 1fr; }
  .band-inner, .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { width: 100%; gap: 24px; }
  .page-hero { padding: 55px 0 40px; }
  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
}
