/* Oxhead Alpha site
   Same editorial system as the Sundial marketing site (1180px measure, bands
   that alternate white / pale sky / dark, hand-built product mockups, line
   icons), in Oxhead Alpha's own palette: oxhead blue, alpha red, deep teal ink.
   The node lattice behind heroes is the recurring motif. */

@font-face { font-family: "Titillium Web"; src: url(../fonts/TitilliumWeb-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url(../fonts/TitilliumWeb-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url(../fonts/TitilliumWeb-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0b1e28;          /* deep teal-navy: headings, dark bands */
  --ink-2: #13303e;        /* raised surfaces on dark bands */
  --ink-3: #2a4553;
  --body: #344651;         /* running text */
  --muted: #687983;        /* captions, secondary */
  --line: #dde3ea;         /* hairlines on light */
  --line-dark: rgba(255,255,255,.12);
  --page: #ffffff;
  --sky: #f3f5fa;          /* pale band */
  --sky-2: #e6e9f4;
  --blue: #1e26a6;         /* oxhead blue: brand, links, eyebrows */
  --blue-deep: #161c80;
  --blue-soft: #e8e9f8;
  --red: #e5262f;          /* alpha red: the accent */
  --red-deep: #c41c24;
  --red-soft: #fde9ea;
  --red-light: #ff6b72;    /* red that holds contrast on dark bands */
  --good: #1f9d5a;
  --warn: #d9822b;
  --bad: #d64545;
  --display: "Titillium Web", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --measure: 1180px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11,30,40,.06), 0 12px 32px -12px rgba(11,30,40,.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--page); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { margin: 0; }
p + p { margin-top: .9em; }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 38em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
strong { color: var(--ink); font-weight: 600; }
em.alpha { font-style: normal; color: var(--red); }

.wrap { width: min(var(--measure), 100% - 2rem); margin-inline: auto; }
.wrap-narrow { width: min(800px, 100% - 2rem); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band-sky { background: var(--sky); }
.band-dark { background: var(--ink); color: #c4d0d8; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4, .band-dark strong { color: #fff; }
.band-dark .muted { color: #8ea0ab; }

.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.band-dark .eyebrow { color: var(--red-light); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { margin-top: 1rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 8px; font-family: var(--display);
  font-weight: 600; font-size: 1.02rem; line-height: 1; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.band-dark .btn-ghost, .cta-band .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.band-dark .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.08rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid transparent; }
.textlink:hover { border-bottom-color: currentColor; }
.band-dark .textlink { color: #fff; border-bottom-color: var(--red-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.brand img { width: 40px; height: 40px; }
.brand .ox { color: var(--blue); } .brand .al { color: var(--red); }
.nav-links { display: flex; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-radius: 6px; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { background: var(--sky); }
.nav-links .chev { transition: transform .2s ease; }
.submenu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.submenu a { display: block; padding: .6rem .8rem; border-radius: 6px; font-size: .95rem; color: var(--body); font-weight: 500; }
.submenu a b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.submenu a:hover { background: var(--sky); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-menu:hover > a .chev { transform: rotate(180deg); }
.nav-cta { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.nav-cta .btn { padding: .65rem 1.05rem; font-size: .98rem; }
.sun-ico { width: 18px; height: 18px; flex: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.menu { display: contents; }
@media (max-width: 960px) {
  .menu { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-header.open .menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem 1.25rem; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-header.open .nav-links { display: block; margin-bottom: 1rem; }
  .site-header.open .nav-links > li > a { display: flex; padding: .8rem .5rem; font-size: 1.1rem; }
  .site-header.open .nav-links .chev { display: none; }
  .site-header.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; }
  .site-header.open .nav-cta { flex-wrap: wrap; }
}

/* Heroes */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5.5rem); }
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.hero .wrap, .page-hero .wrap { position: relative; }
.hero h1 { max-width: 13em; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 15em; }
.hero .lede, .page-hero .lede { margin-top: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }
.hero-note a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.hero-note a:hover { text-decoration-color: currentColor; }
.motif { position: absolute; right: -10%; top: -35%; width: min(940px, 92vw); aspect-ratio: 1; pointer-events: none; opacity: .7; }
.page-hero .motif { opacity: .5; top: -70%; }
.cta-band .motif { right: -18%; top: -90%; opacity: .16; }
@media (max-width: 860px) { .motif { right: -45%; top: -12%; width: 120vw; opacity: .35; } }

/* Hero composite: Sundial product view */
.hero-mock { position: relative; padding-bottom: 4.5rem; }
.hero-mock .mock.inbox { width: 100%; }
.hero-mock .mock.call { position: absolute; left: -4%; bottom: 0; width: 46%; min-width: 250px; }
.hero-mock .tag-line { position: absolute; right: 0; bottom: .6rem; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-mock .tag-line .sunmark { width: 16px; height: 16px; }
@media (max-width: 860px) { .hero-mock { padding-bottom: 7.5rem; } .hero-mock .mock.call { left: auto; right: 0; width: 82%; } .hero-mock .tag-line { right: auto; left: 0; bottom: auto; top: calc(100% + .75rem); } }

/* Photo with an overlaid mock */
.photo-frame { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink); box-shadow: var(--shadow); }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,40,0) 35%, rgba(11,30,40,.6) 100%); }
.photo-frame .mock { position: absolute; left: 6%; right: 6%; bottom: 6%; z-index: 1; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.photo-frame.wide { aspect-ratio: 4 / 3; }

/* Cards */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem 1.6rem; box-shadow: 0 1px 2px rgba(11,30,40,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 2.25rem; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; }
a.card:hover { transform: translateY(-2px); border-color: #c4c8ea; box-shadow: 0 14px 30px -18px rgba(11,30,40,.3); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.card .kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .7rem; }
.card .more { margin-top: auto; padding-top: 1.1rem; font-family: var(--display); font-weight: 600; color: var(--blue); display: inline-flex; gap: .4rem; }
.card .more .arrow { transition: transform .15s ease; }
a.card:hover .more .arrow { transform: translateX(4px); }
.band-dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.band-dark .card p { color: #b3c1ca; }
.ico { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 1.1rem; flex: none; }
.ico svg { width: 22px; height: 22px; }
.band-dark .ico { background: rgba(255,255,255,.07); color: #fff; }

/* Featured product card (home: Sundial) */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.feature-body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.feature-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.feature-media { position: relative; min-height: 340px; background: var(--ink); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.feature-media .mock { position: absolute; left: 7%; right: 7%; bottom: 7%; }
.feature .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature-media { min-height: 380px; } }

/* Product lockup: the Sundial mark beside a label */
.lockup { display: inline-flex; align-items: center; gap: .55rem; color: #1f5c1f; }
.lockup .sunmark { width: 26px; height: 26px; }
.lockup .wordmark { height: 34px; width: auto; }
.band-dark .lockup, .cta-band .lockup { color: #fff; }
.lockup-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-left: .7rem; margin-left: .2rem; border-left: 1px solid var(--line); }
.band-dark .lockup-tag, .cta-band .lockup-tag { color: #8ea0ab; border-color: var(--line-dark); }

/* Pillars: a hairline grid of capabilities */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: #fff; padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; transition: background .15s ease; }
.pillar:hover { background: #fafbfe; }
.pillar .ico { margin-bottom: .35rem; }
.pillar h3 { font-size: 1.2rem; }
.pillar p { font-size: .96rem; }
.pillar ul { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .95rem; }
.pillar ul li { position: relative; padding-left: 1.1rem; }
.pillar ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pillar .links { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pillar .links a { font-family: var(--mono); font-size: .76rem; padding: .25rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.pillar .links a:hover { border-color: var(--blue); color: var(--blue); }
.band-dark .pillars { background: var(--line-dark); border-color: var(--line-dark); }
.band-dark .pillar { background: var(--ink); }
.band-dark .pillar:hover { background: var(--ink-2); }
.band-dark .pillar p, .band-dark .pillar li { color: #b3c1ca; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: 1rem; }
.feature-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--red-soft); margin-top: .1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8.5' fill='none' stroke='%23e5262f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band-dark .feature-list li::before { background-color: rgba(229,38,47,.18); }
.band-dark .feature-list li { color: #c4d0d8; }

/* Operating models */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mode { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); background: #fff; }
.mode .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.mode h3 { margin: .6rem 0; }
.mode p { font-size: .96rem; }
.mode.hi { background: var(--blue); border-color: var(--blue); color: #dfe1f7; }
.mode.hi h3 { color: #fff; } .mode.hi .tag { color: #fff; opacity: .8; }
@media (max-width: 860px) { .modes { grid-template-columns: minmax(0, 1fr); } }

/* Channels + flow (dark band) */
.channels { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.channels li { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; border: 1px solid var(--line-dark); padding: .45rem .8rem; border-radius: 999px; }
.channels li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: .55rem; vertical-align: 1px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-step { padding: 1.25rem 1.1rem 1.25rem 0; position: relative; }
.flow-step + .flow-step { padding-left: 1.4rem; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: 0; top: 2.2rem; width: 1px; height: calc(100% - 3rem); background: var(--line-dark); }
.flow-step .n { font-family: var(--mono); font-size: .75rem; color: var(--red-light); letter-spacing: .1em; }
.flow-step h4 { color: #fff; margin: .5rem 0 .4rem; font-size: 1.1rem; }
.flow-step p { font-size: .93rem; color: #b3c1ca; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow-step + .flow-step { padding-left: 0; border-top: 1px solid var(--line-dark); } .flow-step + .flow-step::before { display: none; } }

/* Two-column feature blocks with a mock */
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.block:first-child { padding-top: 0; } .block:last-child { padding-bottom: 0; }
.block + .block { border-top: 1px solid var(--line); }
.block.flip > :first-child { order: 2; }
.block h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.block .lede { font-size: 1.05rem; margin-top: .9rem; }
@media (max-width: 860px) { .block { grid-template-columns: minmax(0, 1fr); } .block.flip > :first-child { order: 0; } }

/* Product mockups (hand-built, never screenshots) */
.mock { font-family: var(--text); font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; max-width: 100%; }
.mock * { min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); background: #fafbfd; font-weight: 600; font-size: 12.5px; }
.mock-bar .dots { display: inline-flex; gap: 5px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9dfe9; display: block; }
.mock-bar .crumb { color: var(--muted); font-weight: 500; }
.mock-bar .right { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--sky-2); color: var(--ink-3); white-space: nowrap; }
.chip.wa { background: #dcf5e6; color: #167a3f; }
.chip.email { background: #efe6ff; color: #6b3fc0; }
.chip.voice { background: var(--red-soft); color: #a3161d; }
.chip.web { background: var(--blue-soft); color: var(--blue); }
.chip.ai { background: var(--ink); color: #fff; }
.chip.good { background: #e0f5e9; color: #1b7a44; }
.chip.warn { background: #fff0e0; color: #a35a10; }
.inbox-grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 290px; }
.inbox-list { border-right: 1px solid var(--line); }
.inbox-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; padding: .6rem .85rem; border-bottom: 1px solid #eef1f6; }
.inbox-row.sel { background: var(--sky); box-shadow: inset 3px 0 0 var(--red); }
.inbox-row .who { font-weight: 600; }
.inbox-row .when { color: var(--muted); font-size: 11px; font-family: var(--mono); }
.inbox-row .sub { grid-column: 1 / -1; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row .chips { grid-column: 1 / -1; display: flex; gap: .3rem; flex-wrap: wrap; }
.inbox-thread { padding: .9rem 1rem; display: flex; flex-direction: column; gap: .7rem; }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.thread-head b { font-size: 14px; }
.msg { max-width: 84%; padding: .55rem .75rem; border-radius: 10px; background: var(--sky); line-height: 1.45; font-size: 12.5px; }
.msg.out { background: var(--blue); color: #fff; align-self: flex-end; }
.msg .meta { display: block; font-size: 10.5px; color: var(--muted); margin-top: .25rem; font-family: var(--mono); }
.msg.out .meta { color: #b9bdf0; }
.ai-note { border: 1px dashed #c4c8ea; background: #f7f8fe; border-radius: 8px; padding: .5rem .7rem; font-size: 12px; display: grid; grid-template-columns: auto 1fr; gap: .5rem; }
.ai-note b { color: var(--blue); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.call-body { padding: .9rem; display: grid; gap: .7rem; }
.call-who { display: flex; align-items: center; gap: .6rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.call-who b { display: block; font-size: 14px; }
.call-who span { color: var(--muted); font-size: 12px; }
.call-who .avatar { color: #fff; font-size: 13px; }
.call-timer { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.coach { background: var(--red-soft); border-radius: 8px; padding: .55rem .7rem; font-size: 12px; line-height: 1.4; }
.coach b { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #a3161d; margin-bottom: .2rem; }
.call-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.call-actions span { padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.call-actions span.end { background: var(--bad); color: #fff; border-color: var(--bad); }
.deal-mock .spine { display: grid; grid-template-columns: 150px 1fr; }
.spine-nav { border-right: 1px solid var(--line); padding: .7rem 0; }
.spine-nav div { padding: .38rem .9rem .38rem 1.3rem; font-size: 12px; color: var(--muted); position: relative; }
.spine-nav div::before { content: ""; position: absolute; left: .55rem; top: .7rem; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.spine-nav div.done { color: var(--ink); } .spine-nav div.done::before { background: var(--good); }
.spine-nav div.now { color: var(--ink); font-weight: 700; background: var(--red-soft); } .spine-nav div.now::before { background: var(--red); }
.spine-body { padding: .9rem 1rem; display: grid; gap: .6rem; align-content: start; }
.gate { display: grid; grid-template-columns: 18px 1fr auto; gap: .6rem; align-items: center; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; background: #fff; }
.gate i { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #c8d0de; display: block; }
.gate.ok i { background: var(--good); border-color: var(--good); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.gate .ev { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.meter-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #fafbfd; }
.meter-strip div { font-size: 11px; color: var(--muted); }
.meter-strip b { display: block; font-size: 14px; color: var(--ink); font-family: var(--mono); }
@media (max-width: 480px) { .deal-mock .spine { grid-template-columns: minmax(0, 1fr); } .spine-nav { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .spine-nav div { white-space: nowrap; } .gate { grid-template-columns: 18px 1fr; } .gate .ev { grid-column: 2; } }
.mock.mini .gate { grid-template-columns: 18px 1fr; }
.leads { padding: .9rem 1rem; overflow-x: auto; }
.leads table { border-collapse: collapse; width: 100%; font-size: 12px; }
.leads th, .leads td { padding: .45rem .5rem; border-bottom: 1px solid #eef1f6; text-align: left; white-space: nowrap; }
.leads th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.leads td b { font-weight: 600; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; }
.dot.g { background: var(--good); } .dot.r { background: var(--bad); } .dot.y { background: var(--warn); }
.funnel { padding: 1rem; display: grid; gap: .45rem; }
.funnel-row { display: grid; grid-template-columns: 110px 1fr 48px; gap: .6rem; align-items: center; font-size: 12px; }
.funnel-row .bar { height: 18px; background: var(--sky-2); border-radius: 4px; overflow: hidden; }
.funnel-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #5560d6); border-radius: 4px; }
.funnel-row .v { font-family: var(--mono); text-align: right; }
.funnel-row .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .inbox-grid { grid-template-columns: minmax(0, 1fr); } .inbox-list { display: none; } }

/* News */
.news { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem; }
@media (max-width: 860px) { .news { grid-template-columns: minmax(0, 1fr); } }
.date { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Callout */
.callout { border-left: 4px solid var(--red); background: var(--sky); padding: 1.1rem 1.35rem; border-radius: 0 8px 8px 0; font-size: .98rem; }
.callout b { color: var(--ink); }

/* CTA band */
.cta-band { background: var(--ink); color: #c4d0d8; position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; position: relative; }
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band p { margin-top: .9rem; max-width: 36em; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Article (press release, privacy) */
.article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); }
.article .standfirst { font-size: 1.2rem; line-height: 1.55; color: var(--ink); margin-top: 1.25rem; }
.article .body { margin-top: 2rem; font-size: 1.06rem; line-height: 1.7; }
.article .body p + p { margin-top: 1.1em; }
.article blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--red); font-size: 1.12rem; color: var(--ink); }
.article .end { text-align: center; color: var(--muted); letter-spacing: .3em; margin-top: 2rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-top: 1rem; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; font-size: .98rem; margin-top: 1rem; }
.spec dt { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.spec dd { margin: 0; }
.spec a { color: var(--blue); }

/* Footer */
.site-footer { background: #061219; border-top: 1px solid var(--line-dark); color: #b3c1ca; padding-block: 3.5rem 2.25rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h4 { font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-light); font-weight: 500; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand .ox { color: #fff; } .site-footer .brand .al { color: var(--red-light); }
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 5px; }
.footer-brand p { margin-top: 1rem; max-width: 26em; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; color: #8ea0ab; font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .photo-frame { aspect-ratio: 4 / 5; } .photo-frame .meter-strip { display: none; } }
