/* Kawai Pharma — landing / showcase page. */

body.landing main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 70px; }

/* ---------- Hero ---------- */
.hero-l { padding: 64px 0 46px; max-width: 54rem; }

.eyebrow {
  margin: 0 0 16px;
  display: inline-block;
  font: 700 0.68rem/1 ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid color-mix(in oklab, var(--warn) 36%, transparent);
  background: color-mix(in oklab, var(--warn) 10%, transparent);
  border-radius: 999px;
  padding: 7px 11px;
}

.hero-l h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.032em;   /* tighter as it grows */
  font-weight: 690;
  text-wrap: balance;
}

.lede {
  margin: 0 0 26px;
  max-width: 44rem;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  line-height: 1.6;
  letter-spacing: -0.004em;
  color: var(--text-dim);
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-lg { padding: 13px 20px; font-size: 0.94rem; text-decoration: none; }

/* Hero numbers: stat tiles, no chart needed */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin: 42px 0 0;
  padding: 0;
  max-width: 44rem;
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  padding: 15px 16px;
  background: color-mix(in srgb, var(--bg-elev) 62%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.stats dt { font: 700 0.63rem/1 ui-monospace, monospace; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); }
.stats dd {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 660;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ---------- Bands ---------- */
.band { padding: 46px 0; border-top: 1px solid var(--line); }
.band-tight { padding-bottom: 34px; }
.band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: -0.024em;
  line-height: 1.12;
  font-weight: 670;
}
.band-sub { margin: 0 0 24px; max-width: 46rem; font-size: 0.98rem; line-height: 1.6; color: var(--text-dim); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(282px, 1fr)); gap: 13px; margin-top: 22px; }
.feature {
  padding: 19px;
  background: color-mix(in srgb, var(--bg-elev) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin: 0 0 8px; font-size: 1.01rem; font-weight: 635; letter-spacing: -0.014em; line-height: 1.25; }
.feature p { margin: 0; font-size: 0.885rem; line-height: 1.58; color: var(--text-dim); letter-spacing: 0.001em; }
.feature em { color: var(--text); font-style: normal; font-weight: 580; }

/* ---------- Category cards ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 11px; }
.cat-card {
  padding: 16px;
  background: rgb(var(--surface) / var(--surface-a));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.cat-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.cat-card h3 { margin: 0; font-size: 0.95rem; font-weight: 630; letter-spacing: -0.012em; }
.cat-n {
  flex: none;
  font: 700 0.7rem/1 ui-monospace, monospace;
  color: var(--text-faint);
  background: rgb(var(--surface) / calc(var(--surface-a) * 2.5));
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 6px;
}
.cat-card p { margin: 0; font-size: 0.83rem; line-height: 1.52; color: var(--text-dim); }
.cat-ex { margin-top: 9px !important; display: flex; flex-wrap: wrap; gap: 5px; }
.cat-ex span {
  font: 500 0.72rem/1 ui-monospace, monospace;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 6px;
}

/* ---------- What this isn't ---------- */
.nots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 11px; }
.not {
  display: flex;
  gap: 11px;
  padding: 14px 15px;
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--text-dim);
  background: rgb(var(--surface) / var(--surface-a));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.not strong { color: var(--text); font-weight: 620; }
.not-x {
  flex: none;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--danger);
  border: 1px solid color-mix(in oklab, var(--danger) 42%, transparent);
  background: color-mix(in oklab, var(--danger) 12%, transparent);
  border-radius: 999px;
  margin-top: 1px;
}

.warn-box {
  margin-top: 16px;
  padding: 15px 17px;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--text);
  border: 1px solid color-mix(in oklab, var(--danger) 44%, transparent);
  background: color-mix(in oklab, var(--danger) 11%, transparent);
  border-radius: var(--radius-sm);
}
.warn-box strong { font-weight: 650; }
.warn-box em { font-style: normal; font-weight: 640; }

/* ---------- CTA ---------- */
.band-cta { text-align: center; }
.band-cta .band-sub { margin-left: auto; margin-right: auto; }
.band-cta .hero-cta { justify-content: center; }
.cta-note { margin: 20px auto 0; max-width: 40rem; font-size: 0.8rem; line-height: 1.55; color: var(--text-faint); }

.foot-l { padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.82rem; letter-spacing: 0.003em; }
.foot-l p { margin: 0 0 7px; }
.foot-l .foot-small { max-width: 50rem; line-height: 1.55; }

@media (prefers-reduced-transparency: reduce) {
  .feature, .stats > div { background: var(--bg-elev); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Auth page ---------- */
.auth-main {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px var(--gutter) 70px;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) { .auth-main { grid-template-columns: 1fr; } }

.auth-card {
  padding: 24px;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: rgb(var(--surface) / var(--surface-a));
  border: 1px solid var(--line);
  border-radius: 999px;
}
.auth-tab {
  flex: 1 1 0;
  font: 600 0.85rem/1 inherit;
  color: var(--text-dim);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.auth-tab[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); }

.auth-card h1 { margin: 0 0 7px; font-size: 1.5rem; letter-spacing: -0.022em; line-height: 1.15; font-weight: 665; }
.auth-sub { margin: 0 0 18px; font-size: 0.88rem; line-height: 1.55; color: var(--text-dim); }

.discord-btn { display: flex; justify-content: center; text-decoration: none; padding: 12px; width: 100%; }
.discord-off { margin: 0; font-size: 0.82rem; color: var(--warn); line-height: 1.5; }

.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.auth-or span { font: 600 0.72rem/1 ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

.auth-card .field input { font-size: 0.95rem; padding: 11px 13px; border-radius: 11px; }
.auth-submit { width: 100%; justify-content: center; padding: 12px; margin-top: 4px; }

.auth-switch { margin: 16px 0 0; font-size: 0.85rem; color: var(--text-dim); text-align: center; }
.auth-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.78rem; line-height: 1.55; color: var(--text-faint); }

.auth-aside { padding-top: 8px; }
.auth-aside h2 { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: -0.016em; font-weight: 645; }
.auth-aside ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-aside li { font-size: 0.89rem; line-height: 1.58; color: var(--text-dim); padding-left: 15px; position: relative; }
.auth-aside li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }
.auth-aside strong { color: var(--text); font-weight: 620; }
.aside-foot { margin: 0; font-size: 0.8rem; line-height: 1.55; color: var(--text-faint); }

.errors ul { margin: 0; padding-left: 18px; }

@media (prefers-reduced-transparency: reduce) {
  .auth-card { background: var(--bg-elev); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.social-center { justify-content: center; margin-top: 18px; }
