/* Placeholder — landing page styles (hybrid design, v1.0)
   One ink, one paper, one accent. Change the brand in :root only. */

:root {
  --ink: #0B0B0C;
  --paper: #F4F4F1;
  --mist: #E6E6E2;
  --slate: #5F5F66;
  --clear: #0E7C66;
  --clear-tint: #DCF2EA;
  --white: #FFFFFF;
  --font-display: Manrope, Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1280px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--clear); }
:focus-visible { outline: 2px solid var(--clear); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Mark */
.mark rect, .mark circle { fill: var(--ink); }
.mark .mark__dot { fill: var(--clear); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mist); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn--solid { height: 48px; padding: 0 22px; border-color: var(--ink); background: var(--ink); color: var(--paper); font-size: 15px; }
.btn--solid:hover { color: var(--paper); background: #1E1E22; border-color: #1E1E22; }
.btn--solid:disabled { opacity: .7; cursor: default; }

/* Metal button — dark chrome pill with a gloss and an iridescent rim */
.btn--metal {
  position: relative; height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  color: #FFFFFF; font-weight: 700; font-size: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #2B2B30 0%, #0B0B0C 55%, #1C1C20 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(255,255,255,.1), 0 10px 26px rgba(11,11,12,.28), 0 0 0 1px #0B0B0C;
  text-shadow: 0 1px 0 rgba(0,0,0,.45), 0 0 14px rgba(255,255,255,.35);
}
.btn--metal::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from 210deg, #FFD166, #06D6A0, #4CC9F0, #C77DFF, #FF6B6B, #FFD166);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6;
}
.btn--metal::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0));
}
.btn--metal:hover { color: #FFFFFF; filter: brightness(1.08); }
.btn--metal:disabled { opacity: .75; cursor: default; }

/* Mascot */
.mascot { display: block; width: 132px; height: 132px; animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Hero background art */
.hero-wrap { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.hero { position: relative; z-index: 1; }

/* Live sentence */
.live { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 190px; max-width: 940px; transition: opacity .32s ease; }
.live.is-fading { opacity: 0; }
.live__line { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; line-height: 1.12; }
.live__verb { color: var(--slate); font-weight: 500; }
.live__chips { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.chip--ok { background: var(--clear-tint); color: var(--clear); }
.chip--no { background: var(--mist); color: var(--ink); }
.chip--no .chip__dot { background: var(--slate); }
.gate { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--clear); border: 1px solid #BFE3D6; border-radius: 999px; padding: 6px 11px; }
.chip--cond { background: var(--white); color: var(--clear); border: 1px solid var(--clear); }
.chip--cond .chip__dot { background: transparent; border: 2px solid var(--clear); box-sizing: border-box; }
.tip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); font-weight: 500; font-size: 15px; }
.gate { color: var(--slate) !important; border-color: #D5D5D0 !important; }
.gate--off { color: #8A8A90; border-color: var(--mist); text-decoration: line-through; }
.live__counter { font-family: var(--font-mono); font-size: 12px; color: #8A8A90; margin-left: 4px; }

/* Nav */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); }
.nav__left { display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__soon { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--slate); }
.tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--mist); border-radius: 999px; padding: 2px 7px; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: var(--max); margin: 0 auto; padding: 104px 24px 96px; }
.hero__name { margin: 26px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 72px; letter-spacing: -0.04em; line-height: 1; }
.hero__claim { margin: 26px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.025em; line-height: 1.15; max-width: 760px; }
.hero__sub { margin: 16px 0 0; font-size: 19px; line-height: 1.5; color: var(--slate); max-width: 620px; }

/* Waitlist */
.waitlist { margin-top: 40px; width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pill { width: 100%; display: flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--mist); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 10px 32px rgba(11, 11, 12, .07); }
.pill__input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.pill__input::placeholder { color: #8A8A90; }
.pill__input:focus-visible { outline: none; }
.pill:focus-within { border-color: var(--ink); }
.roles { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.roles__legend { font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.roles__group { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.role { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--mist); background: var(--white); font-size: 14px; cursor: pointer; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role:hover { border-color: var(--slate); }
.role:has(input:checked), .role.is-checked { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.role:has(input:focus-visible) { outline: 2px solid var(--clear); outline-offset: 3px; }
.waitlist__note { margin: 4px 0 0; font-size: 14px; color: var(--slate); }
.waitlist__error { margin: 0; font-size: 14px; color: #9A2E2E; }
.waitlist__done { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 480px; }
.waitlist__done p { margin: 0; font-size: 19px; line-height: 1.5; }

/* Problem */
.problem { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 88px; }
.problem__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.clause { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 20px; }
.clause__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--slate); }
.clause p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.25; }

/* Video */
.video { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 112px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.video__frame { position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video__frame video, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__watermark { position: absolute; right: -140px; bottom: -160px; width: 520px; height: 520px; opacity: .12; }
.video__watermark rect, .video__watermark circle { fill: none; stroke: var(--paper); stroke-width: 1.5; }
.video__play { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(244, 244, 241, .3); background: rgba(244, 244, 241, .08); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video__play:disabled { cursor: default; }
.video__label { position: absolute; left: 24px; bottom: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A3A3AA; }
.video__caption { margin: 0; font-size: 14px; color: var(--slate); }

/* Footer */
.footer { position: relative; height: 520px; overflow: hidden; border-top: 1px solid var(--mist); }
.footer__watermark { position: absolute; left: 50%; top: 96px; width: 1120px; height: 1120px; transform: translateX(-50%); opacity: .06; }
.footer__watermark rect, .footer__watermark circle { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.footer__inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); font-size: 14px; color: var(--slate); }
.footer__inner a { color: var(--slate); text-decoration: none; }

/* Phone */
@media (max-width: 900px) {
  .problem__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav__links { display: none; }
  .hero { padding: 72px 20px 72px; }
  .hero__name { font-size: 52px; }
  .hero__claim { font-size: 26px; }
  .hero__sub { font-size: 17px; }
  .live { margin-top: 32px; min-height: 0; }
  .live__line { font-size: 24px; }
  .pill { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; }
  .pill__input { padding: 0 12px; }
  .pill__btn { width: 100%; }
  .footer { height: 360px; }
  .footer__watermark { width: 760px; height: 760px; top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .live { min-height: 0; }
}
