:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --surface-tint: #eaf5ff;
  --text: #101926;
  --muted: #627183;
  --border: rgba(16, 25, 38, 0.12);
  --accent: #25b7e7;
  --accent-soft: rgba(37, 183, 231, 0.12);
  --accent-dark: #1aa6d6;
  --shadow: 0 16px 40px rgba(16, 25, 38, 0.08);
  --max: 1120px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 183, 231, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(108, 123, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}

.nav,
.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 68px;
  height: 32px;
  color: var(--accent);
}

.brand span:last-child,
.footer-brand span {
  font-size: 1.02rem;
}

.join-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 183, 231, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 251, 1));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 183, 231, 0.22) 0%, rgba(37, 183, 231, 0.14) 24%, rgba(37, 183, 231, 0.06) 46%, transparent 72%),
    radial-gradient(circle at 12% 8%, rgba(108, 123, 255, 0.12) 0%, rgba(108, 123, 255, 0.06) 22%, transparent 60%);
  filter: blur(6px);
  opacity: 0.95;
}

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

.hero-inner,
.steps-section,
.technique-section,
.features-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 138px 0 84px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 33rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-signup {
  margin-top: 34px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  max-width: 31rem;
}

.waitlist-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font: inherit;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.waitlist-form input:focus {
  border-color: rgba(37, 183, 231, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 183, 231, 0.12);
}

.waitlist-form button {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 183, 231, 0.22);
}

.hero-signup p,
.note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.breath-diagram {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}

.breath-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: center;
  will-change: transform, opacity;
}

.breath-circle-outer {
  inset: 0;
  background: rgba(37, 183, 231, 0.18);
  animation: outerBreath 12s ease-in-out infinite;
}

.breath-circle-mid {
  inset: 12%;
  background: rgba(37, 183, 231, 0.26);
  animation: midBreath 12s ease-in-out infinite;
}

.breath-circle-ring {
  inset: 24%;
  border: 6px solid rgba(37, 183, 231, 0.54);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  animation: ringBreath 12s ease-in-out infinite;
}

.breath-circle-core {
  inset: 40%;
  background: var(--accent);
  animation: coreBreath 12s ease-in-out infinite;
}

.steps-section,
.technique-section,
.features-section {
  padding: 96px 0 0;
}

.section-head h2 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card,
.technique-card,
.feature-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.step-card {
  padding: 26px;
}

.step-index {
  display: block;
  color: var(--accent);
  font-size: 1.65rem;
  font-weight: 700;
}

.step-card h3,
.technique-card h3,
.feature-item h3 {
  margin: 14px 0 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.step-card p,
.technique-card p,
.feature-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.technique-card {
  padding: 18px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.technique-card:hover {
  border-color: rgba(37, 183, 231, 0.7);
  transform: translateY(-1px);
}

.features-section {
  padding-bottom: 96px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px;
  background: #fff;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

.site-footer {
  background: var(--accent);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-copy {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.footer-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

@keyframes outerBreath {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  33% {
    transform: scale(1.12);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }

  92% {
    transform: scale(0.95);
    opacity: 0.35;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes midBreath {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  33% {
    transform: scale(1.14);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.14);
    opacity: 0.85;
  }

  92% {
    transform: scale(0.94);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

@keyframes ringBreath {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  33% {
    transform: scale(1.18);
    opacity: 1;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }

  92% {
    transform: scale(0.92);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

@keyframes coreBreath {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }

  33% {
    transform: scale(1.22);
    opacity: 1;
  }

  50% {
    transform: scale(1.22);
    opacity: 1;
  }

  92% {
    transform: scale(0.88);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 0.85;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .step-grid,
  .technique-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 120px;
    gap: 30px;
  }

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

  .hero-copy p {
    max-width: 38rem;
  }

  .hero-art {
    min-height: 460px;
  }

  .breath-diagram {
    width: min(100%, 340px);
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .steps-section,
  .technique-section,
  .features-section,
  .footer-inner {
    width: min(calc(100% - 22px), var(--max));
  }

  .nav {
    padding-top: 16px;
  }

  .join-link {
    padding-inline: 14px;
  }

  .hero-inner {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .waitlist-form button {
    width: 100%;
  }

  .hero-art {
    min-height: 360px;
  }

  .breath-diagram {
    width: min(100%, 300px);
  }

  .section-head h2 {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
