:root {
  --bg: #070f10;
  --bg-soft: #0f171a;
  --panel: rgba(255, 255, 255, 0.93);
  --panel-soft: rgba(240, 253, 248, 0.84);
  --ink: #0e1518;
  --ink-soft: #304348;
  --mint: #18c188;
  --mint-deep: #0e805b;
  --gold: #f5bc6a;
  --sunset: #ff7260;
  --line: rgba(16, 42, 38, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 28px 55px rgba(2, 12, 13, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  color: #eaf4f2;
  background: radial-gradient(circle at 12% 8%, #173137 0%, var(--bg) 44%, #040708 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.45;
}

.bg-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.42;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-a {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  left: -9rem;
  background: radial-gradient(circle, rgba(24, 193, 136, 0.95), rgba(24, 193, 136, 0));
}

.orb-b {
  width: 28rem;
  height: 28rem;
  top: 24%;
  right: -6rem;
  background: radial-gradient(circle, rgba(245, 188, 106, 0.9), rgba(245, 188, 106, 0));
  animation-delay: 2s;
}

.orb-c {
  width: 26rem;
  height: 26rem;
  bottom: -10rem;
  left: 38%;
  background: radial-gradient(circle, rgba(255, 114, 96, 0.82), rgba(255, 114, 96, 0));
  animation-delay: 4s;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.42px, transparent 0.42px);
  background-size: 3px 3px;
  opacity: 0.07;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(180, 214, 206, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 214, 206, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 88%);
  opacity: 0.14;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.08);
  }
}

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

p {
  margin: 0 0 0.8rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.58rem;
  font-family: "Fraunces", Georgia, serif;
  color: #f8fffc;
  line-height: 1.05;
}

.shell {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 24;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(190, 230, 223, 0.16);
  background: rgba(8, 16, 18, 0.62);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  color: #05100e;
  font-family: "Space Mono", monospace;
  font-size: 0.83rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.11);
}

.brand-text {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-header nav a {
  color: rgba(233, 252, 247, 0.8);
  font-size: 0.94rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-header nav a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.2rem;
  align-items: start;
  padding: 3.5rem 0 2rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.73rem;
  color: rgba(200, 255, 233, 0.9);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.75rem);
  max-width: 14ch;
  text-wrap: balance;
}

.hero-copy p,
.hero p {
  color: rgba(231, 247, 243, 0.84);
  max-width: 62ch;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1.2rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.74rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(130deg, var(--mint) 0%, #39d8a3 52%, #7cead6 100%);
  color: #06261f;
  box-shadow: 0 14px 28px rgba(23, 196, 141, 0.38);
}

.btn-secondary {
  color: #fef9e6;
  background: linear-gradient(130deg, rgba(247, 188, 100, 0.2), rgba(255, 114, 96, 0.2));
  box-shadow: inset 0 0 0 1px rgba(252, 220, 157, 0.45);
}

.stat-row {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-row article {
  border-radius: var(--radius-md);
  border: 1px solid rgba(209, 244, 234, 0.22);
  background: rgba(12, 26, 29, 0.54);
  padding: 0.8rem;
}

.stat-row span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  color: #d4fff1;
}

.stat-row p {
  margin: 0;
  color: rgba(220, 242, 236, 0.78);
  font-size: 0.81rem;
}

.hero-visual {
  position: sticky;
  top: 5.4rem;
}

.visual-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(203, 245, 235, 0.32);
  background: linear-gradient(165deg, rgba(16, 28, 32, 0.78), rgba(13, 18, 22, 0.9));
  box-shadow: 0 30px 55px rgba(1, 8, 9, 0.5);
}

