:root {
  --ink: #062013;
  --muted: #4c5651;
  --soft: #f6faf4;
  --paper: #ffffff;
  --line: #dfe8dd;
  --green: #0b6d24;
  --green-dark: #004c1b;
  --green-soft: #e6f5df;
  --gold: #c88808;
  --gold-soft: #fff5da;
  --black: #151515;
  --shadow: 0 22px 60px rgba(12, 45, 24, 0.12);
  --radius: 8px;
  --panel-radius: 28px;
  --font-body: "Plus Jakarta Sans", ui-rounded, "SF Pro Rounded", "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Book Antiqua", Georgia, serif;
  --font-hero: "Manrope", ui-rounded, "SF Pro Rounded", "Aptos", system-ui, sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(11, 109, 36, 0.08), transparent 18rem),
    radial-gradient(circle at 91% 28%, rgba(200, 136, 8, 0.08), transparent 19rem),
    linear-gradient(180deg, #ffffff 0%, #f9fcf8 62%, #ffffff 100%);
  color: var(--ink);
}

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

.floating-clover {
  position: absolute;
  display: block;
  width: var(--size);
  opacity: var(--opacity);
  filter: drop-shadow(0 18px 26px rgba(10, 50, 23, 0.18));
  transform: translate3d(0, 0, 0) rotate(var(--rotate)) scale(var(--scale));
  animation:
    clover-drift var(--duration) ease-in-out infinite alternate,
    clover-breathe var(--breathe) ease-in-out infinite;
  animation-delay: var(--delay), var(--breathe-delay);
  will-change: transform, opacity;
}

.floating-clover img {
  display: block;
  width: 100%;
  height: auto;
}

.clover-float-1 {
  --size: clamp(72px, 7vw, 128px);
  --opacity: 0.46;
  --opacity-soft: 0.32;
  --rotate: -18deg;
  --scale: 1;
  --duration: 16s;
  --breathe: 11s;
  --delay: -2s;
  --breathe-delay: -5s;
  --x-mid: 18px;
  --y-mid: -26px;
  --x-end: -16px;
  --y-end: 34px;
  --turn-mid: 10deg;
  --turn-end: -7deg;
  left: 4vw;
  top: 18vh;
}

.clover-float-2 {
  --size: clamp(46px, 4.8vw, 86px);
  --opacity: 0.34;
  --opacity-soft: 0.24;
  --rotate: 24deg;
  --scale: 0.92;
  --duration: 19s;
  --breathe: 12s;
  --delay: -8s;
  --breathe-delay: -2s;
  --x-mid: -24px;
  --y-mid: 18px;
  --x-end: 22px;
  --y-end: -30px;
  --turn-mid: -12deg;
  --turn-end: 9deg;
  right: 8vw;
  top: 13vh;
}

.clover-float-3 {
  --size: clamp(58px, 5.4vw, 102px);
  --opacity: 0.36;
  --opacity-soft: 0.25;
  --rotate: 8deg;
  --scale: 0.96;
  --duration: 17s;
  --breathe: 10s;
  --delay: -5s;
  --breathe-delay: -7s;
  --x-mid: 20px;
  --y-mid: 24px;
  --x-end: -28px;
  --y-end: -18px;
  --turn-mid: 9deg;
  --turn-end: -11deg;
  left: 47vw;
  top: 39vh;
}

.clover-float-4 {
  --size: clamp(62px, 5.8vw, 112px);
  --opacity: 0.4;
  --opacity-soft: 0.28;
  --rotate: 32deg;
  --scale: 0.9;
  --duration: 21s;
  --breathe: 13s;
  --delay: -11s;
  --breathe-delay: -4s;
  --x-mid: -18px;
  --y-mid: -22px;
  --x-end: 26px;
  --y-end: 28px;
  --turn-mid: -8deg;
  --turn-end: 14deg;
  right: 5vw;
  top: 62vh;
}

.clover-float-5 {
  --size: clamp(50px, 5vw, 90px);
  --opacity: 0.32;
  --opacity-soft: 0.22;
  --rotate: -34deg;
  --scale: 0.88;
  --duration: 18s;
  --breathe: 12s;
  --delay: -14s;
  --breathe-delay: -6s;
  --x-mid: 22px;
  --y-mid: -18px;
  --x-end: -18px;
  --y-end: 24px;
  --turn-mid: 12deg;
  --turn-end: -10deg;
  left: 12vw;
  top: 72vh;
}

.clover-float-6 {
  --size: clamp(38px, 3.8vw, 68px);
  --opacity: 0.34;
  --opacity-soft: 0.23;
  --rotate: 16deg;
  --scale: 0.84;
  --duration: 15s;
  --breathe: 9s;
  --delay: -6s;
  --breathe-delay: -3s;
  --x-mid: -14px;
  --y-mid: 20px;
  --x-end: 18px;
  --y-end: -16px;
  --turn-mid: -10deg;
  --turn-end: 8deg;
  right: 31vw;
  top: 6vh;
}

