/* ------------------------------------------------------------------
   Smooth — shared landing page styles
   Design system reflects the Smooth brand comp:
   cyan swirl mark, bento hero, mint/cyan section bands, lime accents.
   Vertical pages differ only by hero copy + <title>; the brand
   sections (moments / who / how / stay-tuned) are shared.
------------------------------------------------------------------- */

:root {
  --ink: #23271a;          /* dark olive — primary text */
  --ink-soft: #5c6353;     /* secondary text */
  --cyan: #33b6d2;         /* brand cyan (logo, icons) */
  --cyan-ink: #1b8ea8;
  --lime: #c3d82b;         /* accent lime */
  --teal: #1f5a57;         /* deep teal */
  --sky: #d4f1f5;          /* light cyan band */
  --sky-soft: #e8f7f9;
  --mint: #edf5ed;         /* pale mint band */
  --paper: #ffffff;
  --line: #e7e9df;
  --dark: #23271a;         /* footer / dark tiles */
  --radius: 26px;
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Middle content sections share one width so their side cushion is
   identical at every viewport (see .moments-grid, .who, .steps). */
.content-narrow { max-width: 1040px; margin-left: auto; margin-right: auto; }

h1, h2, h3, .wordmark { font-family: var(--font-display); letter-spacing: -0.02em; }

/* ---------- Brand mark ---------- */

.mark { display: block; flex: none; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Nav (pill) ---------- */

/* floating navbar: fixed pill, centered to content width */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  padding: 0 clamp(20px, 4vw, 48px);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 12px 34px rgba(35, 39, 26, 0.14);
}

.nav .wordmark { font-size: 1.2rem; }

.lp-links { display: flex; gap: 26px; font-size: 0.92rem; }

.lp-links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.lp-links a:hover { color: var(--ink); }
.lp-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn-soon {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  padding: 11px 22px;
  white-space: nowrap;
}

/* ---------- Section bands ---------- */

.band { width: 100%; }
.band--hero { background: linear-gradient(180deg, #ffffff 62%, var(--sky) 100%); padding-top: 64px; }
.band--mint { background: var(--mint); }
.band--cyan { background: var(--sky); }
.band--white { background: #ffffff; }
.band--tuned { background: linear-gradient(180deg, var(--sky-soft), var(--sky)); }

/* vertical only — horizontal cushion comes from .container so it isn't clobbered */
.section { padding-block: 88px; }
.section--tight { padding-block: 64px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
  padding: 40px 0 96px;
}

.hero .mark { margin-bottom: 28px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 18px;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero .sub {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 33em;
  margin-bottom: 20px;
}

.hero .tagline {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

/* ---------- Hero bento ---------- */

/* let both hero columns shrink so the bento scales with its column
   (side-by-side) instead of overflowing at narrow widths */
.hero-copy, .hero-art { min-width: 0; }

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  min-width: 0;
  border-radius: var(--radius);
  padding: 22px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile--circle {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tile--cyan { background: var(--sky); color: var(--ink); }
.tile--lime { background: var(--lime); color: var(--ink); }
.tile--teal { background: var(--teal); color: #eafaf6; }
.tile--dark { background: var(--dark); color: #fff; }

.tile h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.tile--circle .icon-badge { background: transparent; width: auto; height: auto; }

.budget .pct { font-family: var(--font-display); font-weight: 700; font-size: 2rem; text-align: right; }
.budget .blabel { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.track {
  position: relative; height: 6px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.22); margin: 12px 0 6px;
}
.track .fill { position: absolute; inset: 0 auto 0 0; width: 59%; background: var(--lime); border-radius: 99px; }
.track .knob {
  position: absolute; left: 59%; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ---------- Moments ---------- */

.value-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.value-intro h2 {
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.14;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.value-card {
  border-radius: var(--radius);
  padding: 26px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}

.value-card--light { background: #fff; color: var(--ink); }
.value-card--teal { background: var(--teal); color: #eafaf6; border-color: transparent; }
.value-card--lime { background: var(--lime); color: var(--ink); border-color: transparent; }

.value-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 18px;
}

.value-card--teal .value-kicker { color: var(--lime); }
.value-card--lime .value-kicker { color: var(--teal); }

.value-card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

.value-card p {
  margin-top: auto;
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.88;
}

.section-head {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  max-width: 17em;
  margin: 0 auto 48px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.moment {
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.moment--planned { background: #fff; border: 1px solid var(--line); }
.moment--unplanned { background: var(--teal); color: #eafaf6; }
.moment--seasonal { background: var(--lime); color: var(--ink); }

.moment .m-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor;
  opacity: 0.9;
  margin-bottom: 20px;
}
.moment .m-body { margin-top: auto; }
.moment h3 { font-weight: 600; font-size: 1.4rem; margin-bottom: 8px; }
.moment p { font-size: 0.95rem; opacity: 0.9; }

/* ---------- Who is Smooth ---------- */

.who {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 88px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.who h2 { font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.who p { color: var(--ink); margin-bottom: 16px; max-width: 30em; }
.who p:last-child { color: var(--ink-soft); }

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: 0 20px 50px rgba(35, 39, 26, 0.08);
}
.why-card h3 { font-weight: 600; font-size: 1.15rem; margin-bottom: 18px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; }
.why-list .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky); color: var(--cyan-ink);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 8px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.step {
  display: flex; flex-direction: column;
  padding: 4px 30px;
  min-height: 190px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: none; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step .s-num { font-family: var(--font-display); font-weight: 600; color: var(--cyan); font-size: 0.95rem; margin-bottom: 6px; }
.step h3 { font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.step .s-desc { margin-top: auto; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Stay tuned ---------- */

.tuned {
  position: relative;
  text-align: center;
  padding-block: 150px;
}
.tuned .mark { margin: 0 auto 16px; }
.tuned h2 { font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 18px; }
.tuned p { max-width: 32em; margin: 0 auto; color: var(--ink-soft); font-size: 1.02rem; }

/* dot decorations */
.dot-field {
  position: absolute;
  background-image: radial-gradient(circle, currentColor 3px, transparent 3.5px);
  background-size: 26px 26px;
  opacity: 0.9;
  pointer-events: none;
}
.dot-cyan { color: var(--cyan); }
.dot-lime { color: var(--lime); }

/* ---------- Footer ---------- */

footer { background: var(--dark); color: #cfd3c3; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0 40px;
  flex-wrap: wrap;
}
footer .wordmark { color: #fff; }
.footer-cols { display: flex; gap: 64px; }
.footer-col h5 { color: #fff; font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; font-family: var(--font-body); }
.footer-col a { display: block; color: #a9ae9c; text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 40px;
  font-size: 0.78rem;
  color: #8b9080;
  max-width: 62em;
}
.footer-legal a { color: inherit; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* ---------- Legal content (privacy policy, etc.) ---------- */

.legal { max-width: 720px; margin: 0 auto; }
.legal .byline { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 40px; }
.legal h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 12px; }
.legal h2 { font-weight: 700; font-size: 1.3rem; margin: 40px 0 14px; }
.legal p { margin-bottom: 16px; color: var(--ink); }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan-ink); }

/* ---------- Responsive ----------
   Cushion is driven by .container's clamped horizontal padding, so it
   scales at every width. Middle sections (moments / who / steps) share
   a 1040px cap and stay centered, keeping their side cushion identical. */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 24px 0 64px; }
  .who { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .step { border-left: none; padding: 0; min-height: 0; }
  .section { padding-block: 64px; }
  .lp-links { display: none; }
  /* Stacked hero: the bento becomes a full-width row of 4 equal tiles.
     It fills the width (never a floating narrow block), and because the
     tiles are quarter-width the circles stay small — no ballooning like a
     full-width 2x2 would produce. All tiles are equal squares so circles
     and cards never fall out of proportion. */
  .bento { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .tile { aspect-ratio: 1 / 1; min-height: 0; padding: 16px; }
  .tile h4 { font-size: 0.95rem; line-height: 1.12; }
  .icon-badge { width: 38px; height: 38px; }
  .budget .pct { font-size: 1.35rem; }
  .budget .blabel { font-size: 0.85rem; }
  .track { margin: 8px 0 4px; }
}

/* moments collapse to a single stacked column once 3-up gets cramped */
@media (max-width: 720px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 170px; }
  .moments-grid { grid-template-columns: 1fr; }
  .moment { min-height: 180px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 28px 0; }
}

/* Narrow phones: the 4-up strip gets cramped, so fold the bento to a
   full-width 2x2 of equal tiles — still full width, still not huge. */
@media (max-width: 500px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tile { padding: 18px; }
  .tile h4 { font-size: 1.05rem; }
  .icon-badge { width: 44px; height: 44px; }
  .budget .pct { font-size: 1.6rem; }
  .budget .blabel { font-size: 0.95rem; }
}
