:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: #151922;
  --surface-strong: #202632;
  --text: #f6f7f9;
  --muted: #a6abb4;
  --ring: #ffb24f;
  --mint: #79ead4;
  --line: rgba(255, 255, 255, 0.09);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Pretendard", sans-serif;
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero { min-height: 78vh; padding: 96px 0 72px; display: flex; flex-direction: column; justify-content: center; }
.brand-mark { position: relative; width: 74px; height: 74px; margin-bottom: 40px; border: 8px solid var(--ring); border-right-color: transparent; border-radius: 50%; box-shadow: 0 0 30px rgba(255, 178, 79, .18); }
.brand-mark::after { content: ""; position: absolute; top: 3px; right: -7px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px rgba(121, 234, 212, .5); }
.brand-mark span { position: absolute; width: 5px; height: 20px; left: 27px; top: 18px; border-radius: 999px; background: var(--ring); transform-origin: bottom; }
.eyebrow { margin: 0 0 16px; color: var(--ring); font-size: 12px; font-weight: 760; letter-spacing: .18em; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(54px, 9vw, 112px); line-height: .94; letter-spacing: -.065em; }
.hero h1 em { color: var(--ring); font-style: normal; }
.lead { max-width: 660px; margin: 32px 0 0; color: var(--muted); font-size: clamp(18px, 2.3vw, 24px); line-height: 1.65; word-break: keep-all; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 42px; flex-wrap: wrap; }
.store-badge { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 650; }
.text-link { color: var(--muted); text-underline-offset: 5px; }
.text-link:hover { color: var(--text); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 96px; }
.feature-card { min-height: 280px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.feature-card h2 { margin: 28px 0 12px; font-size: 24px; letter-spacing: -.03em; line-height: 1.35; word-break: keep-all; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.feature-primary { grid-column: span 3; min-height: 420px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; background: radial-gradient(circle at 25% 50%, rgba(255,178,79,.11), transparent 35%), var(--surface); }
.feature-primary h2 { margin-top: 10px; font-size: clamp(32px, 4vw, 54px); }
.feature-number { color: var(--ring); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mini-ring { width: 230px; height: 230px; display: grid; place-items: center; border: 20px solid var(--surface-strong); border-top-color: var(--ring); border-right-color: var(--ring); border-radius: 50%; transform: rotate(20deg); }
.mini-ring span { font-size: 34px; font-weight: 760; transform: rotate(-20deg); }

.safety { margin-bottom: 96px; padding: 56px; border-radius: 30px; background: var(--ring); color: #17120a; }
.safety .eyebrow { color: #654109; }
.safety h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.05em; }
.safety p:last-child { max-width: 760px; margin: 24px 0 0; font-size: 18px; line-height: 1.75; }

.site-footer { padding: 0 0 48px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.site-footer div, .site-footer nav { display: flex; align-items: center; gap: 22px; }
.site-footer strong { color: var(--text); }
.site-footer a { text-underline-offset: 4px; }

.legal { max-width: 840px; padding: 64px 0 96px; }
.back { display: inline-block; margin-bottom: 48px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.page-header { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.page-header h1 { margin: 0; font-size: clamp(44px, 8vw, 76px); letter-spacing: -.055em; }
.page-header .lead { margin-top: 20px; }
.updated { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.legal section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.025em; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; word-break: keep-all; }
.legal a:not(.back):not(.contact-button) { color: var(--ring); text-underline-offset: 4px; }
.notice { margin: 34px 0 0; padding: 24px; border: 1px solid rgba(255,178,79,.35); border-radius: 18px; background: rgba(255,178,79,.07); }
.notice strong { color: var(--ring); }
.notice p { margin-bottom: 0; }
.contact-button { display: inline-flex; padding: 14px 18px; border-radius: 12px; background: var(--ring); color: #17120a; font-weight: 750; text-decoration: none; }
.legal-footer { padding-top: 40px; color: var(--muted); }
.legal-footer nav { display: flex; gap: 20px; margin-top: 14px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { min-height: auto; padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-primary { grid-column: span 1; min-height: auto; }
  .feature-primary { grid-template-columns: 1fr; gap: 34px; }
  .mini-ring { width: 180px; height: 180px; border-width: 16px; }
  .safety { padding: 36px 26px; }
  .site-footer, .site-footer div, .site-footer nav { align-items: flex-start; flex-direction: column; }
  .site-footer { gap: 24px; }
  .legal { padding-top: 36px; }
}

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