/*
 * Nook marketing site.
 *
 * Same tokens, fonts and shapes as the product itself (frontend/style.css), so someone who
 * signs up here and later opens the app should recognise it as the same thing. The one
 * deliberate difference: this page commits to the warm light look rather than following
 * the device's dark mode. The product is a lamp-lit kitchen wall; the marketing for it
 * should look like that in every screenshot anyone takes of it.
 */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-vf.woff2") format("woff2-variations"), url("fonts/inter-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #fdf4ee;
  --bg-soft: #f3e6e7;
  --card: #ffffff;
  --ink: #355070;
  --muted: #6d597a;
  --border: #eae0e6;
  --accent: #e56b6f;
  --accent-ink: #ffffff;
  --accent-soft: #f9dadb;
  --ok: #4f9d69;
  --shadow-sm: 0 1px 2px rgba(33, 28, 21, 0.06), 0 1px 1px rgba(33, 28, 21, 0.04);
  --shadow-md: 0 8px 24px rgba(33, 28, 21, 0.10), 0 2px 6px rgba(33, 28, 21, 0.06);
  --shadow-lg: 0 20px 48px rgba(33, 28, 21, 0.18), 0 6px 16px rgba(33, 28, 21, 0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1080px;
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 88% -8%, var(--accent-soft) 0%, transparent 62%),
    radial-gradient(900px 420px at 4% 8%, #eef1f7 0%, transparent 58%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex: none; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Solid fallback first. The audience for this page is explicitly people on older
     tablets, so the nav has to hold up on the exact browsers color-mix() excludes. */
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}
/* The icon carries its own rounded panel and soft edge, so it wants no coral tile behind
   it and no extra shadow. Width and height are set on the <img> too, so the nav doesn't
   reflow while it loads. */
.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: block;
  object-fit: contain;
}

/* A visitor shouldn't have to work out the category from the name alone. */
.logo-tag {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: -2px;
}
@media (max-width: 780px) { .logo-tag { display: none; } }

/* ---------- Prose block ---------- */

/* Centred body copy rags on both edges and gets hard to read past a couple of lines, so
   this stays deliberately short: three statements, each about a line and a half. The
   narrow measure is what keeps the rag tight rather than the centring. */
.prose { max-width: 46ch; margin: 0 auto; text-align: center; }
.prose p { font-size: 18.5px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--ink); font-weight: 700; }

/* ---------- Jobs ---------- */

/* Stays two across even on a phone. Each card is an icon, a word and one line, so a single
   column wasted half the width and pushed the last two below the fold for no gain. */
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr 1fr; gap: 34px 24px; } }
@media (max-width: 520px) {
  .jobs { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .job h3 { font-size: 17px; }
  .job p { font-size: 14px; }
  .job .card-icon { width: 38px; height: 38px; margin-bottom: 11px; }
  .job .card-icon .i { width: 19px; height: 19px; }
}

/* Centred, to sit under a centred heading. Four left-ragged blocks below centred type
   read as though they've slipped sideways, because the eye lines the heading's centre up
   against each card's left edge. */
.job { text-align: center; display: flex; flex-direction: column; align-items: center; }
.job h3 { font-size: 19px; margin-bottom: 7px; }
.job p { font-size: 15px; color: var(--muted); max-width: 22ch; }
.job .card-icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 15px; }
.job .card-icon .i { width: 22px; height: 22px; }

/* ---------- Headline features ---------- */

/* Two up rather than four, left-aligned rather than centred, and in cards: these carry a
   paragraph each instead of a one-liner, and centred text at that length is hard to read.
   The card edge is what stops the left alignment reading as drift under a centred heading,
   same reasoning as .flow below. */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .highlights { grid-template-columns: 1fr; } }

.highlight {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.highlight h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.25; }
.highlight p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.highlight .highlight-more {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}
.highlight .card-icon { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; }
.highlight .card-icon .i { width: 23px; height: 23px; }
@media (max-width: 520px) {
  .highlight { padding: 24px 20px; }
  .highlight h3 { font-size: 19px; }
  .highlight p { font-size: 15px; }
}

/* ---------- Flow ---------- */

/* The steps have to stay left-aligned: they're a sequence joined by a rail, and centring
   them would break the line. Sitting in a card instead makes that left edge read as a
   deliberate object rather than text drifting off-centre under a centred heading. */