.clover-float-7 {
  --size: clamp(44px, 4.2vw, 78px);
  --opacity: 0.34;
  --opacity-soft: 0.23;
  --rotate: -9deg;
  --scale: 0.86;
  --duration: 20s;
  --breathe: 12s;
  --delay: -9s;
  --breathe-delay: -5s;
  --x-mid: 18px;
  --y-mid: 20px;
  --x-end: -24px;
  --y-end: -18px;
  --turn-mid: 13deg;
  --turn-end: -8deg;
  left: 27vw;
  top: 10vh;
}

.clover-float-8 {
  --size: clamp(54px, 4.9vw, 96px);
  --opacity: 0.38;
  --opacity-soft: 0.27;
  --rotate: 41deg;
  --scale: 0.9;
  --duration: 22s;
  --breathe: 14s;
  --delay: -16s;
  --breathe-delay: -8s;
  --x-mid: -26px;
  --y-mid: -14px;
  --x-end: 20px;
  --y-end: 28px;
  --turn-mid: -12deg;
  --turn-end: 11deg;
  right: 19vw;
  top: 34vh;
}

.clover-float-9 {
  --size: clamp(42px, 4vw, 76px);
  --opacity: 0.32;
  --opacity-soft: 0.22;
  --rotate: 18deg;
  --scale: 0.82;
  --duration: 16s;
  --breathe: 10s;
  --delay: -4s;
  --breathe-delay: -2s;
  --x-mid: 20px;
  --y-mid: -22px;
  --x-end: -16px;
  --y-end: 18px;
  --turn-mid: 9deg;
  --turn-end: -13deg;
  left: 34vw;
  top: 58vh;
}

.clover-float-10 {
  --size: clamp(60px, 5.6vw, 108px);
  --opacity: 0.36;
  --opacity-soft: 0.25;
  --rotate: -27deg;
  --scale: 0.92;
  --duration: 24s;
  --breathe: 15s;
  --delay: -18s;
  --breathe-delay: -9s;
  --x-mid: -20px;
  --y-mid: 16px;
  --x-end: 24px;
  --y-end: -26px;
  --turn-mid: -10deg;
  --turn-end: 12deg;
  right: 38vw;
  top: 78vh;
}

@keyframes clover-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--rotate)) scale(var(--scale));
  }

  50% {
    transform: translate3d(var(--x-mid), var(--y-mid), 0)
      rotate(calc(var(--rotate) + var(--turn-mid)))
      scale(var(--scale));
  }

  100% {
    transform: translate3d(var(--x-end), var(--y-end), 0)
      rotate(calc(var(--rotate) + var(--turn-end)))
      scale(var(--scale));
  }
}

@keyframes clover-breathe {
  0%,
  100% {
    opacity: var(--opacity-soft);
  }

  50% {
    opacity: var(--opacity);
  }
}

.site-header,
main {
  position: relative;
}

