/*
  CurbsideOps v4 marketing pages: the palette, the self-hosted face and the page rules on top of the
  taste-skill kit (system.css and friends, loaded before this file). Loaded only on the v4 pages
  ((marketing)/_v4), so nothing here reaches the portal.
*/
@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/lp/fonts/google-sans-flex-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* the app's own body classes (bg-background, font-sans, text-foreground) step aside on these pages */
html[data-lp="v4"] body { background: var(--bg); color: var(--ink); font-family: var(--font-text); }
html[data-lp="v4"] .v4-root { display: contents; }

:root {
  --p-bg: #f7f3ef; --p-surface: #efe8e1; --p-ink: #111a2c; --p-muted: #59606d;
  --p-accent: #d6286a; --p-accent-ink: #ffffff; --p-action: #d6286a; --p-action-ink: #ffffff;
  --p-inv-bg: #111a2c; --p-inv-surface: #1b2436; --p-inv-ink: #f7f3ef; --p-inv-muted: #a3a9b5;
  --p-inv-accent: #ff7a59; --p-inv-accent-ink: #111a2c; --p-inv-action: #d6286a; --p-inv-action-ink: #ffffff;
  --font-display: "Google Sans Flex", ui-rounded, system-ui, sans-serif;
  --font-text: "Google Sans Flex", ui-rounded, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 650;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.045em;
  --ly-scale: 1;
}


  /* the rounded face: every heading, button and big figure at full roundness */
  h1, h2, h3, .btn, .t-stat, .pill, .glow__big, .glow__lead, .close__word, .footer__lede, .nav__link, .step__n { font-variation-settings: "ROND" 100; }
  body { font-variation-settings: "ROND" 30; }
  .nav__logo img { display: block; height: 26px; width: auto; }
  @media (max-width: 639px) { .nav .nav__logo img { height: 20px; } }
  .plan-label { display: inline-flex; align-self: start; justify-self: start; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 13px/1 var(--font-text); white-space: nowrap; }
  .ground-inverse .plan-label { background: #2a3347; color: var(--ink); }
  .copy-col { display: grid; align-content: start; gap: var(--s-5); }
  .copy-col > .t-lead { margin: 0; }
  .copy-col > p { margin: 0; }
  .copy-col .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

  /* hero: a rose and orange sunrise behind the centred words, the film in the frame, the assistant on it */
  .hero--centred { background: radial-gradient(90% 70% at 50% 108%, rgb(255 138 61 / .55), rgb(214 40 106 / .28) 42%, rgb(247 243 239 / 0) 72%), var(--bg); }
  .hero--centred .hero__lead { color: var(--ink); }
  .hero--centred h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.045em; max-width: 13ch; }
  .hero--centred .hero__window { position: relative; overflow: hidden; border-radius: 28px 28px 0 0; background: #111a2c; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
  .hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__window .film-pause { position: absolute; z-index: 3; right: 16px; top: 16px; }
  @media (max-width: 639px) { .hero--centred { background: var(--bg); } }

  /* the dark app windows */
  .d-win { background: #141c2c; color: #eef0f4; border-radius: 18px; overflow: hidden; font: 400 14px/1.45 var(--font-text); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 80px -30px rgb(0 0 0 / .65); }
  .d-win__bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 13px; color: #aab1bd; }
  .d-win__bar b { color: #f2f4f7; font-weight: 500; }
  .d-win__bar img { width: 18px; height: 18px; border-radius: 5px; }
  .d-win__bar .sp { flex: 1; }
  .d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #39425a; }
  .d-win__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 400px; }
  .d-list { border-right: 1px solid rgb(255 255 255 / .07); padding: 10px; display: grid; align-content: start; gap: 2px; }
  .d-list .t { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 1px 10px; padding: 9px 8px; border-radius: 10px; font-size: 13px; }
  .d-list .t.is-on { background: rgb(255 255 255 / .08); }
  .d-list .t i { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--font-text); font-style: normal; color: #111a2c; }
  .d-list .t b { font-weight: 500; color: #f2f4f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .d-list .t time { color: #8e96a3; }
  .d-list .t span { grid-column: 2 / -1; color: #9ba3b0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .d-chat { display: grid; gap: 10px; align-content: start; padding: 18px; }
  .d-msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; }
  .d-msg--me { justify-self: end; max-width: 70%; padding: 0 0 0 12px; border-radius: 0; border-left: 2px solid #ff8a3d; color: #f2f4f7; }
  .d-msg--me::before { content: "Customer"; display: block; font-size: 12px; color: #9ba3b0; }
  .hero__window .d-msg--me::before { content: "You"; }
  .d-msg--bot { background: #222c40; color: #eef0f4; border-bottom-left-radius: 6px; }
  .d-msg b { font-weight: 600; color: #fff; }
  .d-msg small { display: block; margin-top: 4px; font-size: 13px; color: #9ba3b0; }
  .d-tool { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9ba3b0; }
  .d-tool::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ff8a3d; border-right-color: transparent; }
  .acts { display: flex; gap: 8px; } .acts span { height: 32px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; background: #f7f3ef; color: #111a2c; }
  .acts span + span { background: rgb(255 255 255 / .1); color: #eef0f4; }
  .d-rows { display: grid; padding: 8px 16px 16px; }
  .d-rows .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .07); }
  .d-rows .r b { font-weight: 500; color: #f2f4f7; }
  .d-rows .r span { color: #9ba3b0; font-size: 13px; }
  .d-rows .r em { font-style: normal; font-size: 13px; align-self: center; padding: 4px 10px; border-radius: 99px; background: rgb(255 255 255 / .08); color: #d8dce3; white-space: nowrap; }
  .d-rows .r.is-pick em { background: #d6286a; color: #fff; }
  @media (max-width: 639px) { .d-win__body { grid-template-columns: minmax(0, 1fr); min-height: 0; } .d-list { display: none; } .d-chat { padding: 14px; font-size: 13px; } .d-tool { display: none; } }

  /* the light app windows: one recipe for every card and split on the page */
  .m-win { background: #fff; color: #111a2c; border-radius: 18px; overflow: hidden; font: 400 14px/1.45 var(--font-text); box-shadow: 0 1px 2px rgb(17 26 44 / .08), 0 30px 60px -30px rgb(17 26 44 / .45); }
  .m-win__bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-bottom: 1px solid rgb(17 26 44 / .08); font-size: 14px; }
  .m-win__bar b { font-weight: 600; }
  .m-win__bar .sp { flex: 1; }
  .m-win__bar span:last-child { color: var(--muted); font-size: 13px; }
  .m-win__bar img { width: 18px; height: 18px; }
  .m-rows { display: grid; padding: 4px 18px 18px; }
  .m-rows .r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgb(17 26 44 / .07); }
  .m-rows .r > span:nth-child(2) { display: grid; min-width: 0; }
  .m-rows .r b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-rows .r small { color: var(--muted); font-size: 13px; }
  .m-rows .r em { font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; }
  .m-rows .r .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #111a2c; color: #fff; }
  .m-rows .r .ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .m-rows .r .todo { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgb(17 26 44 / .2); }
  .m-rows .r .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f3efea; }
  .m-rows .r .ico img { width: 18px; height: 18px; }
  .m-rows .r .tag { padding: 4px 10px; border-radius: 99px; background: #f3efea; color: #111a2c; }
  .m-rows .r .tag--on { background: #d6286a; color: #fff; }
  .m-rows .r .tag--ok { background: #e3f3e8; color: #1c6b3c; }
  .m-bar { height: 6px; margin: 14px 18px 0; border-radius: 99px; background: #f3efea; overflow: hidden; }
  .m-bar i { display: block; height: 100%; width: var(--k, 50%); background: #d6286a; border-radius: inherit; }
  .m-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 0; }
  .m-total b { font: 650 32px/1 var(--font-display); font-variation-settings: "ROND" 100; letter-spacing: -0.03em; }
  .m-total span { color: #1c6b3c; font-weight: 500; font-size: 13px; }

  /* a card group: every card the same: title on one line, two lines of text, the plan, then a panel of one height
     holding one light window 24px in from both sides and cut only by the panel's foot */
  .cards3 { align-items: stretch; }
  .cards3 > .card { display: grid; grid-template-rows: auto 3.2em auto 1fr; gap: var(--s-3); }
  .cards3 > .card > h3 { margin: 0; white-space: nowrap; }
  .cards3 > .card > p { margin: 0; line-height: 1.6; }
  .glow-panel { position: relative; overflow: hidden; height: 320px; border-radius: 24px; margin-top: var(--s-3); -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
  .cards3 > .card:nth-child(1) .glow-panel { background: radial-gradient(120% 90% at 20% 110%, #ffd3a1 0%, #ff9f6a 30%, #f2788c 60%, #f4d2da 100%); }
  .cards3 > .card:nth-child(2) .glow-panel { background: radial-gradient(120% 90% at 50% 115%, #ffe0b8 0%, #ffab73 32%, #ef6a83 66%, #f7dde3 100%); }
  .cards3 > .card:nth-child(3) .glow-panel { background: radial-gradient(120% 90% at 80% 110%, #ffcf9e 0%, #ff8a5c 35%, #e8517a 70%, #f6d6df 100%); }
  .glow-panel > .m-win { position: absolute; left: 24px; right: 24px; top: 28px; }
  @media (max-width: 1023px) { .cards3 > .card { grid-template-rows: auto auto auto 1fr; } }
  @media (max-width: 639px) { .glow-panel { height: 260px; } .cards3 > .card > h3 { white-space: normal; } }

  /* film frames: one radius, the window always 28px in from the left and 32px down, cut by the foot */
  .film-frame { position: relative; overflow: hidden; border-radius: 28px; background: #111a2c; }
  .film-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .film-frame > .film-pause { position: absolute; z-index: 3; right: 16px; bottom: 16px; }
  .split-frame { aspect-ratio: 5 / 4; }
  .split-frame > .d-win, .split-frame > .m-win { position: absolute; z-index: 2; left: 28px; top: 32px; width: min(400px, 64%); }
  .split-frame .d-list { display: none; }
  .split-frame .d-win__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  @media (max-width: 639px) { .split-frame { aspect-ratio: 4 / 5; } .split-frame > .d-win, .split-frame > .m-win { left: 16px; right: 16px; top: 20px; width: auto; } }
  .wide-frame { margin-top: var(--s-7); aspect-ratio: 16 / 7; }
  .wide-frame > .ly-piece { position: absolute; z-index: 2; left: 40px; bottom: -40px; width: min(420px, calc(100% - 80px)); }
  .wide-frame > .d-win, .wide-frame > .m-win { position: absolute; z-index: 2; left: 40px; top: 40px; width: min(480px, calc(100% - 80px)); }
  @media (max-width: 1023px) { .wide-frame { aspect-ratio: 4 / 3; } }
  @media (max-width: 639px) { .wide-frame { aspect-ratio: 4 / 5; } .wide-frame > .ly-piece, .wide-frame > .d-win, .wide-frame > .m-win { left: 16px; right: 16px; width: auto; } .wide-frame > .d-win, .wide-frame > .m-win { top: 20px; } }

  /* the customer's status page on a phone */
  .phone { position: absolute; z-index: 2; left: 28px; top: 32px; width: 260px; border-radius: 38px; background: #111a2c; padding: 10px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
  .phone__screen { border-radius: 30px; background: #fff; color: #111a2c; overflow: hidden; font: 400 13px/1.4 var(--font-text); }
  .phone__brand { padding: 22px 18px 16px; background: #d6286a; color: #fff; }
  .phone__brand small { display: block; opacity: .85; }
  .phone__brand b { font: 650 20px/1.1 var(--font-display); font-variation-settings: "ROND" 100; }
  .phone__eta { padding: 16px 18px 8px; }
  .phone__eta b { display: block; font: 650 28px/1 var(--font-display); font-variation-settings: "ROND" 100; letter-spacing: -0.03em; }
  .phone__eta span { color: var(--muted); }
  .phone__steps { list-style: none; margin: 0; padding: 8px 18px 22px; display: grid; gap: 10px; }
  .phone__steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
  .phone__steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgb(17 26 44 / .2); }
  .phone__steps li.is-done { color: #111a2c; } .phone__steps li.is-done::before { background: #111a2c; border-color: #111a2c; }
  .phone__steps li.is-now { color: #d6286a; font-weight: 600; } .phone__steps li.is-now::before { background: #d6286a; border-color: #d6286a; }
  @media (max-width: 639px) { .phone { left: 50%; transform: translateX(-50%); top: 20px; } }

  /* columns of short facts under a wide frame */
  .facts3 { margin-top: var(--s-6); }
  .facts3 > div { display: grid; gap: var(--s-2); }
  .facts3 b { font: 600 18px/1.3 var(--font-text); }
  .facts3 span { color: var(--ink); }

  /* the audience rows */
  .rows3 { list-style: none; margin: 0; padding: 0; display: grid; }
  @media (max-width: 639px) { #who .split-frame { aspect-ratio: 16 / 9; } }
  .rows3 > li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
  .rows3 > li:first-child { padding-top: 0; }
  .rows3 h3 { margin: 0; font-size: var(--t-card); }
  .rows3 p { margin: 0; }
  .rows3 .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

  /* setup steps and the tools */
  .steps3 > div { display: grid; gap: var(--s-3); align-content: start; }
  .step__n { font: 650 56px/1 var(--font-display); letter-spacing: -0.04em; color: #d6286a; }
  .steps3 h3 { margin: 0; font-size: var(--t-card); }
  .steps3 p { margin: 0; }
  .tools { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
  .tools > p { margin: 0; font-weight: 500; }
  .tools__chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
  .tools__row .ic-chip, .tools__chips .ic-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(17 26 44 / .08); font-weight: 500; }
  .tools__chips .ic-chip img { width: 22px; height: 22px; }
  .tools__chips .ic-chip--text { padding-left: 14px; }
  .tools__chips .ic-chip img.ic-wordmark { width: auto; height: 18px; }
  .steps .glow-panel { height: 240px; }
  @media (max-width: 639px) { .steps .glow-panel { height: 200px; } }
  .m-chat { display: grid; gap: 10px; padding: 16px 18px; }
  .m-chat p { margin: 0; }
  .m-me { justify-self: end; padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: #f3efea; }
  .m-bot { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #111a2c; color: #eef0f4; }
  .m-bot b { color: #fff; font-weight: 600; }
  @media (max-width: 639px) { .tools > p { grid-column: 1 / -1; } .tools__chips { grid-column: 1 / -1; } }

  #pricing .plan-tools { display: flex; gap: var(--s-3); flex-wrap: wrap; }
  #pricing .price .t-stat { font-size: clamp(40px, 3.6vw, 56px); letter-spacing: -0.04em; }
  #pricing .addons { margin-top: var(--s-5); color: var(--ink); }
  @media (min-width: 640px) and (max-width: 1023px) { #pricing { --h: 2; } }
  @media (max-width: 639px) { #pricing .card--plan > p.muted:not(:has(.badge)) { display: none; } #pricing .card.card--plan { gap: 12px; } #pricing .checks { gap: 8px; } }

  /* the FAQ in two screens: the founder and the first questions, then the Google data note and the rest */
  .founder { display: grid; gap: var(--s-4); margin: 0; }
  .founder blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
  .founder .sig { display: grid; justify-items: start; gap: var(--s-2); }
  .founder .sig img { height: 40px; width: auto; }
  .founder .sig span { display: grid; }
  .founder .sig b { font-weight: 600; }
  .gdata { display: grid; gap: var(--s-3); align-content: start; }
  .gdata h3 { margin: 0; font-size: var(--t-card); }
  .gdata p { margin: 0; }

  .footer--dark .footer__col h3, .footer--dark .footer__legal { color: #f7f3ef; }
  .footer.closing.footer--dark { background: radial-gradient(70% 45% at 50% 42%, rgb(255 138 61 / .55), rgb(214 40 106 / .35) 45%, rgb(17 26 44 / 0) 75%), #111a2c; }
  @media (max-width: 639px) { .footer.closing.footer--dark { background: radial-gradient(90% 22% at 50% 34%, rgb(255 138 61 / .5), rgb(214 40 106 / .3) 50%, rgb(17 26 44 / 0) 80%), #111a2c; } }
  .close--word .close__word { font: 650 clamp(40px, 13.4vw, 204px)/1.02 var(--font-display); letter-spacing: -0.05em; margin: 0; max-width: 100%; overflow: hidden; color: #fff1e8; white-space: nowrap; }

/* pricing: the full feature list of every plan opens under its card (a native <details>), so the
   section grows past its screen instead of laying the list over the next one */
#pricing .plan-more { border-top: 1px solid var(--line); padding-top: var(--s-3); }
#pricing .plan-more > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); }
#pricing .plan-more > summary::-webkit-details-marker { display: none; }
#pricing .plan-more > summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--action); transition: transform .2s; }
#pricing .plan-more[open] > summary::after { transform: rotate(45deg); }
#pricing .plan-more > summary:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: 8px; }
#pricing .plan-more > .checks { margin-top: var(--s-3); }

/* ---- feature and solution pages (/features/*, /for/*): content sets each section's height ---- */
main.v4-feature > section { height: auto; min-height: 0; }
main.v4-feature > section.fhero { padding-top: calc(var(--padt) + 8px); }
main.v4-feature > section.fsec { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(32px, 4vw, 48px); }
main.v4-feature > section.fsec:last-child { padding-bottom: clamp(64px, 9vw, 128px); }
.v4-feature h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -0.04em; margin: 0; max-width: 16ch; }
.v4-feature .copy-col > .t-label { color: var(--action); margin: 0; }
.v4-feature .copy-col > .muted { margin: 0; font-size: 14px; }
.v4-feature .copy-col .checks { margin: 0; }
.v4-feature .copy-col h2 .badge { vertical-align: middle; font-size: 13px; }
.crumbs { margin-bottom: var(--s-5); font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* the hero: the page's film behind the real capture, the capture 28px in and cut by the frame's foot */
.fhero__frame { min-height: 520px; aspect-ratio: 5 / 4; }
.fhero__frame > .fshot { position: absolute; z-index: 2; left: 28px; right: 28px; top: 32px; margin: 0; }
.fhero__frame > .fshot--phone { right: auto; width: min(280px, 60%); }
@media (max-width: 639px) { .fhero__frame { min-height: 0; aspect-ratio: 4 / 5; margin-top: var(--s-6); } .fhero__frame > .fshot { left: 16px; right: 16px; top: 20px; } .fhero__frame > .fshot--phone { left: 50%; right: auto; transform: translateX(-50%); } }

/* a capture: the screen itself, on white, with the light window's shadow */
.fshot { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgb(17 26 44 / .08), 0 30px 60px -30px rgb(17 26 44 / .45); }
.fshot img { display: block; width: 100%; height: auto; }
.fshot--phone { border-radius: 28px; border: 8px solid #111a2c; }

/* a section's picture: the capture on the page's rose and orange glow, or the illustrated scene */
.fpanel { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: radial-gradient(120% 90% at 50% 115%, #ffe0b8 0%, #ffab73 32%, #ef6a83 66%, #f7dde3 100%); }
.fpanel .fshot { width: 100%; }
.fpanel .fshot--phone { width: min(300px, 80%); }
.fpanel .fshot--phone img { max-height: 560px; object-fit: cover; object-position: top; }
.fpanel--scene { padding: 0; overflow: hidden; background: var(--surface); }
.fscene { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .fsec .grid > * { grid-row: 1; }
  .fsec--flip > .copy-col { grid-column: 8 / span 5; }
  .fsec--flip > :not(.copy-col) { grid-column: 1 / span 6; }
}

/* the feature FAQ's reading links */
.related { display: grid; gap: var(--s-3); justify-items: start; }
.related ul { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: var(--s-2); }
#pricing .plan-more__intro { margin: var(--s-3) 0 0; font-weight: 600; color: var(--ink); }

/* Tailwind (the app's own CSS, loaded on every page) generates `.start-7 { left: 28px }` from the class
   names in our source, which pushed every split frame 28px right; the kit's .start-N only sets the grid column */
html[data-lp="v4"] .grid > [class*="start-"] { left: auto; right: auto; inset-inline: auto; }

/* pills inside the app windows: line-height 1 like the kit's .btn, or this face's tall ascent sets the text about 1px high */
.acts span { line-height: 1; }
.m-rows .r .tag, .d-rows .r em { line-height: 1; padding: 7px 10px; }

/* a window's title bar never wraps: on a phone the dots and the clock step aside */
.d-win__bar > span, .m-win__bar > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 639px) {
  .d-win__dots { display: none; }
  .d-win__bar > span:last-child:not(:first-child) { display: none; }
}

/* every film shows whole: on a phone the card leaves the picture and sits under it, overlapping only the
   film's foot, so nothing a film shows hides behind it (the desktop films keep their subject in the right
   third, clear of the card on the left) */
@media (min-width: 640px) {
  .split-frame > .d-win, .split-frame > .m-win { width: min(380px, 60%); }
}
@media (max-width: 639px) {
  html[data-lp="v4"] :is(.film-frame.split-frame, .film-frame.wide-frame, .film-frame.fhero__frame, .hero--centred .hero__window) {
    aspect-ratio: auto; min-height: 0; height: auto; flex: none; display: flex; flex-direction: column;
    overflow: visible; background: none; border-radius: 0; -webkit-mask-image: none; mask-image: none;
  }
  html[data-lp="v4"] :is(.film-frame.split-frame, .film-frame.wide-frame, .film-frame.fhero__frame, .hero--centred .hero__window) > video {
    position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; flex: none;
  }
  html[data-lp="v4"] :is(.film-frame.split-frame, .film-frame.wide-frame, .film-frame.fhero__frame, .hero--centred .hero__window) > :not(video, .film-pause) {
    position: relative; inset: auto; transform: none; z-index: 2; width: auto; margin: -48px 12px 0;
  }
  html[data-lp="v4"] :is(.film-frame.split-frame, .film-frame.wide-frame, .film-frame.fhero__frame) > :is(.phone, .fshot--phone) {
    width: min(280px, 72%); margin: -64px auto 0;
  }
  html[data-lp="v4"] :is(.film-frame, .hero__window) > .film-pause { top: 12px; right: 12px; bottom: auto; }
  html[data-lp="v4"] #who .split-frame > video { aspect-ratio: 16 / 9; }
  /* the hero grows with its window instead of clipping it */
  html[data-lp="v4"] main > section.hero--centred { height: auto; min-height: 100svh; }
  html[data-lp="v4"] .fhero__frame { margin-top: var(--s-6); }
}
/* two films whose subject sits right of centre: the desktop crop slides so it lands clear of the card */
@media (min-width: 640px) {
  #film-booked { object-position: 0% 50%; }
  #film-sell { object-position: 35% 50%; }
  #film-crew { object-position: 20% 50%; }
  /* the selfie: the wide desktop crop keeps the top, so her raised phone stays in frame */
  #film-market { object-position: 50% 0%; }
}
/* on a tablet the 4:3 frame is narrow: a slimmer post card keeps the selfie's face and phone clear */
@media (min-width: 640px) and (max-width: 1023px) {
  #market .wide-frame > .m-win { width: min(340px, 46%); }
}

/* the hero on a tablet or desktop: the chat card sits lower and the film rides on its foot, so the truck shows
   above the card; the window grows past the fold to keep the card whole (owner's call, over a new clip) */
@media (min-width: 640px) {
  html[data-lp="v4"] main > section.hero--centred { height: auto; min-height: 100svh; }
  html[data-lp="v4"] .hero--centred .hero__window {
    flex: none; height: 640px; min-height: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent); mask-image: linear-gradient(to bottom, #000 92%, transparent);
  }
  html[data-lp="v4"] .hero--centred .hero__window > .ly-piece { top: 290px; }
  html[data-lp="v4"] .hero--centred .hero__window > video { object-position: 50% 100%; }
}

/* the rhythm: a content section is as tall as its content plus breathing room, never a forced screen (the kit's
   one-section-per-screen rule left 200 to 500px of empty ground between sections on a phone). The hero, the glow
   statement and the closing footer keep their full-screen moments. */
html[data-lp="v4"] main > section.section:not(.glow) {
  height: auto; min-height: 0;
  padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(24px, 3vw, 48px);
}
html[data-lp="v4"] main > section.section:not(.glow) > .wrap { height: auto; }
html[data-lp="v4"] main > section.section.g2 > .wrap { grid-template-rows: auto auto; row-gap: clamp(40px, 5vw, 72px); }
/* a dark band keeps the same room above and below its content */
html[data-lp="v4"] main > section.section.ground-inverse { padding-bottom: clamp(56px, 7vw, 112px); }
html[data-lp="v4"] main > section.section.ground-inverse + section.section { padding-top: clamp(64px, 8vw, 128px); }

/* the founder's note is a card of its own, the signature transparent ink on it */
.founder {
  padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff;
  border: 1px solid rgb(17 26 44 / .06);
  box-shadow: 0 1px 2px rgb(17 26 44 / .05), 0 24px 48px -30px rgb(17 26 44 / .28);
}
.founder blockquote { position: relative; }
.founder blockquote::before { content: "\201C"; display: block; height: .55em; margin-bottom: 6px; font: 650 56px/1 var(--font-display); color: var(--action); }

/* the Google data note: a soft rose to peach wash with the two products it is about */
.gdata {
  padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: linear-gradient(150deg, #fff7f2 0%, #fdebf0 55%, #f7ecf6 100%);
  border: 1px solid rgb(214 40 106 / .14);
}
.gdata__icons { display: flex; gap: 8px; }
.gdata__icons img { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgb(17 26 44 / .08); }
.gdata .link { justify-self: start; }
.founder .sig img { height: 48px; }

/* the closing statement as two ticked lines: each tick pops and draws as the glow passes its --t, so the day
   checks itself off while the sun comes up; at rest (no script, reduced motion, a phone) --p is 1 and both stand ticked */
/* one size for both lines, set by the longer one ("Home for dinner." plus its tick is about 8.2em wide), so neither
   line ever wraps and the two rows always match */
.glow .glow__checks { max-width: none; display: grid; justify-items: center; gap: .08em; font-size: min(9vw, 132px); }
.glow .glow__item { display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; }
.glow .glow__tick {
  --on: clamp(0, calc((var(--p) - var(--t)) * 9), 1);
  flex: none; display: grid; place-items: center; width: .62em; height: .62em; border-radius: 50%;
  background: var(--action); box-shadow: 0 0 0 .05em #fff6ef; transform: scale(calc(0.4 + var(--on) * 0.6)); opacity: var(--on);
}
.glow .glow__tick svg { width: 64%; height: 64%; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 22; stroke-dashoffset: calc(22 - var(--on) * 22); }
@media (max-width: 639px) { .glow .glow__checks { font-size: clamp(32px, 9.6vw, 44px); } }

/* home for dinner: once night has come down, the family at the table fades in behind the words, faint and
   warm, its edges dissolving into the dark (from about 82% of the run; at rest, on a phone, it simply stands) */
.glow .glow__family {
  position: absolute; inset: 0;
  background: url(/lp/images/family-dinner.webp) 45% 62% / cover no-repeat;
  opacity: calc(clamp(0, calc((var(--p) - 0.82) * 6), 1) * 0.4);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 60%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 60%, #000 30%, transparent 100%);
}

/* ---- product windows drawn for feature sections with no capture (_v4/feature-visuals.tsx) ---- */
.fpanel--window { padding: clamp(20px, 3.5vw, 44px); }
.fpanel--window > .m-win, .fpanel--window > .d-win { width: 100%; max-width: 480px; }
.fpanel--window > .d-win .d-rows { padding-top: 4px; }
.m-rows .r .ico--glyph { font: 600 11px/1 var(--font-text); color: #111a2c; letter-spacing: .02em; }
.m-rows .r .ico--glyph svg { display: block; }
.m-rows .r .dot { width: 14px; height: 14px; margin: 0 8px; border-radius: 50%; }
.m-facts { display: grid; gap: 2px; margin: 4px 18px 18px; padding: 12px 14px; border-radius: 12px; background: #f6f1ec; }
.m-facts span { font-size: 12px; color: var(--muted); }
.m-facts b { font-weight: 500; font-size: 13px; }
.poster { position: relative; margin: 14px 18px 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #111a2c; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.poster__text { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px;
  background: rgb(17 26 44 / .78); color: #fff6ef; font-size: 13px; backdrop-filter: blur(4px); }
.poster__text b { font: 650 18px/1.15 var(--font-display); font-variation-settings: "ROND" 100; letter-spacing: -0.01em; }
.poster__caption { margin: 12px 18px 0; font-size: 14px; }
.acts--light { padding: 14px 18px 18px; flex-wrap: wrap; }
.acts--light span { line-height: 1; background: #111a2c; color: #fff; }
.acts--light span + span { background: #f3efea; color: #111a2c; }
.reel { position: relative; width: min(280px, 70%); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #111a2c;
  border: 8px solid #111a2c; box-shadow: 0 40px 80px -30px rgb(17 26 44 / .6); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.reel__tag { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 10px; background: rgb(17 26 44 / .72);
  color: #fff6ef; font-size: 12px; line-height: 1.3; text-align: center; }

/* ---- privacy and terms (_components/legal-page.tsx): the legal text set for reading in the v4 type ---- */
main.v4-legal > section.legal { height: auto; min-height: 0; padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); }
.v4-legal .legal__head { width: 100%; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.v4-legal .legal__head .t-label { margin: 0 0 var(--s-3); color: var(--action); }
.v4-legal .legal__head h1 { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.v4-legal .legal__date { margin: var(--s-4) 0 0; color: var(--muted); font-size: 15px; }
.v4-legal .legal__body { width: 100%; max-width: 760px; margin: 0 auto; color: var(--ink); font-size: 17px; line-height: 1.7; }
.v4-legal .legal__body > div { display: grid; gap: clamp(36px, 4vw, 52px); }
.v4-legal .legal__body section { scroll-margin-top: 96px; }
.v4-legal .legal__body h2 { margin: 0 0 var(--s-4); font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 650; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.v4-legal .legal__body h3 { margin: var(--s-5) 0 var(--s-2); font-size: 18px; font-weight: 600; color: var(--ink); }
.v4-legal .legal__body p { margin: 0; }
.v4-legal .legal__body section > div { display: grid; gap: var(--s-3); }
.v4-legal .legal__body ul { margin: 0; padding-left: 1.25em; list-style: disc; display: grid; gap: var(--s-2); }
.v4-legal .legal__body li::marker { color: var(--action); }
.v4-legal .legal__body strong { font-weight: 600; color: var(--ink); }
.v4-legal .legal__body a { color: var(--action); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.v4-legal .legal__body a:hover { text-decoration-thickness: 2px; }
.v4-legal .legal__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.v4-legal .legal__body th, .v4-legal .legal__body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
/* on a phone the family fills the whole screen, cropped around the table, its top and bottom fading into the night */
@media (max-width: 639px) {
  .glow .glow__family {
    background-position: 38% 58%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }
}

/* ---- the 404 in the v4 design ((marketing)/not-found.tsx): one calm block, never a display-size wordmark ---- */
html[data-lp="v4"] main.v4-notfound > section.section { height: auto; min-height: 60vh; display: flex; align-items: center; padding: clamp(64px, 10vw, 140px) 0; }
html[data-lp="v4"] main.v4-notfound > section.section > .wrap { display: block; height: auto; max-width: 640px; text-align: left; }
html[data-lp="v4"] main.v4-notfound .t-label { margin: 0 0 var(--s-3); color: var(--action); }
html[data-lp="v4"] main.v4-notfound h1 { margin: 0; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
html[data-lp="v4"] main.v4-notfound .t-lead { margin: var(--s-4) 0 var(--s-6); color: var(--muted); }
html[data-lp="v4"] main.v4-notfound a.btn { display: inline-flex; width: auto; }
