/* Dishfin marketing site. Identity ported from the app: Daylight palette,
   Poppins headlines, Nunito body, W7 wordmark in Shantell Sans.
   CSS-only motion. No JavaScript. */

@font-face {
  font-family: "Shantell Sans";
  src: url("assets/fonts/shantell-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ocean: #062A33;
  --fin: #0E7C86;
  --surf: #2FBFA9;
  --coral: #FF6B4A;
  --foam: #FFF7EA;
  --paper: #FFFBF1;
  --tile: #F3EEE0;
  --tint: #EAF3EF;
  --line: #DDE7E1;
  --mut: #54707A;
  --note-ink: #20504F;
  --ink: #062A33;
  --dark-sub: #C4DDD8;
  --radius: 24px;
  --shadow-soft: 0 24px 48px -24px rgba(6, 42, 51, 0.28);
  --shadow-deep: 0 36px 70px -28px rgba(6, 42, 51, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: "Poppins", sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--fin); }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.eyebrow {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fin);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}
.eyebrow-light { color: var(--surf); }

h1 {
  font-size: clamp(2.55rem, 6vw, 4.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
h1 em { font-style: normal; color: var(--fin); }
h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h2.on-dark { color: var(--foam); }
.lede { font-size: 1.16rem; line-height: 1.62; color: #274b54; max-width: 34em; }
.on-dark-sub { color: var(--dark-sub); }

/* ---------- Wordmark + logo lockup ---------- */
.wordmark {
  font-family: "Shantell Sans", cursive;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.wm-i { position: relative; display: inline-block; }
.wm-fin {
  position: absolute;
  left: 50%;
  transform: translateX(-54%);
  bottom: 0.66em;
  height: 0.34em;
  width: auto;
  aspect-ratio: 100 / 88;
  color: var(--fin);
  overflow: visible;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.lockup .c1 { width: 34px; height: 34px; color: var(--ink); flex: none; }
.lockup-foot { color: var(--foam); }
.lockup-foot .c1 { color: var(--foam); }
.lockup-foot .wordmark { color: var(--foam); }
.lockup-foot .wm-fin { color: var(--surf); }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 44px);
  background: rgba(255, 247, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--fin); }
.site-head .pill { margin-left: 6px; }

.pill {
  display: inline-flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill-fin { background: var(--fin); color: var(--foam); }
.pill-coral { background: var(--coral); color: #fff; box-shadow: 0 14px 28px -12px rgba(255, 107, 74, 0.65); }
.pill-foam { background: var(--foam); color: var(--ocean); }
.text-link { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ocean); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(44px, 7vw, 92px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.hero-copy .lede { margin-top: 24px; }
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 32px;
}
.micro { margin-top: 20px; font-size: 0.92rem; font-weight: 700; color: var(--mut); }

.hero-stage { position: relative; }
.hero-art { margin: 0; }
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.hero-phone {
  position: absolute;
  left: -5%;
  bottom: -9%;
  width: 33%;
  background: var(--ocean);
  border-radius: 34px;
  padding: 7px;
  box-shadow: var(--shadow-deep);
  transform: rotate(-2.5deg);
}
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.note-card {
  position: absolute;
  right: -2%;
  bottom: 5%;
  width: min(330px, 74%);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--tint);
  color: var(--note-ink);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}
.note-compass { width: 26px; height: 26px; flex: none; color: var(--coral); margin-top: 2px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--fin);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: tick 30s linear infinite;
}
.ticker-track span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foam);
  white-space: nowrap;
}
.ticker-track i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--surf); flex: none;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(30px, 5vw, 54px); }
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 48px);
  margin-top: 14px;
}
.rule { border-top: 2px solid var(--line); padding-top: 24px; }
.rule-no {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--surf);
  letter-spacing: 0.08em;
}
.rule h3 { font-size: 1.32rem; font-weight: 600; margin: 10px 0 10px; }
.rule p { color: #33555f; font-size: 1rem; }

/* ---------- How it works ---------- */
.how {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(70px, 9vw, 116px);
}
.phone {
  background: var(--ocean);
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-deep);
  max-width: 330px;
  margin-inline: auto;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 33px; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; }
.steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.step-no {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--tile);
  color: var(--fin);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
