/* ============================================================
   manyCalendars hub - "Paper" theme (v3, grown-up)
   ------------------------------------------------------------
   Built on the manyCalendars app palette (ShiftbookAppearance.swift):
     Emerald  #1CB56C tone / #09643F text / #0E6944 button
     Indigo   #745AD9 tone / #51409A text
     Charcoal #282A33
   Paper background #F8F9F5, white surfaces. Wisp keeps its magenta.

   Typography: Plus Jakarta Sans, regular through bold. Small radii, thin
   borders, restrained motion.
   ============================================================ */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
    --paper:     #ffffff;
    --surface:   #ffffff;
    --soft:      #f4f5f1;
    --eggshell:  #f7f6f1;
    --navy:      #10241d;
    --ink:       #132720;
    --ink-2:     #4a5c55;
    --ink-3:     #7a8a83;
    --line:      #e2e6df;
    --line-2:    #cfd8d0;

    --emerald:      #1cb56c;
    --emerald-text: #09643f;
    --emerald-btn:  #0e6944;
    --emerald-soft: #e3f2e9;
    --indigo:       #745ad9;
    --indigo-text:  #51409a;
    --indigo-soft:  #eeeafc;
    --charcoal:     #282a33;

    --wisp:      #db2777;
    --wisp-text: #be185d;
    --wisp-soft: #fcebf3;

    --r-lg: 12px;
    --r:    8px;
    --r-sm: 6px;
    --shadow:    0 1px 2px rgba(19,39,32,.05), 0 4px 16px -8px rgba(19,39,32,.10);
    --shadow-lg: 0 1px 2px rgba(19,39,32,.05), 0 20px 40px -24px rgba(19,39,32,.25);

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1160px;
    color-scheme: light;
}

/* Always light: the brand is a white, inviting page in every system theme. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
:where(button, input, select, textarea, code, kbd, pre, samp) { font-family: inherit; }
:where(button, input, select, textarea) { font-weight: inherit; font-variant-numeric: inherit; }
b, strong, th, h1, h2, h3, h4, h5, h6 { font-weight: 700; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--charcoal); color: #e9ece8; font-size: 14px; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 40px; text-align: center; }
.announce b { color: #fff; }
.announce a { color: #8ce6b4; white-space: nowrap; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce .new { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--emerald-btn); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .many { color: var(--emerald-text); }
.nav { display: flex; gap: 2px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 820px) { .nav { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 24px; border-radius: var(--r-sm); border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--emerald-btn); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 1px 2px rgba(19,39,32,.2); }
.btn-primary:hover { background: #0b5839; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.kicker { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--emerald-text); letter-spacing: .01em; }
.kicker::before { content: ""; flex: none; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; margin: 18px 0 20px; }
.hero .sub { font-size: 19px; color: var(--ink-2); max-width: 480px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust svg { width: 16px; height: 16px; color: var(--emerald); }
@media (max-width: 960px) { .hero { padding: 56px 0; } .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

/* Product window */
.window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.cal { display: grid; grid-template-columns: 44px repeat(5, 1fr); font-size: 12px; }
.cal .h { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; color: var(--ink-3); }
.cal .h b { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; }
.cal .h.today b { color: var(--emerald-text); }
.cal .t { color: var(--ink-3); text-align: right; padding: 4px 8px 0 0; height: 44px; border-right: 1px solid var(--line); font-size: 11px; }
.cal .c { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; height: 44px; }
.cal .c:nth-child(6n) { border-right: 0; }
.e { position: absolute; left: 3px; right: 3px; top: 3px; border-radius: 5px; padding: 4px 6px; font-size: 11px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; z-index: 1; }
.e small { display: block; }
.e-shift { background: var(--emerald-soft); color: var(--emerald-text); border-left: 3px solid var(--emerald); }
.e-wisp  { background: var(--wisp-soft);    color: var(--wisp-text);    border-left: 3px solid var(--wisp); }
.e-unify { background: var(--indigo-soft);  color: var(--indigo-text);  border-left: 3px solid var(--indigo); }
.e-tall  { height: calc(200% - 6px); }
.window-foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.window-foot span { display: inline-flex; align-items: center; gap: 6px; }
.window-foot i { width: 8px; height: 8px; border-radius: 2px; }
@media (max-width: 520px) { .cal { grid-template-columns: 36px repeat(3, 1fr); } .cal .x { display: none; } }