.badge {
  display: inline-flex;
  font-family: "Space Mono", monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  margin-bottom: 0.58rem;
  color: #02281e;
  background: linear-gradient(120deg, #93fad6, #ffe4bc);
}

.visual-card h2 {
  font-size: 1.55rem;
  color: #f1fff9;
}

.bar-stack {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.bar-stack div {
  display: grid;
  grid-template-columns: 8.1rem 1fr;
  align-items: center;
  gap: 0.65rem;
}

.bar-stack label {
  color: rgba(221, 250, 242, 0.86);
  font-size: 0.85rem;
}

.bar-stack span {
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #32d9a1, #f4ba67);
  width: var(--w);
  box-shadow: 0 0 22px rgba(50, 217, 161, 0.34);
  animation: stretch 1s ease both;
}

@keyframes stretch {
  from {
    width: 0;
  }
}

.visual-metrics {
  display: grid;
  gap: 0.55rem;
}

.visual-metrics p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  color: rgba(238, 250, 247, 0.82);
  font-size: 0.9rem;
}

.visual-metrics strong {
  color: rgba(217, 245, 237, 0.9);
  font-weight: 600;
}

.feature-band {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-band article {
  border-radius: var(--radius-md);
  padding: 0.95rem;
  border: 1px solid rgba(207, 242, 234, 0.21);
  background: rgba(11, 24, 26, 0.58);
}

.feature-band h3 {
  font-size: 1.1rem;
}

.feature-band p {
  margin: 0;
  color: rgba(220, 243, 236, 0.77);
  font-size: 0.9rem;
}

.section {
  padding: 2.35rem 0;
}

.section-head {
  margin-bottom: 0.95rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}

.section-head p {
  color: rgba(232, 248, 243, 0.82);
  max-width: 72ch;
}

.planner-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.panel {
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel.soft {
  background: var(--panel-soft);
}

.panel h3,
.panel h4,
.panel h2 {
  color: #0d1a1d;
}

.planner-panel {
  position: relative;
  overflow: hidden;
}

.planner-panel::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  top: -6rem;
  right: -5rem;
  background: radial-gradient(circle, rgba(24, 193, 136, 0.22), rgba(24, 193, 136, 0));
}

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

.planner-form label,
.waitlist-form label {
  display: grid;
  gap: 0.36rem;
  font-size: 0.91rem;
  color: #0f2225;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  border: 1px solid rgba(15, 47, 40, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.93);
  color: #102427;
  font: inherit;
  padding: 0.64rem 0.72rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(24, 193, 136, 0.34);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

.store-set {
  border: 1px dashed rgba(18, 63, 53, 0.34);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.store-set legend {
  font-size: 0.82rem;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #275248;
}

.store-set label,
.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.result-panel {
  min-height: 230px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66rem;
  margin: 0.84rem 0;
}

.metric {
  background: rgba(251, 255, 253, 0.95);
  border: 1px solid rgba(16, 42, 36, 0.17);
  border-radius: 11px;
  padding: 0.63rem;
}

.metric h4 {
  margin: 0;
  font-size: 0.76rem;
  color: #3d5955;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.metric p {
  margin: 0.2rem 0 0;
  color: #0f2528;
  font-size: 1.02rem;
  font-weight: 800;
}

.rollup-grid {
  margin: 0.72rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.rollup {
  border: 1px solid rgba(17, 52, 43, 0.18);
  background: rgba(243, 255, 250, 0.95);
  border-radius: 11px;
  padding: 0.7rem;
}

.rollup h4 {
  margin: 0;
  font-size: 1rem;
}

.rollup .meta {
  margin: 0.14rem 0;
  color: #2f4e49;
  font-size: 0.84rem;
}

.rollup a {
  color: #0b7d59;
  font-weight: 700;
  font-size: 0.87rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 0.85rem;
  font-size: 0.88rem;
}

.cart-table th,
.cart-table td {
  border-bottom: 1px solid rgba(12, 39, 33, 0.14);
  text-align: left;
  padding: 0.42rem;
}

.cart-table th {
  color: #385450;
  font-size: 0.75rem;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cart-table tbody tr:hover {
  background: rgba(19, 173, 122, 0.07);
}

.list-block {
  margin: 0.65rem 0;
  padding-left: 1rem;
}

.list-block li {
  margin-bottom: 0.42rem;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.model-grid ul {
  margin: 0.5rem 0 0;
  padding-left: 1.04rem;
}

.model-grid li {
  margin-bottom: 0.45rem;
  color: #1b3834;
}

.inline-status,
.muted {
  color: #45625d;
}

.site-footer {
  border-top: 1px solid rgba(191, 235, 223, 0.2);
  margin-top: 1.95rem;
  padding: 1rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(227, 246, 240, 0.83);
}

.footer-links {
  display: flex;
  gap: 0.74rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: transform 640ms cubic-bezier(0.17, 0.77, 0.23, 1), opacity 540ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1050px) {
  .hero,
  .feature-band,
  .planner-layout,
  .model-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    top: 0;
  }

  .visual-card {
    margin-top: 0.6rem;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 2.8rem;
  }

  .hero h1 {
    max-width: 100%;
  }

  .bar-stack div {
    grid-template-columns: 1fr;
  }
}
