:root {
  --ink: #202622;
  --muted: #69716d;
  --paper: #fffaf8;
  --white: #ffffff;
  --coral: #f2574f;
  --mint: #55bd92;
  --yellow: #f1bb43;
  --forest: #173c34;
  --line: #e8e1dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 72px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(232, 225, 221, .9);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
nav { display: flex; gap: 28px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover, .footer-links a:hover { color: var(--coral); }

.hero {
  min-height: 82vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background: url("assets/login-bg.png") center 42% / cover no-repeat;
  overflow: hidden;
}
.hero-shade { position: absolute; inset: 0; background: rgba(16, 40, 34, .56); }
.hero-copy { position: relative; z-index: 1; width: min(680px, calc(100% - 48px)); margin: 72px auto 20px; text-align: center; }
.hero-mark { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 8px; box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0; }
.coral { color: var(--coral); }
.mint-text { color: #90e1bf; }
.yellow-text { color: #ffd66f; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 66px; line-height: 1.02; font-weight: 850; letter-spacing: 0; }
.hero-text { max-width: 610px; margin: 20px auto 0; font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.9); }
.hero-actions { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 13px 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; text-decoration: none; font-weight: 750; }
.button.primary { background: var(--coral); color: var(--white); }
.button.secondary { border: 1px solid rgba(255,255,255,.65); color: var(--white); }
.button:hover { transform: translateY(-1px); }
.scroll-cue { position: absolute; z-index: 1; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.82); text-decoration: none; font-size: 13px; }

.band { padding: 92px max(24px, calc((100% - 1180px) / 2)); }
.section-heading { max-width: 710px; margin-bottom: 52px; }
.section-heading.compact { margin-bottom: 38px; }
h2 { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 820; letter-spacing: 0; }
.section-heading > p:last-child, .radio-copy > p, .closing > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.product-view { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(330px, 1.1fr); gap: 74px; align-items: center; }
.screen { margin: 0; }
.screen img, .discover-layout > img { width: 100%; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(55, 42, 34, .12); }
.screen figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.principles { border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principles .index { grid-row: span 2; color: var(--coral); font-weight: 850; font-size: 14px; }
.principles .index.mint { color: var(--mint); }
.principles .index.yellow { color: #b97c00; }
.principles h3 { margin: 0 0 7px; font-size: 20px; }
.principles p { margin: 0; color: var(--muted); line-height: 1.6; }

.radio-band { min-height: 660px; display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: var(--white); }
.radio-image { width: 100%; height: 100%; min-height: 660px; object-fit: cover; }
.radio-copy { padding: 88px clamp(36px, 7vw, 108px); align-self: center; }
.radio-copy > p { color: rgba(255,255,255,.76); }
.radio-copy dl { margin: 38px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.radio-copy dl div { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.2); }
.radio-copy dt { color: rgba(255,255,255,.62); }
.radio-copy dd { margin: 0; text-align: right; font-weight: 700; }

.discover { background: var(--white); }
.discover-layout { display: grid; grid-template-columns: minmax(280px, 760px) 1fr; gap: 50px; align-items: center; }
.topic-list { display: flex; flex-wrap: wrap; gap: 9px; align-content: center; }
.topic-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-weight: 650; }

.safety-band { padding: 80px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; color: var(--white); background: #293238; }
.safety-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.safety-points p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.safety-points strong { color: var(--white); }
.closing { text-align: center; }
.closing img { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 8px; }
.closing p { max-width: 660px; margin: 18px auto 28px; }

footer { padding: 38px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 18px; border-top: 1px solid var(--line); background: var(--white); }
footer > div:first-child { display: flex; flex-direction: column; gap: 4px; }
footer span, footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
footer p { grid-column: 1 / -1; margin: 0; }

.legal-main { padding: 120px max(24px, calc((100% - 880px) / 2)) 80px; min-height: calc(100vh - 150px); }
.legal-main h1 { color: var(--ink); font-size: 48px; }
.legal-meta { color: var(--muted); margin-bottom: 42px; }
.legal-main h2 { margin-top: 34px; font-size: 23px; }
.legal-main p, .legal-main li { color: #515a55; line-height: 1.75; }
.legal-main .notice { margin-top: 34px; padding: 22px; border-left: 4px solid var(--coral); background: #fff0ed; }
.legal-main .notice h2 { margin-top: 0; }

@media (max-width: 820px) {
  .site-header { height: 64px; padding: 0 18px; }
  nav a { display: none; }
  nav a[aria-current="page"], nav a:last-child { display: block; }
  .hero { min-height: 84svh; }
  .hero-copy { margin-top: 64px; }
  .hero-mark { width: 76px; height: 76px; }
  h1 { font-size: 48px; }
  h2 { font-size: 33px; }
  .hero-text { font-size: 17px; }
  .band { padding: 68px 20px; }
  .product-view, .radio-band, .discover-layout, .safety-band { grid-template-columns: 1fr; }
  .product-view { gap: 42px; }
  .radio-image { min-height: 400px; max-height: 540px; }
  .radio-copy { padding: 58px 22px; }
  .safety-band { padding: 64px 20px; gap: 36px; }
  .safety-points { grid-template-columns: 1fr; gap: 22px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  footer p { grid-column: auto; }
  .legal-main { padding-top: 96px; }
  .legal-main h1 { font-size: 38px; }
}

@media (max-width: 420px) {
  .brand span { font-size: 15px; }
  .hero-copy { width: calc(100% - 32px); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .radio-copy dl div { display: block; }
  .radio-copy dd { margin-top: 5px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
