:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --panel: #151821;
  --panel-2: #1b1f2a;
  --text: #f8f5ed;
  --muted: #aaa69b;
  --gold: #ffc42d;
  --gold-2: #ff9f1c;
  --line: #2d313d;
  --danger: #ff8c8c;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffe18a; outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; background: var(--gold); color: #171204; padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(13,15,20,.88); backdrop-filter: blur(16px); }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 950; letter-spacing: .08em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; padding-block: 78px 90px; }
.eyebrow { color: var(--gold); font-weight: 850; letter-spacing: .12em; font-size: 13px; text-transform: uppercase; }
h1 { max-width: 770px; margin: 12px 0 24px; font-size: clamp(44px, 7vw, 78px); letter-spacing: -.055em; line-height: 1.08; }
.lead { max-width: 660px; color: #cbc6bb; font-size: clamp(17px, 2vw, 21px); line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 14px; text-decoration: none; font-weight: 850; border: 1px solid var(--line); }
.button.primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1e1603; border-color: transparent; }
.button.secondary { color: var(--text); background: var(--panel); }
.button[aria-disabled="true"] { cursor: default; }
.release-note { margin-top: 13px; color: var(--muted); font-size: 12px; }

.phone-stage { position: relative; min-height: 530px; display: grid; place-items: center; }
.halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,196,45,.23), rgba(255,196,45,0) 68%); filter: blur(12px); }
.phone { position: relative; width: min(320px, 82vw); padding: 11px; border-radius: 42px; background: #050608; border: 1px solid #454957; box-shadow: 0 32px 90px rgba(0,0,0,.56); transform: rotate(2deg); }
.phone-screen { min-height: 570px; overflow: hidden; border-radius: 32px; background: linear-gradient(180deg, rgba(13,15,20,.14), var(--bg) 76%), url('https://assets.wintalk.games/scenarios/v2/apt4b_the_interview/scene.png') center top/auto 58% no-repeat; padding: 28px 18px 22px; display: flex; flex-direction: column; }
.round-label { align-self: center; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.58); color: #e7e0d4; font-size: 11px; }
.dialogue { margin-top: auto; padding: 15px 16px; border-radius: 18px 18px 18px 5px; background: rgba(23,26,34,.94); border: 1px solid #414552; font-weight: 730; line-height: 1.55; }
.meter { height: 8px; border-radius: 10px; background: #292d37; margin-top: 17px; overflow: hidden; }
.meter span { display: block; width: 67%; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.mic { width: 70px; height: 70px; margin: 20px auto 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #211803; box-shadow: 0 0 0 9px rgba(255,196,45,.12); font-size: 29px; }

.section { padding-block: 94px; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
h2 { margin: 8px 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.2; letter-spacing: -.04em; }
.section-copy { color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #22252e; }
.card-body { padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-flex; margin-top: 16px; padding: 4px 9px; border-radius: 999px; color: var(--gold); background: rgba(255,196,45,.1); font-size: 12px; font-weight: 750; }
.feature { padding: 26px; }
.feature-index { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.feature h3 { margin: 10px 0; font-size: 22px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 3px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--gold); color: #1b1403; font-weight: 950; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }
.safety { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.safety-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.safety-list li { padding: 17px 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; }
.safety-list li::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 900; }
.faq { display: grid; gap: 12px; }
details { padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin-bottom: 2px; }
.cta-band { margin-block: 84px; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, #28200e, #171921 60%); border: 1px solid #58471d; text-align: center; }
.cta-band h2 { margin-top: 0; }

.site-footer { border-top: 1px solid var(--line); padding-block: 38px 46px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

.legal-main { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 70px 0 110px; }
.legal-main h1 { font-size: clamp(38px, 7vw, 58px); margin-bottom: 10px; }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 42px; }
.legal-main h2 { margin-top: 52px; font-size: 25px; letter-spacing: -.02em; }
.legal-main h3 { margin-top: 30px; font-size: 18px; }
.legal-main p, .legal-main li { color: #d1cdc4; }
.legal-main li + li { margin-top: 8px; }
.legal-main a { color: #ffd25f; }
.notice { padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--panel); border-radius: 0 12px 12px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--gold); background: var(--panel); }
.contact-card { margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.share-page { min-height: calc(100vh - 160px); padding: 42px 20px 90px; }
.share-card { max-width: 720px; margin: 0 auto; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); }
.share-hero { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--panel-2); }
.share-content { padding: 32px; }
.share-content h1 { margin: 8px 0 0; font-size: clamp(36px, 8vw, 58px); }
.share-tagline { margin: 10px 0 26px; color: var(--gold); font-size: 18px; font-weight: 750; }
.share-facts { display: grid; gap: 10px; margin: 0; }
.share-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.share-facts dt { color: var(--muted); }
.share-facts dd { margin: 0; }
.share-mission { margin-top: 28px; padding: 21px; border-radius: 16px; background: var(--panel-2); }
.share-mission h2, .share-safety h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.share-mission p { color: #d1cdc4; }
.share-mission strong { display: block; color: var(--gold); }
.share-open { width: 100%; margin-top: 28px; }
.share-note { color: var(--muted); font-size: 12px; text-align: center; }
.share-safety { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.share-safety a { color: var(--gold); }

@media (max-width: 800px) {
  .nav-links a:not(.nav-keep) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 70px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .phone-stage { min-height: 500px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; gap: 28px; }
  .section { padding-block: 70px; }
  .footer-row { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .cta-band { padding: 34px 22px; }
  .data-table { display: block; overflow-x: auto; }
  .share-content { padding: 24px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 430px) {
  h1 { font-size: 40px; }
  .hero { overflow: hidden; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .phone { width: 310px; }
}
