/* Sundial marketing site
   Layout: left-aligned editorial grid, 1180px measure, wide sections that
   alternate white / pale sky / midnight bands. Dial tick-marks are the one
   recurring motif; product mockups are hand-built, never screenshots. */

:root {
  color-scheme: light;
  --ink: #0e1a2b;          /* midnight navy: headings, dark bands */
  --ink-2: #1b2a41;        /* raised surfaces on dark bands */
  --ink-3: #2a3b57;
  --body: #34405a;         /* running text */
  --muted: #6b7690;        /* captions, secondary */
  --line: #dfe4ee;         /* hairlines on light */
  --line-dark: rgba(255,255,255,.12);
  --page: #ffffff;
  --sky: #f3f6fb;          /* pale band */
  --sky-2: #e8eef8;
  --sun: #ffa503;          /* the accent: the brand sun */
  --sun-deep: #ff8c02;
  --sun-soft: #fff1d6;
  --shade: #2f6d2f;        /* secondary: the brand green */
  --shade-soft: #e4f1e4;
  --good: #1f9d5a;
  --warn: #d9822b;
  --bad: #d64545;
  --display: "Bricolage Grotesque", "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(14,26,43,.06), 0 12px 32px -12px rgba(14,26,43,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; /* the sticky header changes height on scroll; anchoring would fight it */ -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, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun); 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: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 650; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
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; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
strong { color: var(--ink); font-weight: 600; }
.on-dark strong { color: #fff; }

.wrap { width: min(var(--measure), 100% - 2rem); margin-inline: auto; }
.wrap-narrow { width: min(820px, 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: #c9d2e3; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .muted { color: #8f9bb3; }
.band-sun { background: var(--sun); color: var(--ink); }

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

.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)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { 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; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* 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: 1rem; line-height: 1; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffb42e; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.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: var(--line-dark); color: #fff; }
.band-dark .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { color: var(--shade); font-weight: 600; border-bottom: 1.5px solid transparent; }
.textlink:hover { border-bottom-color: currentColor; }
.band-dark .textlink { color: var(--sun); }

/* Header: utility topline + main bar. Topline collapses on scroll. */
.site-header { position: sticky; top: 0; overflow-anchor: none; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.topline { font-size: .82rem; height: 34px; overflow: hidden; transition: height .25s ease, opacity .2s ease; border-bottom: 1px solid var(--line); background: #fff; }
.topline-in { display: flex; align-items: center; gap: 1.5rem; height: 34px; }
.topline a { color: var(--body); font-weight: 500; }
.topline a:hover { color: var(--ink); text-decoration: underline; }
.topline .spacer { flex: 1; }
.site-header.scrolled .topline { height: 0; opacity: 0; border-bottom-width: 0; }
.nav { display: flex; align-items: center; gap: 2rem; height: 72px; transition: height .25s ease; }
.site-header.scrolled .nav { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: .35rem; color: #1f5c1f; }
.brand .sunmark { width: 28px; height: 28px; flex: none; }
.brand .wordmark { height: 36px; width: auto; transition: width .25s ease, opacity .2s ease, margin .25s ease; }
.site-header.scrolled .brand .wordmark { height: 32px; }
.site-footer .brand { color: var(--ink); }
.site-footer .brand .wordmark { height: 36px; width: auto; opacity: 1; }
.brand-line { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .8rem !important; }

.nav-links { display: flex; gap: .25rem; margin-left: .25rem; list-style: none; padding: 0; margin-block: 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.02rem; }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { background: var(--sky); }
.nav-links .chev { transition: transform .2s ease; }
.nav-links .menu-toggle { display: none; }
.submenu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 240px; 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: .55rem .8rem; border-radius: 6px; font-size: .95rem; color: var(--body); font-weight: 500; }
.submenu a:hover { background: var(--sky); color: var(--ink); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-menu:hover > a .chev, .has-menu.open > a .chev { transform: rotate(180deg); }
.nav-cta { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.nav-cta .btn { padding: .65rem 1.1rem; font-size: .95rem; }
.menu-util { display: 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) {
  .topline { display: none; }
  .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: 0 0 1rem; }
  .site-header.open .nav-links > li { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .site-header.open .nav-links > li > a { display: flex; padding: .8rem .5rem; font-size: 1.1rem; }
  .site-header.open .nav-links > li > a .chev { display: none; }
  .site-header.open .nav-links .menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .site-header.open .nav-links .menu-toggle .chev { width: 16px; height: 16px; transition: transform .2s ease; }
  .site-header.open .has-menu.open .menu-toggle .chev { transform: rotate(180deg); }
  .site-header.open .submenu { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; }
  .site-header.open .has-menu.open .submenu { display: block; }
  .site-header.open .submenu a { padding: .55rem .5rem; }
  .site-header.open .nav-cta { display: flex; flex-wrap: wrap; }
  .site-header.open .menu-util { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
  .site-header.open .menu-util a { color: var(--body); font-weight: 500; padding: .3rem 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 12em; }
.hero .lede { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }
.dial-bg { position: absolute; right: -8%; top: -30%; width: min(900px, 90vw); aspect-ratio: 1; pointer-events: none; opacity: .55; }
@media (max-width: 860px) { .dial-bg { right: -40%; top: -10%; width: 120vw; opacity: .35; } }

/* Generic surfaces */
.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(14,26,43,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 2.25rem; height: 3px; background: var(--sun); border-radius: 0 0 3px 3px; }
.card:hover { transform: translateY(-2px); border-color: #e3cfa6; box-shadow: 0 14px 30px -18px rgba(14,26,43,.28); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.band-sky .card { border-color: #dde5f1; }
.band-dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.band-dark .card:hover { border-color: #4a5a78; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.band-dark .card p { color: #b8c2d6; }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.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(--sun-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='%23e8940a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band-dark .feature-list li::before { background-color: rgba(255,176,32,.15); }
.band-dark .feature-list li { color: #c9d2e3; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem 2rem; }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 650; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.band-dark .stat b { color: var(--sun); }
.stat span { display: block; margin-top: .5rem; font-size: .95rem; color: var(--muted); max-width: 20em; }

/* Pillar list (platform overview) */
.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: .6rem; transition: background .15s ease; }
.pillar:hover { background: var(--sky); }
.pillar .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--sun-soft); display: grid; place-items: center; color: var(--sun-deep); }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.15rem; }
.pillar p { font-size: .95rem; color: var(--body); }
.pillar .detail { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-top: auto; padding-top: .8rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Mode cards (human-led / AI-first / hybrid) */
.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; position: relative; }
.mode .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--shade); }
.mode h3 { margin: .6rem 0 .6rem; }
.mode p { font-size: .96rem; }
.mode.hi { background: var(--ink); border-color: var(--ink); color: #c9d2e3; }
.mode.hi h3 { color: #fff; } .mode.hi .tag { color: var(--sun); }
@media (max-width: 860px) { .modes { grid-template-columns: minmax(0, 1fr); } }

/* Product mockups ------------------------------------------------------- */
.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; letter-spacing: .01em; background: var(--sky-2); color: var(--ink-3); white-space: nowrap; }
.chip.wa { background: #dcf5e6; color: #167a3f; }
.chip.sms { background: #e3ecff; color: #2b4fb3; }
.chip.email { background: #efe6ff; color: #6b3fc0; }
.chip.voice { background: var(--sun-soft); color: #9a5f00; }
.chip.web { background: var(--shade-soft); color: var(--shade); }
.chip.ai { background: var(--ink); color: var(--sun); }
.chip.good { background: #e0f5e9; color: #1b7a44; }
.chip.warn { background: #fff0e0; color: #a35a10; }
.chip.bad { background: #fde5e5; color: #a32d2d; }
.chip.ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }

/* Hero composite: inbox + live call */
.hero-mock { position: relative; padding-bottom: 4.5rem; }
.hero-mock .mock.inbox { width: 100%; }
.hero-mock .mock.call { position: absolute; right: -3%; bottom: 0; width: 42%; min-width: 250px; }
@media (max-width: 860px) { .hero-mock { padding-bottom: 5.5rem; } .hero-mock .mock.call { right: 0; bottom: 0; width: 72%; } }
.inbox-grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 300px; }
.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); }
.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: 82%; padding: .55rem .75rem; border-radius: 10px; background: var(--sky); line-height: 1.45; font-size: 12.5px; }
.msg.out { background: var(--ink); 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: #9fb0cc; }
.ai-note { border: 1px dashed #d8c48e; background: #fffaf0; border-radius: 8px; padding: .5rem .7rem; font-size: 12px; display: grid; grid-template-columns: auto 1fr; gap: .5rem; }
.ai-note b { color: #9a5f00; 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(--shade); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.call-who b { display: block; font-size: 14px; }
.call-who span { color: var(--muted); font-size: 12px; }
.call-timer { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.coach { background: var(--sun-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: #9a5f00; 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); }

/* Flow diagram (AI agent handoff) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.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(--sun); letter-spacing: .1em; }
.flow-step h4 { color: #fff; margin: .5rem 0 .4rem; font-size: 1.05rem; }
.flow-step p { font-size: .93rem; color: #b8c2d6; }
@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; } }

/* Deal spine mock */
.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; font-size: 12px; color: var(--muted); position: relative; }
.spine-nav div::before { content: ""; position: absolute; left: .35rem; top: .68rem; 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(--sun-soft); } .spine-nav div.now::before { background: var(--sun-deep); }
.spine-body { padding: .9rem 1rem; display: grid; gap: .6rem; }
.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; }
.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; padding-left: 1.2rem; } }

/* Funnel / RevOps mock */
.funnel { padding: 1rem; display: grid; gap: .45rem; }
.funnel-row { display: grid; grid-template-columns: 120px 1fr 56px; 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(--shade), #2ea3a9); border-radius: 4px; }
.funnel-row .v { font-family: var(--mono); text-align: right; color: var(--ink); }
.funnel-row .l { color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Consent matrix mock */
.consent { padding: .9rem 1rem; }
.consent table { border-collapse: collapse; width: 100%; font-size: 12px; }
.consent th, .consent td { padding: .45rem .5rem; border-bottom: 1px solid #eef1f6; text-align: left; }
.consent th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.consent 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(--sun-deep); } .dot.n { background: #c8d0de; }

/* Stack strip: what Sundial folds in */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.stack div { border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1rem; font-size: .93rem; color: var(--body); background: #fff; }
.stack div b { display: block; color: var(--ink); font-family: var(--display); font-size: 1rem; margin-bottom: .15rem; }

/* Industry cards */
.industry { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.industry .kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--shade); }
.industry ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .95rem; display: grid; gap: .3rem; }
.industry .textlink { margin-top: .5rem; }

/* Comparison / table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.plain { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.plain th, table.plain td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.plain th { background: var(--sky); font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .95rem; }
table.plain tr:last-child td { border-bottom: 0; }
table.plain td.y { color: var(--good); font-weight: 700; }
table.plain td.n { color: #b9c0cf; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; background: #fff; display: flex; flex-direction: column; gap: .9rem; }
.plan.hi { border-color: var(--ink); box-shadow: var(--shadow); position: relative; }
.plan.hi::after { content: "Most teams start here"; position: absolute; top: -.85rem; left: 1.25rem; background: var(--sun); color: var(--ink); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan .price { font-family: var(--display); font-size: 2.6rem; font-weight: 650; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.plan .price.custom { font-size: 2rem; padding-top:.35rem; }
.plan .price small { font-family: var(--text); font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .for { font-size: .95rem; color: var(--body); min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; }
.plan ul li { padding-left: 1.3rem; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.plan ul li.inherit { color: var(--muted); font-style: italic; }
.plan ul li.inherit::before { background: var(--line); }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sun-deep); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; max-width: 42em; }

/* Forms */
.form { display: grid; gap: 1rem; position: relative; }
.form label.check { display: flex !important; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: .65rem; font-weight: 400; font-size: .9rem; color: var(--body); line-height: 1.45; cursor: pointer; }
.form label.check input[type="checkbox"] { width: 18px; height: 18px; margin: .15rem 0 0; padding: 0; flex: none; accent-color: var(--sun-deep); }
.form .hp { position: absolute !important; left: -9999px !important; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.aside { display: grid; gap: 1.25rem; align-content: start; }
.aside #support { margin-top: 1rem; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-note { background: var(--sky); border-radius: 8px; padding: 1rem 1.1rem; font-size: .92rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #c9d2e3; 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: .8rem; max-width: 36em; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .dial-bg { right: -20%; top: -80%; opacity: .25; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; font-size: .93rem; color: var(--body); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h4 { font-size: .82rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); 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: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: .8rem; max-width: 24em; color: var(--muted); font-size: .9rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Page hero (interior) */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14em; }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero .dial-bg { opacity: .35; top: -60%; }

/* 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 + .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; } }
.band-dark .block + .block { border-top-color: var(--line-dark); }

/* Simple key/value spec list */
.spec { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; font-size: .95rem; margin-top: 1.25rem; }
.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; }
@media (max-width: 480px) { .spec { grid-template-columns: minmax(0, 1fr); gap: .2rem 0; } .spec dd { margin-bottom: .6rem; } }

/* Logo-ish integration tiles (text only, no fake logos) */
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.field-error { display: block; margin-top: .35rem; font-size: .82rem; font-weight: 400; color: var(--bad); }
.conn-grid { row-gap: 2.5rem; }
.conn-list { list-style: none; margin: .7rem 0 0; padding: 0; border-top: 1px solid #d5dde9; }
.conn-list li { display: grid; grid-template-columns: minmax(150px, 36%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #d5dde9; font-size: .95rem; line-height: 1.45; }
.conn-list b { font-family: var(--display); font-weight: 600; color: var(--ink); }
.conn-list span { color: var(--body); }
@media (max-width: 480px) { .conn-list li { grid-template-columns: minmax(0, 1fr); gap: .15rem; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.tile { border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1rem; background: #fff; }
.tile b { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); }
.tile span { font-size: .82rem; color: var(--muted); }

/* Callout */
.callout { border-left: 4px solid var(--sun); background: var(--sun-soft); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; font-size: .97rem; }
.callout b { color: var(--ink); }

/* Review notes (visible only when ?review is in the URL) */
.review-note { display: none; }
body.review .review-note { display: block; background: #fde5e5; color: #7a1e1e; border: 1px dashed #d64545; padding: .5rem .8rem; border-radius: 6px; font-size: .85rem; margin-top: 1rem; font-family: var(--mono); }
@media (max-width: 600px) { .inbox-grid { grid-template-columns: minmax(0, 1fr); } .inbox-list { display: none; } }

/* Free plan strip */
.free-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--sky); margin-bottom: 1.75rem; }
.free-strip .price { font-family: var(--display); font-size: 1.6rem; font-weight: 650; color: var(--ink); }
.free-strip .price small { font-family: var(--text); font-size: .85rem; font-weight: 400; color: var(--muted); }
.free-strip p { font-size: .95rem; }
@media (max-width: 760px) { .free-strip { grid-template-columns: minmax(0, 1fr); } }
.plan .allot { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .3rem .8rem; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan .allot span b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
table.plain td.y::before { content: "✓"; }
table.plain td.n::before { content: "—"; }
table.plain tr.cat th { background: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--shade); padding-top: 1.2rem; }

/* Centered hero with photo strip */
.hero-center { text-align: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-center h1 { max-width: 15em; margin-inline: auto; font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 500; letter-spacing: -.02em; }
.hero-center .lede { margin-inline: auto; max-width: 40em; margin-top: 1.4rem; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .dial-bg { right: auto; left: 50%; transform: translateX(-50%); top: -55%; opacity: .3; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.photo-strip { display: flex; gap: 12px; margin-top: clamp(2.5rem, 5vw, 4rem); height: clamp(380px, 42vw, 560px); }
.photo { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 4px; background: var(--ink); text-align: left;
  transition: flex .55s cubic-bezier(.4,0,.2,1); }
.photo-strip:hover .photo { flex: .8 1 0; }
.photo-strip .photo:hover, .photo-strip .photo:focus-within { flex: 2.4 1 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s ease; }
.photo:hover img { transform: scale(1.04); }
.photo::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,26,43,.14) 0%, rgba(14,26,43,.22) 55%, rgba(14,26,43,.5) 100%); }
.photo .play, .photo .cap { z-index: 2; }
.photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.4rem 1.4rem; color: #fff; font-size: .95rem; line-height: 1.45; pointer-events: none;
  background: linear-gradient(to top, rgba(14,26,43,.85) 0%, rgba(14,26,43,.55) 45%, rgba(14,26,43,0) 100%); }
.photo .cap b { display: block; font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; line-height: 1.15; margin-bottom: .35rem; color: #fff; }
.photo .play { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; text-align: left; font: inherit; color: var(--ink); }
.photo .play:focus-visible { outline: 3px solid var(--sun); outline-offset: -4px; }
.photo .screen { position: relative; width: min(78%, 460px); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s ease .1s, transform .5s cubic-bezier(.4,0,.2,1) .1s; display: block; margin-bottom: 3.5rem; }
.photo:hover .screen, .photo:focus-within .screen { opacity: 1; transform: none; }
.photo .screen .mock.mini { display: block; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); font-size: 12px; }
.mock.mini .inbox-row, .mock.mini .gate, .mock.mini .call-who, .mock.mini .coach { display: grid; }
.mock.mini .inbox-row { grid-template-columns: 1fr auto; padding: .5rem .75rem; }
.mock.mini .gate { margin: .4rem .6rem; grid-template-columns: 18px 1fr; }
.mock.mini .call-who { grid-template-columns: auto 1fr; padding: .6rem .75rem .2rem; }
.mock.mini .call-who b { display: block; } .mock.mini .call-who span span { color: var(--muted); font-size: 11px; }
.mock.mini .coach { margin: .5rem .6rem .7rem; }
.mock.mini .mock-bar { display: flex; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(14,26,43,.85); border: 2px solid rgba(255,255,255,.6); backdrop-filter: blur(4px);
  transition: transform .2s ease, background .2s ease; }
.play-btn::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.play-btn:hover { transform: scale(1.08); background: var(--sun-deep); }
@media (hover: none), (max-width: 860px) {
  .photo-strip { flex-direction: column; height: auto; }
  .photo, .photo-strip:hover .photo, .photo-strip .photo:hover { flex: none; aspect-ratio: 4 / 3; }
  .photo img { object-position: center 30%; }
  .photo .screen { opacity: 1; transform: none; width: min(70%, 380px); }
  .photo .screen .mock.mini { display: none; }
  .play-btn { position: static; margin: 0 auto; display: block; }
}
@media (prefers-reduced-motion: reduce) { .photo, .photo img, .photo .screen { transition: none; } }

/* Tour modal */
.tour-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.tour-modal[hidden] { display: none; }
.tour-backdrop { position: absolute; inset: 0; background: rgba(6,12,22,.86); backdrop-filter: blur(6px); }
.tour-box { position: relative; width: min(1100px, 100%); background: #0b1526; border-radius: 12px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.8); overflow: hidden; }
.tour-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem .8rem 1.25rem; color: #fff; font-family: var(--display); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.tour-close { background: transparent; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; }
.tour-close:hover { background: rgba(255,255,255,.1); }
.tour-stage { background: #0b1526; padding: clamp(1rem, 3vw, 2.5rem); display: grid; place-items: center; min-height: min(60vh, 640px); }
.tour-video { width: 100%; max-height: 78vh; display: block; background: #000; border-radius: 8px; }
.tour-video[hidden], .tour-scene[hidden] { display: none; }
.tour-scene { width: 100%; max-width: 960px; }
.tour-scene .mock { font-size: 14px; }
.tour-scene .inbox-grid { min-height: 380px; }
.tour-scene .call-body { gap: .9rem; padding: 1.2rem; }

/* Scene playback: anything with --n fades in on its beat. Restarted by JS to loop. */
.scene.playing [style*="--n"] { opacity: 0; animation: stepIn .45s ease forwards; animation-delay: calc(var(--n) * 1s); }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scene.playing [style*="--n"] { animation: none; opacity: 1; } }

/* Module cards (home) */
.hubs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 11fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hubs-intro { position: sticky; top: 92px; }
.hubs-intro .lede { margin-top: 1.2rem; font-size: 1.1rem; }
.hubs-intro .hero-actions { margin-top: 1.75rem; }
.hubs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.hub { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem 1.6rem 1.5rem; color: var(--body);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hub:hover { background: var(--sun-soft); border-color: #f2d9a8; transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(14,26,43,.25); }
.hub-head { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.1rem; border-bottom: 1px dashed #d5dbe7; }
.hub-ico { width: 34px; height: 34px; display: grid; place-items: center; color: var(--sun-deep); flex: none; }
.hub-ico svg { width: 28px; height: 28px; }
.hub-title { font-family: var(--display); font-weight: 650; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }
.hub-list { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; gap: .7rem; flex: 1; border-bottom: 1px dashed #d5dbe7; }
.hub-list li { position: relative; padding-left: 1.7rem; font-size: .98rem; line-height: 1.5; }
.hub-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23ff8c02' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.hub-more { display: inline-flex; align-items: center; gap: .4rem; padding-top: 1.1rem; font-family: var(--display); font-weight: 600; color: var(--ink); }
.hub-more .arrow { transition: transform .15s ease; }
.hub:hover .hub-more .arrow { transform: translateX(4px); }
@media (max-width: 1000px) { .hubs { grid-template-columns: minmax(0, 1fr); } .hubs-intro { position: static; } }
@media (max-width: 600px) { .hubs-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inbound channel strip (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(--sun); margin-right: .55rem; vertical-align: 1px; }

/* Hero brand lockup: large in the hero, travels up into the header on scroll */
.hero-brand { display: flex; width: max-content; margin: 0 auto 1.5rem; justify-content: center; color: #1f5c1f; position: relative; z-index: 60; transform-origin: center top; will-change: transform; }
.hero-brand .wordmark { height: clamp(104px, 14vw, 200px); width: auto; }
.hero-brand.docked { position: fixed; margin: 0; }
.hero-brand.done { visibility: hidden; }
.site-header .brand { transition: opacity .25s ease; }
.site-header.brand-hidden .brand .wordmark { opacity: 0; }
.site-header .brand .wordmark { transition: opacity .25s ease; }

@media (prefers-reduced-motion: reduce) { .hero-brand { transition: none; } }
.site-header.no-anim, .site-header.no-anim * { transition: none !important; }
.hero-center .eyebrow { color: var(--muted); }

/* Automations: canvas mockup */
.canvas-mock .canvas-grid { display: grid; grid-template-columns: 220px 1fr 170px; min-height: 420px; }
.canvas-side { padding: 1rem; border-right: 1px solid var(--line); font-size: 12.5px; }
.canvas-side.palette { border-right: 0; border-left: 1px solid var(--line); }
.side-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.side-summary { background: var(--sky); border-radius: 8px; padding: .6rem .7rem; line-height: 1.45; color: var(--ink); }
.side-field { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid #eef1f6; }
.side-field span { color: var(--muted); } .side-field b { color: var(--ink); font-weight: 600; }
.pal { border: 1px solid var(--line); border-radius: 6px; padding: .45rem .6rem; margin-bottom: .4rem; font-weight: 600; color: var(--ink); }
.side-note { color: var(--muted); font-size: 11px; margin-top: .6rem; line-height: 1.4; }
.canvas { position: relative; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0;
  background-color: #fbfcfe; background-image: radial-gradient(#d9dfe9 1px, transparent 1px); background-size: 16px 16px; }
.node { position: relative; width: min(100%, 360px); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .6rem .8rem; font-size: 12.5px; color: var(--ink); box-shadow: 0 2px 6px rgba(14,26,43,.06); }
.node + .node { margin-top: 26px; }
.node + .node::before { content: ""; position: absolute; left: 50%; top: -27px; width: 2px; height: 26px; background: #c8d0de; }
.node + .node::after { content: ""; position: absolute; left: 50%; top: -6px; width: 6px; height: 6px; margin-left: -2px; border-right: 2px solid #c8d0de; border-bottom: 2px solid #c8d0de; transform: rotate(45deg); }
.node.trigger { border-color: var(--sun-deep); background: var(--sun-soft); }
.node-kind { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.node.trigger .node-kind { color: #9a5f00; }
.node b { display: block; font-weight: 600; line-height: 1.35; }
.node-sub { display: block; color: var(--muted); font-size: 11.5px; margin-top: .2rem; }
.run-pill { margin-top: 1.25rem; font-family: var(--mono); font-size: 11px; color: var(--ink); background: #e0f5e9; border: 1px solid #b9e2c9; padding: .35rem .7rem; border-radius: 999px; }
@media (max-width: 900px) { .canvas-mock .canvas-grid { grid-template-columns: minmax(0, 1fr); } .canvas-side { border-right: 0; border-bottom: 1px solid var(--line); } .canvas-side.palette { display: none; } }
.card.example .when { display: block; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--shade); margin-bottom: .6rem; }
