:root {
  --brand-sky: #20c5f5;
  --sky-mid: #8cb4f1;
  --sky-pale: #e8f3fb;
  --ink: #2a3a44;
  --muted: #6b7b8a;
  --title-white: #f0f8ff;
  --frost: rgba(255, 255, 255, 0.85);
  --line: rgba(42, 58, 68, 0.14);
  --shadow: rgba(69, 115, 165, 0.14);
  --action-yellow: #ffd040;
  --paper: #fbfeff;
  --footer-paper: #fffef2;
  --focus: #2a8aa8;
  color-scheme: light;
  font-family: "Crunchi Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Crunchi Inter";
  src: url("/assets/fonts/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Crunchi Inter";
  src: url("/assets/fonts/inter-italic-variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Recoleta Crunchi";
  src: url("/assets/fonts/recoleta-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:not(.home-page) {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body:not(.home-page) .legal-shell {
  width: 100%;
  flex: 1;
}

button,
input {
  font: inherit;
}

a {
  color: var(--ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--focus);
}

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

.home-page {
  background:
    linear-gradient(
      180deg,
      var(--brand-sky) 0%,
      #2abbf2 10%,
      #4a8aeb 22%,
      #6b9fee 38%,
      var(--sky-mid) 54%,
      #a8c7f3 68%,
      #c0d8f5 80%,
      #d5e7f8 92%,
      var(--sky-pale) 100%
    );
}

.home-shell {
  position: relative;
  display: grid;
  min-height: 82svh;
  place-items: center;
  overflow: hidden;
  padding: 1.75rem;
}

.home-card {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  text-align: center;
}

.app-wordmark {
  --rainbow-width: min(62vw, 20.75rem);
  --wordmark-width: calc(var(--rainbow-width) * 300 / 230);
  --wordmark-size: calc(var(--wordmark-width) * 88 / 300);
  --wordmark-gap: calc(var(--rainbow-width) * 6 / 230);
  display: flex;
  align-items: center;
  flex-direction: column;
  width: var(--wordmark-width);
  margin: 0 auto;
}

.rainbow-stack {
  position: relative;
  z-index: 1;
  width: var(--rainbow-width);
  aspect-ratio: 1928 / 989;
  filter: drop-shadow(0 1.25rem 2rem var(--shadow));
}

.rainbow-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wordmark-text {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: var(--wordmark-gap) 0 0;
  color: var(--title-white);
  font-family: "Recoleta Crunchi", Georgia, serif;
  font-size: var(--wordmark-size);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0.18rem 0.35rem rgba(42, 58, 68, 0.16);
}

.tagline {
  display: grid;
  gap: 0.25rem;
  margin: 2.25rem auto 0;
  color: white;
  font-family: "Crunchi Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.35vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.18;
  text-shadow: 0 0.12rem 0.35rem rgba(42, 58, 68, 0.14);
  text-transform: uppercase;
}

.tagline-accent {
  display: inline-block;
  animation: welcome-color-cycle 22.4s linear infinite;
  color: #ffd13f;
}

@keyframes welcome-color-cycle {
  0% {
    color: #ffd13f;
  }

  12.5% {
    color: #e8744f;
  }

  25% {
    color: #fcb812;
  }

  37.5% {
    color: #6bde7d;
  }

  50% {
    color: #7a57f5;
  }

  62.5% {
    color: #ffb5c2;
  }

  75% {
    color: #fa8073;
  }

  87.5% {
    color: #c75c9c;
  }

  100% {
    color: #ffd13f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tagline-accent {
    animation: none;
    color: #6bde7d;
  }
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 8vw, 5.5rem);
  font-weight: 750;
  line-height: 1;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  width: min(100%, 22.5rem);
  margin: 2.25rem auto 0;
}

.waitlist-form input[type="email"] {
  min-width: 0;
  height: 3.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  outline: none;
  background: var(--frost);
  box-shadow: 0 0.5rem 1rem rgba(69, 115, 165, 0.08);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  padding: 0 1.45rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(42, 58, 68, 0.55);
}

.waitlist-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 208, 64, 0.24),
    0 0.8rem 1.4rem rgba(69, 115, 165, 0.12);
}

.waitlist-form button {
  min-height: 3.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--action-yellow);
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.waitlist-form button:hover {
  background: #ffe06f;
  box-shadow: 0 0.9rem 1.8rem rgba(69, 115, 165, 0.16);
  transform: translateY(-1px);
}

.cloud {
  position: absolute;
  width: min(28vw, 14rem);
  opacity: 0.72;
  pointer-events: none;
  filter: drop-shadow(0 1rem 1.6rem rgba(69, 115, 165, 0.08));
  animation: float-cloud 11s ease-in-out infinite;
}

