:root {
  --teal: #00A1A8;
  --teal-deep: #006064;
  --blue: #1F5BFF;
  --pink: #FF729F;
  --ink: #000000;
  --body: #1F1F1F;
  --surface: #F3F3F3;
  --bg: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font: 'TildaSans', Inter, 'SF Pro Text', 'Helvetica Neue', Arial, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 91, 255, 0.25);
  transition: color 180ms ease, border-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.topbar {
  padding: 28px 0 0;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  height: 44px;
  width: auto;
  display: block;
}

.booth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-deep);
  background: rgba(0, 161, 168, 0.10);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.booth-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
}

/* Hero */
.hero {
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(255, 114, 159, 0.18), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 320px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at center, rgba(0, 161, 168, 0.14), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.eyebrow .to {
  color: var(--body);
  font-weight: 400;
  letter-spacing: 0.06em;
}

h1 {
  font-size: clamp(32px, 5.2vw, 52px);
  max-width: 820px;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  max-width: 680px;
  color: #3a3a3a;
}

.signed {
  margin-top: 28px;
  font-size: 15px;
  color: #555;
}

/* Body copy */
.pitch {
  padding: 32px 0 8px;
}

.pitch h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 44px 0 14px;
  color: var(--teal-deep);
}

.pitch h2:first-child {
  margin-top: 0;
}

.pitch p {
  margin: 0 0 18px;
  max-width: 720px;
}

.callout {
  margin: 40px 0;
  padding: 28px 28px 26px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal);
}

.callout p {
  margin-bottom: 12px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 32px;
}

.layer-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-subtle);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.layer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.layer-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.layer-card.code .layer-tag { background: var(--teal-deep); }
.layer-card.rules .layer-tag { background: var(--blue); }
.layer-card.ai .layer-tag { background: var(--pink); color: #3a0012; }

.layer-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.layer-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* CTA */
.cta {
  margin: 56px 0 24px;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #00A1A8 0%, #006064 100%);
  color: #fff;
  box-shadow: var(--shadow-medium);
}

.cta h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 10px;
  max-width: 560px;
}

.cta p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 22px;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  letter-spacing: 0.005em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  color: var(--teal-deep);
  border-bottom: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.cta-meta {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-meta a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.cta-meta a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Reference list */
.references {
  margin: 40px 0 8px;
  padding-top: 28px;
  border-top: 1px solid #eaeaea;
}

.references h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}

.references ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.references li {
  font-size: 15px;
  color: #444;
}

.references .ref-label {
  font-weight: 600;
  color: var(--body);
}

/* Footer */
footer {
  margin-top: 64px;
  padding: 28px 0 48px;
  border-top: 1px solid #eaeaea;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 13px;
  color: #888;
}

.footer-note a {
  color: #666;
  border-bottom-color: rgba(0, 0, 0, 0.15);
}

.footer-note a:hover {
  color: var(--teal-deep);
}

.footer-prepared {
  font-size: 13px;
  color: #888;
}

/* Focus and motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .topbar {
    padding: 22px 0 0;
  }
  .topbar .wrap {
    flex-direction: row;
    align-items: center;
  }
  .brand-lockup img {
    height: 36px;
  }
  .booth-chip {
    font-size: 12px;
    padding: 6px 10px;
  }
  .hero {
    padding: 48px 0 16px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .layer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cta {
    padding: 32px 22px;
  }
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 20px;
  }
  h1 {
    font-size: 30px;
  }
}
