:root {
  --bg: #f6efe5;
  --bg-deep: #eadfce;
  --paper: rgba(255, 251, 244, 0.78);
  --paper-strong: #fffaf2;
  --sage: #6d7c49;
  --sage-deep: #46532b;
  --moss: #7f8b4d;
  --clay: #9c6c45;
  --soil: #5a3b27;
  --petal: #f1ddc8;
  --line: rgba(80, 65, 41, 0.12);
  --text: #2f261c;
  --muted: #65584a;
  --shadow: 0 24px 80px rgba(72, 52, 33, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(160, 183, 110, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 240, 213, 0.7),
      transparent 25%
    ),
    linear-gradient(180deg, #f8f1e8 0%, #f3eadf 50%, #efe7db 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(160, 183, 110, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 240, 213, 0.7),
      transparent 25%
    ),
    linear-gradient(180deg, #f8f1e8 0%, #f3eadf 50%, #efe7db 100%);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: clip;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: 5rem;
  left: -8rem;
  width: 22rem;
  height: 22rem;
  background: rgba(130, 156, 76, 0.25);
}

.ambient-two {
  top: 26rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(211, 164, 120, 0.22);
}

.topbar,
.section,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(95, 71, 39, 0.16);
}

.brand-wordmark {
  font-family: "Caveat", cursive;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--sage-deep);
}

.topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(85, 69, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.65);
  backdrop-filter: blur(12px);
}

.topbar-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.topbar-links a:hover {
  color: var(--sage-deep);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 3.5rem;
  min-height: calc(100vh - 100px);
  padding-top: 2.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  color: var(--sage-deep);
  font-family: "Caveat", cursive;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero h1,
.section-heading h2,
.marker-copy h2,
.cta-copy h2,
.modal-content h2 {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.055em;
  line-height: 0.92;
  font-weight: 800;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.8vw, 5.9rem);
}

.hero h1 span {
  color: var(--sage);
}

.hero-text,
.marker-copy p,
.cta-copy p,
.feature-card p,
.modal-subtext,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 62ch;
  margin-top: 1.35rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-button,
.modal-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #657640 0%, #4b5a2d 100%);
  color: #fffdf8;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(73, 88, 42, 0.28);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.primary-button:hover,
.modal-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(73, 88, 42, 0.32);
  filter: saturate(1.05);
}

.secondary-link {
  font-family: "Caveat", cursive;
  color: var(--sage-deep);
  font-size: 1.55rem;
  font-weight: 700;
}

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

.launch-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem 0.85rem;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(91, 72, 45, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.72);
  box-shadow: 0 12px 28px rgba(85, 65, 43, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.launch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 120, 53, 0.28);
  background: rgba(255, 251, 244, 0.9);
}

.launch-card img {
  width: 34px;
  height: 34px;
  grid-row: span 2;
}

.launch-card span {
  font-size: 1rem;
  font-weight: 800;
}

.launch-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.is-coming-soon {
  position: relative;
}

.is-coming-soon::after {
  content: "soon";
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(109, 124, 73, 0.92);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-points {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin-top: 1.8rem;
  list-style: none;
}

.trust-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

.trust-points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #89985d 0%, #61703c 100%);
  box-shadow: 0 0 0 6px rgba(129, 146, 83, 0.12);
}

.hero-visual {
  position: relative;
  overflow: visible;
}

.hero-orbit {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  min-height: 680px;
  padding: 1.5rem 0 2rem;
  overflow: visible;
}

.phone-stack {
  position: relative;
  width: min(100%, 440px);
  min-height: 620px;
  margin: 2.75rem auto 0;
}

.phone-card {
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgba(96, 74, 47, 0.14);
  border-radius: 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0.92),
    rgba(241, 230, 217, 0.92)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-card img {
  width: 100%;
  border-radius: 30px;
}

.phone-card-back {
  top: 1.8rem;
  left: 0;
  width: 52%;
  transform: rotate(-10deg);
  animation: driftBack 7s ease-in-out infinite;
}

.phone-card-front {
  right: 0;
  top: 0;
  width: 58%;
  transform: rotate(9deg);
  animation: driftFront 7s ease-in-out infinite;
}

.floating-note {
  position: absolute;
  z-index: 2;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(95, 73, 46, 0.1);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(85, 64, 43, 0.12);
}

.note-label,
.spec-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--sage-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-note strong,
.spec-card strong {
  line-height: 1.2;
}

.floating-note strong {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  font-weight: 700;
}

.spec-card strong {
  font-size: 1rem;
  font-weight: 700;
}

.note-one {
  top: -1.5rem;
  left: -0.25rem;
  width: min(220px, 42%);
  animation: bob 6s ease-in-out infinite;
}

.note-two {
  bottom: 8rem;
  right: 0rem;
  width: min(220px, 42%);
  z-index: 6;
  animation: bob 7s ease-in-out infinite reverse;
}

.note-three {
  bottom: 3rem;
  left: 1.5rem;
  width: min(230px, 44%);
  animation: bob 6.5s ease-in-out infinite;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.marker-copy h2,
.cta-copy h2,
.modal-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  margin-bottom: 0.9rem;
}

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

