:root {
  --bg: #eef2ff;
  --bg-soft: #f7f8ff;
  --paper: rgba(255, 255, 255, 0.72);
  --paper-strong: #ffffff;
  --ink: #1e1b4b;
  --indigo: #4338ca;
  --mint: #34d399;
  --mint-deep: #12b981;
  --peach: #f4d4c0;
  --sky: #d7e2ff;
  --sage: #d2efdf;
  --line: rgba(30, 27, 75, 0.12);
  --shadow: 0 24px 60px rgba(30, 27, 75, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --site-width: min(1200px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.22), transparent 30%),
    linear-gradient(180deg, #edf0fb 0%, #eef2ff 52%, #ffffff 100%);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding-bottom: 40px;
}

.site-header,
.site-footer,
.hero,
.proof,
.use-cases,
.showcase,
.trust,
.cta {
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(67, 56, 202, 0.15);
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.section {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 18px;
}

.hero-copy {
  padding: 24px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 7.1rem);
  line-height: 0.93;
}

h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1;
}

.hero-text,
.section-heading p:last-child,
.use-case p,
.proof-card p,
.panel-copy p,
.trust-grid p,
.cta-text,
.form-note,
.form-status,
.footer-copy,
.legal-body p,
.legal-body li {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.6;
}

.hero-text {
  max-width: 34rem;
  margin: 20px 0 0;
}

.hero-pills,
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin: 24px 0 26px;
}

.hero-pills span,
.hero-chip-row span {
  padding: 10px 16px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 8px 10px 0 #000;
  border: 2px solid rgba(30, 27, 75, 0.96);
}

.waitlist-form {
  max-width: 620px;
}

.card-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.compact-form {
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.form-row {
  display: flex;
  gap: 12px;
}

.waitlist-form input {
  flex: 1;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(30, 27, 75, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
}

.waitlist-form input:focus,
.waitlist-form button:focus,
.header-nav a:focus {
  outline: 3px solid rgba(52, 211, 153, 0.7);
  outline-offset: 3px;
}

.waitlist-form button {
  min-height: 58px;
  padding: 0 24px;
  border: none;
  border-radius: 18px;
  background: var(--mint);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  background: #43ddb0;
}

.waitlist-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-note,
.form-status {
  margin: 10px 0 0;
}

.form-status[data-state="error"] {
  color: #a32036;
}

.form-status[data-state="success"] {
  color: #0f7e58;
}

.hero-visual {
  position: relative;
  min-height: 760px;
  padding: 48px 12px 12px;
}

.hero-slab {
  position: absolute;
  inset: 0 0 132px;
  border-radius: 44px;
  background: linear-gradient(180deg, var(--mint) 0%, #53dcb0 100%);
  box-shadow: var(--shadow);
}

.hero-image {
  position: relative;
  z-index: 2;
  width: min(100%, 510px);
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(30, 27, 75, 0.22));
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.proof,
.use-cases,
.trust {
  padding: 32px 0 4px;
}

.proof-grid,
.use-case-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.use-case,
.trust-grid article {
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(30, 27, 75, 0.08);
}

.proof-step {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--indigo);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.proof-card p,
.use-case p,
.trust-grid p {
  margin: 14px 0 0;
}

.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase {
  padding: 36px 0 8px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.showcase-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.mint-panel {
  background: linear-gradient(180deg, #d8fff0 0%, #f8fffc 100%);
}

.soft-panel {
  background: linear-gradient(180deg, #f7f6ff 0%, #ffffff 100%);
}

.dark-panel {
  color: #fff;
  background: linear-gradient(180deg, #2b2869 0%, #17143e 100%);
}

.peach-panel {
  background: linear-gradient(180deg, #ffe9d9 0%, #fff8f3 100%);
}

.panel-copy {
  padding: 28px 28px 14px;
}

.panel-copy p {
  margin: 12px 0 0;
}

.showcase-panel > picture img,
.dual-stack picture img {
  width: 100%;
  height: auto;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta {
  padding: 40px 0 12px;
}

.berlin-strip {
  padding: 32px 0 0;
}

.berlin-shell {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1f1b4f 0%, #342c84 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.berlin-shell .eyebrow {
  color: var(--mint);
}

.berlin-shell h2 {
  max-width: none;
}

.berlin-shell p:last-child {
  max-width: 42rem;
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.cta-shell {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--mint) 0%, #7ae8c5 100%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cta-shell h2 {
  max-width: 12ch;
}

.cta-text {
  margin: 16px 0 0;
  max-width: 32rem;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-copy {
  max-width: 28rem;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.footer-links a {
  text-decoration: none;
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  padding: 28px 0 14px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.legal-card {
  max-width: 840px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-body h1 {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.legal-body h2 {
  max-width: none;
  margin-top: 28px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.legal-body p,
.legal-body ul {
  margin: 14px 0 0;
}

.legal-body ul {
  padding-left: 22px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-slab {
    inset: 0;
  }

  .proof-grid,
  .showcase-grid,
  .trust-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100vw - 28px), 100%);
  }

  .site-header,
  .site-footer,
  .form-row,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .form-row {
    display: grid;
  }

  .hero-copy {
    padding-top: 0;
  }

  .card-form,
  .cta-shell,
  .proof-card,
  .use-case,
  .trust-grid article,
  .legal-card {
    padding: 22px;
  }

  .hero-visual {
    height: clamp(420px, 68vh, 560px);
    padding: 0;
    overflow: hidden;
    border-radius: 34px;
  }

  .hero-slab {
    inset: 0;
    border-radius: 34px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center top;
    filter: none;
  }

}

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

  .waitlist-form button {
    transition: none;
  }
}