main {
  z-index: 2;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.button,
.profile-actions button,
.form-row button {
  display: inline-flex;
  align-items: center;
}

.brand {
  width: 150px;
  min-width: 150px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(540px, 1.15fr);
  gap: 32px;
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  min-height: 600px;
  margin: 0 auto;
  padding: 26px 0 14px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  transform: translateX(56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  margin: 0 0 20px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 250, 244, 0.92);
  color: #173222;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #37a846;
  box-shadow: 0 0 0 5px rgba(55, 168, 70, 0.12);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-hero);
  font-size: 4.65rem;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 490px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.button {
  justify-content: center;
  gap: 10px;
  min-width: 184px;
  min-height: 58px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: linear-gradient(180deg, #148234, #035d20);
  color: #fff;
  box-shadow: 0 18px 28px rgba(3, 93, 32, 0.22);
}

.button-secondary {
  border: 1px solid #9ba8a1;
  background: rgba(255, 255, 255, 0.86);
  color: #111a15;
}

.button:hover,
.button:focus-visible,
.profile-actions button:hover,
.profile-actions button:focus-visible,
.form-row button:hover,
.form-row button:focus-visible {
  transform: translateY(-1px);
}

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #3c4742;
  font-size: 0.98rem;
}

.mini-proof span + span {
  border-left: 1px solid #c9d3ce;
  padding-left: 18px;
}

.gold-clover {
  color: var(--gold);
}

.crystal-clover {
  color: var(--black);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual img {
  display: block;
  width: 64%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  border-radius: 34px;
  filter: drop-shadow(0 28px 38px rgba(8, 34, 19, 0.12));
}

.feature-grid,
.loop-profile,
.trust-strip,
.waitlist-section {
  width: min(1220px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  padding: 40px 0 32px;
  border-top: 1px solid rgba(223, 232, 221, 0.8);
}

.phone-feature {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.phone-frame {
  width: min(100%, 238px);
  filter: drop-shadow(0 28px 42px rgba(8, 38, 21, 0.14));
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-feature-copy {
  max-width: 340px;
}

.phone-feature-copy h2,
.loop-panel h2,
.profile-card h2,
.waitlist-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.phone-feature-copy h2 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.phone-feature-copy p,
.loop-step p,
.profile-user p,
.profile-total p,
.waitlist-section p,
.form-message {
  color: var(--muted);
}

.phone-feature-copy p {
  margin: 10px 0 0;
  line-height: 1.5;
}

.loop-profile {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 30px;
  align-items: stretch;
  padding: 2px 0 12px;
}

.loop-panel,
.profile-card,
.waitlist-section {
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 38px rgba(8, 38, 21, 0.06);
}

.loop-panel {
  padding: 30px 32px;
}

.loop-panel h2,
.waitlist-section h2 {
  font-family: var(--font-hero);
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.loop-steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.loop-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.loop-step h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.14;
}

.loop-step p {
  margin: 6px 0 0;
  line-height: 1.25;
}

.step-arrow {
  color: #4b9857;
  font-size: 2rem;
  font-weight: 400;
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}

.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c3a0, #126a37);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
}

.profile-user h2 {
  font-size: 1.24rem;
}

.profile-user p,
.profile-total p {
  margin: 4px 0 0;
}

.profile-total {
  text-align: center;
}

.profile-total strong {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 65, "WONK" 0;
}

.profile-total-count.is-counting {
  animation: count-bump 280ms ease;
}

@keyframes count-bump {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  48% {
    transform: translateY(-2px) scale(1.08);
  }
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profile-actions button {
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.send-green {
  background: linear-gradient(180deg, #178139, #075b20);
  color: #fff;
}

.send-gold {
  border-color: #ecd28e !important;
  background: var(--gold-soft);
  color: #5c3f07;
}

.send-crystal {
  background: linear-gradient(180deg, #262626, #111);
  color: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: rgba(255, 255, 255, 0.84);
  color: #52605a;
  overflow: hidden;
}

.trust-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 18px;
  text-align: center;
}

.trust-strip > div + div {
  border-left: 1px solid var(--line);
}

.avatar-stack {
  display: inline-flex;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0b6d24;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: #d99645;
}

.avatar-stack span:nth-child(3) {
  background: #1c79a8;
}

.avatar-stack span:nth-child(4) {
  background: #1c1c1c;
}

.shield {
  color: var(--green);
}

.waitlist-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(230, 245, 223, 0.86), rgba(255, 245, 218, 0.5)),
    rgba(255, 255, 255, 0.94);
}

.waitlist-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 1.06rem;
  line-height: 1.45;
}

.waitlist-form {
  display: grid;
  gap: 10px;
}

.waitlist-form label {
  color: #173222;
  font-weight: 850;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 10px;
}

.form-row input {
  min-width: 0;
  min-height: 56px;
  border: 1px solid #b9c6be;
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
}

.form-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 109, 36, 0.12);
  outline: none;
}

.form-row button {
  justify-content: center;
  min-height: 56px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #148234, #035d20);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.form-message {
  min-height: 22px;
  margin: 0;
  font-weight: 700;
}

.form-message.is-error {
  color: #a23318;
}

.form-message.is-success {
  color: var(--green-dark);
}

@media (max-width: 1120px) {
  .site-header {
    justify-content: flex-start;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 720px;
    transform: none;
  }

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

  .hero-visual img {
    width: min(88%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .feature-grid,
  .loop-profile,
  .waitlist-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .floating-clovers {
    opacity: 0.82;
  }

  .clover-float-3,
  .clover-float-5,
  .clover-float-8,
  .clover-float-10 {
    display: none;
  }

  .site-header,
  .hero,
  .feature-grid,
  .loop-profile,
  .trust-strip,
  .waitlist-section {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    width: 132px;
    min-width: 132px;
  }

  .hero {
    gap: 20px;
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 3.55rem;
    line-height: 0.98;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .mini-proof {
    display: grid;
    gap: 8px;
  }

  .mini-proof span + span {
    border-left: 0;
    padding-left: 0;
  }

  .feature-grid {
    gap: 36px;
    padding: 32px 0 28px;
  }

  .loop-panel,
  .profile-card,
  .waitlist-section {
    padding: 22px;
  }

  .loop-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-arrow {
    display: none;
  }

  .profile-top,
  .profile-actions,
  .trust-strip,
  .form-row {
    grid-template-columns: 1fr;
  }

  .profile-top {
    align-items: flex-start;
  }

  .profile-total {
    text-align: left;
  }

  .trust-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .waitlist-section {
    margin-bottom: 32px;
  }
}

@media (max-width: 440px) {
  .clover-float-2,
  .clover-float-6,
  .clover-float-7,
  .clover-float-9 {
    display: none;
  }

  .site-header {
    padding: 12px 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .eyebrow {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-clover {
    animation: none;
  }

  .floating-clovers {
    opacity: 0.65;
  }
}
