@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}

/* Layout: brand mark top-left, statement and the three levels on the left, a large pillar meter filling block by block on the right; stacks on phones. Single dark brand theme (Teal Sunrise). */
:root {
  --teal-950: #0b2f31;
  --teal-900: #103a3d;
  --teal-800: #17494c;
  --line: #2a5c5f;
  --white: #ffffff;
  --mist: #a9c4c2;
  --sunrise: #ffc93c;
  --ember: #ff8a4c;
  --coral: #ff5a6e;
  --sunrise-dim: #58653d;
  --ember-dim: #585241;
  --coral-dim: #58444c;
  --font: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--teal-900);
  color: var(--white);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-block: 32px 28px;
  display: flex;
  flex-direction: column;
}
.page {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Logo, as on the design canvas: three equal bars with tracked labels */
.logo {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.logo__bars {
  display: flex;
  gap: 5px;
}
.logo__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.logo__bar span {
  width: 15px;
  height: 44px;
  border-radius: 5px;
  display: block;
}
.logo__bar small {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo__words {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
}
.logo__name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sunrise);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--sunrise);
}
.lead {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  color: var(--mist);
}
.lead strong {
  color: var(--white);
  font-weight: 600;
}

.levels {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.levels li {
  padding: 14px 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.levels b {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.levels span {
  font-size: 13px;
  color: var(--mist);
}

.when {
  margin: 0;
  font-size: 15px;
  color: var(--mist);
}
.when b {
  color: var(--white);
  font-weight: 600;
}

/* Pillar meter: Mind, Body, Fuel, three segments each, filling from the bottom */
.meter-wrap {
  display: flex;
  justify-content: center;
}
.meter {
  display: flex;
  gap: clamp(14px, 3vw, 26px);
  align-items: flex-end;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pillar__segs {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}
.seg {
  width: clamp(56px, 8vw, 84px);
  height: clamp(64px, 9vw, 96px);
  border-radius: 18px;
  background: var(--dim);
  position: relative;
  overflow: hidden;
}
.seg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fill);
  transform: scaleY(1);
  transform-origin: bottom;
}
.pillar--mind {
  --fill: var(--sunrise);
  --dim: var(--sunrise-dim);
}
.pillar--body {
  --fill: var(--ember);
  --dim: var(--ember-dim);
}
.pillar--fuel {
  --fill: var(--coral);
  --dim: var(--coral-dim);
}
.pillar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

@media (prefers-reduced-motion: no-preference) {
  .seg::after {
    animation: fill 9s ease-in-out infinite;
  }
  /* Blocks fill in Mind, Body, Fuel order, one level at a time: a 3:30 day */
  .pillar--mind .seg:nth-child(1)::after {
    animation-delay: 0s;
  }
  .pillar--body .seg:nth-child(1)::after {
    animation-delay: 0.35s;
  }
  .pillar--fuel .seg:nth-child(1)::after {
    animation-delay: 0.7s;
  }
  .pillar--mind .seg:nth-child(2)::after {
    animation-delay: 1.05s;
  }
  .pillar--body .seg:nth-child(2)::after {
    animation-delay: 1.4s;
  }
  .pillar--fuel .seg:nth-child(2)::after {
    animation-delay: 1.75s;
  }
  .pillar--mind .seg:nth-child(3)::after {
    animation-delay: 2.1s;
  }
  .pillar--body .seg:nth-child(3)::after {
    animation-delay: 2.45s;
  }
  .pillar--fuel .seg:nth-child(3)::after {
    animation-delay: 2.8s;
  }
  @keyframes fill {
    0%,
    4% {
      transform: scaleY(0);
    }
    12%,
    88% {
      transform: scaleY(1);
    }
    96%,
    100% {
      transform: scaleY(0);
    }
  }
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist);
}
footer {
  align-items: center;
}
footer p {
  margin: 0;
}
.social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.social a:hover {
  border-color: var(--sunrise);
}
.social a:focus-visible {
  outline: 2px solid var(--sunrise);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  body {
    padding-block: 24px 20px;
  }
  .page {
    gap: 36px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .meter-wrap {
    justify-content: flex-start;
    order: -1;
  }
  .seg {
    width: 52px;
    height: 48px;
    border-radius: 14px;
  }
  .pillar__segs {
    gap: 6px;
  }
}

.bar-mind {
  background: var(--sunrise);
}
.bar-body {
  background: var(--ember);
}
.bar-fuel {
  background: var(--coral);
}
body {
  padding-top: max(32px, env(safe-area-inset-top, 0px));
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
}

/* Interest list form (owner, Nov 2026) */
.interest {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 460px;
}
.interest__label {
  font-weight: 600;
}
.interest__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.interest__row input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--white);
  font: inherit;
}
.interest__row input::placeholder {
  color: var(--mist);
}
.interest button {
  align-self: flex-start;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--sunrise);
  color: var(--teal-900);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.interest button:disabled {
  opacity: 0.6;
  cursor: default;
}
.interest input:focus-visible,
.interest button:focus-visible,
.interest__tick input:focus-visible {
  outline: 3px solid var(--sunrise);
  outline-offset: 2px;
}
.interest__small {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}
.interest__status {
  margin: 0;
  min-height: 1.4em;
  font-size: 15px;
}
.interest__status.is-error {
  color: var(--coral);
}
.interest__tick {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.interest__tick input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--sunrise);
}
