/* Alpha-War Studio public site. Navy and gold, Space Grotesk headings, Inter / Noto Sans JP text. */
:root { --navy: #0F1A30; --navy2: #1C2A48; --navy3: #23335A; --line-d: #3A4766; --ink: #14213D; --ground: #F7F5EF; --card: #FFFFFF;
  --line: #E3DED1; --line2: #ECE8DD; --muted: #4A5568; --on-dark: #C9D3E3; --dim: #8E9BB5; --gold: #E0B44C; --gold-text: #8A6100;
  --head: 'Space Grotesk', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Arial, sans-serif; line-height: 1.5; }
:lang(ja) body, body:lang(ja) { line-height: 1.7; }
a { color: var(--gold-text); } a:hover { color: #5E4300; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* header */
.top { background: var(--navy); padding: 0 24px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ground); font-family: var(--head); font-weight: 700; font-size: 20px; }
.brand span { color: var(--gold); }
.links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.actions { gap: 12px; }
.links a, .lang { color: var(--on-dark); text-decoration: none; }
.links a:hover, .lang:hover { color: var(--ground); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font: inherit; font-weight: 600; cursor: pointer; border: 0; }
.pill.gold { background: var(--gold); color: var(--navy); } .pill.gold:hover { background: #EBC56A; color: var(--navy); }
.pill.ghost { color: var(--ground); border: 1px solid var(--line-d); background: transparent; font-weight: 500; } .pill.ghost:hover { border-color: var(--on-dark); color: var(--ground); }
.pill.navy { background: var(--navy); color: var(--ground); } .pill.navy:hover { background: #22304F; color: var(--ground); }
.pill.outline { color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.pill.big { min-height: 52px; padding: 15px 28px; font-size: 17px; }

/* hero */
.hero { background: var(--navy); color: var(--ground); padding: 72px 24px 112px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.hero .eyebrow, .dark .eyebrow { color: var(--gold); }
h1 { margin: 0; font-family: var(--head); font-size: clamp(44px, 6vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
h1:lang(ja) { text-transform: none; letter-spacing: 0; line-height: 1.18; font-size: clamp(40px, 5.4vw, 68px); }
h1 .accent { color: var(--gold); }
.lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--on-dark); max-width: 620px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.note { margin: 0; font-size: 14px; color: var(--dim); }
.frames { flex: 1 1 380px; min-width: 0; display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.frame { flex: 1 1 0; max-width: 150px; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--navy2); border: 1px solid #2E3D60; position: relative; overflow: hidden; }
.frame.f1 { margin-bottom: 48px; } .frame.f3 { margin-bottom: 96px; }
.frame.main { max-width: 190px; background: var(--navy3); border: 2px solid var(--gold); display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.frame .bar { position: absolute; left: 12px; right: 12px; height: 6px; border-radius: 3px; background: #2E3D60; }
.frame .b1 { bottom: 40px; width: 60%; } .frame .b2 { bottom: 24px; width: 40%; }
.chip { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--gold); padding: 4px 10px; border-radius: 999px; }
.frame .play { align-self: center; width: 56px; height: 56px; border-radius: 999px; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.frame .sub { font-size: 13px; color: var(--on-dark); text-align: center; }

/* facts */
.facts { padding: 0 24px; }
.facts .wrap { margin-top: -48px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); overflow: hidden; }
.fact { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line2); }
.fact:last-child { border-right: 0; }
.fact b { font-family: var(--head); font-size: 40px; font-weight: 700; }
.fact span { font-size: 15px; color: var(--muted); }

/* sections */
.sec { padding: 112px 24px 24px; }
.sec .wrap { display: flex; flex-direction: column; gap: 44px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
h2 { margin: 0; font-family: var(--head); font-size: clamp(32px, 4vw, 48px); line-height: 1.12; font-weight: 700; }
.head p:not(.eyebrow) { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
h3 { margin: 0; font-family: var(--head); font-size: 22px; line-height: 1.25; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); list-style: none; margin: 0; padding: 0; }
.grid.formats { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card.dark { background: var(--navy); border-color: var(--navy); }
.card.dark h3 { color: var(--ground); } .card.dark p { color: var(--on-dark); }
.num { width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.card.dark .num { background: var(--gold); color: var(--navy); }
.shape { border: 2px solid var(--ink); border-radius: 6px; }
.shape.v { width: 36px; height: 64px; border-color: var(--gold); } .shape.w { width: 72px; height: 40px; } .shape.t { width: 72px; height: 40px; border-style: dashed; } .shape.s { width: 48px; height: 48px; }
.formats .card { min-height: 250px; }

/* cost */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > .head { flex: 999 1 460px; min-width: 0; }
.example { flex: 1 1 360px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.example p { margin: 0; font-size: 15px; color: var(--muted); }
.row { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; border-bottom: 1px solid var(--line2); padding-bottom: 14px; }
.row b { font-weight: 600; text-align: right; }
.example .small { font-size: 13px; }

/* pricing */
.plans { align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan .price { margin: 0; }
.plan .price b { font-family: var(--head); font-size: 44px; font-weight: 700; }
.plan .price span, .plan .mins { font-size: 16px; color: var(--muted); margin: 0; }
.plan ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.plan .pill { margin-top: auto; }
.plan.featured { background: var(--navy); color: var(--ground); border: 2px solid var(--gold); }
.plan.featured h3 { color: var(--ground); } .plan.featured .price span, .plan.featured .mins { color: var(--on-dark); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topups { margin: 0; font-size: 16px; color: var(--muted); }

/* trust */
.trust { padding: 88px 24px 24px; }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.trust div { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 2px solid var(--ink); }
.trust h3 { font-size: 19px; } .trust p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* faq */
.faq .wrap { max-width: 900px; }
.faq details { border-bottom: 1px solid #D8D2C3; padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid #D8D2C3; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-text); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* request form */
.start { padding: 88px 24px 112px; }
.start-box { background: var(--gold); border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.start-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; color: var(--navy); }
.start-text h2 { color: var(--navy); }
.start-text p { margin: 0; font-size: 18px; line-height: 1.6; }
form.request { flex: 999 1 480px; min-width: 0; background: var(--card); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 18px; }
form.request label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
form.request .full { grid-column: 1 / -1; }
form.request input, form.request select, form.request textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #FBFAF6; border: 1px solid #CFC8B8; border-radius: 10px; padding: 11px 12px; min-height: 46px; }
form.request textarea { min-height: 96px; resize: vertical; }
form.request .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.5; }
form.request .check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-msg { margin: 0; font-size: 15px; min-height: 22px; }
.form-msg.ok { color: #1D7342; font-weight: 600; } .form-msg.err { color: #B8322A; font-weight: 600; }

/* footer */
.foot { background: var(--navy); color: var(--on-dark); padding: 56px 24px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 15px; }
.foot .col { display: flex; flex-direction: column; gap: 10px; }
.foot .col b { color: var(--ground); font-weight: 600; }
.foot a { color: var(--on-dark); text-decoration: none; } .foot a:hover { color: var(--ground); }

/* plain pages (privacy) */
.page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); text-transform: none; color: var(--ink); line-height: 1.2; }
.page h2 { font-size: 24px; margin-top: 32px; }
.page p, .page li { font-size: 16px; line-height: 1.7; color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding: 48px 20px 96px; }
  .links { display: none; }
  .start-box { padding: 36px 20px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line2); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