.cloud-a {
  top: 8vh;
  left: -7rem;
}

.cloud-b {
  right: -8rem;
  bottom: 18vh;
  width: min(32vw, 16rem);
  animation-delay: -4s;
}

.cloud-c {
  top: 5%;
  right: -9rem;
  width: min(24vw, 12.5rem);
  opacity: 0.5;
  animation-delay: -7s;
}

.cloud-d {
  top: 38%;
  left: -8.5rem;
  width: min(23vw, 12rem);
  opacity: 0.45;
  animation-delay: -2s;
}

.cloud-e {
  right: -7rem;
  bottom: 12%;
  width: min(25vw, 13rem);
  opacity: 0.42;
  animation-delay: -9s;
}

@keyframes float-cloud {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(1.1rem, -0.7rem, 0);
  }
}

.feature-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(5.5rem, 9vw, 8.5rem);
  justify-items: center;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4.5rem) clamp(5rem, 9vw, 8rem);
}

.feature-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.75rem, 7vw, 7rem);
  width: 100%;
  max-width: 72rem;
  min-width: 0;
  margin: 0 auto;
}

.feature-section-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.feature-section-reverse .feature-copy {
  grid-column: 2;
}

.feature-section-reverse .feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy {
  max-width: 32rem;
  min-width: 0;
}

.feature-copy h2 {
  margin: 0;
  color: var(--title-white);
  font-family: "Recoleta Crunchi", Georgia, serif;
  font-size: clamp(2.15rem, 4.2vw, 3.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
  text-shadow: 0 0.18rem 0.35rem rgba(42, 58, 68, 0.14);
  overflow-wrap: normal;
}

.feature-copy p {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 0.12rem 0.3rem rgba(42, 58, 68, 0.11);
}

.feature-visual {
  display: grid;
  min-width: 0;
  place-items: center;
  perspective: 75rem;
}

.phone-mockup {
  position: relative;
  width: min(36vw, 18.75rem);
  aspect-ratio: 390 / 844;
  border: 0.7rem solid #141a21;
  border-radius: 2.75rem;
  background: #141a21;
  box-shadow:
    0 2.2rem 4rem rgba(42, 58, 68, 0.2),
    0 0.65rem 1.6rem rgba(42, 58, 68, 0.15);
  transform: rotateX(5deg) rotateY(-14deg) rotateZ(2deg);
  transform-style: preserve-3d;
}

.feature-section-reverse .phone-mockup {
  transform: rotateX(5deg) rotateY(14deg) rotateZ(-2deg);
}

.phone-mockup::before {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 1.5rem;
  border-radius: 0 0 1rem 1rem;
  background: #141a21;
  content: "";
  transform: translateX(-50%);
}

.phone-mockup::before {
  display: none;
}

.phone-screen {
  position: absolute;
  inset: 0.35rem;
  overflow: hidden;
  border-radius: 2.05rem;
  background:
    linear-gradient(
      180deg,
      var(--brand-sky) 0%,
      #4a8aeb 38%,
      #8eb7f1 72%,
      #dcecf8 100%
    );
}

.phone-screen::before,
.phone-screen::after {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  content: "";
  filter: blur(0.02rem);
}

.phone-screen::before {
  top: 4.2rem;
  left: -2.3rem;
  width: 5.8rem;
  height: 5.8rem;
}

.phone-screen::after {
  right: -2.5rem;
  bottom: 8.2rem;
  width: 7.4rem;
  height: 7.4rem;
}

.phone-mockup-photo .phone-screen::before,
.phone-mockup-photo .phone-screen::after,
.phone-mockup-story .phone-screen::before,
.phone-mockup-story .phone-screen::after,
.phone-mockup-dashboard .phone-screen::before,
.phone-mockup-dashboard .phone-screen::after {
  display: none;
}

.phone-screenshot,
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-video {
  background: var(--brand-sky);
}

.phone-status {
  position: absolute;
  top: 1.55rem;
  right: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  height: 0.55rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(42, 58, 68, 0.28) 64% 69%, transparent 69% 74%, rgba(42, 58, 68, 0.28) 74% 79%, transparent 79% 84%, rgba(42, 58, 68, 0.28) 84% 100%);
  opacity: 0.72;
}

.phone-camera-card {
  position: absolute;
  top: 6.1rem;
  right: 1.5rem;
  left: 1.5rem;
  display: grid;
  height: 15.8rem;
  place-items: center;
  overflow: hidden;
  border: 0.16rem solid rgba(255, 255, 255, 0.7);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 68% 32%, rgba(255, 208, 64, 0.95) 0 9%, transparent 9.5%),
    radial-gradient(circle at 35% 62%, rgba(106, 222, 125, 0.9) 0 14%, transparent 14.5%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.35));
  box-shadow: 0 0.85rem 1.8rem rgba(42, 58, 68, 0.12);
}

