:root {
  color-scheme: dark;
  --ink: #f8f9ff;
  --muted: #aeb5cf;
  --navy: #05071a;
  --navy-2: #0a1030;
  --card: #10183d;
  --line: rgba(255,255,255,.12);
  --cyan: #24dcec;
  --pink: #ff4ca7;
  --yellow: #ffd34f;
  --max: 1120px;
  --artboard: 1536px;
  --hero-h: 545px;
  --phone-w: 264px;
  --phone-h: 480px;
  --photo-w: 660px;
  --steps-h: 138px;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--navy); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.skip-link,.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; left: 1rem; top: 1rem; z-index: 99; padding: .75rem 1rem; background: white; color: #111; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.wrap-wide { width: min(calc(100% - 96px), 1440px); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 76px; background: linear-gradient(180deg, rgba(5,7,26,.75), transparent); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.18rem; letter-spacing: .03em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .88rem; }
.nav-links a { color: #dce0f1; text-decoration: none; }
.nav-links a:hover { color: white; }
.nav-support { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5,7,26,.25); }

/* 1536×1024 reference: copy 48–562 / phone 615–879 / photo 876–1536 / hero y 0–545 */
.hero { position: relative; display: grid; grid-template-columns: minmax(470px, 40%) minmax(250px, 18%) minmax(420px, 42%); min-height: var(--hero-h); overflow: hidden; background: radial-gradient(circle at 12% 18%, rgba(30,93,179,.35), transparent 33%), linear-gradient(108deg, #07102c 0 56%, #0d1732 56%); }
.hero-copy { position: relative; z-index: 3; align-self: center; width: min(500px, calc(100% - 62px)); margin: 46px 0 0 clamp(32px, 4.04vw, 62px); }
.hero-kicker { margin: 0 0 12px; color: #d4dbef; font-size: .9rem; font-weight: 750; letter-spacing: .08em; }
h1,h2,h3 { line-height: 1.24; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3rem, 3.9vw, 3.75rem); line-height: 1.17; font-weight: 950; }
.title-line { display: block; white-space: nowrap; }
.title-accent { background: linear-gradient(92deg, var(--cyan) 0%, #f9fbff 47%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 18px 0 20px; color: #d6daea; font-weight: 650; line-height: 1.65; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-weight: 900; text-decoration: none; }
.button-primary { color: #04121b; background: linear-gradient(105deg, var(--cyan), #9bf4d3 55%, var(--yellow)); box-shadow: 0 13px 34px rgba(36,220,236,.2); }
.hero-cta { width: 317px; min-height: 60px; font-size: 1.05rem; }
.hero-cta span { margin-left: auto; font-size: 1.25rem; }
.store-row { display: flex; gap: 8px; margin-top: 17px; }
.store-pill { display: flex; width: 130px; height: 40px; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.26); border-radius: 8px; background: #070a14; }
.store-pill small { color: #adb5ca; font-size: .63rem; }
.store-pill strong { font-size: .75rem; }
.store-live strong { color: #83f1c5; }
.hero-note { margin: 12px 0 0; color: #959db8; font-size: .72rem; }

.hero-phone { position: relative; z-index: 4; display: grid; place-items: end center; padding-bottom: 30px; }
.phone-shell { width: 228px; height: auto; aspect-ratio: 1290 / 2796; padding: 8px; overflow: hidden; border: 2px solid #344262; border-radius: 38px; background: #080b15; box-shadow: 0 28px 75px rgba(0,0,0,.52), 0 0 36px rgba(49,117,202,.16); }
.app-screenshot { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 29px; }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 12px 15px 0; border-radius: 28px; color: #13192d; background: linear-gradient(180deg,#fbfbff,#eef1fa); }
.phone-status,.phone-head { display: flex; align-items: center; justify-content: space-between; }
.phone-status { font-size: .55rem; font-weight: 800; }
.phone-head { margin-top: 12px; }
.phone-head img { border-radius: 8px; }
.phone-head strong { margin-right: auto; margin-left: 7px; font-size: .85rem; }
.phone-question { margin: 25px 0 9px; text-align: center; font-size: 1.05rem; font-weight: 900; }
.mood-button { width: 100%; padding: 11px 4px; color: white; border: 0; border-radius: 14px; background: linear-gradient(110deg,#2187ff,#ff50a7); font-size: .8rem; font-weight: 850; }
.friend-stack { display: flex; justify-content: center; margin: 13px 0 -2px; }
.friend-stack span { display: grid; width: 37px; height: 37px; place-items: center; margin-left: -7px; border: 3px solid white; border-radius: 50%; background: #dce5fa; }
.reaction-card { margin-top: 9px; padding: 8px 10px; border-radius: 11px; background: white; box-shadow: 0 5px 18px rgba(31,42,76,.11); }
.reaction-card b,.reaction-card small { display: block; }
.reaction-card b { font-size: .7rem; }
.reaction-card small { margin-top: 2px; color: #69708a; font-size: .56rem; }
.phone-nav { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(3,1fr); height: 52px; border-top: 1px solid #dfe3ec; background: white; }
.phone-nav span { display: grid; place-content: center; text-align: center; color: #4f5b75; font-size: .8rem; }
.phone-nav small { display: block; font-size: .48rem; }

.hero-photo { position: relative; min-height: var(--hero-h); background-image: linear-gradient(90deg,#07102c 0,transparent 13%), url("assets/lp-concept-izakaya.png"); background-repeat: no-repeat; background-size: auto 1024px; background-position: -876px 0; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent,rgba(3,5,16,.35)); }
.photo-caption { position: absolute; z-index: 2; right: 34px; bottom: 28px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: rgba(5,7,26,.62); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 800; }

/* Reference strip: x 48–1488 / y 566–704 = 1440×138 */
.steps { position: relative; z-index: 5; min-height: var(--steps-h); margin-top: 20px; display: grid; grid-template-columns: 1fr 34px 1fr 34px 1.2fr; align-items: center; gap: 16px; padding: 24px 32px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(100deg,rgba(15,24,61,.97),rgba(10,16,45,.97)); box-shadow: 0 20px 55px rgba(0,0,0,.24); }
.steps article { display: flex; align-items: center; gap: 14px; }
.step-num { display: grid; flex: 0 0 48px; height: 48px; place-items: center; border-radius: 15px; color: #08101f; background: linear-gradient(135deg,var(--cyan),#fbffff); font-size: 1.2rem; font-weight: 950; }
.steps article:nth-of-type(2) .step-num { background: linear-gradient(135deg,#ff80c1,#fff); }
.steps article:nth-of-type(3) .step-num { background: linear-gradient(135deg,var(--yellow),#fff3b0); }
.steps h3 { margin: 0; font-size: .98rem; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: .73rem; }
.steps > i { color: #68708b; text-align: center; font-style: normal; }

.feature-stage { padding: 18px 0 64px; background: radial-gradient(circle at 80% 25%,rgba(31,86,154,.15),transparent 35%),var(--navy); }
.feature-heading { margin-bottom: 14px; }
.eyebrow { margin: 0 0 6px; color: var(--cyan); font-size: .73rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.feature-heading h2 { margin: 0; font-size: clamp(1.35rem,2.2vw,2rem); }
.showcase-grid { display: grid; grid-template-columns: 1.27fr 1fr; gap: 38px; }
.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card { min-height: 252px; padding: 25px 21px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(155deg,rgba(17,27,68,.98),rgba(9,14,42,.98)); }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; font-size: 1.25rem; font-weight: 950; }
.feature-icon.cyan { color: var(--cyan); background: rgba(36,220,236,.12); }
.feature-icon.pink { color: var(--pink); background: rgba(255,76,167,.12); }
.feature-icon.yellow { color: var(--yellow); background: rgba(255,211,79,.12); }
.feature-card h3 { margin: 22px 0 10px; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.safety-panel { min-height: 252px; display: grid; grid-template-columns: 1fr 178px; overflow: hidden; border: 1px solid rgba(35,221,239,.2); border-radius: 18px; background: linear-gradient(125deg,#0f2851,#101634 68%); }
.safety-copy { padding: 24px 0 22px 28px; }
.safety-copy h2 { margin: 0 0 7px; font-size: 1.35rem; }
.safety-copy > p:not(.eyebrow) { margin: 0; color: #bac2d8; font-size: .75rem; }
.safety-copy ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 10px; margin: 15px 0 10px; padding: 0; list-style: none; font-size: .72rem; }
.safety-copy li { display: flex; align-items: center; gap: 6px; }
.safety-copy li span { color: var(--cyan); }
.safety-copy a { color: var(--cyan); font-size: .72rem; font-weight: 800; }
.mini-phone { align-self: end; justify-self: center; width: 140px; height: auto; aspect-ratio: 1290 / 2796; padding: 6px; overflow: hidden; border-radius: 24px 24px 0 0; background: #070a12; box-shadow: 0 18px 45px rgba(0,0,0,.5); }
.mini-phone img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 18px 18px 0 0; }

.section { padding: 74px 0; }
.availability { border-top: 1px solid var(--line); background: #080c24; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2 { margin: 7px 0 9px; font-size: clamp(1.9rem,4vw,3rem); }
.section-heading p { margin: 0; color: var(--muted); }
.status-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.status { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); }
.status strong { display: block; font-size: 1.1rem; }
.status span { color: var(--yellow); font-size: .88rem; }
.status p { color: var(--muted); font-size: .9rem; }
.faq { background: #06091c; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { color: var(--muted); }
.site-footer { padding: 32px 0 44px; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }

/* Shared legal/support pages */
.support-main { min-height: 80vh; padding: 100px 0 80px; background: radial-gradient(circle at 15% 10%,rgba(36,220,236,.12),transparent 30rem),var(--navy); }
.support-main + .site-footer { background: var(--navy); }
.support-card { max-width: 760px; margin: 0 auto; padding: clamp(24px,5vw,48px); border: 1px solid var(--line); border-radius: 28px; background: rgba(15,24,61,.9); }
.support-card h1 { margin-top: 8px; font-size: clamp(2rem,6vw,3.4rem); }
.support-card h2 { margin-top: 34px; }
.contact-box { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.05); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(420px,45%) minmax(230px,23%) 32%; }
  .hero-copy { margin-left: 32px; }
  .hero-photo { background-position: -920px 0; }
  .wrap-wide { width: min(calc(100% - 40px),1440px); }
  .showcase-grid { grid-template-columns: 1fr; }
  .safety-panel { min-height: 275px; }
}

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .nav-links a:not(.nav-support) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; min-height: auto; padding-top: 78px; }
  .hero-copy { grid-column: 1 / -1; width: min(620px,calc(100% - 40px)); margin: 34px auto 28px; text-align: center; }
  .hero-cta { margin-inline: auto; }
  .store-row { justify-content: center; }
  .hero-phone { min-height: 510px; }
  .hero-photo { min-height: 510px; background-size: auto 958px; background-position: 61% 0; }
  .steps { grid-template-columns: 1fr; gap: 13px; margin-top: 16px; }
  .steps > i { display: none; }
  .feature-cards { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 680px) {
  .wrap-wide { width: min(calc(100% - 28px),1440px); }
  .hero { display: block; padding-top: 72px; }
  .hero-copy { margin-top: 22px; }
  h1 { font-size: clamp(2.25rem,10.4vw,2.65rem); }
  .hero-kicker { font-size: .78rem; }
  .lead { font-size: .92rem; }
  .hero-cta { width: 100%; }
  .store-pill { width: 50%; }
  .hero-phone { min-height: 0; padding: 18px 0 28px; }
  .phone-shell { width: min(290px, 78vw); }
  .hero-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 660 / 545;
    background-size: 232.727% auto;
    background-position: right top;
  }
  .photo-caption { right: 16px; bottom: 16px; }
  .steps { padding: 22px 20px; }
  .feature-stage { padding-top: 26px; }
  .feature-heading { margin-bottom: 18px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .safety-panel { grid-template-columns: 1fr; }
  .safety-copy { padding: 25px; }
  .safety-copy ul { grid-template-columns: 1fr; }
  .mini-phone { display: none; }
  .status-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
}

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