:root {
  --bg-0: #f8e9c7;
  --bg-1: #f2cf9f;
  --bg-2: #16393b;
  --ink: #132b31;
  --ink-soft: rgba(19, 43, 49, 0.8);
  --panel: rgba(255, 250, 238, 0.82);
  --panel-edge: rgba(19, 43, 49, 0.15);
  --accent: #d64f2f;
  --accent-deep: #8f2813;
  --mint: #255f5b;
}

:root[data-theme="dark"] {
  --bg-0: #122122;
  --bg-1: #0f191b;
  --bg-2: #081012;
  --ink: #e8ddd0;
  --ink-soft: rgba(232, 221, 208, 0.82);
  --panel: rgba(16, 27, 29, 0.84);
  --panel-edge: rgba(232, 221, 208, 0.16);
  --accent: #f06a4a;
  --accent-deep: #ba3f24;
  --mint: #41a59d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 720px at 8% 8%, rgba(255, 217, 149, 0.6), transparent 56%),
    radial-gradient(900px 620px at 88% 74%, rgba(54, 114, 110, 0.44), transparent 65%),
    linear-gradient(150deg, var(--bg-0), var(--bg-1) 50%, #e9bd81 100%);
}

.welcome-page {
  min-height: 100vh;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.motif-layer {
  position: absolute;
  inset: -10% -5% auto auto;
  width: min(50vw, 620px);
  height: min(50vw, 620px);
  opacity: 0.18;
  pointer-events: none;
  background:
    linear-gradient(45deg, rgba(19, 43, 49, 0.2) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(19, 43, 49, 0.2) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(19, 43, 49, 0.2) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(19, 43, 49, 0.2) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 0 22px, 22px -22px, -22px 0;
  border-radius: 30px;
  transform: rotate(-8deg);
  animation: motifDrift 18s linear infinite;
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: radial-gradient(rgba(17, 36, 38, 0.26) 0.42px, transparent 0.42px);
  background-size: 3px 3px;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  width: min(45vw, 500px);
  height: min(45vw, 500px);
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.42;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-left {
  top: -14%;
  left: -10%;
  background: rgba(214, 79, 47, 0.46);
}

.orb-right {
  right: -10%;
  bottom: -16%;
  background: rgba(37, 95, 91, 0.48);
  animation-delay: -4s;
}

.chrome-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.2rem 0.2rem;
}

.brand {
  margin: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(19, 43, 49, 0.78);
}

.mini-link {
  color: rgba(19, 43, 49, 0.76);
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  text-decoration: none;
}

.chrome-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  border: 1px solid rgba(19, 43, 49, 0.22);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(19, 43, 49, 0.82);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(1.2rem, 2.9vw, 2.4rem);
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  box-shadow:
    0 20px 60px rgba(16, 35, 38, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  animation: cardIn 620ms cubic-bezier(0.18, 0.9, 0.22, 1);
}

.eyebrow {
  margin: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(19, 43, 49, 0.68);
}

.variant-switch {
  margin-top: 0.75rem;
  display: inline-flex;
  gap: 0.36rem;
  flex-wrap: wrap;
}

.variant-btn {
  border: 1px solid rgba(19, 43, 49, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(19, 43, 49, 0.8);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
  cursor: pointer;
}

.variant-btn.is-active {
  background: rgba(214, 79, 47, 0.17);
  border-color: rgba(214, 79, 47, 0.5);
  color: rgba(90, 28, 15, 0.96);
}

h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.15rem, 5.2vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 15ch;
}

.lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.95vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 64ch;
}

.hero-metrics {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 128px;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(19, 43, 49, 0.15);
}

.metric-value {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(19, 43, 49, 0.68);
  font-family: "Space Mono", monospace;
}

.pill-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.status-pill {
  font-family: "Space Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 43, 49, 0.17);
  background: rgba(255, 255, 255, 0.66);
}

.action-row {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.cta {
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta-primary {
  color: #fffaf2;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: 0 11px 26px rgba(174, 58, 32, 0.36);
}

.cta-ghost {
  color: var(--ink);
  border: 1px solid rgba(19, 43, 49, 0.2);
  background: rgba(255, 252, 245, 0.68);
}

.grid-block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.info-card {
  background: rgba(255, 251, 242, 0.76);
  border: 1px solid rgba(19, 43, 49, 0.14);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(19, 43, 49, 0.07);
}

.info-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.info-card p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.96rem;
}

.tape {
  position: relative;
  z-index: 1;
  margin-top: 0.1rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(19, 43, 49, 0.18);
  background: linear-gradient(90deg, rgba(19, 43, 49, 0.9), rgba(37, 95, 91, 0.84));
}

.tape p {
  margin: 0;
  color: #fff3de;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
  padding: 0.72rem 1rem;
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.trust-strip p {
  margin: 0;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 251, 242, 0.65);
  border: 1px solid rgba(19, 43, 49, 0.13);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Space Mono", monospace;
  color: rgba(19, 43, 49, 0.74);
}

.roadmap {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 1.15rem;
  border: 1px solid rgba(19, 43, 49, 0.14);
  background: rgba(19, 43, 49, 0.88);
  color: #f9f2e6;
}

.roadmap h2 {
  margin: 0;
  font-size: 1.25rem;
}

.roadmap ol {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.roadmap li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.roadmap li p {
  margin: 0;
  font-size: 0.96rem;
}

.step-tag {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffe7bf;
  background: rgba(214, 79, 47, 0.28);
  border: 1px solid rgba(255, 222, 168, 0.34);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}

.split-block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.panel {
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(19, 43, 49, 0.14);
}

.panel h2 {
  margin: 0;
  font-size: 1.06rem;
}

.panel ul {
  margin: 0.72rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.panel li {
  line-height: 1.45;
}

.panel-dark {
  background: rgba(255, 252, 246, 0.7);
}

.panel-accent {
  background: linear-gradient(150deg, rgba(214, 79, 47, 0.18), rgba(255, 252, 246, 0.82));
}

.waitlist {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 1.1rem;
  border: 1px solid rgba(19, 43, 49, 0.14);
  background: rgba(255, 252, 246, 0.72);
}

.waitlist h2 {
  margin: 0;
  font-size: 1.28rem;
}

.waitlist p {
  margin: 0.62rem 0 0;
  color: var(--ink-soft);
}

.waitlist-form {
  margin-top: 0.86rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.64rem;
}

.waitlist-form label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.79rem;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(19, 43, 49, 0.74);
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(19, 43, 49, 0.2);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.58rem 0.62rem;
  font-size: 0.95rem;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--ink);
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 2px solid rgba(214, 79, 47, 0.28);
  outline-offset: 1px;
}

.waitlist-cta {
  margin-top: 0.92rem;
  display: inline-flex;
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: rgba(19, 43, 49, 0.7);
}

.form-status {
  margin-top: 0.62rem;
  min-height: 1.05rem;
  font-size: 0.84rem;
  color: rgba(143, 40, 19, 0.9);
}

.email-fallback {
  margin-top: 0.58rem;
  display: flex;
  gap: 0.52rem;
  flex-wrap: wrap;
}

.email-fallback .cta {
  padding: 0.56rem 0.85rem;
  font-size: 0.88rem;
}

.faq {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(19, 43, 49, 0.13);
  background: rgba(255, 251, 242, 0.68);
}

.faq h2 {
  margin: 0;
  font-size: 1.16rem;
}

.faq details {
  margin-top: 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(19, 43, 49, 0.12);
  background: rgba(255, 255, 255, 0.62);
  padding: 0.6rem 0.72rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.launch-log {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(19, 43, 49, 0.12);
  background: rgba(19, 43, 49, 0.82);
  color: #f9f2e6;
}

.launch-log h2 {
  margin: 0;
  font-size: 1.16rem;
}

.launch-log ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.launch-log li {
  line-height: 1.45;
  color: rgba(249, 242, 230, 0.94);
}

.launch-log time {
  font-family: "Space Mono", monospace;
  color: #ffd599;
  margin-right: 0.35rem;
}

.site-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.3rem 0.1rem 0.9rem;
}

.site-foot p {
  margin: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(19, 43, 49, 0.73);
}

.site-foot a {
  color: rgba(19, 43, 49, 0.84);
  text-decoration: none;
  font-size: 0.84rem;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(1200px 720px at 8% 8%, rgba(78, 49, 36, 0.42), transparent 56%),
    radial-gradient(900px 620px at 88% 74%, rgba(28, 88, 84, 0.36), transparent 65%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2) 100%);
}

:root[data-theme="dark"] .status-pill,
:root[data-theme="dark"] .variant-btn,
:root[data-theme="dark"] .info-card,
:root[data-theme="dark"] .panel-dark,
:root[data-theme="dark"] .waitlist,
:root[data-theme="dark"] .faq,
:root[data-theme="dark"] .trust-strip p,
:root[data-theme="dark"] .hero-metrics li,
:root[data-theme="dark"] .faq details {
  background: rgba(12, 23, 24, 0.66);
  border-color: rgba(232, 221, 208, 0.18);
}

:root[data-theme="dark"] .cta-ghost,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .waitlist-form input,
:root[data-theme="dark"] .waitlist-form select {
  background: rgba(9, 18, 20, 0.82);
  border-color: rgba(232, 221, 208, 0.2);
  color: var(--ink);
}

:root[data-theme="dark"] .roadmap,
:root[data-theme="dark"] .launch-log {
  background: rgba(6, 14, 16, 0.9);
}

:root[data-theme="dark"] .foot-links a,
:root[data-theme="dark"] .site-foot a,
:root[data-theme="dark"] .mini-link,
:root[data-theme="dark"] .brand {
  color: rgba(232, 221, 208, 0.86);
}

@keyframes cardIn {
  from {
    transform: translateY(20px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-16px) translateX(9px);
  }
}

@keyframes motifDrift {
  0% {
    transform: rotate(-8deg) translateX(0);
  }
  50% {
    transform: rotate(-6deg) translateX(-12px);
  }
  100% {
    transform: rotate(-8deg) translateX(0);
  }
}

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .split-block {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .welcome-page {
    padding: 1rem;
  }

  .hero {
    border-radius: 22px;
  }

  .chrome-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .chrome-actions {
    width: 100%;
    justify-content: space-between;
  }

  .roadmap {
    border-radius: 18px;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .site-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-links {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
}
