* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --ink: #f3f5ff; --ink-2: rgba(243,245,255,.72); --ink-3: rgba(243,245,255,.5); --line: rgba(255,255,255,.14);
        --a: #38f2ff; --b: #ff3dcb; --err: #ff8a8a; --ok: #5dffa8; }
html, body { min-height: 100%; }
body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; padding: 1.2rem;
       min-height: 100vh; color: var(--ink); font: 16px/1.55 "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", system-ui, sans-serif;
       background: radial-gradient(90% 70% at 15% 0%, rgba(56,242,255,.18), transparent 60%),
                   radial-gradient(80% 70% at 100% 100%, rgba(255,61,203,.16), transparent 60%), #05060c; }
.card { width: min(26rem, 100%); padding: 1.6rem 1.5rem 1.4rem; border-radius: 1.4rem; border: 1px solid var(--line);
        background: rgba(14,18,34,.72); backdrop-filter: blur(18px); box-shadow: 0 2rem 5rem -2rem rgba(0,0,0,.7); }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; gap: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 .8rem/1 Consolas, monospace; letter-spacing: .3em; }
.mark { width: .9rem; height: .9rem; transform: rotate(45deg); border-radius: .15rem; background: conic-gradient(var(--a), var(--b), var(--a)); }
.lang { display: flex; gap: .15rem; padding: .15rem; border-radius: 99px; border: 1px solid var(--line); }
.lang button { padding: .3rem .55rem; border-radius: 99px; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: .75rem; cursor: pointer; }
.lang button.on { background: rgba(255,255,255,.12); color: var(--ink); }
.kicker { font: .7rem/1 Consolas, monospace; letter-spacing: .26em; color: var(--ink-3); text-transform: uppercase; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: .2rem 0 .5rem; font-weight: 700; }
.sub { color: var(--ink-2); font-size: .92rem; margin-bottom: 1.3rem; word-break: break-word; }
.sub b { color: var(--ink); font-weight: 600; }
label { display: block; font-size: .78rem; color: var(--ink-3); margin-bottom: .4rem; }
input { width: 100%; height: 3.1rem; padding: 0 1rem; border-radius: .8rem; border: 1px solid var(--line); background: rgba(255,255,255,.05);
        color: var(--ink); font: inherit; font-size: 1.05rem; outline: none; }
input:focus { border-color: rgba(56,242,255,.7); box-shadow: 0 0 0 3px rgba(56,242,255,.16); }
#code { font: 600 1.6rem/1 Consolas, monospace; letter-spacing: .5em; text-align: center; padding-left: 1.4rem; }
.btn { width: 100%; height: 3.1rem; margin-top: .9rem; border: 0; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 650;
       color: #050814; background: linear-gradient(100deg, var(--a), var(--b)); }
.btn:disabled { opacity: .45; cursor: default; }
.links { display: flex; justify-content: space-between; margin-top: .9rem; gap: .6rem; }
.link { border: 0; background: none; color: var(--a); font: inherit; font-size: .82rem; cursor: pointer; padding: .2rem 0; }
.link:disabled { color: var(--ink-3); cursor: default; }
.msg { min-height: 1.4em; margin-top: 1rem; font-size: .86rem; color: var(--ink-2); }
.msg.err { color: var(--err); } .msg.ok { color: var(--ok); }
.foot { color: var(--ink-3); font: .7rem/1 Consolas, monospace; letter-spacing: .16em; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .15rem; }
[hidden] { display: none !important; }

/* '日 | EN | 한': short labels with thin dividers */
.lang button { position: relative; white-space: nowrap; min-width: 2.2em; text-align: center; }
.lang button + button::before { content: ""; position: absolute; left: calc(var(--lang-gap, 0px) / -2 - .5px); top: 28%; bottom: 28%; width: 1px; background: rgba(255,255,255,.22); }
.lang button.on::before, .lang button.on + button::before { opacity: 0; }

/* launch notice */
.promo { hyphens: none; }
#view-staff #code { font-size: 1.3rem; }
.btn-ghost { height: 2.7rem; margin-top: .7rem; color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .92rem; }
/* waiting list form */
#f-waitlist label { margin-top: .9rem; }
#f-waitlist label:first-child { margin-top: 0; }
.note { margin-top: .8rem; font-size: .75rem; color: var(--ink-3); line-height: 1.55; }
.back { display: block; margin: 1rem auto 0; }
.check { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
         color: #050814; background: linear-gradient(135deg, var(--a), var(--b)); margin-bottom: 1rem; }
#view-done { text-align: center; } #view-done .check { margin-left: auto; margin-right: auto; }

/* visitors: the announcement is the page */
.hero { text-align: center; padding: .8rem 0 .4rem; }
.hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; margin: .4rem 0 1rem; letter-spacing: .01em;
           word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }   /* break at the space: "12月1日 / 正式オープン" */
/* the offer is information, not an action: plain text, no box, no gradient, so only the CTA looks pressable */
.hero .promo { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0 0 2rem; padding: 0; border: 0; border-radius: 0;
               background: none; color: var(--ink-2); font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; cursor: default; }
.promo-ic { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: var(--b); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-cta { height: 3.6rem; font-size: 1.1rem; margin-top: 0; box-shadow: 0 .8rem 2.4rem -.8rem rgba(56,242,255,.6); }
/* staff: a quiet link, its own small screen */
#view-staff h2 { font-size: 1.15rem; font-weight: 650; margin-bottom: 1rem; }
#view-staff label { margin-bottom: .45rem; }
#view-staff input { height: 2.8rem; font-size: .95rem; }
.foot-row { display: flex; gap: 1.4rem; align-items: center; justify-content: center; }
.staff-link { background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; opacity: .55; }
.staff-link:hover, .staff-link:focus { opacity: .9; }
/* public trial site: "Try it free" is the one filled button, the waiting list is outlined */
.trial-note { margin: .8rem 0 1.4rem; font-size: .85rem; color: var(--ink-3); }
.trial-note.closed { color: var(--ink-2); font-size: .92rem; margin-top: 0; }
.btn.btn-secondary { height: 3rem; font-size: .98rem; color: var(--ink); background: none; border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn.btn-secondary:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
#view-staff.trial #step-email .btn-ghost { height: 3rem; color: #050814; background: linear-gradient(100deg, var(--a), var(--b)); border: 0; font-weight: 650; }
#trial-sub { margin: -.4rem 0 1.1rem; }
#trial-privacy { margin: .7rem 0 0; }