.steps h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 5px; }
.steps p { color: #33555f; font-size: 1rem; max-width: 36em; }
.how-art { margin: 30px 0 0; max-width: 300px; }
.how-art img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- Garden ---------- */
.garden {
  background: var(--tile);
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.garden-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.garden-copy p:not(.eyebrow) { color: #33555f; max-width: 36em; margin-top: 16px; }
.garden-art { margin: 30px 0 0; }
.garden-art img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* ---------- Family Table ---------- */
.family { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.family-head { max-width: 720px; }
.family-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.62fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
  margin-top: 40px;
}
.family-art { margin: 0; }
.family-art img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.plate-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.plate-row h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 5px; }
.plate-row p { color: #33555f; font-size: 0.99rem; }
.family-note { color: var(--mut); font-weight: 700; font-size: 0.95rem; margin-top: 6px; }
.family .phone { max-width: 250px; }

/* ---------- Fridge (Deep Ocean band) ---------- */
.fridge {
  background: var(--ocean);
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.fridge .lede { color: var(--dark-sub); }
.fridge-art { margin-top: 38px; margin-bottom: 0; }
.fridge-art img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}
.fridge-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 247, 234, 0.18);
}
.fact { color: var(--dark-sub); font-size: 1rem; }
.fact strong { display: block; color: var(--foam); font-family: "Poppins", sans-serif; font-weight: 600; margin-bottom: 5px; }

/* ---------- Safety ---------- */
.safety {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.safety-card {
  display: flex;
  gap: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.safety-badge {
  flex: none;
  width: 78px; height: 78px;
  border-radius: 20px;
  background: var(--tile);
  display: grid;
  place-items: center;
}
.safety-shield { width: 42px; height: 42px; color: var(--fin); }
.safety-card p { color: #33555f; margin-top: 14px; max-width: 38em; }
.safety-card .safety-free {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--fin);
  font-size: 1.08rem;
}
.handful { margin: 0; text-align: center; }
.handful img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.handful figcaption { color: var(--mut); font-weight: 700; font-size: 0.92rem; margin-top: 14px; }

/* ---------- Pricing ---------- */
.pricing {
  background: var(--tile);
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.pricing-head { max-width: 760px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 42px;
}
.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 30px;
}
.price-card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mut); }
.price {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin-top: 12px;
}
.per { font-weight: 800; color: var(--fin); margin-top: 2px; }
.price-note { color: #33555f; margin-top: 14px; font-size: 0.99rem; }
.price-card.featured { background: var(--ocean); border-color: var(--ocean); color: var(--foam); }
.price-card.featured h3 { color: var(--surf); }
.price-card.featured .per { color: var(--surf); }
.price-card.featured .price-note { color: var(--dark-sub); }
.price-tag {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--coral);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.pricing-fine { color: var(--mut); font-weight: 700; font-size: 0.94rem; margin-top: 30px; }

/* ---------- Launch CTA ---------- */
.launch {
  background: linear-gradient(140deg, #0E7C86 0%, #0A5A68 55%, #062A33 100%);
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(70px, 10vw, 120px);
  text-align: center;
}
.launch-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wordmark-big {
  font-size: clamp(4.2rem, 13vw, 7.6rem);
  color: var(--foam);
  margin-bottom: 26px;
}
.wordmark-big .wm-fin { color: var(--surf); }
.launch h2 { margin-bottom: 14px; }
.launch .on-dark-sub { max-width: 32em; }
.launch .pill { margin-top: 30px; font-size: 1.02rem; padding: 15px 28px; }
.launch-micro { color: var(--dark-sub); font-size: 0.92rem; font-weight: 700; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ocean); padding: 46px 0 40px; }
.foot-grid { display: flex; flex-direction: column; gap: 10px; }
.foot-line { color: var(--dark-sub); font-weight: 700; }
.foot-contact a { color: var(--foam); font-weight: 800; text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.foot-fine { color: rgba(196, 221, 216, 0.6); font-size: 0.88rem; margin-top: 10px; }

/* ---------- Motion: entrance + scroll reveal (CSS only) ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-copy { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-stage { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
/* No scroll-driven reveal: content is simply there. A page that must be
   scrolled perfectly to exist fails the speed and honesty bar alike. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .family-grid { grid-template-columns: 1fr 1fr; }
  .family-phone { grid-column: 1 / -1; }
  .family .phone { max-width: 280px; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 96px; }
  .hero-stage { max-width: 560px; }
  .how { grid-template-columns: 1fr; }
  .how-phone { order: 2; }
  .garden-grid { grid-template-columns: 1fr; }
  .garden-phone { order: 2; }
  .safety { grid-template-columns: 1fr; }
  .handful { max-width: 380px; margin-inline: auto; }
  .rules { grid-template-columns: 1fr; }
  .fridge-facts { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .site-nav { display: none; }
  .site-head .pill { margin-left: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .family-grid { grid-template-columns: 1fr; }
  .hero-phone { width: 36%; left: -2%; }
  .note-card { right: 0; bottom: -4%; }
  .safety-card { flex-direction: column; }
  .lockup .wordmark { font-size: 1.6rem; }
}