/* ---------- App icons ---------- */
.app-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.42), inset 0 0 0 1px rgba(255,255,255,.10); overflow: hidden; }
.app-icon svg { width: 72%; height: 72%; }
.icon-shift { background: linear-gradient(140deg, #57e4a0, #1cb56c 52%, #0a814b); } /* ShiftBook app icon: green to emerald */
.icon-wisp { background: linear-gradient(180deg, #ffeaf2, #ffb9d5 55%, #ff8ebc); }
.icon-unify { background: linear-gradient(140deg, #50535f, #282a33 52%, #171820); } /* Calendar Blocker: white c on manyCalendars Charcoal */

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-title h2 { font-size: clamp(26px, 3vw, 34px); }
.section-title p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }
.section-title > a { font-size: 15px; color: var(--emerald-text); white-space: nowrap; }
.section-title > a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .section-title { flex-direction: column; align-items: start; } section { padding: 56px 0; } }

/* ---------- App cards ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }
.app { --a: var(--emerald-text); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.app:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.app-wisp  { --a: var(--wisp-text); }
.app-unify { --a: var(--indigo-text); }
.app-stage { height: 190px; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); background-color: var(--soft); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; }
.app-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.app-name { display: flex; align-items: center; gap: 12px; }
.app-name h2, .app-name h3 { font-size: 19px; }
.app-name small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.app-line { color: var(--ink-2); font-size: 15.5px; }
.app-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-foot .go { font-size: 15px; color: var(--a); }
.app:hover .go { text-decoration: underline; text-underline-offset: 3px; }
.status { font-weight: 500; font-size: 12px; color: var(--ink-2); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line-2); }

/* Stage pictures */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 12px; box-shadow: var(--shadow); width: 100%; max-width: 280px; }
.strip div { text-align: center; font-size: 11px; color: var(--ink-3); }
.strip b { display: block; margin: 6px auto 8px; font-size: 15px; line-height: 28px; width: 28px; border-radius: 6px; color: var(--ink); }
.strip .today b { background: var(--emerald-btn); color: #fff; }
.strip i { display: block; font-size: 11px; line-height: 22px; font-style: normal; border-radius: 4px; }
.strip .d i { background: #f6e1bd; color: #6b4210; }
.strip .n i { background: #dedbf6; color: #3b3580; }
.strip .o i { color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }

.photo-flow { display: flex; align-items: center; gap: 14px; }
.paper-photo { width: 92px; height: 118px; background: #fffdf6; border: 1px solid #ebe5d4; border-radius: 4px; padding: 11px 9px; box-shadow: var(--shadow); transform: rotate(-4deg); display: grid; gap: 7px; align-content: start; }
.paper-photo span { height: 5px; border-radius: 2px; background: #ddd7c6; }
.paper-photo span:nth-child(odd) { width: 75%; }
.arrow-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--wisp); display: grid; place-items: center; flex: none; }
.arrow-dot svg { width: 15px; height: 15px; }
.mini-events { display: grid; gap: 6px; width: 116px; }
.mini-events span { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--wisp); border-radius: 5px; padding: 7px 9px; font-size: 12px; color: var(--ink); }

.merge { display: flex; align-items: center; gap: 12px; }
.stack { display: grid; gap: 6px; }
.stack span { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-size: 12px; white-space: nowrap; color: var(--ink); }
.stack i { width: 8px; height: 8px; border-radius: 2px; }
.one-cal { width: 86px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px; display: grid; gap: 5px; box-shadow: var(--shadow); }
.one-cal span { height: 12px; border-radius: 3px; }

/* ---------- Rotation table ---------- */
.rot-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.rot { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s ease; }
.rot:nth-child(4n) { border-right: 0; }
.rot:nth-last-child(-n+4) { border-bottom: 0; }
a.rot:hover { background: var(--soft); }
.rot b { display: block; font-size: 16px; }
.rot small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 3px; }
@media (max-width: 760px) {
    .rot-grid { grid-template-columns: 1fr 1fr; }
    .rot:nth-child(4n) { border-right: 1px solid var(--line); }
    .rot:nth-child(2n) { border-right: 0; }
    .rot:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .rot:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Guide cards ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; transition: border-color .15s ease, box-shadow .15s ease; }
.post:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.post .cat { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.post h3 { font-size: 18px; line-height: 1.3; margin: 10px 0 8px; }
.post p { color: var(--ink-2); font-size: 15px; }
.post .meta { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink-3); }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cat-ms    { color: var(--indigo-text); }
.cat-apple { color: var(--wisp-text); }
.cat-shift { color: var(--emerald-text); }
.cat-cmp   { color: var(--ink-2); }

/* ---------- Principles ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values div { border-top: 2px solid var(--ink); padding-top: 18px; }
.values h2, .values h3 { font-size: 17px; margin-bottom: 6px; }
.values p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-grid > div:first-child p { color: var(--ink-3); font-size: 14px; margin-top: 14px; max-width: 260px; }
.foot-grid h2 { font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-2); font-size: 14px; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot-base button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot-base button:hover { color: var(--ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ============================================================
   Cookie consent
   ============================================================ */
.consent { position: fixed; z-index: 1000; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(760px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 24px 64px -16px rgba(19,39,32,.35); padding: 20px 22px; }
.consent[hidden] { display: none; }
.consent-row { display: flex; gap: 20px; align-items: center; }
.consent h2 { font-size: 16px; margin-bottom: 4px; }
.consent p { font-size: 14px; color: var(--ink-2); }
.consent p a { color: var(--emerald-text); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-prefs { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.consent-prefs[hidden] { display: none; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.pref b { display: block; font-size: 14px; }
.pref small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.pref input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; flex: none; transition: background .15s ease; }
.pref input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s ease; }
.pref input:checked { background: var(--emerald-btn); }
.pref input:checked::after { transform: translateX(16px); }
.pref input:disabled { opacity: .6; cursor: not-allowed; }
.consent-prefs .btn { justify-self: end; }
@media (max-width: 680px) { .consent-row { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; } .consent { bottom: 12px; padding: 18px; } }

/* ============================================================
   Guides index + article
   ============================================================ */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 48px); margin-top: 12px; }
.page-head p { font-size: 18px; color: var(--ink-2); margin-top: 12px; max-width: 640px; }
.topic { padding: 48px 0 0; }
.topic > h2 { font-size: 22px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.guides-empty { color: var(--ink-2); font-size: 17px; padding: 40px 0; }

.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-3); padding-top: 32px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article-head { padding: 20px 0 36px; max-width: 800px; }
.article-head .cat { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; margin: 12px 0 16px; }
.article-head .dek { font-size: 19px; color: var(--ink-2); line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.byline svg { width: 36px; height: 36px; }
.byline b { display: block; color: var(--ink); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; padding: 36px 0 24px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .article-layout .side { position: static; order: -1; } .side .side-card:not(.toc-card) { display: none; } }

.prose { max-width: 720px; font-size: 17.5px; line-height: 1.6; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin-top: 2.1em; scroll-margin-top: 84px; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose a:not(.btn) { color: var(--emerald-text); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink-3); }
/* A real screenshot of the app, from SEO Control's facts and screenshots. */
.prose figure.shot { margin: 1.6em auto; text-align: center; }
.prose figure.shot img { display: block; margin: 0 auto; max-width: min(100%, 360px); height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.wisp-guide-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 3vw, 24px); align-items: start; }
.prose .wisp-guide-shots figure.shot { display: block; height: auto; padding: 0; border: 0; background: transparent; margin: 0; }
.prose .wisp-guide-shots img { width: 100%; max-width: 235px; }
.prose figure.shot figcaption { margin-top: .7em; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; }
.prose ol.steps li { counter-increment: s; position: relative; padding-left: 46px; }
.prose ol.steps li + li { margin-top: .9em; }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--charcoal); color: #fff; font-size: 14px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--r); padding: 18px 22px; }
.summary b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-text); margin-bottom: 6px; }
.callout { background: var(--soft); border-radius: var(--r); padding: 16px 20px; font-size: 16px; color: var(--ink-2); }
.callout strong { color: var(--ink); }
.prose figure { margin: 2em 0; }
.shot { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); height: 300px; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; text-align: center; padding: 20px; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
details + details { margin-top: 8px; }
summary { font-weight: 600; cursor: pointer; padding: 15px 0; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ink-3); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

.cta-band { display: flex; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 2.4em; }
.cta-band h3 { font-size: 18px; margin: 0 0 4px; }
.cta-band p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.cta-band .btn { margin-left: auto; }
@media (max-width: 640px) { .cta-band { flex-direction: column; align-items: start; } .cta-band .btn { margin-left: 0; } }
.btn-wisp { background: var(--wisp-text); color: #fff; }
.btn-wisp:hover { background: #9d174d; }

.sources { font-size: 15px; }
.sources li + li { margin-top: .3em; }
.fix-note { font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }

.side { position: sticky; top: 84px; display: grid; gap: 16px; align-self: start; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.side-card .app-name h2, .side-card .app-name h3 { font-size: 17px; }
.side-card .btn { width: 100%; }
.side-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.toc b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc nav { display: grid; }
.toc nav a { font-size: 14px; color: var(--ink-2); padding: 6px 0 6px 12px; border-left: 2px solid var(--line); }
.toc nav a:hover { color: var(--ink); border-left-color: var(--emerald); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 520px) { .header-right .btn-ghost { display: none; } .announce .new { display: none; } }
.cal .t { white-space: nowrap; font-size: 10px; padding-right: 5px; }

/* ============================================================
   Legal and support pages (text ported unchanged from the live site)
   ============================================================ */
.legal-wrap { padding: 56px 24px 72px; }
.legal { max-width: 760px; font-size: 17px; line-height: 1.6; }
.legal-head { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.section-eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-text); }
.legal-head h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; margin: 12px 0 14px; }
.legal-effective { font-size: 14px; color: var(--ink-3); }
.legal-tldr { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--r); padding: 20px 24px; margin-bottom: 8px; }
.legal-tldr h2 { font-size: 18px; margin-bottom: 10px; }
.tldr-list { margin: 0; padding-left: 1.2em; }
.tldr-list li + li { margin-top: .5em; }
.legal-section { margin-top: 40px; padding: 0; }
.legal-section h2 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 12px; scroll-margin-top: 84px; }
.legal-section h3 { font-size: 18px; margin: 24px 0 8px; scroll-margin-top: 84px; }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 1em; }
.legal-section ul, .legal-section ol { padding-left: 1.3em; margin: .8em 0 0; }
.legal-section li + li { margin-top: .4em; }
.legal a:not(.btn) { color: var(--emerald-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal code { font-size: .9em; background: var(--soft); padding: 1px 6px; border-radius: 4px; }
.legal-section-strong { background: var(--soft); border-radius: var(--r); padding: 4px 22px 20px; }
.trust-table-wrap { overflow-x: auto; margin-top: 1em; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.trust-table-wrap + p { margin-top: 1em; }
.trust-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.trust-table th, .trust-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.trust-table th { background: var(--soft); }
.trust-table tr:last-child td { border-bottom: 0; }
.trust-callout { background: var(--emerald-soft); border-radius: var(--r); padding: 16px 20px; margin-top: 1em; }
.trust-qa { margin-top: 1em; }
@media (max-width: 640px) { .legal-wrap { padding: 40px 16px 56px; } }

/* ============================================================
   Product pages
   ============================================================ */
.product { --a: var(--emerald-text); --a-soft: var(--emerald-soft); --a-btn: var(--emerald-btn); }
.product.wisp  { --a: var(--wisp-text);   --a-soft: var(--wisp-soft);   --a-btn: var(--wisp); }
.product.unify { --a: var(--indigo-text); --a-soft: var(--indigo-soft); --a-btn: #5b45c2; }
.p-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.p-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.p-hero .app-icon { width: 72px; height: 72px; border-radius: 17px; }
.p-hero h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.05; margin: 22px 0 16px; }
.p-hero .sub { font-size: 19px; color: var(--ink-2); max-width: 500px; }
.p-hero .platform { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.p-hero .btn-a { background: var(--a-btn); color: #fff; }
.p-stage { background-color: var(--a-soft); border-radius: var(--r-lg); border: 1px solid var(--line); min-height: 380px; display: grid; place-items: center; padding: 32px; background-image: radial-gradient(color-mix(in srgb, var(--a) 18%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
@media (max-width: 900px) { .p-hero .wrap { grid-template-columns: 1fr; gap: 40px; } .p-stage { min-height: 300px; } }
@media (max-width: 380px) { .p-stage { padding-inline: 6px; } }

.wl { margin-top: 28px; max-width: 460px; }
.wl-row { display: flex; gap: 8px; }
.wl input { flex: 1; min-width: 0; font-weight: 400; font-size: 16px; line-height: 1; padding: 13px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.wl input:focus { outline: 2px solid var(--a); outline-offset: 1px; border-color: transparent; }
.wl button { background: var(--a-btn); color: #fff; }
.wl button:disabled { opacity: .6; cursor: progress; }
.wl small { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.wl [data-status] { display: block; min-height: 1.4em; margin-top: 10px; font-size: 14px; }
.wl [data-kind="ok"] { color: var(--emerald-text); }
.wl [data-kind="error"] { color: #c2410c; }
.wl [data-kind="info"] { color: var(--ink-2); }
@media (max-width: 480px) { .wl-row { flex-direction: column; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wisp-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.wisp-ics-feature { grid-column: 1 / -1; background: var(--wisp-soft); }
.feature .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--a-soft); color: var(--a); margin-bottom: 16px; }
.feature .fi svg { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.feature .tier { display: inline-block; margin-left: 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--a); vertical-align: 2px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: h; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.how div { counter-increment: h; padding: 26px; }
.how div + div { border-left: 1px solid var(--line); }
.how div::before { content: counter(h); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--charcoal); color: #fff; font-size: 14px; margin-bottom: 14px; }
.how h3 { font-size: 17px; margin-bottom: 6px; }
.how p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } .how div + div { border-left: 0; border-top: 1px solid var(--line); } }

.faq { max-width: 780px; }
.note-strip { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: 15px; color: var(--ink-2); }
.note-strip svg { width: 20px; height: 20px; flex: none; color: var(--a); margin-top: 2px; }

/* Larger stage pictures for product heroes */
.p-stage .strip { max-width: 420px; padding: 22px 18px; gap: 10px; }
.p-stage .strip b { font-size: 20px; width: 38px; line-height: 38px; }
.p-stage .strip i { font-size: 13px; line-height: 30px; }
.p-stage .paper-photo { width: 150px; height: 190px; }
.p-stage .mini-events { width: 170px; }
.p-stage .mini-events span { font-size: 14px; padding: 11px 12px; }
.p-stage .stack span { font-size: 14px; padding: 10px 13px; }
.p-stage .one-cal { width: 130px; padding: 12px; gap: 8px; }
.p-stage .one-cal span { height: 18px; }
.wl [data-status]:empty { display: none; }

/* ============================================================
   v4 "established" components (inspired by ADP, QuickBooks,
   Calendly, Cal AI): white base, full-bleed bands, real-looking
   product screens, audience selector, icon rows.
   ============================================================ */
.announce { background: var(--navy); }
.nav-link { font-size: 15px; color: var(--ink-2); padding: 8px 4px; }
.nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .nav-link { display: none; } }

.band { padding: 88px 0; }
.band-egg { background: var(--eggshell); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-green { background: var(--emerald-btn); color: #fff; }
.band-green .section-title p, .band-green p { color: rgba(255,255,255,.82); }
.band-dark { background: var(--navy); color: #e9efe9; }
@media (max-width: 700px) { .band { padding: 60px 0; } }

h2.big { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; line-height: 1.12; }
.lead { font-weight: 500; font-size: 19px; color: var(--ink-2); line-height: 1.55; }
.center { text-align: center; }
.center .lead { max-width: 640px; margin: 14px auto 0; }

/* Hero v4 */
.hero { padding: 72px 0 0; border-bottom: 0; overflow: hidden; }
.hero .wrap { grid-template-columns: 1fr 1fr; align-items: end; }
.hero .copy { padding-bottom: 88px; }
.hero .works { margin-top: 30px; font-size: 14px; color: var(--ink-3); }
.hero .works b { display: block; color: var(--ink-2); margin-bottom: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.hero .works span { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; color: var(--ink-2); font-size: 15px; }
.phones { position: relative; height: 560px; }
.phones .phone { position: absolute; bottom: -40px; }
.phones .phone:first-child { left: -2%; z-index: 2; }
.phones .phone:last-child { right: -4%; bottom: -90px; transform: scale(.92); transform-origin: bottom right; }
@media (max-width: 960px) {
    .hero .copy { padding-bottom: 24px; }
    .phones { height: 470px; }
    .phones .phone:last-child { display: none; }
    .phones .phone:first-child { left: 50%; transform: translateX(-50%); }
}

/* Phone mockup */
.phone { width: 272px; height: 560px; border-radius: 46px; background: #0f1412; padding: 10px; box-shadow: 0 40px 80px -30px rgba(16,36,29,.45), inset 0 0 0 2px #2b332f; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; background: #f8f9f5; overflow: hidden; color: #132720; font-family: var(--font); }
.screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #0f1412; z-index: 3; }
.sb-status { display: flex; justify-content: space-between; padding: 13px 24px 0 26px; font-size: 12px; }
.sc-head { padding: 22px 18px 8px; display: flex; align-items: baseline; justify-content: space-between; }
.sc-head b { font-size: 24px; letter-spacing: -0.02em; }
.sc-head small { font-size: 12px; color: #09643f; }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 4px 12px; }
.mgrid .wd { text-align: center; font-size: 9px; color: #7a8a83; padding-bottom: 2px; }
.mgrid .dc { background: #fff; border-radius: 7px; height: 52px; padding: 4px 0 0; text-align: center; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 0 0 1px #e8ece6; }
.mgrid .dc i { font-style: normal; font-size: 9px; width: 26px; line-height: 15px; border-radius: 4px; }
.mgrid .dc.mute { color: #b5beb9; background: transparent; box-shadow: none; }
.mgrid .dc.today { box-shadow: 0 0 0 2px #0e6944; }
.mgrid .dc.today span { background: #0e6944; color: #fff; border-radius: 5px; padding: 0 4px; }
.cD { background: #f6e1bd; color: #6b4210; }
.cN { background: #dedbf6; color: #3b3580; }
.cE { background: #fbd5cb; color: #8a2d16; }
.next-card { margin: 12px 12px 0; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px #e8ece6; display: flex; align-items: center; gap: 10px; }
.next-card .bar { width: 4px; align-self: stretch; border-radius: 2px; background: #4b57c5; }
.next-card small { display: block; font-size: 10px; color: #7a8a83; text-transform: uppercase; letter-spacing: .05em; }
.next-card b { font-size: 14px; }
.next-card .al { margin-left: auto; font-size: 11px; color: #09643f; background: #e3f2e9; padding: 4px 8px; border-radius: 6px; }
.dock { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 54px; border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px #e2e6df, 0 8px 20px -10px rgba(0,0,0,.2); display: flex; justify-content: space-around; align-items: center; }
.dock span { width: 22px; height: 22px; border-radius: 6px; background: #dfe5e0; }
.dock span.on { background: #0e6944; }

/* Wisp review screen */
.rv-head { padding: 22px 18px 6px; }
.rv-head small { font-size: 11px; color: #be185d; text-transform: uppercase; letter-spacing: .05em; }
.rv-head b { display: block; font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.rv-src { margin: 8px 14px; height: 92px; border-radius: 12px; background: #fffdf6; box-shadow: 0 0 0 1px #ebe5d4; padding: 12px; display: grid; gap: 6px; align-content: start; transform: rotate(-1.5deg); }
.rv-src span { height: 5px; border-radius: 2px; background: #ddd7c6; }
.rv-src span:nth-child(odd) { width: 70%; }
.rv-list { padding: 4px 12px; display: grid; gap: 7px; }
.rv { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 0 0 1px #e8ece6; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; }
.rv .ck { width: 20px; height: 20px; border-radius: 6px; background: #db2777; color: #fff; display: grid; place-items: center; font-size: 12px; }
.rv b { display: block; font-size: 13px; }
.rv small { font-size: 11px; color: #50635b; }
.rv.warn { box-shadow: 0 0 0 1.5px #f59e0b; }
.rv.warn small { color: #b45309; }
.rv-btn { position: absolute; left: 14px; right: 14px; bottom: 18px; height: 46px; border-radius: 14px; background: #db2777; color: #fff; display: grid; place-items: center; font-size: 15px; }

/* Audience selector (ADP-style) */
.aud-tabs { display: flex; justify-content: center; gap: 0; border-bottom: 2px solid var(--line); margin: 36px 0 0; flex-wrap: wrap; }
.aud-tabs button { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 16px 26px; font-weight: 600; font-size: 16px; line-height: 1.2; color: var(--ink-2); cursor: pointer; }
.aud-tabs button:hover { color: var(--ink); }
.aud-tabs button[aria-selected="true"] { color: var(--emerald-text); border-bottom-color: var(--emerald-btn); }
.aud-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0 8px; }
.aud-panel[hidden] { display: none; }
.aud-panel .kick { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.aud-panel h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.02em; line-height: 1.15; margin: 12px 0 14px; }
.aud-panel p { color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309643f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.aud-panel .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.aud-art { background: var(--eggshell); border: 1px solid var(--line); border-radius: var(--r-lg); min-height: 420px; display: grid; place-items: center; overflow: hidden; padding: 28px; }
.aud-art .phone { transform: scale(.82); margin: -50px 0; }
@media (max-width: 900px) { .aud-panel { grid-template-columns: 1fr; gap: 32px; } .aud-tabs button { padding: 14px 14px; font-size: 15px; } }

/* Proof band */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.proof div { border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; }
.proof b { display: block; font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.proof p { margin-top: 8px; font-size: 16px; }
.band-green .btn-light { background: #fff; color: var(--emerald-btn); }
.band-green .btn-outline { border: 1px solid rgba(255,255,255,.6); color: #fff; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; gap: 24px; } }

/* Icon rows (ADP-style) */
.rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line-2); }
.row { display: flex; align-items: center; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line-2); }
.row .ri { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--emerald-soft); color: var(--emerald-text); }
.row .ri svg { width: 22px; height: 22px; }
.row b { font-size: 18px; }
.row small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.row .chev { margin-left: auto; font-size: 20px; color: var(--ink-3); transition: transform .15s ease; }
.row:hover b { text-decoration: underline; text-underline-offset: 4px; }
.row:hover .chev { transform: translateX(4px); color: var(--ink); }
/* Fills each column top to bottom, so on phones (one column) the apps still come first. */
.rows-cols { grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
@media (max-width: 760px) { .rows { grid-template-columns: 1fr; } .rows-cols { grid-auto-flow: row; grid-template-rows: none; } }

/* Works with row */
.works-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 56px; margin-top: 28px; }
.works-row span { font-size: 20px; color: var(--ink-3); letter-spacing: -0.01em; }

/* Final CTA */
.final { text-align: center; }
.final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.band-dark h2 { color: #fff; }
.band-dark .lead { color: #b8c9c0; }
.band-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* Wisp landing (/wisp) */
.rot-word { color: var(--wisp-text); display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.rot-word.out { opacity: 0; transform: translateY(8px); }
.formats { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.formats b { color: var(--ink-2); }
.src-menu { padding: 6px 14px; display: grid; gap: 8px; }
.src-opt { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: 0 0 0 1px #e8ece6; font-size: 14px; }
.src-opt i { width: 34px; height: 34px; border-radius: 10px; background: #fce7f3; color: #be185d; display: grid; place-items: center; font-style: normal; font-size: 16px; }
.src-opt small { display: block; font-size: 11px; color: #7a8a83; }
.receipt { margin: 40px 16px 0; background: #fff; border-radius: 18px; padding: 22px 18px; box-shadow: 0 0 0 1px #e8ece6; text-align: center; }
.receipt .ok { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: 26px; }
.receipt b { display: block; font-size: 19px; }
.receipt small { display: block; font-size: 12px; color: #50635b; margin-top: 6px; }
.receipt .cal-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; background: #f4f5f1; padding: 6px 10px; border-radius: 8px; }
.receipt .cal-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #db2777; }
.step-tabs { justify-content: flex-start; margin-top: 28px; }
.ghost-cta { display: flex; align-items: center; gap: 28px; }
.ghost-cta .app-icon { width: 96px; height: 96px; border-radius: 22px; }
@media (max-width: 640px) { .ghost-cta { flex-direction: column; align-items: flex-start; } }
.band-dark .wl input { background: #fff; color: #132720; border-color: transparent; }
.band-dark .wl small { color: #b8c9c0; }
.band-dark .wl [data-kind="info"], .band-dark .wl [data-kind="ok"] { color: #8ce6b4; }

/* ============================================================
   v5 "original" light theme
   ------------------------------------------------------------
   Back to the manyCalendars.com look: near-white page, white
   cards, near-black ink, the brand pink, soft pink and lavender
   glows. No dark bands. ShiftBook keeps emerald on its own page
   and the extension keeps indigo; the hub itself is pink and ink.
   ============================================================ */
:root {
    --paper:    #fafafb;
    --surface:  #ffffff;
    --soft:     #f4f4f7;
    --eggshell: #f7f6fa;
    --navy:     #0a0a0f;
    --ink:      #0a0a0f;
    --ink-2:    #2d2d3a;
    --ink-3:    #6b6b78;
    --line:     #e5e7eb;
    --line-2:   #d9dbe1;

    --brand:      #db2777;
    --brand-text: #be185d;
    --brand-deep: #9d174d;
    --brand-soft: #fdf2f8;
    --brand-tint: #fce7f3;
    --lavender:   #f5f3ff;

    --shadow:    0 1px 2px rgba(10,10,15,.04), 0 4px 16px -8px rgba(10,10,15,.10);
    --shadow-lg: 0 1px 2px rgba(10,10,15,.04), 0 20px 40px -24px rgba(10,10,15,.22);
}

:focus-visible { outline-color: var(--brand); }
.brand .many { color: var(--brand); }
.btn-primary { background: linear-gradient(180deg, var(--brand), var(--brand-text)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(219,39,119,.55); }
.btn-primary:hover { background: linear-gradient(180deg, var(--brand-text), var(--brand-deep)); }
.kicker, .section-title > a, .section-eyebrow, .summary b { color: var(--brand-text); }
.consent p a, .prose a:not(.btn), .legal a:not(.btn) { color: var(--brand-text); }
.pref input:checked { background: var(--brand); }
.summary, .legal-tldr { border-left-color: var(--brand); }
.toc nav a:hover { border-left-color: var(--brand); }
.trust-callout { background: var(--brand-soft); }
.wl [data-kind="ok"] { color: var(--brand-text); }
.aud-tabs button[aria-selected="true"] { color: var(--brand-text); border-bottom-color: var(--brand); }
.ticks li::before { background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23be185d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.row .ri { background: var(--brand-soft); color: var(--brand-text); }
.site-footer { background: var(--surface); }

/* Soft glows behind every hero, like the original pages */
.hero, .p-hero, .page-head { position: relative; isolation: isolate;
    background:
        radial-gradient(520px 420px at 4% 18%, rgba(236,72,153,.10), transparent 70%),
        radial-gradient(460px 380px at 98% 6%, rgba(139,92,246,.09), transparent 70%),
        linear-gradient(180deg, #fdf6fa 0%, var(--paper) 100%); }

/* Announcement bar: light, not dark */
.announce { background: var(--brand-soft); color: var(--ink-2); border-bottom: 1px solid var(--brand-tint); }
.announce b { color: var(--ink); }
.announce a { color: var(--brand-text); }
.announce .new { background: var(--brand); color: #fff; }

/* Bands that were dark green are now light */
.band { background: var(--surface); }
.band-egg { background: var(--paper); }
.band-green { background: linear-gradient(135deg, var(--brand-soft), var(--lavender)); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-green .section-title p, .band-green p { color: var(--ink-2); }
.band-green .btn-light { background: linear-gradient(180deg, var(--brand), var(--brand-text)); color: #fff; }
.band-green .btn-outline { border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.proof div { border-top-color: var(--line-2); }
.proof b { color: var(--ink); }
.band-dark { color: var(--ink); border-top: 1px solid var(--line);
    background:
        radial-gradient(600px 300px at 15% 100%, rgba(236,72,153,.10), transparent 70%),
        radial-gradient(600px 300px at 85% 0%, rgba(139,92,246,.08), transparent 70%),
        var(--brand-soft); }
.band-dark h2 { color: var(--ink); }
.band-dark .lead { color: var(--ink-2); }
.band-dark .btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.band-dark .wl input { background: #fff; color: var(--ink); border-color: var(--line-2); }
.band-dark .wl small { color: var(--ink-3); }
.band-dark .wl [data-kind="info"], .band-dark .wl [data-kind="ok"] { color: var(--brand-text); }
.aud-art { background: var(--surface); }

/* Product pages keep their own accent inside the page */
.product .kicker { color: var(--a); }
.product .aud-tabs button[aria-selected="true"] { color: var(--a); border-bottom-color: var(--a-btn); }

/* Wisp: the original landing-page look */
.product.wisp .p-hero .btn-a, .product.wisp .wl button { background: linear-gradient(180deg, #db2777, #be185d); box-shadow: 0 8px 20px -10px rgba(219,39,119,.6); }
.wisp-screenshot { display: block; width: min(100%, 252px); height: auto; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 12px 32px rgba(33, 20, 39, .12); }
.product.wisp .p-stage { background-color: #fdf2f8; border-color: #fce7f3; }
.product.wisp .band-egg { background: linear-gradient(180deg, #fdf2f8, #faf8fc); }
.product.wisp .fi { background: #fce7f3; color: #be185d; }

/* ShiftBook page: emerald accents on the same white page */
.shiftbook-screenshot { display: block; width: min(100%, 252px); height: auto; border-radius: 26px; box-shadow: var(--shadow-lg); }
.product:not(.wisp):not(.unify) .p-hero { background:
        radial-gradient(520px 420px at 4% 18%, rgba(28,181,108,.09), transparent 70%),
        radial-gradient(460px 380px at 98% 6%, rgba(116,90,217,.07), transparent 70%),
        linear-gradient(180deg, #f6fbf8 0%, var(--paper) 100%); }
.product.unify .p-hero { background:
        radial-gradient(520px 420px at 4% 18%, rgba(116,90,217,.10), transparent 70%),
        radial-gradient(460px 380px at 98% 6%, rgba(236,72,153,.07), transparent 70%),
        linear-gradient(180deg, #f8f6fe 0%, var(--paper) 100%); }
.product.unify .p-hero .wrap { grid-template-columns: 1fr; max-width: 700px; }

/* The same finished wordmark is used on all product pages. The animated
   source plays once and holds its last frame. The still includes the same
   transparent headroom so switching sources never changes navigation layout. */
.brand { width: 190px; max-width: 100%; flex-shrink: 0; }
.brand picture, .brand img { display: block; width: 100%; height: auto; }
.site-header .brand { transform: translateY(-5px); }
.site-footer .brand { width: 170px; }
@media (max-width: 520px) {
    .site-header .wrap { gap: 12px; }
    .site-header .brand { width: clamp(136px, 42vw, 180px); }
}
/* Wisp's camera + calendar mark fills more of its tile so it reads at small sizes */
.icon-wisp img, .icon-unify svg { width: 100%; height: 100%; }

/* Mobile menu: the main nav hides below 1000px, so phones get this instead */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; display: grid; align-content: center; justify-items: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 16px; height: 2px; border-radius: 1px; background: var(--ink); }
.menu nav { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 220px; display: grid; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.menu nav a { padding: 11px 12px; border-radius: var(--r-sm); font-size: 16px; color: var(--ink); }
.menu nav a:hover { background: var(--soft); }
@media (max-width: 1000px) { .menu { display: block; } }
@media (max-width: 520px) { .header-right .btn-primary { display: none; } }
details.menu { background: none; border: 0; padding: 0; }
.menu summary { padding: 0; gap: 4px; }
.menu summary::after { content: none; }
.menu summary { justify-content: center; align-items: center; }

/* Guides: ShiftBook call to action, tables, related guides */
.btn-shift { background: var(--emerald-btn); color: #fff; }
.btn-shift:hover { background: #0b5a3a; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font-size: 14px; color: var(--ink-2); }
.prose th, .prose td { text-align: left; padding: 10px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-top: 0; background: var(--soft); font-size: 14px; white-space: nowrap; }
.prose tbody tr:nth-child(even) td { background: #fbfbfc; }
.prose .tiles.related { grid-template-columns: repeat(3, 1fr); margin-top: 1em; }
.prose .tiles.related .post h3 { font-size: 16px; }
@media (max-width: 760px) { .prose .tiles.related { grid-template-columns: 1fr; } }

/* App pages: the Guides list takes the app's colour (ShiftBook green; Wisp keeps the brand pink) */
.product:not(.wisp):not(.unify) #guides .row .ri { background: var(--emerald-soft); color: var(--emerald-text); }
.product:not(.wisp):not(.unify) #guides .section-title > a { color: var(--emerald-text); }

.wisp-reference { max-width: 840px; padding-bottom: 64px; }
.wisp-reference .prose { max-width: 100%; }
.wisp-guide-link { margin-bottom: 24px; }
#p-photo .ctas a:not(.btn), .wisp-guide-link a, .wisp .feature a, .wisp .ticks a { color: var(--wisp-text); text-decoration: underline; text-underline-offset: 3px; }

/* Suite navigation. Each product keeps its own destination and availability. */
.suite-nav .nav { margin-inline: auto; align-items: center; }
.suite-nav .header-right { margin-left: 0; }
.suite-disclosure { position: relative; padding: 0; border: 0; background: none; }
.suite-disclosure summary { align-items: center; gap: 7px; padding: 10px 12px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.suite-disclosure summary::after {
    content: ""; width: 7px; height: 7px; margin-top: -3px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.suite-disclosure[open] summary::after { content: ""; transform: rotate(225deg); margin-top: 3px; }
.suite-disclosure .suite-links, .suite-mobile .suite-links {
    position: absolute; z-index: 51; width: max-content; max-width: calc(100vw - 32px);
    padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg);
}
.suite-disclosure .suite-links { top: calc(100% + 5px); left: 0; }
.suite-nav .suite-links a { display: block; padding: 10px 14px; color: var(--ink); border-radius: 7px; }
.suite-links small { display: block; color: var(--ink-3); font-weight: 400; font-size: 13px; line-height: 1.45; }
.suite-links a:hover, .suite-links a:focus-visible, .suite-disclosure summary:hover { background: var(--soft); }
.suite-nav .btn { min-height: 44px; }
.suite-nav .suite-mobile { display: none; }
@media (max-width: 820px) {
    .suite-nav .nav { display: none; }
    .suite-nav .header-right { margin-left: auto; }
    .suite-nav .suite-mobile, .suite-nav .header-right .btn-primary { display: inline-flex; }
    .suite-mobile summary { width: 44px; height: 44px; }
}
@media (max-width: 520px) {
    .site-header .suite-nav { gap: 6px; }
    .suite-nav .header-right { gap: 5px; }
    .suite-nav .btn-sm { padding-inline: 10px; font-size: 13px; }
    .site-header .suite-nav .brand { width: clamp(122px, 36vw, 162px); flex-shrink: 1; min-width: 0; }
    .suite-nav .header-right { flex-shrink: 0; }
}