.phone-camera-card span {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  border: 0.42rem solid rgba(42, 58, 68, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 0.55rem rgba(255, 255, 255, 0.45);
}

.phone-toolbar,
.phone-rainbow-row,
.phone-metric-list,
.phone-nutrient-grid {
  position: absolute;
  right: 1.5rem;
  left: 1.5rem;
}

.phone-toolbar {
  top: 23.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.phone-toolbar span,
.phone-nutrient-grid span {
  min-height: 3.35rem;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.5rem 1rem rgba(42, 58, 68, 0.08);
}

.phone-rainbow-row {
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.phone-rainbow-row span {
  height: 4.9rem;
  border-radius: 999px 999px 1.1rem 1.1rem;
  box-shadow: inset -0.25rem -0.45rem 0.7rem rgba(42, 58, 68, 0.13);
}

.phone-rainbow-row span:nth-child(1) {
  background: #ff7d59;
}

.phone-rainbow-row span:nth-child(2) {
  background: #ffd040;
}

.phone-rainbow-row span:nth-child(3) {
  background: #6bde7d;
}

.phone-rainbow-row span:nth-child(4) {
  background: #7a57f5;
}

.phone-dashboard-rainbow {
  position: absolute;
  top: 6.2rem;
  left: 50%;
  width: 12.6rem;
  height: 6.4rem;
  transform: translateX(-50%);
}

.phone-dashboard-rainbow span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-radius: 999px 999px 0 0;
  box-shadow: inset -0.25rem -0.45rem 0.7rem rgba(42, 58, 68, 0.18);
}

.phone-dashboard-rainbow span:nth-child(1) {
  width: 12.6rem;
  height: 6.4rem;
  border: 1.15rem solid #ff7d59;
  border-bottom: 0;
}

.phone-dashboard-rainbow span:nth-child(2) {
  width: 10rem;
  height: 5.15rem;
  border: 1.15rem solid #ffd040;
  border-bottom: 0;
}

.phone-dashboard-rainbow span:nth-child(3) {
  width: 7.4rem;
  height: 3.9rem;
  border: 1.15rem solid #6bde7d;
  border-bottom: 0;
}

.phone-dashboard-rainbow span:nth-child(4) {
  width: 4.8rem;
  height: 2.65rem;
  border: 1.15rem solid #7a57f5;
  border-bottom: 0;
}

.phone-metric-list {
  top: 16.3rem;
  display: grid;
  gap: 0.65rem;
}

.phone-metric-list span {
  height: 2.15rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0 32%, rgba(255, 255, 255, 0.45) 32% 100%);
}

.phone-nutrient-grid {
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.phone-story-orbit,
.phone-story-card,
.phone-story-list {
  position: absolute;
  right: 1.5rem;
  left: 1.5rem;
}

.phone-story-orbit {
  top: 5.7rem;
  height: 11.8rem;
}

.phone-story-orbit span {
  position: absolute;
  border-radius: 999px;
  box-shadow:
    inset -0.3rem -0.45rem 0.8rem rgba(42, 58, 68, 0.14),
    0 0.9rem 1.7rem rgba(42, 58, 68, 0.1);
}

.phone-story-orbit span:nth-child(1) {
  top: 0.4rem;
  left: 1.3rem;
  width: 7.4rem;
  height: 7.4rem;
  background: #ffd040;
}

.phone-story-orbit span:nth-child(2) {
  right: 1rem;
  bottom: 1.1rem;
  width: 6.2rem;
  height: 6.2rem;
  background: #6bde7d;
}

.phone-story-orbit span:nth-child(3) {
  top: 4.35rem;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  border: 0.42rem solid rgba(255, 255, 255, 0.74);
  background: rgba(122, 87, 245, 0.78);
  transform: translateX(-50%);
}

.phone-story-card {
  top: 17.8rem;
  display: grid;
  gap: 0.55rem;
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.85rem 1.8rem rgba(42, 58, 68, 0.12);
  padding: 1.15rem;
}

.phone-story-card span {
  display: block;
  height: 0.82rem;
  border-radius: 999px;
  background: rgba(42, 58, 68, 0.24);
}

.phone-story-card span:nth-child(1) {
  width: 72%;
}

.phone-story-card span:nth-child(2) {
  width: 92%;
  background: rgba(42, 58, 68, 0.17);
}

.phone-story-card span:nth-child(3) {
  width: 54%;
  background: rgba(42, 58, 68, 0.17);
}

.phone-story-list {
  bottom: 2rem;
  display: grid;
  gap: 0.65rem;
}

.phone-story-list span {
  display: block;
  height: 2.2rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 26%, rgba(255, 255, 255, 0.45) 26% 100%);
  box-shadow: 0 0.5rem 1rem rgba(42, 58, 68, 0.08);
}

.mobile-grass {
  display: none;
}

.launch-footer {
  background: var(--footer-paper);
  color: #17151f;
  padding: 3.3rem clamp(1.5rem, 4vw, 4.5rem) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(14rem, 0.9fr) minmax(12rem, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 120rem;
  margin: 0 auto;
  padding-bottom: 2.4rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #17151f;
  font-family: "Recoleta Crunchi", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.footer-logo img {
  width: 3.2rem;
  height: auto;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.footer-column h2 {
  margin: 0 0 0.75rem;
  color: #050505;
  font-size: 1.25rem;
  font-weight: 850;
}

.footer-column a {
  color: #5b6472;
  font-size: 1.08rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-column a:hover {
  color: #17151f;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 120rem;
  margin: 0 auto;
  border-top: 1px solid #e4e4dd;
  padding: 1rem 0;
}

.footer-bottom p {
  margin: 0;
  color: #707987;
  font-size: 1rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links a {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #050505;
  text-decoration: none;
}

.social-links svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-links a[aria-label="TikTok"] svg,
.social-links a[aria-label="X"] svg {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 254, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: "Recoleta Crunchi", Georgia, serif;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.125rem;
  height: 2.125rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--brand-sky);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.legal-shell {
  max-width: 54rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--focus);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-shell h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.legal-meta {
  margin: 0.9rem 0 1.75rem;
  color: var(--muted);
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: white;
  box-shadow: 0 0.9rem 1.75rem rgba(69, 115, 165, 0.08);
}

.termly-shell {
  max-width: 62rem;
}

.termly-document {
  overflow-wrap: anywhere;
}

.legal-document h2 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.45rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document ul {
  padding-left: 1.25rem;
}

.notice {
  border-left: 4px solid var(--action-yellow);
  margin: 1.6rem 0;
  padding: 1rem 1.1rem;
  background: #fff8d9;
  color: #584b20;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--action-yellow);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: var(--action-yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer-paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
}

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

@media (max-width: 1100px) {
  .feature-stack {
    gap: 5.5rem;
    padding: 2.25rem 1.5rem 6rem;
  }

  .feature-section,
  .feature-section-reverse {
    grid-template-columns: 1fr;
    gap: 2.85rem;
    max-width: 34rem;
  }

  .feature-section-reverse .feature-copy,
  .feature-section-reverse .feature-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-copy {
    max-width: none;
    text-align: left;
  }

  .feature-copy h2 {
    font-size: clamp(2.05rem, 7vw, 3.2rem);
    max-width: 8.8em;
  }

  .feature-copy p {
    max-width: none;
  }

  .phone-mockup,
  .feature-section-reverse .phone-mockup {
    width: min(64vw, 17.5rem);
    transform: rotateX(4deg) rotateY(-8deg) rotateZ(1.5deg);
  }

  .feature-section-reverse .phone-mockup {
    transform: rotateX(4deg) rotateY(8deg) rotateZ(-1.5deg);
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 760px) {
  .home-shell {
    min-height: 82svh;
  }

  .app-wordmark {
    --rainbow-width: min(59vw, 16.25rem);
  }

  .feature-stack {
    padding-bottom: 0;
  }

  .cloud {
    width: 10.5rem;
    opacity: 0.56;
  }

  .cloud-a {
    left: -8rem;
  }

  .cloud-b {
    right: -9rem;
    bottom: 12vh;
  }

  .cloud-c {
    top: 9%;
    right: -8rem;
  }

  .cloud-d {
    top: 40%;
    left: -8rem;
  }

  .cloud-e {
    right: -8rem;
    bottom: 14%;
  }

  .mobile-grass {
    position: relative;
    z-index: 1;
    display: block;
    width: min(132vw, 46rem);
    max-width: none;
    justify-self: center;
    margin: -2rem 0 0;
    opacity: 0.98;
    pointer-events: none;
  }

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

@media (max-width: 440px) {
  .home-shell {
    min-height: 82svh;
    padding: 1.5rem;
  }

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

  .feature-stack {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .mobile-grass {
    width: 142vw;
    margin-top: -2.35rem;
  }

  .phone-mockup,
  .feature-section-reverse .phone-mockup {
    width: min(78vw, 16.25rem);
  }

  .launch-footer {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}
