/* On Deck marketing site (#1579): home, features, pricing.
   Ported from the Claude Design handoff. Desktop layout by default; the phone
   layout takes over at max-width 1000px (single column, 390-wide design). */

@font-face { font-family: 'Saira'; src: url(/fonts/saira-upright.woff2) format('woff2'); font-weight: 100 900; font-stretch: 50% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saira'; src: url(/fonts/saira-italic.woff2) format('woff2'); font-weight: 100 900; font-stretch: 50% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cornflower: #6663FD;
  --cornflower-shadow: #4B48D4;
  --accent: #E9FC87;
  --accent-shadow: #B9CC5A;
  --tan: #FDF7E7;
  --tan-light: #FEFBF2;
  --tan-dark: #F5ECDA;
  --anthracite: #393D47;
  --muted: #5A5D64;
  --line: rgba(57, 61, 71, 0.13);
  --line-strong: rgba(57, 61, 71, 0.35);
  --font-display: 'Saira', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-card: 16px;
  --radius-btn: 14px;
  --shadow-card: 0 8px 24px rgba(57, 61, 71, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

body.mk {
  margin: 0;
  background: var(--tan);
  color: var(--anthracite);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.mk a { color: var(--anthracite); text-decoration: none; }
.mk a:hover { color: var(--cornflower); }
.mk img { max-width: 100%; }
.mk .hidden { display: none !important; }
.mk h1, .mk h2, .mk h3, .mk p, .mk ul { margin: 0; }
.mk ul { padding: 0; list-style: none; }
.mk details > summary { list-style: none; cursor: pointer; }
.mk details > summary::-webkit-details-marker { display: none; }
.mk :focus-visible { outline: 3px solid var(--cornflower); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---- Shared type ---- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 76%;
  text-transform: uppercase;
  color: var(--anthracite);
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cornflower); }
.eyebrow--muted { color: var(--muted); }
.pill {
  display: inline-block;
  background: var(--accent);
  color: var(--anthracite);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.hl { display: inline-block; background: var(--accent); color: var(--anthracite); padding: 0 0.1em; }
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); }

.t-hero { font-size: 96px; line-height: 0.94; letter-spacing: -0.01em; }
.t-xl { font-size: 104px; line-height: 0.94; }
.t-price { font-size: 88px; line-height: 0.96; }
.t-cta { font-size: 84px; line-height: 0.96; color: var(--tan); }
.t-h2 { font-size: 60px; line-height: 1; }
.t-h2s { font-size: 52px; line-height: 1; }
.t-la { font-size: 64px; line-height: 1; color: var(--tan); }
.t-feat { font-size: 56px; line-height: 1; }
.t-card { font-size: 30px; line-height: 1; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--cornflower);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 0 var(--cornflower-shadow);
  text-align: center;
  cursor: pointer;
}
.mk a.btn { color: #fff; }
.mk a.btn:hover, .btn:hover { background: #5754F0; color: #fff; }
.btn--accent { background: var(--accent); color: var(--anthracite); box-shadow: 0 4px 0 var(--accent-shadow); }
.mk a.btn--accent { color: var(--anthracite); }
.mk a.btn--accent:hover, .btn--accent:hover { background: #DCF06E; color: var(--anthracite); }
.btn--md { font-size: 17px; padding: 14px 26px; }
.btn--block { display: block; width: 100%; padding: 15px 24px; font-size: 17px; }
.btn:disabled { opacity: 0.7; cursor: default; }
.badge-link { display: block; }
.badge-link img { display: block; height: 54px; width: auto; }

/* ---- Nav ---- */
.nav { height: 76px; display: flex; align-items: center; border-bottom: 1px solid var(--line); background: var(--tan); position: sticky; top: 0; z-index: 50; }
.nav .container { display: flex; align-items: center; gap: 36px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; flex: 1; }
.nav-links a[aria-current="page"] { color: var(--cornflower); }
.nav-signin { font-size: 15px; font-weight: 600; }
.nav .nav-cta { font-size: 15px; padding: 11px 20px; border-radius: 12px; box-shadow: 0 3px 0 var(--cornflower-shadow); }
.nav-menu { display: none; }

/* ---- Footer ---- */
.footer { background: var(--anthracite); color: var(--tan); padding: 56px 0; }
.footer .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer img.footer-logo { height: 40px; width: auto; display: block; }
.footer-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; flex: 1; flex-wrap: wrap; }
.mk .footer a { color: var(--tan); }
.mk .footer a:hover { color: var(--accent); }
.footer .badge-link img { height: 44px; }
.footer-legal { width: 100%; font-size: 13px; color: rgba(253, 247, 231, 0.65); }

/* ---- Closing CTA ---- */
.cta { position: relative; overflow: hidden; background: var(--cornflower); padding: 96px 0; }
.cta .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta p { font-size: 20px; line-height: 1.5; color: var(--tan); max-width: 520px; }
.cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ---- Watermark stars ---- */
.wm { position: absolute; pointer-events: none; fill: rgba(253, 247, 231, 0.09); }
.wm-a { width: 640px; height: 538px; left: -150px; top: -120px; }
.wm-b { width: 460px; height: 387px; right: -80px; bottom: -110px; }
.cta .wm-a { width: 520px; height: 437px; left: -120px; top: auto; bottom: -130px; }
.cta .wm-b { width: 400px; height: 336px; right: -90px; top: -90px; bottom: auto; }

/* ---- FAQ ---- */
.faq-item { background: var(--tan-light); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px 26px; }
.faq-item summary { font-size: 19px; font-weight: 700; }
.faq-item p { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

/* ---- Cards shared ---- */
.card {
  background: var(--tan-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   HOME
   ========================================================= */
.home-hero { position: relative; overflow: hidden; background: var(--tan); }
.home-hero .container { padding-top: 72px; display: flex; gap: 40px; align-items: flex-start; height: 830px; }
.home-hero-copy { width: 560px; flex: none; padding-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.home-hero-copy .pill { align-self: flex-start; }
.home-hero-copy p { font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 500px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--muted); }
.home-hero-shot { position: relative; width: 560px; height: 760px; flex: none; }
.phone-cut {
  position: absolute; left: 20px; top: 0; width: 360px;
  border: 10px solid var(--anthracite); border-bottom: none; border-radius: 50px 50px 0 0;
  overflow: hidden; background: var(--tan); box-shadow: 0 24px 50px rgba(57, 61, 71, 0.2);
}
.phone-cut img { display: block; width: 340px; height: auto; }
.callout-line { position: absolute; left: 336px; width: 56px; height: 2px; background: var(--cornflower); }
.callout-dot { position: absolute; left: 330px; width: 12px; height: 12px; border-radius: 50%; background: var(--cornflower); border: 2px solid var(--tan); }
.callout {
  position: absolute; left: 392px; width: 190px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(57, 61, 71, 0.08);
}
.callout .eyebrow { display: block; }
.callout div:last-child { font-size: 14px; line-height: 1.35; margin-top: 2px; }
.c1 { top: 106px; } .c1d { top: 101px; } .c1b { top: 56px; }
.c2 { top: 171px; } .c2d { top: 166px; } .c2b { top: 160px; }
.c3 { top: 279px; } .c3d { top: 274px; } .c3b { top: 246px; }
.phone-badge { display: none; }
.hero-legend { display: none; }

.ba { background: var(--tan-dark); padding: 104px 0; }
.ba-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.ba-head .eyebrow { margin-bottom: 14px; }
.ba-head p { margin-top: 16px; }
.ba-cols { display: flex; gap: 32px; align-items: stretch; }
.ba-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdf {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 22px 24px;
  font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.4; color: #555;
}
.pdf-title { font-weight: 700; color: #222; }
.pdf-sub { font-size: 11px; margin-bottom: 8px; }
.pdf-row { display: grid; grid-template-columns: 62px 96px 1fr 28px; gap: 6px; padding: 3px 0; border-bottom: 1px solid #E3E3E3; }
.pdf-row--head { padding: 4px 0; border-bottom: 2px solid #444; font-weight: 700; color: #222; }
.ba-app {
  flex: 1; background: var(--tan); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 20px; display: flex; flex-direction: column; gap: 14px;
  align-items: stretch; justify-content: center;
}
.ba-app img { display: block; width: 100%; max-width: 390px; height: auto; align-self: center; }
.ba-app img.round { border-radius: 14px; }

.moments { background: var(--tan); padding: 104px 0; }
.moments-head { max-width: 680px; margin-bottom: 48px; }
.moments-head .eyebrow { margin-bottom: 14px; }
.moments-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.moment { padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 24px rgba(57, 61, 71, 0.06); }
.moment-art { height: 132px; background: var(--tan); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.moment-art--halls { background: #F2EEE9; }
.moment-art img { width: 100%; height: auto; display: block; }
.moment-art img.fit-h { width: auto; max-width: 100%; height: 100%; border-radius: 12px; }
.moment-art--rows { background: #FDF7E7; }
.moment p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.more-link { margin-top: 36px; }
.mk .more-link a { font-size: 17px; font-weight: 700; color: var(--cornflower); }

.la { background: var(--anthracite); color: var(--tan); padding: 104px 0; }
.la .container { display: flex; align-items: center; gap: 72px; }
.la-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.la-copy p { font-size: 19px; line-height: 1.55; color: rgba(253, 247, 231, 0.78); max-width: 480px; }
.la-shot { flex: none; width: 340px; display: flex; justify-content: center; }

.p-only { display: none; }

.count { background: var(--tan); padding: 104px 0; }
.count .container { display: flex; align-items: center; gap: 72px; }
.count-num { flex: none; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.count-num .big { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 76%; font-size: 220px; line-height: 0.85; color: var(--cornflower); letter-spacing: -0.01em; }
.count-num .pill { margin-top: 14px; font-size: 13px; }
.count-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.count-copy .display { font-size: 52px; line-height: 1; }
.count-copy p { font-size: 19px; line-height: 1.55; color: var(--muted); }

.faq { background: var(--tan-dark); padding: 104px 0; }
.faq .container { display: flex; gap: 72px; align-items: flex-start; }
.faq-side { width: 320px; flex: none; }
.faq-side .eyebrow { margin-bottom: 14px; }
.faq-main { flex: 1 1 0; min-width: 0; }

/* =========================================================
   FEATURES
   ========================================================= */
.f-hero { position: relative; overflow: hidden; background: var(--cornflower); padding: 104px 0 112px; }
.f-hero .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.f-hero h1 { color: var(--tan); max-width: 1000px; }
.f-hero h1 .block { display: block; }
.f-hero h1 .hl { margin-top: 6px; }
.f-hero p { font-size: 21px; font-weight: 500; line-height: 1.5; color: var(--tan); max-width: 600px; }

.feat { position: relative; overflow: hidden; background: var(--tan); padding: 80px 0; --wm: var(--tan-dark); }
.feat--alt { background: var(--tan-dark); --wm: var(--tan); }
.feat .wm { fill: var(--wm); width: 560px; height: 471px; top: 50%; margin-top: -236px; left: -190px; }
.feat--rev .wm { left: auto; right: -190px; }
.feat .container { position: relative; display: flex; align-items: center; gap: 80px; }
.feat--rev .container { flex-direction: row-reverse; }
.feat-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feat-copy > p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 500px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { border: 1px solid var(--line-strong); color: var(--anthracite); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.tag--plus { background: var(--accent); border-color: var(--accent); }
.ticks { margin: 4px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--cornflower); }

.fvis { --panel: var(--cornflower); flex: none; width: 440px; position: relative; display: flex; justify-content: center; align-items: center; }
.fvis--plus { --panel: var(--accent); }
.fvis--panel { padding: 44px 34px; }
.fvis--panel::before { content: ''; position: absolute; inset: 0; background: var(--panel); border-radius: 32px; }
.fvis-inner { position: relative; width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.phone-full {
  position: relative; width: 312px; border: 8px solid var(--anthracite); border-radius: 46px; overflow: hidden;
  background: var(--tan); box-shadow: 0 30px 60px rgba(57, 61, 71, 0.38);
}
.phone-full img { display: block; width: 296px; height: auto; }
.phone-full .island { position: absolute; top: 8px; left: 50%; margin-left: -40px; width: 80px; height: 20px; background: var(--anthracite); border-radius: 12px; }
.shots {
  width: 100%; background: var(--tan-light); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 22px 44px rgba(57, 61, 71, 0.28); padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.shots img { display: block; width: 100%; max-width: 328px; height: auto; border-radius: 12px; }
.shots img.island-shot { max-width: 240px; border-radius: 999px; }
.signal {
  width: 100%; background: var(--anthracite); border-radius: 32px; padding: 56px 36px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 22px 44px rgba(57, 61, 71, 0.28);
}
.signal .display { font-size: 50px; line-height: 1; color: var(--tan); }
.signal .hl { color: var(--anthracite); }

/* =========================================================
   PRICING
   ========================================================= */
.p-hero { background: var(--tan); padding: 88px 0 56px; }
.p-hero .container { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.p-hero h1 { max-width: 900px; }
.p-hero p { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 560px; }
.p-cards { background: var(--tan); padding: 0 0 104px; }
.p-cards .container { max-width: 1040px; }
.promo-banner {
  max-width: 960px; margin: 0 auto 20px; padding: 10px 18px; background: rgba(102, 99, 253, 0.08);
  border: 1px solid rgba(102, 99, 253, 0.2); border-radius: 999px; color: var(--anthracite);
  font-size: 14px; font-weight: 500; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.promo-banner strong { color: #4B48D4; font-weight: 700; letter-spacing: 0.04em; }
.promo-banner .promo-banner-sep { color: var(--muted); }
.mk .promo-banner-remove { color: #4B48D4; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; cursor: pointer; }
.mk .promo-banner-remove:hover { text-decoration: none; }
.tiers { display: flex; gap: 28px; align-items: stretch; }
.tier { flex: 1 1 0; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.tier--plus { border-radius: var(--radius-card); background: var(--cornflower); color: var(--tan); border: 0; box-shadow: 0 16px 40px rgba(102, 99, 253, 0.28); position: relative; }
.tier-head { display: flex; align-items: center; justify-content: space-between; }
.tier-name { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.tier--plus .tier-name { font-size: 14px; color: var(--tan); }
.tier--plus .pill { padding: 6px 12px; }
.tier-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tier-price .amount { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 76%; font-size: 84px; line-height: 0.9; color: var(--tan); }
.tier:not(.tier--plus) .tier-price .amount { color: var(--anthracite); }
.tier-price .strikethrough { font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 76%; font-size: 36px; color: rgba(253, 247, 231, 0.85); text-decoration: line-through; }
.tier-price .period { font-size: 18px; font-weight: 600; color: var(--tan); }
.tier-blurb { font-size: 16px; line-height: 1.5; color: var(--muted); }
.tier--plus .tier-blurb { color: var(--tan); font-weight: 600; font-size: 17px; }
.tier-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.tier--plus .tier-list li { font-size: 17px; font-weight: 600; }
.tier-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--cornflower); }
.tier--plus .tier-list svg { color: var(--accent); }
.price-skeleton {
  display: inline-block; vertical-align: middle; width: 120px; height: 64px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(253, 247, 231, 0.18) 0%, rgba(253, 247, 231, 0.34) 50%, rgba(253, 247, 231, 0.18) 100%);
  background-size: 200% 100%; animation: skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes skeleton-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .price-skeleton { animation: none; } }
/* #853 S4: the /pricing Terms refusal. A native <dialog> echoing the app's ActionDialog (#2063): the page's cream
   ground, an upright Saira display title, the body on a white card, a full-width primary with an outlined Cancel below it,
   and an X in the corner (PR #2078 walk).
   No colored left-edge stripe. */
.mk-dialog {
  width: min(448px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  margin: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--tan-light); color: var(--anthracite); box-shadow: 0 24px 50px rgba(57, 61, 71, 0.2);
}
.mk-dialog::backdrop { background: rgba(32, 34, 40, 0.55); }
/* Safari before 15.4 has no built-in dialog styles: hide it closed, and float it when the `open` fallback is set. */
.mk-dialog:not([open]) { display: none; }
.mk-dialog[open] { position: fixed; inset: 0; height: fit-content; z-index: 1000; }
.mk-dialog-title {
  font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 68%;
  text-transform: uppercase; font-size: 30px; line-height: 1; color: var(--cornflower); margin: 0;
}
/* The title takes the initial focus (autofocus) so Open On Deck isn't drawn with a focus ring on open. */
.mk-dialog-title:focus { outline: none; }
.mk-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.mk-dialog-close {
  flex: none; width: 40px; height: 40px; margin: -4px -4px -4px 0; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--anthracite); font-size: 30px; line-height: 1; cursor: pointer;
}
.mk-dialog-close:hover { background: var(--tan-dark); }
.mk-dialog-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.mk-dialog-body { font-size: 15px; line-height: 1.45; font-weight: 600; }
.mk-dialog-actions { display: flex; flex-direction: column; gap: 4px; }
.mk-dialog-ghost {
  display: block; width: 100%; margin-top: 8px; padding: 13px 24px; border: 2px solid var(--cornflower);
  border-radius: var(--radius-btn); background: #fff; color: var(--cornflower); font-family: var(--font-body);
  font-size: 17px; font-weight: 700; cursor: pointer;
}
.mk-dialog-ghost:hover { background: var(--tan-light); }
.p-faq { background: var(--tan-dark); padding: 96px 0; }
.p-faq .container { max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.p-faq h2 { margin-bottom: 20px; }

/* Toast target for web/lib/toast.js (the invalid-promo notice) */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--anthracite); color: var(--tan);
  padding: 0.75rem 1.25rem; border-radius: 12px; font-size: 0.9rem; z-index: 500; box-shadow: var(--shadow-card); max-width: 90vw;
}
.toast.toast-error { background: #c0392b; }
.toast.toast-success { background: #1b7a36; }
.toast.toast-tappable { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   PHONE LAYOUT (single column, designed at 390)
   ========================================================= */
/* Between the phone layout and wide desktop the side callouts would run off-screen. */
@media (min-width: 1001px) and (max-width: 1220px) {
  .callout, .callout-line, .callout-dot { display: none; }
}
@media (max-width: 1000px) {
  .container { padding: 0 20px; max-width: 680px; }
  .d-only { display: none; }
  .p-only { display: inline; }
  .t-hero { font-size: 64px; }
  .t-xl { font-size: 50px; }
  .t-price { font-size: 60px; }
  .t-cta { font-size: 58px; }
  .t-h2 { font-size: 46px; }
  .t-h2s { font-size: 46px; }
  .t-la { font-size: 46px; }
  .t-feat { font-size: 42px; }
  .pill { font-size: 11px; padding: 7px 12px; }
  .lede { font-size: 17px; }
  .btn--block { padding: 15px 24px; }
  .badge-link img { height: 50px; }

  /* nav */
  .nav { height: 64px; }
  .nav .container { padding: 0 8px 0 20px; gap: 8px; max-width: none; }
  .nav-logo { flex: 1; }
  .nav-logo img { height: 36px; }
  .nav-links, .nav-signin { display: none; }
  .nav .nav-cta { font-size: 14px; padding: 11px 16px; }
  .nav-menu { display: block; position: static; }
  .nav-menu summary { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
  .nav-menu svg { width: 24px; height: 24px; }
  .nav-menu-list {
    position: absolute; left: 0; right: 0; top: 64px; background: var(--tan); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; display: flex; flex-direction: column; box-shadow: 0 12px 24px rgba(57, 61, 71, 0.08);
  }
  .nav-menu-list a { font-size: 17px; font-weight: 600; padding: 12px 0; }
  .nav-menu-list a[aria-current="page"] { color: var(--cornflower); }

  /* footer */
  .footer { padding: 44px 0; }
  .footer .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer img.footer-logo { height: 34px; }
  .footer-links { flex-direction: column; gap: 6px; font-size: 16px; flex: none; }
  .footer-links a { padding: 8px 0; }
  .footer .badge-link img { height: 46px; }

  /* closing CTA */
  .cta { padding: 72px 0; }
  .cta .container { gap: 24px; }
  .cta p { font-size: 18px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { display: block; width: 100%; padding: 16px 24px; }
  .wm-a { width: 360px; height: 303px; left: auto; right: -120px; top: -70px; }
  .wm-b { display: none; }
  .cta .wm-a { width: 320px; height: 269px; left: -110px; right: auto; top: auto; bottom: -80px; }
  .cta .wm-b { display: none; }

  /* faq */
  .faq-item { padding: 18px 20px; }
  .faq-item summary { font-size: 18px; min-height: 24px; }
  .faq-item p { margin-top: 10px; font-size: 16px; }

  /* home hero */
  .home-hero { padding: 36px 0 0; }
  .home-hero .container { height: auto; padding-top: 0; flex-direction: column; gap: 22px; }
  .home-hero-copy { width: 100%; padding-top: 0; gap: 22px; }
  .home-hero-copy p { font-size: 18px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
  .hero-actions .btn { display: block; width: 100%; }
  .home-hero-shot { width: 340px; height: 560px; align-self: center; margin-top: 8px; }
  .phone-cut { width: 300px; border-width: 8px; border-radius: 44px 44px 0 0; box-shadow: 0 20px 44px rgba(57, 61, 71, 0.2); }
  .phone-cut img { width: 284px; }
  .callout, .callout-line, .callout-dot { display: none; }
  .phone-badge {
    position: absolute; left: 307px; width: 26px; height: 26px; border-radius: 50%; background: var(--cornflower); color: #fff;
    border: 2px solid var(--tan); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  }
  .pb1 { top: 76px; } .pb2 { top: 130px; } .pb3 { top: 220px; }
  .hero-legend { display: flex; flex-direction: column; gap: 14px; background: var(--tan-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
  .hero-legend .container { display: flex; flex-direction: column; gap: 14px; }
  .hero-legend .row { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
  .hero-legend .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cornflower); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

  .ba { padding: 64px 0; }
  .ba-head { text-align: left; max-width: none; margin: 0 0 20px; }
  .ba-head .eyebrow { margin-bottom: 20px; }
  .ba-head h2 { margin-bottom: 20px; }
  .ba-head p { margin-top: 0; font-size: 17px; }
  .ba-cols { flex-direction: column; gap: 20px; }
  .ba-col { gap: 12px; }
  .pdf { flex: none; padding: 16px; font-size: 11px; }
  .pdf-sub { font-size: 10px; margin-bottom: 6px; }
  .pdf-row { grid-template-columns: 54px 66px 1fr 18px; gap: 4px; }
  .pdf-row--head { padding: 3px 0; }
  .pdf-row--extra { display: none; }
  .ba-app { flex: none; padding: 16px; gap: 12px; align-items: center; }

  .moments { padding: 64px 0; }
  .moments-head { margin-bottom: 12px; }
  .moments-head .eyebrow { margin-bottom: 20px; }
  .moments-grid { grid-template-columns: 1fr; gap: 20px; }
  .moment { padding: 18px; gap: 14px; }
  .moment-art { height: 120px; }
  .moment-art img { max-width: 330px; }
  .more-link { margin-top: 20px; }
  .mk .more-link a { display: inline-block; padding: 8px 0; }

  .la { padding: 64px 0; }
  .la .container { flex-direction: column; align-items: stretch; gap: 22px; }
  .la-copy p { font-size: 17px; max-width: none; }
  .la-shot { width: auto; justify-content: center; margin-top: 16px; }

  .count { padding: 64px 0; }
  .count .container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .count-num { gap: 20px; }
  .count-num .big { font-size: 150px; }
  .count-num .pill { margin-top: 0; font-size: 12px; }
  .count-copy { gap: 20px; }
  .count-copy .display { font-size: 42px; margin-top: 12px; }
  .count-copy p { font-size: 17px; }

  .faq { padding: 64px 0; }
  .faq .container { flex-direction: column; gap: 12px; }
  .faq-side { width: 100%; }
  .faq-side .eyebrow { margin-bottom: 12px; }
  .faq-side .display { margin-bottom: 12px; }
  .faq-main { width: 100%; }

  /* features */
  .f-hero { padding: 56px 0 64px; }
  .f-hero .container { align-items: flex-start; text-align: left; gap: 20px; }
  .f-hero h1 .block { display: inline; }
  .f-hero h1 .hl { margin-top: 0; }
  .f-hero p { font-size: 18px; }
  .f-hero .wm-a { right: -120px; top: -70px; }
  .feat { padding: 56px 0; }
  .feat .wm { width: 340px; height: 286px; left: auto; right: -130px; top: 10px; margin-top: 0; }
  .feat--rev .wm { right: -130px; }
  .feat .container, .feat--rev .container { flex-direction: column; align-items: stretch; gap: 32px; }
  .feat-copy { gap: 18px; }
  .feat-copy > p { font-size: 17px; max-width: none; }
  .tag { font-size: 11px; }
  .ticks li { font-size: 16px; }
  .fvis { width: 100%; }
  .fvis--panel::before { border-radius: 28px; }
  .phone-full { width: 300px; border-radius: 44px; box-shadow: 0 26px 52px rgba(57, 61, 71, 0.38); }
  .phone-full img { width: 284px; }
  .phone-full .island { margin-left: -38px; width: 76px; height: 19px; }
  .shots { border-radius: 18px; padding: 16px; gap: 12px; box-shadow: 0 18px 36px rgba(57, 61, 71, 0.28); }
  .shots img { max-width: 290px; }
  .signal { border-radius: 28px; padding: 40px 24px; gap: 8px; box-shadow: 0 18px 36px rgba(57, 61, 71, 0.28); }
  .signal .display { font-size: 42px; }

  /* pricing */
  .p-hero { padding: 40px 0 32px; }
  .p-hero .container { align-items: flex-start; text-align: left; gap: 20px; }
  .p-hero p { font-size: 18px; max-width: none; }
  .p-cards { padding-bottom: 64px; }
  .tiers { flex-direction: column; gap: 20px; }
  .tier--plus { order: -1; }
  .tier { padding: 28px 24px; gap: 18px; }
  .tier-list { flex: none; }
  .p-faq { padding: 64px 0; }
  .p-faq h2 { margin-bottom: 12px; }
}

/* Hall-delay strip: a real crop of the schedule screen, scales with its container. */
.halls-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.halls--ba { max-width: 390px; align-self: center; }
.halls--feat { max-width: 328px; }
