:root {
  /* Colors from the OneCycle blossom logo; see the brand bible. */
  --text: #2C1A33;
  --muted: #5C4863;
  --bg: #FDF9FB;
  --card: #FFFFFF;
  --border: #ECE3EF;
  --accent: #4A2B52;
  --on-accent: #FFFFFF;
  --on-petal: #2C1A33;
  --rose: #FFE1E7;
  --sage: #B9E3C3;
  --honey: #FAD38A;
  --plum: #D7C6F2;
  --shadow: rgba(74, 43, 82, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #FBF3F8;
    --muted: #C7B4CD;
    --bg: #2C1A33;
    --card: #3A2542;
    --border: #4F3858;
    --accent: #D7C6F2;
    --on-accent: #2C1A33;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

a { color: var(--accent); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand { font-size: 22px; display: inline-flex; align-items: center; gap: 10px; }
.toplink { font-weight: 500; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 64px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 20px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font: 600 16px Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.phones {
  position: relative;
  height: 560px;
}

.phones img {
  position: absolute;
  width: 250px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 20px 50px var(--shadow);
  border: 6px solid var(--card);
}

.phones img:first-child { left: 0; top: 0; z-index: 2; }
.phones img.back { right: 0; top: 50px; }

.story {
  max-width: 680px;
  padding-bottom: 64px;
}

h2 { font-size: 34px; margin: 0 0 16px; }
.sign { font-family: Fraunces, Georgia, serif; font-size: 20px; }
.story h3 { font-size: 22px; margin: 32px 0 8px; }
.story .note { font-size: 14px; color: var(--muted); margin-top: 24px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 72px;
}

.card {
  border-radius: 20px;
  padding: 24px;
}

.card h3 { font-size: 21px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15px; }
.card.rose, .card.sage, .card.honey, .card.plum { color: var(--on-petal); }
.rose { background: var(--rose); }
.sage { background: var(--sage); }
.honey { background: var(--honey); }
.plum { background: var(--plum); }

.signup {
  max-width: 620px;
  padding-bottom: 72px;
}

form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.field span { display: block; font-weight: 500; margin-bottom: 6px; }

.field input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
}

.consent {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.consent input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }

.foot {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

.prose {
  max-width: 720px;
  padding-bottom: 64px;
}

.prose h1 { font-size: 40px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phones { height: 440px; max-width: 360px; }
  .phones img { width: 190px; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .phones { height: 380px; }
  .phones img { width: 165px; }
}

/* Thank-you page after joining the waitlist */
a.brand { color: var(--text); text-decoration: none; }

.thanks {
  max-width: 560px;
  padding-top: 32px;
  padding-bottom: 64px;
}

.thanks-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 20px 50px var(--shadow);
}

.thanks h1 { font-size: clamp(34px, 8vw, 44px); margin: 20px 0 12px; }
.thanks .lead { margin-bottom: 24px; }

.ring {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: var(--on-petal);
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.ghost { font-weight: 500; text-decoration: none; }