.feature-card,
.marker-panel,
.cta-band,
.showcase-shot,
.modal-content {
  border: 1px solid rgba(92, 74, 49, 0.12);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(126, 146, 82, 0.18),
    rgba(255, 246, 233, 0.8)
  );
}

.feature-icon-wrap img {
  width: 42px;
  height: 42px;
}

.feature-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.marker-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.marker-copy > p {
  max-width: 60ch;
}

.marker-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.marker-point {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.marker-bullet {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #8ca05d 0%, #5a6838 100%);
}

.marker-panel {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.marker-showcase {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.marker-chip {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(247, 236, 219, 0.7), transparent 46%),
    linear-gradient(180deg, #7c9250 0%, #678044 100%);
}

.marker-chip img {
  width: min(240px, 68%);
  border-radius: 32px;
  transform: rotate(-8deg);
  box-shadow: 0 28px 56px rgba(44, 54, 24, 0.26);
}

.marker-specs {
  display: grid;
  gap: 0.9rem;
}

.spec-card {
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(93, 72, 48, 0.1);
  background: rgba(255, 251, 245, 0.86);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.showcase-shot {
  padding: 1rem;
  border-radius: 32px;
}

.showcase-shot img {
  width: 100%;
  aspect-ratio: 0.495;
  object-fit: cover;
  border-radius: 24px;
}

.showcase-shot figcaption {
  font-family: "Caveat", cursive;
  color: var(--sage-deep);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 1rem 0.35rem 0.25rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      circle at top right,
      rgba(165, 184, 119, 0.16),
      transparent 36%
    ),
    rgba(255, 248, 239, 0.84);
}

.cta-copy,
.cta-actions {
  min-width: 0;
}

.cta-copy h2,
.cta-copy p {
  overflow-wrap: anywhere;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 72, 45, 0.12);
  background: rgba(255, 251, 244, 0.82);
  color: var(--sage-deep);
  font-weight: 700;
}

.email-link img {
  width: 20px;
  height: 20px;
}

.site-footer {
  padding: 0 0 9rem;
}

.site-footer p {
  max-width: 54ch;
}

.garden {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  background: url("./assets/garden_footer.png") repeat-x center bottom;
  background-size: auto 100%;
  pointer-events: none;
  opacity: 0.92;
  z-index: -1;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(40, 28, 17, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: min(100%, 460px);
  padding: 2rem;
  border-radius: 28px;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(109, 124, 73, 0.1);
  color: var(--sage-deep);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.modal-form input {
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(100, 79, 52, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.modal-form input:focus {
  outline: 2px solid rgba(95, 119, 58, 0.18);
  border-color: rgba(95, 119, 58, 0.28);
}

.success {
  display: none;
  margin-top: 1rem;
  color: var(--sage-deep);
  font-weight: 700;
}

.success.visible {
  display: block;
}

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.reveal-group .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.reveal-group .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.reveal-group .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes driftFront {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(7deg) translateY(-8px);
  }
}

@keyframes driftBack {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(10px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .marker-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-orbit {
    width: min(100%, 560px);
    margin: 0 auto;
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding-top: 1rem;
  }

  .topbar-links {
    display: none;
  }

  .section {
    padding: 3.4rem 0;
  }

  .launch-strip,
  .feature-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    gap: 1rem;
  }

  .showcase-shot {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-orbit {
    min-height: 500px;
    padding: 1rem 0 0.5rem;
  }

  .note-one,
  .note-two,
  .note-three {
    position: static;
    width: 100%;
    margin-bottom: 0.8rem;
    animation: none;
  }

  .phone-stack {
    margin-top: 0.6rem;
    min-height: 420px;
  }

  .phone-card-back {
    width: 54%;
  }

  .phone-card-front {
    width: 60%;
  }

  .site-footer {
    padding-bottom: 8rem;
  }

  .cta-band {
    padding: 1.6rem;
  }
}

@media (max-width: 560px) {
  .topbar,
  .section,
  .site-footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .section-heading h2,
  .marker-copy h2,
  .cta-copy h2,
  .modal-content h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .phone-stack {
    min-height: 340px;
  }

  .showcase {
    padding-top: 2.6rem;
  }

  .showcase-grid {
    gap: 0.9rem;
  }

  .showcase-shot {
    max-width: 280px;
    padding: 0.75rem;
  }

  .showcase-shot img {
    aspect-ratio: 0.56;
    border-radius: 18px;
  }

  .showcase-shot figcaption {
    font-size: 1.35rem;
    padding: 0.8rem 0.2rem 0.1rem;
  }

  .phone-card {
    padding: 0.55rem;
    border-radius: 30px;
  }

  .phone-card img {
    border-radius: 22px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
  }

  .primary-button,
  .email-link {
    width: 100%;
    justify-content: center;
  }

  .hero {
    gap: 2rem;
    padding-top: 1.25rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .launch-strip {
    margin-top: 1.5rem;
  }

  .trust-points {
    margin-top: 1.4rem;
  }

  .hero-orbit {
    min-height: 0;
  }

  .cta-band {
    padding: 1.25rem;
  }

  .marker-panel,
  .cta-band,
  .modal-content,
  .feature-card,
  .showcase-shot {
    border-radius: 24px;
  }

  .garden {
    height: 150px;
    background-size: auto 82%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
