:root {
  --bg: #f7f8fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #6952f5;
  --brand-dark: #503bd4;
  --night: #0b0e2e;
  --cream: #f3efe7;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 24px 80px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  min-height: 100vh;
  background: var(--bg);
}

.shell {
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 20px;
}

.header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 24px;
}

.logo-mark {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ff7a4d 0%, #f59da6 45%, #c5a6e8 100%);
}

.logo-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  border-radius: 8px;
  color: #263244;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 11px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #f1f5f9;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(183, 190, 230, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 48px;
  min-height: 78vh;
  padding-bottom: 72px;
  padding-top: 72px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  color: #718096;
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7bee6;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-top: 18px;
}

.hero p {
  color: #c7cdec;
  font-size: 17px;
  line-height: 1.75;
  margin-top: 26px;
  max-width: 650px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
}

.button-primary {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  color: #0f172a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.product-scene {
  display: none;
}

.cards-band,
.zoom-band,
.public-band {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.cards {
  display: grid;
  gap: 20px;
  padding-bottom: 48px;
  padding-top: 48px;
}

.card,
.zoom-card,
.legal-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 22px;
}

.icon-box {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.card h2,
.zoom-card h3,
.support-panel h2 {
  font-size: 15px;
  margin-top: 16px;
}

.card p,
.zoom-card p,
.support-panel p,
.legal-card p,
.public-band p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
}

.zoom-band {
  background: var(--bg);
}

.zoom-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 58px;
  padding-top: 58px;
}

.zoom-grid h2,
.legal-hero h1,
.support-hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-top: 14px;
}

.zoom-grid > div > p,
.legal-hero p,
.support-hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 690px;
}

.text-link {
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  margin-top: 20px;
}

.zoom-list {
  display: grid;
  gap: 14px;
}

.zoom-card {
  display: flex;
  gap: 16px;
  padding: 20px;
}

.zoom-card h3 {
  margin-top: 0;
}

.public-band .shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 42px;
  padding-top: 42px;
}

.public-band strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
}

.legal-main,
.support-main {
  padding-bottom: 70px;
  padding-top: 52px;
}

.legal-hero,
.support-hero {
  max-width: 820px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

.legal-stack {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.legal-card {
  padding: 26px;
}

.legal-card h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card a,
.support-main a,
.public-band a {
  color: var(--brand-dark);
  font-weight: 650;
}

.support-grid {
  display: grid;
  gap: 34px;
}

.support-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.support-panel {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 16px;
  padding: 24px 0;
}

.support-panel:last-child {
  border-bottom: 0;
}

.zoom-support {
  display: grid;
  gap: 14px;
  margin-top: 42px;
  padding: 26px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 32px;
  padding-top: 32px;
}

.footer-brand {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-band .shell,
  .footer-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 560px) minmax(520px, 1fr);
  }

  .product-scene {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 20px 0 0 20px;
    box-shadow: var(--shadow-card);
    display: block;
    height: 660px;
    justify-self: end;
    max-width: 760px;
    overflow: hidden;
    width: 100%;
  }

  .scene-inner {
    display: flex;
    height: 100%;
  }

  .scene-side {
    background: rgba(248, 250, 252, 0.72);
    border-right: 1px solid var(--line);
    flex: 0 0 220px;
    padding: 28px 16px;
  }

  .scene-nav {
    display: grid;
    gap: 5px;
    margin-top: 34px;
  }

  .scene-link {
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    padding: 10px 12px;
  }

  .scene-link.active {
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    font-weight: 650;
  }

  .scene-views {
    margin-top: 34px;
  }

  .scene-main {
    flex: 1;
    min-width: 0;
    padding: 30px;
  }

  .scene-main h2 {
    font-size: 30px;
    letter-spacing: -0.03em;
  }

  .scene-main > p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
  }

  .feed-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
  }

  .feed-row,
  .evidence {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    min-width: 0;
    padding: 14px 16px;
  }

  .feed-row.active {
    background: #eef2ff;
    border-color: #b7c2ff;
  }

  .feed-row strong {
    display: block;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .feed-row span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    margin-top: 6px;
  }

  .evidence {
    margin-top: 28px;
    padding: 20px;
  }

  .evidence p {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
  }

  .zoom-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .support-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (min-width: 1500px) {
  .shell {
    max-width: 1440px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 620px) minmax(680px, 760px);
  }
}
