:root {
  --navy: #1b2a4a;
  --navy-light: #2a3f6b;
  --gold: #c8a96e;
  --cream: #faf7f2;
  --cream-dark: #eee6db;
  --paper: rgba(255, 255, 255, 0.88);
  --charcoal: #2d2d2d;
  --muted: #6e655d;
  --line: rgba(27, 42, 74, 0.1);
  --shadow: 0 18px 55px rgba(27, 42, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(27, 42, 74, 0.08), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  color: var(--cream);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(27, 42, 74, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--navy);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 13px;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a,
.text-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.page {
  display: grid;
  gap: 24px;
}

.hero,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: 32px;
  padding: 56px;
  align-items: center;
}

.panel {
  padding: 36px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Georgia", "Times New Roman", serif;
}

h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lede,
.card p,
.stack-list li,
.product-column p,
.footnote,
label {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.lede {
  max-width: 680px;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--navy);
  color: white;
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.hero-points {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: min(100%, 360px);
  padding: 18px;
  border-radius: 38px;
  background: linear-gradient(180deg, #10203d 0%, #1b2a4a 100%);
  box-shadow: 0 28px 48px rgba(27, 42, 74, 0.24);
}

.device-topline {
  width: 96px;
  height: 8px;
  margin: 2px auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.device-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 22px;
  background: white;
}

.device-card h3 {
  font-size: 20px;
}

.device-card p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.device-card-hero {
  background:
    linear-gradient(180deg, rgba(200, 169, 110, 0.26), rgba(200, 169, 110, 0.08)),
    white;
}

.device-avatar {
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 24px;
  background: linear-gradient(145deg, #dbbf9d, #eadcc7);
}

.device-line {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #efe7dd;
}

.device-line.wide {
  width: 92%;
}

.device-line.medium {
  width: 64%;
}

.device-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fbf1e5;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.device-meter {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: #ede4da;
  overflow: hidden;
}

.device-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #dfc18e);
}

.device-footer {
  display: flex;
  justify-content: space-around;
  padding: 8px 16px 0;
}

.device-footer span {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.device-footer span.active {
  background: var(--gold);
}

.panel-header {
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.card,
.product-column {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 16px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, 0.12), transparent 52%),
    white;
}

.stack-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.accent-column {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, 0.14), transparent 54%),
    white;
}

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

.waitlist-form button,
.footnote {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  margin-top: 8px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--charcoal);
  font-size: 16px;
}

button[disabled] {
  opacity: 0.7;
  cursor: default;
}

.footnote {
  margin-top: 14px;
}

.feedback-error {
  color: #9b2f2f;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: var(--navy);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 320px;
}

.footer-mark {
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.legal-panel {
  max-width: 860px;
}

.legal-title {
  margin-bottom: 18px;
}

.legal-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-copy a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero,
  .product-grid,
  .three-up,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 24px;
  }

  .panel {
    padding: 24px;
  }

  .hero-device {
    order: -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 18px, 1180px);
    padding-top: 10px;
  }

  .topbar,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .topnav {
    gap: 12px;
  }

  .site-footer {
    flex-direction: column;
  }

  .waitlist-form {
    display: grid;
  }
}