.flow {
  display: grid;
  gap: 0;
  max-width: 27rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.flow-step {
  position: relative;
  padding: 0 0 24px 30px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--muted);
}
/* The connecting line is drawn on each step except the last, so the sequence reads as one
   movement rather than four unrelated statements. */
.flow-step::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.flow-last::before { display: none; }
.flow-last { color: var(--ink); padding-bottom: 0; }
.flow-dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
}
.flow-last .flow-dot { background: var(--accent); border-color: var(--accent); }

/* ---------- Single plan ---------- */

.single-plan {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 38px 34px 30px;
  box-shadow: var(--shadow-md);
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
}
.single-plan h3 { font-size: 24px; margin-bottom: 10px; }
.single-plan .plan-price { justify-content: center; margin-bottom: 4px; }
.single-plan ul {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 12px;
  text-align: left;
}
.single-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 550; }
.single-plan li .i { color: var(--ok); margin-top: 4px; width: 16px; height: 16px; flex: none; }
.single-plan .btn { width: 100%; }
.plan-foot { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Signup ---------- */

.form-card-tight { max-width: 440px; padding: 30px; }
.form-card-tight .field { margin-bottom: 14px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#followup .field { margin-bottom: 20px; }
#followup .field > label { margin-bottom: 8px; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), filter 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(0.96); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-sm { font-size: 14px; padding: 9px 18px; }
.btn-lg { font-size: 16.5px; padding: 15px 30px; }

@media (max-width: 720px) {
  .nav-links a[data-hide-sm] { display: none; }
}

/* ---------- Section rhythm ---------- */

section { padding: 84px 0; }
.section-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 17.5px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px 7px 9px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.eyebrow b { color: var(--ink); font-weight: 750; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; margin-left: 5px; }

.hero h1 { font-size: clamp(38px, 5.6vw, 60px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }

.hero-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; font-weight: 550; }
.hero-points .i { color: var(--ok); margin-top: 4px; width: 17px; height: 17px; }

/* ---------- Device mock ---------- */
/* A drawn stand-in for the real wall UI rather than a screenshot: it stays sharp at any
   size, themes with the tokens above, and can't go stale when the product moves on. */

.device {
  background: #ffffff;
  border-radius: 18px;
  padding: 13px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: rotate(-1.1deg);
}
.device-screen {
  background:
    radial-gradient(520px 220px at 100% -10%, var(--accent-soft) 0%, transparent 62%),
    var(--bg);
  border-radius: 10px;
  padding: 15px;
  overflow: hidden;
}
.dev-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 13px; }
.dev-greet { font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.dev-date { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.1; }
.dev-legend { display: flex; gap: 9px; margin-top: 7px; }
.dev-legend span { display: flex; align-items: center; gap: 4px; font-size: 7.5px; font-weight: 650; color: var(--muted); }
.dev-legend i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.dev-clock { font-family: var(--font-display); font-size: 19px; font-weight: 600; opacity: 0.85; line-height: 1; }
.dev-sync { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 7px; font-weight: 650; color: var(--muted); margin-top: 4px; }
.dev-sync i { width: 4px; height: 4px; border-radius: 50%; background: var(--ok); display: block; }

.dev-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dev-dow { text-align: center; font-size: 7px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-bottom: 3px; }
.dev-day {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 42px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Chips are nowrap so they read as pills rather than wrapping to two lines; without
     these two the longer titles push straight out through the side of the cell. */
  overflow: hidden;
  min-width: 0;
}
.dev-day.out { background: transparent; border-color: transparent; }
.dev-day.today { border-color: var(--accent); border-width: 1.5px; background: var(--accent-soft); position: relative; }
.dev-num { font-size: 8px; font-weight: 700; align-self: flex-start; padding: 0 3px; border-radius: 999px; line-height: 1.4; }
.dev-day.today .dev-num { background: var(--accent); color: var(--accent-ink); }
.dev-chip { font-size: 6.5px; font-weight: 700; border-radius: 999px; padding: 1.5px 4px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; flex: none; }

.hero-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- Hero composition: wall plus phone ---------- */
/* The wall alone was reading as "a calendar app". Showing the handset against it is what
   makes the two-surface idea legible without a word of copy: you add on one, everyone
   reads the other. */

.combo { position: relative; padding-bottom: 34px; }
.combo .wall { padding-bottom: 74px; }

.combo-phone {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 132px;
  z-index: 2;
  background: #191519;
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 18px 34px rgba(74, 52, 38, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.22);
}
.combo-phone .phone-screen {
  min-height: 0;
  border-radius: 16px;
  aspect-ratio: 9 / 18.5;
}
.combo-phone .phone-notch { width: 36px; height: 9px; top: 5px; }
.combo-phone .ph-bar { padding: 18px 8px 6px; gap: 5px; }
.combo-phone .ph-greet { font-size: 8.5px; }
.combo-phone .ph-date { font-size: 6px; }
.combo-phone .ph-me { width: 13px; height: 13px; font-size: 6px; }
.combo-phone .ph-body { padding: 0 8px 6px; }
.combo-phone .ph-sec { font-size: 5.5px; margin: 7px 1px 3px; }
.combo-phone .ph-row { padding: 4px 6px; gap: 5px; }
.combo-phone .ph-time { width: 17px; font-size: 5.5px; }
.combo-phone .ph-title { font-size: 6.5px; }
.combo-phone .ph-sub { font-size: 5.5px; }
.combo-phone .ph-box { width: 9px; height: 9px; }
.combo-phone .ph-tabs { padding: 4px 0 6px; }
.combo-phone .ph-tab { font-size: 4.5px; gap: 1px; }
.combo-phone .ph-tab .i { width: 9px; height: 9px; }

/* The two labels are the whole argument: one surface takes input, the other broadcasts. */
.combo-label {
  position: absolute;
  font-size: 11.5px;
  font-weight: 750;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.combo-label .i { width: 13px; height: 13px; color: var(--accent); }
.combo-wall-label { left: 4px; bottom: 8px; }
.combo-phone-label { right: 150px; bottom: 8px; }

@media (max-width: 1040px) {
  .combo-phone { width: 112px; right: 0; }
  .combo-phone-label { display: none; }
  .combo-wall-label { font-size: 11px; }
}
@media (max-width: 520px) {
  .combo-phone { width: 96px; }
  .combo .wall { padding-bottom: 58px; }
  .combo-wall-label { display: none; }
}

/* Two calls to action in the hero: the primary, and a quieter route for anyone not ready
   to hand over an email yet. */
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-quiet {
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  padding: 12px 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.btn-quiet .i { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.btn-quiet:hover .i { transform: translateX(3px); }

/* ---------- Mock tab bar ---------- */
/* The real wall display carries this, and it's the fastest way to say the product is more
   than a calendar: the labels name every part of it without a line of copy. */

.dev-tabs {
  display: flex;
  gap: 2px;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  margin: 11px auto 1px;
  width: fit-content;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}
.dev-tab {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 6.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 3.5px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.dev-tab .i { width: 8px; height: 8px; }
.dev-tab.on { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 460px) {
  /* Six labels won't fit a phone-width mock; the icons still carry the message. */
  .dev-tab span { display: none; }
  .dev-tab { padding: 4px 6px; }
}

/* ---------- Wall scene ---------- */
/* Puts the display in a room rather than floating it on the page background. The point of
   the product is that it hangs somewhere people walk past, and a device pinned to a flat
   colour doesn't communicate that at all. Deliberately just light, wall tone and shadow:
   drawn furniture and pot plants would read as clip art. */

.wall {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 52px 46px 58px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 250, 244, 0.95) 0%, rgba(255, 250, 244, 0) 62%),
    linear-gradient(168deg, #efe4d9 0%, #e7d9cb 58%, #dccbba 100%);
}

/* A faint horizontal band low in the frame reads as the top of a counter or a dado line,
   which is what gives the display a sense of height on the wall. */
.wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(to bottom, rgba(120, 92, 70, 0.10), rgba(120, 92, 70, 0.02));
  border-top: 1px solid rgba(120, 92, 70, 0.13);
}

.wall .device {
  position: relative;
  z-index: 1;
  transform: none;
  border-color: rgba(255, 255, 255, 0.65);
  /* Heavier and lower than the page default so it sits off the wall rather than on it. */
  box-shadow:
    0 26px 44px rgba(74, 52, 38, 0.26),
    0 8px 16px rgba(74, 52, 38, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

@media (max-width: 900px) {
  .wall { padding: 30px 22px 36px; }
}

/* Compact variant for sitting inside a card next to the phone mock. */
.wall-sm { padding: 26px 22px 30px; margin: 8px 0 4px; border-radius: var(--radius-md); }
.wall-sm::after { height: 20px; }
.wall-sm .device { padding: 8px; border-radius: 12px; }
.wall-sm .device-screen { padding: 10px; border-radius: 7px; }

/* ---------- Phone mock ---------- */

.phone-wrap { display: flex; justify-content: center; padding: 8px 0 4px; }

.phone {
  width: 212px;
  flex: none;
  background: #191519;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.25);
}
/* Letting the content decide the height gave a 1.6:1 body, which reads as a small tablet.
   A fixed min-height puts it near the ~2:1 of an actual handset; the flex column then
   pushes the tab bar to the bottom instead of leaving it floating mid-screen. */
.phone-screen {
  background: var(--bg);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  min-height: 424px;
  display: flex;
  flex-direction: column;
}
.ph-tabs-spacer { flex: 1; }
/* The pill at the top of a modern handset. Enough to read as a phone, no more. */
.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 15px;
  border-radius: 999px;
  background: #191519;
  z-index: 2;
}

.ph-bar { padding: 28px 13px 9px; display: flex; align-items: flex-start; gap: 8px; }
.ph-greet { font-family: var(--font-display); font-size: 13px; font-weight: 600; line-height: 1.1; }
.ph-date { font-size: 8.5px; color: var(--muted); margin-top: 2px; }
.ph-me {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}

.ph-body { padding: 0 13px 8px; }
.ph-sec {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 11px 2px 5px;
}
.ph-card { background: var(--card); border-radius: 11px; box-shadow: var(--shadow-sm); overflow: hidden; }
.ph-row { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-bottom: 1px solid var(--border); }
.ph-row:last-child { border-bottom: none; }
.ph-time { width: 26px; flex: none; font-size: 7.5px; font-weight: 700; color: var(--muted); }
.ph-stripe { width: 3px; align-self: stretch; border-radius: 2px; flex: none; }
.ph-title { font-size: 9.5px; font-weight: 600; line-height: 1.25; }
.ph-sub { font-size: 7.5px; color: var(--muted); margin-top: 1px; }
.ph-box { width: 13px; height: 13px; border-radius: 50%; border: 1.6px solid var(--border); flex: none; }
.ph-box.tick { background: #4f9d69; border-color: #4f9d69; }

.ph-tabs {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 6px 0 9px;
  margin-top: 6px;
}
.ph-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 6px; font-weight: 650; color: var(--muted); }
.ph-tab .i { width: 13px; height: 13px; }
.ph-tab.on { color: var(--accent); }

/* ---------- Carousel ---------- */

/* Capped and centred so the drawn screen keeps roughly the proportions of a real wall
   display. At the full container width it stretches into a letterbox and the mocked
   content inside reads as tiny and sparse. */
.carousel { position: relative; max-width: 720px; margin: 0 auto; }
.carousel-window { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
  /* pan-y hands vertical scrolling back to the browser while reserving horizontal
     gestures for the drag handler. Without it the browser claims the horizontal swipe
     first and the carousel never sees it. */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: 4px; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

.slide-caption { text-align: center; margin-top: 18px; }
.slide-caption h3 { font-size: 20px; margin-bottom: 6px; }
.slide-caption p { font-size: 15px; color: var(--muted); max-width: 46ch; margin: 0 auto; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s var(--ease), background 0.2s;
  flex: none;
}
.carousel-btn:hover { background: var(--bg-soft); }
.carousel-btn:active { transform: scale(0.92); }
.carousel-btn .i { width: 18px; height: 18px; }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }

.carousel-dots { display: flex; gap: 9px; }
.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.dot.on { background: var(--accent); transform: scale(1.25); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Device mock: shared inner screens ---------- */

/* Lists */
.dev-lists { display: grid; grid-template-columns: 30% 1fr; gap: 9px; }
.dev-rail { display: flex; flex-direction: column; gap: 4px; }
.dev-listtab {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 7.5px;
  font-weight: 650;
}
.dev-listtab.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dev-listtab .n { margin-left: auto; background: var(--bg-soft); border-radius: 999px; padding: 0 4px; font-size: 6.5px; font-weight: 700; }
.dev-listtab.on .n { background: rgba(255,255,255,0.3); color: var(--accent-ink); }

.dev-cols { column-count: 2; column-gap: 9px; }
.dev-group { break-inside: avoid; margin-bottom: 9px; }
.dev-cat {
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 2px 3px;
}
.dev-card { background: var(--card); border: 1px solid var(--border); border-radius: 7px; padding: 2px 7px; }
.dev-item { display: flex; align-items: center; gap: 5px; padding: 4px 0; border-bottom: 1px solid var(--border); font-size: 7.5px; font-weight: 550; }
.dev-item:last-child { border-bottom: none; }
.dev-box { width: 8px; height: 8px; border-radius: 3px; border: 1.2px solid var(--border); flex: none; }
.dev-box.tick { background: #4f9d69; border-color: #4f9d69; }
.dev-item.done { color: var(--muted); text-decoration: line-through; }
.dev-qty { margin-left: auto; font-size: 6.5px; color: var(--muted); }

/* Meals */
.dev-meals { display: grid; gap: 6px; }
.dev-mealday { background: var(--card); border: 1px solid var(--border); border-radius: 7px; padding: 6px 8px; }
.dev-mealday.today { border-color: var(--accent); background: var(--accent-soft); }
.dev-mealhead { display: flex; align-items: baseline; gap: 5px; margin-bottom: 3px; }
.dev-mealname { font-family: var(--font-display); font-size: 8.5px; font-weight: 600; }
.dev-mealdate { font-size: 6.5px; color: var(--muted); }
.dev-mealrow { display: flex; align-items: center; gap: 5px; padding: 2.5px 0; font-size: 7.5px; font-weight: 550; }
.dev-mealtag {
  font-size: 5.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1.5px 4px;
  flex: none;
}
.dev-mealday.today .dev-mealtag { background: var(--card); }

/* Home dashboard */
.dev-home { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 7px; }
.dev-hcard { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 8px 9px; }
.dev-hcard h5 { font-family: var(--font-display); font-size: 7.5px; font-weight: 600; margin: 0 0 4px; }
.dev-weather { grid-row: span 2; display: flex; flex-direction: column; }
.dev-wtemp { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1; }
.dev-wcond { font-size: 7px; font-weight: 600; opacity: 0.8; margin-top: 3px; }
.dev-wrow { display: flex; gap: 5px; margin-top: auto; padding-top: 7px; border-top: 1px solid var(--border); }
.dev-wb { flex: 1; text-align: center; }
.dev-wb .l { font-size: 5.5px; font-weight: 700; text-transform: uppercase; opacity: 0.6; }
.dev-wb .t { font-size: 7.5px; font-weight: 650; }
.dev-evtime { font-size: 6.5px; font-weight: 700; opacity: 0.7; }
.dev-evtitle { font-family: var(--font-display); font-size: 10px; font-weight: 600; line-height: 1.15; margin-top: 1px; }
.dev-count { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1; }
.dev-hwide { grid-column: 2 / 4; }
.dev-jrow { display: flex; align-items: center; gap: 5px; font-size: 7px; font-weight: 550; padding: 1.5px 0; }
.dev-jrow .ago { margin-left: auto; font-size: 6px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .device { transform: none; }
}

/* ---------- Cards / grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon .i { width: 23px; height: 23px; }

.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 550; }
.feature-list .i { color: var(--ok); margin-top: 4px; width: 16px; height: 16px; }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  margin-bottom: 16px;
}
.tag-accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- BYOD ---------- */

.byod { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Exactly three ways to do this, so they're numbered. The count is the point: people
   arrive assuming "bring your own screen" means an open-ended research project. */
.device-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .device-row { grid-template-columns: 1fr; } }

.flip {
  perspective: 1400px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: block;
  width: 100%;
}
.flip-inner {
  position: relative;
  display: grid; /* stacks both faces in one cell, so the card sizes to the taller side */
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
  height: 100%;
}
.flip.on .flip-inner { transform: rotateY(180deg); }

.flip-face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.flip-back { transform: rotateY(180deg); background: var(--accent-soft); border-color: var(--accent); }
.flip:hover .flip-front { border-color: var(--accent); }

.dev-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  flex: none;
}
.flip-face .i.dev-icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.flip-face h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.25; }
.flip-face p { font-size: 14px; color: var(--muted); margin: 0; }
.flip-face .cost { display: block; margin-top: 12px; font-size: 13px; font-weight: 750; color: var(--ok); }

.flip-hint {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.flip-hint .i { width: 13px; height: 13px; }

.flip-back h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 14px; }
.flip-back ol { margin: 0; padding-left: 18px; display: grid; gap: 9px; }
.flip-back li { font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.flip-back .flip-hint { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* Two plans want to sit as a centred pair, not stretch to thirds of the page. */
.price-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 42rem; margin: 0 auto; }
@media (max-width: 760px) { .price-grid-2 { grid-template-columns: 1fr; max-width: 26rem; } }

/* The price reads before the description in this layout, so it needs room under it. */
.price-grid-2 .plan-price { margin-bottom: 12px; }
.price-grid-2 .plan-for { min-height: 0; margin-bottom: 22px; }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan-for { font-size: 14px; color: var(--muted); margin-bottom: 20px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.plan-amount { font-family: var(--font-display); font-size: 42px; font-weight: 600; line-height: 1; }
.plan-per { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan-alt { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 550; }
.plan li .i { color: var(--ok); margin-top: 4px; width: 16px; height: 16px; }
.plan li.off { color: var(--muted); font-weight: 500; }
.plan li.off .i { color: var(--border); }
.plan .btn { width: 100%; margin-top: auto; }

.price-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Comparison ---------- */

.table-scroll { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
thead th { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
tbody tr:last-child td { border-bottom: none; }
td.us { background: #fdeef0; background: color-mix(in srgb, var(--accent-soft) 45%, transparent); font-weight: 700; }
th.us { background: var(--accent-soft); color: var(--accent); }
.tbl-sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.src { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.src a { color: var(--muted); }

/* ---------- Signup ---------- */

.signup { background: var(--card); border-top: 1px solid var(--border); }
.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 620px) { .form-card { padding: 26px 20px; } }

.field { margin-bottom: 22px; }
.field:last-of-type { margin-bottom: 26px; }
.field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field-hint { font-size: 13px; color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; display: block; margin-top: 3px; }

input[type="email"], input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.15s;
}
input:focus { outline: none; border-color: var(--accent); }
input.invalid { border-color: var(--accent); background: var(--accent-soft); }

.choices { display: flex; flex-wrap: wrap; gap: 9px; }
.choice {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 650;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.15s, border-color 0.15s, color 0.15s;
}
.choice:active { transform: scale(0.96); }
.choice.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Honeypot: off-screen rather than display:none, which some bots specifically skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }
.form-error { color: var(--accent); font-size: 14px; font-weight: 650; margin-top: 14px; text-align: center; min-height: 20px; }

.thanks { text-align: center; padding: 22px 0; }
.thanks-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.thanks-icon .i { width: 29px; height: 29px; }
.thanks h3 { font-size: 25px; margin-bottom: 10px; }
.thanks p { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
}
details[open] { box-shadow: var(--shadow-sm); }
summary {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  flex: none;
  transition: transform 0.2s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg); }
details p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--border); padding: 40px 0; }
.foot-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* margin-left:auto pushed the note right; now the links take that job so the note sits
   next to the logo and the legal links anchor the far edge. */
.foot-note { font-size: 13.5px; color: var(--muted); }
.foot-links { margin-left: auto; display: flex; gap: 18px; }
.foot-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- Motion ---------- */

/* Progressive enhancement, not a prerequisite. Hiding these in plain CSS meant anything
   that renders the page without running JS or without scrolling - an automated verifier,
   a crawler, a reader with JS off - saw seventeen blank sections. The hidden state is now
   applied only once JS has confirmed it can un-hide them. */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Feature reel ---------- */
/* Capped rather than full-bleed: it's a 1280x720 take, and stretching it past its native
   width on a large monitor just softens it. */
#reel .reel-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f0d12;
  line-height: 0;
}
#reel video { width: 100%; height: auto; display: block; }

/* ---------- App name and purpose ---------- */
/* The product name has to be unmistakable on the page: Google's verification checks that
   it matches the name on the OAuth consent screen, and ours was only in the nav logo. */
