/* Shared layout for the three-offering marketing pages (website direction B,
   docs/design/website-2026-11). Builds on tokens.css and site.css. Page-
   specific rules stay in each page's own <style>. Light and dark both come
   from the tokens; the few fixed colours below are the "night" band and the
   DM Console's own burgundy, with dark-theme values beside them. */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.sect { padding: 72px 0; }
.site-footer-inner { max-width: 1160px; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }

.d1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.55rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
.d1 em { font-style: italic; color: var(--accent-ink); }
.d2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; }
.d3 { font-family: var(--sans); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin: 0 0 6px; }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 62ch; }
.body { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; max-width: 62ch; }
.small { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); margin: 0; }
.fine { font-size: .875rem; line-height: 1.6; color: var(--ink-3); margin: 0; }
.mt1 { margin-top: 12px; } .mt2 { margin-top: 24px; } .mt3 { margin-top: 40px; }
.body a, .small a, .fine a, .lede a { color: var(--accent-ink); text-underline-offset: 3px; }

.cap { font-family: var(--mono); font-size: .6875rem; line-height: 1.5; color: var(--ink-3); margin: 10px 0 0; }
.cap a { color: var(--accent-ink); }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-md); }
.phone { display: block; width: 100%; height: auto; border: 6px solid #17120e; border-radius: 26px; box-shadow: var(--shadow-lg); background: #120c1a; }
.pg { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--shadow-md); }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.two > * { min-width: 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.three > * { min-width: 0; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 520px; }
.phones3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.phones > *, .phones3 > * { min-width: 0; }

.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 24px; }
.paper-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); padding: 24px; }
.tag { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }

/* Buttons that are links on these pages share the site pills; a disabled
   pill is for an action that does not exist yet (the offer's claim). */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-pill-accent, .btn-pill-outline { min-height: 44px; display: inline-flex; align-items: center; }
.btn-pill-disabled { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink-3); background: var(--sink); border: 1px dashed var(--line-strong); padding: 13px 24px; border-radius: var(--pill); cursor: not-allowed; }

/* Placeholder: anything that is not a real screen or a decided fact carries this. */
.ph { border: 2px dashed var(--warn); border-radius: var(--r-md); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warn) 7%, transparent) 0 14px, transparent 14px 28px); padding: 22px; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.ph b { display: block; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); margin-bottom: 6px; }
.ph-line { display: inline-block; border: 1px dashed var(--warn); border-radius: var(--r-sm); padding: 2px 8px; font-size: .875rem; color: var(--warn); }

/* Term rows used by the offer and the DM page. */
.terms { border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.terms li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms .k { color: var(--ink-2); font-size: .9688rem; line-height: 1.45; }
.terms .v { font-family: var(--display); font-weight: 600; font-size: 1.125rem; text-align: right; color: var(--ink); }

/* A plain comparison table that stacks on phones. */
.plain { border-collapse: collapse; width: 100%; font-size: .9688rem; }
.plain th, .plain td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); line-height: 1.5; color: var(--ink-2); }
.plain thead th { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.plain tbody th { font-weight: 600; color: var(--ink); }
.plain a { color: var(--accent-ink); text-underline-offset: 3px; }

/* The "night" band (the home's hero and "At the table"). It follows the theme (Nick, 2026-11-15: a dark band on a
   light page is not OK): a warm light band from the page tokens in the light theme, the fixed night colours in the
   dark theme. The --n-* tokens are the band's palette; rules inside the band use only these. */
.night { --n-bg: var(--sink); --n-glow: var(--accent-wash); --n-ink: var(--ink); --n-ink-2: var(--ink-2); --n-muted: var(--ink-3); --n-ink-3: var(--ink-3);
  --n-accent: var(--accent-ink); --n-quote: var(--accent); --n-line: var(--ink-3); --n-card: var(--card); --n-card-line: var(--line-strong);
  --n-shot-line: var(--line-strong); --n-phone-line: #17120e; --n-shadow: 0 16px 34px -22px rgba(60, 40, 20, .45);
  background: radial-gradient(900px 460px at 78% -8%, var(--n-glow) 0, transparent 70%), var(--n-bg); color: var(--n-ink); }
body[data-theme="dark"] .night { --n-bg: #110c17; --n-glow: #4a2318; --n-ink: #F1EBDF; --n-ink-2: #D7CEC0; --n-muted: #B8AE9F; --n-ink-3: #A79D8F;
  --n-accent: #ED9E70; --n-quote: #ED9E70; --n-line: #6A5F52; --n-card: #1C1524; --n-card-line: #33293F;
  --n-shot-line: #3b3127; --n-phone-line: #2d2438; --n-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.night .cap { color: var(--n-ink-3); }
.night .shot { border-color: var(--n-shot-line); }
.night .phone { border-color: var(--n-phone-line); }
.night .body, .night .small, .night .lede { color: var(--n-ink-2); }
.night .d2, .night .d3 { color: var(--n-ink); }
.night .btn-pill-outline { color: var(--n-ink); background: transparent; border-color: var(--n-line); box-shadow: none; }

/* Status pill (the offer page). */
.status { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-strong); background: var(--card); border-radius: var(--pill); padding: 7px 14px; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status.is-warn i { background: var(--warn); }
.status.is-off i { background: var(--ink-3); }

/* DM Console product colour: the burgundy its own screens use. Site chrome stays ember. */
.theme-dm main { --accent: #742F3D; --accent-ink: #742F3D; --accent-wash: #F3E7E4; --glow: 0 8px 20px rgba(116,47,61,.24); }
body[data-theme="dark"].theme-dm main { --accent: #9E4A5C; --accent-ink: #E2A3B0; --accent-wash: #3B262B; --glow: 0 8px 20px rgba(158,74,92,.4); }

@media (max-width: 860px) {
  .two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sect { padding: 48px 0; }
  .lede { font-size: 1.0625rem; }
  .card, .paper-card { padding: 20px; }
  .phones { gap: 12px; }
  .phones3 { gap: 8px; }
  .phone { border-width: 4px; border-radius: 18px; }
  .plain, .plain tbody, .plain tr, .plain td, .plain tbody th { display: block; width: 100%; }
  .plain thead { display: none; }
  .plain tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .plain td, .plain tbody th { border: none; padding: 2px 0; }
  .plain td[data-col]::before { content: attr(data-col) ": "; font-weight: 600; color: var(--ink); }
}

/* Ease (Nick, 2026-11-08): one primary action per screen. A second route is a quiet link, not a second button. */
.quiet-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--accent-ink); text-decoration: none; text-underline-offset: 3px; }
.quiet-link:hover { text-decoration: underline; }
.night .quiet-link { color: var(--n-accent); }
