/* EpicDesk pages (agent_team E108-S100): epicdesk.app/ and epicdesk.app/clinic/, English and Spanish.
 * Fable rebuild, visual first: flat fields of sage and mist, no hairlines, no shadows, no gradients.
 * Colours and type come from tokens.css (the EpicDesk Clinic brand kit: Source Serif 4, Hanken Grotesk, deep sage on paper).
 * Interface fragments drawn here carry data-ui; real screens are photographs of the demo workspace. */
@font-face { font-family: "Source Serif 4"; src: url("/clinics/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/clinics/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --color-muted: #45524E;
  --d-display: clamp(2.05rem, 3.3vw + 1rem, 3.375rem);
  --d-section: clamp(1.85rem, 2.4vw + 1.05rem, 3.1rem);
  --d-state: clamp(1.25rem, 0.9vw + 1rem, 1.75rem);
  --d-body: 1.0625rem;
  --d-small: 0.9375rem;
  --d-gap: clamp(72px, 9vw, 136px);
  --field-dark: #13282B;
  --field-sage: #1E4A47;
  --field-mist: #EFF3F0;
  --field-leaf: #DCE5DF;
  --on-dark: #FAFAF7;
  --on-dark-soft: #BFD3CB;
  --warm: #B4552D;
  --r: 10px;
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-size: var(--d-body); }
h1, h2 { font-weight: 450; letter-spacing: var(--tracking-display); line-height: 1.06; color: inherit; }
h1 { font-size: var(--d-display); }
h2 { font-size: var(--d-section); }
h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.005em; }
p { max-width: 62ch; }
.state { font-family: var(--font-display); font-size: var(--d-state); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; }
.soft { color: var(--color-muted); }
.small { font-size: var(--d-small); }

/* top bar */
.top { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand b { font-weight: 650; }
.brand i { font-style: normal; font-weight: 450; color: var(--color-ink-2); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a, .top .lang { text-decoration: none; font-size: var(--d-small); color: var(--color-ink); padding-block: 12px; }
.top nav a:hover, .top .lang:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; font-weight: 650; font-size: 1rem; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--field-dark); }
.btn:active { transform: scale(0.98); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: var(--d-small); }
.btn.light { background: var(--on-dark); color: var(--field-dark); }
.btn.light:hover { background: var(--color-signal); }
.go { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.28em; text-decoration-color: var(--color-signal); }
.go:hover { text-decoration-color: currentColor; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
@media (max-width: 62rem) { .top nav { display: none; } .top .lang { margin-left: auto; } .top .login + .lang { margin-left: 0; } }
@media (max-width: 30rem) { .top-in { gap: 14px; } .brand { font-size: 1rem; } .top .btn { display: none; } }

/* fields */
.sec { padding-block: var(--d-gap); }
.sec.mist { background: var(--field-mist); }
.sec.dark { background: var(--field-dark); color: var(--on-dark); }
.sec.sage { background: var(--field-sage); color: var(--on-dark); }
.sec.dark .soft, .sec.sage .soft { color: var(--on-dark-soft); }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.head h2 { max-width: 17ch; }
.head p { font-size: var(--d-state); font-family: var(--font-display); line-height: 1.32; max-width: 34ch; }
@media (max-width: 52rem) { .head { grid-template-columns: 1fr; } }

/* hero */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 104px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 12fr); gap: 56px; align-items: center; }
.hero h1 { max-width: none; }
.hero .lead { margin-top: 22px; font-size: 1.3125rem; line-height: 1.45; max-width: 34ch; }
.hero .price { margin-top: 22px; font-size: 1.125rem; }
.hero .price b { font-weight: 650; }
@media (max-width: 62rem) { .hero-in { grid-template-columns: 1fr; gap: 36px; } }

/* the call scene: a drawn fragment of the product, lines from the made-up demo clinic */
.scene { margin: 0; background: var(--field-sage); color: var(--on-dark); border-radius: var(--r); padding: clamp(16px, 2.2vw, 28px); display: grid; gap: 14px; }
.scene-bar { display: flex; align-items: center; gap: 12px; font-size: var(--d-small); }
.scene-bar img { width: 34px; height: 34px; border-radius: 8px; background: var(--on-dark); }
.scene-bar b { font-weight: 650; }
.scene-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: currentColor; height: 30%; animation: wave 1.1s var(--ease-in-out) infinite; }
.wave i:nth-child(2) { animation-delay: -0.9s; } .wave i:nth-child(3) { animation-delay: -0.5s; } .wave i:nth-child(4) { animation-delay: -0.2s; } .wave i:nth-child(5) { animation-delay: -0.7s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.talk { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.talk li { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 1rem; line-height: 1.4; }
.talk .them { background: #2C5F5B; border-bottom-left-radius: 4px; justify-self: start; }
.talk .her { background: var(--on-dark); color: var(--field-dark); border-bottom-right-radius: 4px; justify-self: end; }
.talk small { display: block; font-size: 0.8125rem; font-weight: 650; margin-bottom: 2px; }
.lands { display: grid; gap: 8px; padding-top: 6px; }
.lands > span { font-size: var(--d-small); color: var(--on-dark-soft); display: flex; align-items: center; gap: 8px; }
.card { background: var(--on-dark); color: var(--field-dark); border-radius: 10px; padding: 13px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; font-size: var(--d-small); line-height: 1.4; }
.card b { font-size: 1rem; font-weight: 650; }
.card p { grid-column: 1 / -1; color: var(--color-muted); max-width: none; }
.tag { align-self: start; font-size: 0.8125rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--field-leaf); color: var(--field-sage); white-space: nowrap; }
.tag.you { background: #F3DDD2; color: #7C3414; }
.js .scene [data-s] { opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .scene [data-s].on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .scene [data-s] { opacity: 1; transform: none; } .wave i { animation: none; height: 60%; } }

/* what you get: unlike tiles */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); background: var(--field-mist); display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.tile.t6 { grid-column: span 6; } .tile.t4 { grid-column: span 4; } .tile.t8 { grid-column: span 8; } .tile.t3 { grid-column: span 3; } .tile.t5 { grid-column: span 5; } .tile.t7 { grid-column: span 7; }
.tile.sage { background: var(--field-sage); color: var(--on-dark); }
.tile.dark { background: var(--field-dark); color: var(--on-dark); }
.tile.leaf { background: var(--field-leaf); }
.tile.sage .soft, .tile.dark .soft { color: var(--on-dark-soft); }
.tile .fig { font-family: var(--font-display); font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile .state { max-width: 22ch; }
.tile p { max-width: 38ch; }
.tile.shot { padding: 0; overflow: hidden; background: var(--field-leaf); }
.tile.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.tile ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 1.125rem; }
.tile ul li { display: flex; gap: 12px; align-items: baseline; }
.tile ul li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-signal); transform: translateY(-1px); }
.tile .end { margin-top: auto; }
@media (max-width: 62rem) { .tile.t3, .tile.t4, .tile.t5 { grid-column: span 6; } .tile.t7, .tile.t8, .tile.t6 { grid-column: span 12; } .tile.t6.half { grid-column: span 6; } }
@media (max-width: 36rem) { .tile, .tile.t3, .tile.t4, .tile.t5, .tile.t6.half { grid-column: span 12; min-height: 0; } }

/* how it works: one line, five stops, the knowledge underneath */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px; counter-reset: none; }
.stop { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; }
.stop:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(72px + 8px); right: -36px; height: 3px; border-radius: 2px; background: var(--color-signal); }
.stop:not(:last-child)::before { content: ""; position: absolute; top: 28px; right: -38px; width: 12px; height: 12px; border-top: 3px solid var(--color-signal); border-right: 3px solid var(--color-signal); transform: rotate(45deg); border-radius: 1px; }
.disc { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--field-leaf); color: var(--field-sage); }
.disc svg { width: 32px; height: 32px; }
.disc.agent { background: var(--field-sage); color: var(--on-dark); }
.disc.agent.two { background: var(--field-dark); }
.stop b { font-family: var(--font-display); font-weight: 500; font-size: 1.4375rem; line-height: 1.15; letter-spacing: -0.01em; }
.stop span { color: var(--color-muted); max-width: 22ch; }
.know { margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px; }
.know-bar { grid-column: 2 / 6; position: relative; background: var(--on-dark); border-radius: var(--r); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; }
.sec.mist .know-bar { background: var(--color-paper); }
.know-bar b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.know-bar::before, .know-bar::after { content: ""; position: absolute; top: -30px; width: 3px; height: 30px; border-radius: 2px; background: var(--color-signal); }
.know-bar::before { left: 34px; } .know-bar::after { right: 12%; }
.know-up { position: absolute; top: -34px; left: 28px; width: 12px; height: 12px; border-top: 3px solid var(--color-signal); border-left: 3px solid var(--color-signal); transform: rotate(45deg); }
@media (max-width: 62rem) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .stop { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; align-items: center; }
  .stop .disc { grid-row: span 2; }
  .stop span { max-width: none; }
  .stop:not(:last-child)::after { top: 76px; left: 34px; right: auto; width: 3px; height: 18px; }
  .stop:not(:last-child)::before { display: none; }
  .know { grid-template-columns: 1fr; margin-top: 26px; }
  .know-bar { grid-column: 1; }
  .know-bar::before, .know-bar::after, .know-up { display: none; }
}
.steps { margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.steps li { background: var(--color-paper); border-radius: var(--r); padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.steps b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; }
.steps span { color: var(--color-muted); }
@media (max-width: 62rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps { grid-template-columns: 1fr; } }

/* real screens */
.screens { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.tabs { display: grid; gap: 6px; }
.tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--r); color: var(--on-dark); }
.tabs button b { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.01em; }
.tabs button span { color: var(--on-dark-soft); font-size: var(--d-small); line-height: 1.45; }
.tabs button:hover { background: #1B3A3D; }
.tabs button[aria-selected="true"] { background: var(--on-dark); color: var(--field-dark); }
.tabs button[aria-selected="true"] span { color: var(--color-muted); }
.tabs button:focus-visible { outline: 2px solid var(--color-signal); outline-offset: 2px; }
.stage { margin: 0; background: #1B3A3D; border-radius: var(--r); padding: clamp(12px, 2vw, 28px); min-height: 320px; display: grid; place-items: center; }
.stage img { border-radius: 8px; width: 100%; height: auto; }
.stage img.phone { width: auto; max-height: 620px; max-width: 100%; }
.stage figcaption { margin-top: 14px; font-size: var(--d-small); color: var(--on-dark-soft); justify-self: start; }
.js .shotp[hidden] { display: none; }
.shotp { display: grid; justify-items: center; }
.shotp + .shotp { margin-top: 28px; }
.js .shotp + .shotp { margin-top: 0; }
@media (max-width: 62rem) {
  .screens { grid-template-columns: 1fr; gap: 20px; }
  .tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .tabs button { padding: 10px 16px; }
  .tabs button span { display: none; }
  .tabs button b { font-size: 1.0625rem; }
}

/* two agents, two voices */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.persona { border-radius: var(--r); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.persona.one { background: var(--field-sage); color: var(--on-dark); }
.persona.two { background: var(--field-dark); color: var(--on-dark); }
.agent-top { display: flex; align-items: center; gap: 16px; }
.face { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--on-dark); color: var(--field-sage); }
.persona.two .face { color: var(--field-dark); background: var(--color-signal); }
.face .wave { height: 30px; gap: 4px; } .face .wave i { width: 4px; }
.persona.two .wave i { animation-duration: 1.7s; }
.persona h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.4vw + 1rem, 2.125rem); letter-spacing: -0.015em; line-height: 1.1; }
.persona .who { color: var(--on-dark-soft); }
.persona blockquote { margin: 0; font-family: var(--font-display); font-size: var(--d-state); line-height: 1.3; max-width: 26ch; }
.persona ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.persona li { display: flex; gap: 12px; align-items: baseline; }
.persona li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--color-signal); }
.persona .go { justify-self: start; }
.pshot { width: 100%; height: 210px; object-fit: cover; object-position: 0 0; border-radius: 8px; }
.persona.one .pshot { object-position: 50% 0; }
.tshot { width: 100%; border-radius: 8px; margin-top: auto; }
.reports { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.reports .state { max-width: 44ch; }
@media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } }

/* the learning animation: three columns, one lesson travelling through them */
.teach-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.teach-pick button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 46px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; background: var(--color-paper); font-weight: 600; }
.teach-pick button[aria-selected="true"] { background: var(--field-sage); color: var(--on-dark); }
.teach-pick button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.teach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.js .teach[hidden] { display: none; }
.teach + .teach { margin-top: 28px; }
.col { background: var(--color-paper); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; align-content: start; min-height: 330px; }
.col.kb { background: var(--field-dark); color: var(--on-dark); }
.col h3 { margin-bottom: 4px; }
.b { max-width: 92%; padding: 10px 14px; border-radius: 15px; line-height: 1.4; background: var(--field-mist); justify-self: start; border-bottom-left-radius: 4px; }
.b.r { justify-self: end; background: var(--field-sage); color: var(--on-dark); border-bottom-left-radius: 15px; border-bottom-right-radius: 4px; }
.b small { display: block; font-size: 0.8125rem; font-weight: 650; margin-bottom: 1px; }
.when { font-size: var(--d-small); font-weight: 650; color: var(--color-muted); margin-top: 6px; }
.lesson { padding: 12px 14px; border-radius: 10px; background: #1B3A3D; line-height: 1.4; }
.lesson small { display: block; font-size: 0.8125rem; color: var(--on-dark-soft); margin-top: 2px; }
.lesson.new { background: var(--color-signal); color: var(--field-dark); }
.lesson.new small { color: var(--field-sage); font-weight: 600; }
.js .teach [data-t] { opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .teach [data-t].on { opacity: 1; transform: none; }
.teach-foot { margin-top: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.teach-foot button { all: unset; cursor: pointer; font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.28em; text-decoration-color: var(--color-signal); min-height: 44px; display: inline-flex; align-items: center; }
.teach-foot button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.no-js-only { display: block; } .js .no-js-only { display: none; }
.js-only { display: none; } .js .js-only { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .js .teach [data-t] { opacity: 1; transform: none; } }
@media (max-width: 62rem) { .teach { grid-template-columns: 1fr; } .col { min-height: 0; } }
.keeps { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.keeps b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 6px; }
@media (max-width: 52rem) { .keeps { grid-template-columns: 1fr; } }

/* E108-S111: the accent picker (her voice for the visitor's region) and his line beside the call button */
.accents { margin-top: 28px; border-radius: var(--r); background: var(--field-mist); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; max-width: 40rem; }
.acc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; font-weight: 650; }
.acc-head label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--d-small); color: var(--color-muted); }
.acc-head select { font: inherit; color: var(--color-ink); background: var(--color-paper); border: 1px solid var(--color-rule, #D3DCD7); border-radius: 8px; padding: 10px 12px; min-height: 44px; max-width: 100%; }
.acc-card { display: grid; gap: 12px; }
.acc-card[hidden] { display: none; }
html:not(.js) .acc-head label { display: none; }
.acc-who { display: grid; gap: 2px; }
.acc-who b { font-size: 1.1875rem; font-weight: 650; }
.acc-who span { font-size: var(--d-small); color: var(--color-muted); }
.acc-card q { font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.3; quotes: "\201C" "\201D"; }
.acc-call { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.talk-line { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; }
p.talk-line { margin-top: 14px; }
.acts-more { margin-top: 18px; }
.sec.dark .talk-line { color: var(--on-dark-soft, inherit); }

/* tables: real tables, tone steps instead of lines */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--d-body); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 15px 18px; }
.tbl th { font-weight: 650; }
.tbl thead th { font-size: var(--d-small); color: var(--color-muted); padding-bottom: 8px; }
.tbl tbody tr:nth-child(odd) { background: var(--field-mist); }
.sec.mist .tbl tbody tr:nth-child(odd) { background: var(--color-paper); }
.tbl tbody th { width: 34%; }
.tbl td.yes::before, .tbl td.no::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; background: var(--field-sage); }
.tbl td.no::before { background: var(--warm); border-radius: 2px; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 48px; align-items: start; }
.twocol h3 { margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
@media (max-width: 52rem) { .twocol { grid-template-columns: 1fr; gap: 36px; } .tbl th, .tbl td { padding: 12px 12px; } .tbl tbody th { width: 40%; } }

/* price: two fields that meet */
.price2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r); overflow: hidden; }
.pf { padding: clamp(24px, 4vw, 56px); display: grid; gap: 14px; align-content: start; }
.pf.main { background: var(--field-sage); color: var(--on-dark); }
.pf.rest { background: var(--field-mist); }
.pf .plan { font-weight: 650; font-size: 1.1875rem; }
.pf .amount { font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.pf .per { font-size: var(--d-state); font-family: var(--font-display); line-height: 1.25; max-width: 16ch; }
.pf.main .btn { justify-self: start; margin-top: 18px; }
.pf.main .soft { color: var(--on-dark-soft); }
.pf h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.25rem); max-width: 22ch; margin-bottom: 6px; }
/* E108-S121: the monthly plan drawn as one line, included minutes filled, the minutes after dashed */
.pbar { margin: 4px 0 14px; }
.pbar-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.pbar .seg { padding: 12px 14px; display: grid; gap: 2px; font-size: var(--text-sm); line-height: 1.3; }
.pbar .seg b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.pbar .inc { background: var(--field-sage); color: var(--on-dark); border-radius: var(--r) 0 0 var(--r); }
.pbar .ext { border: 2px dashed var(--field-sage); border-left: 0; border-radius: 0 var(--r) var(--r) 0; }
.pbar-axis { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin-top: 6px; font-size: var(--text-xs); color: var(--color-muted); }
.pbar-axis > span:last-child { display: flex; justify-content: space-between; gap: 8px; margin-left: -1.2em; }
.pf .tbl tbody tr:nth-child(odd) { background: var(--color-paper); }
.pf .tbl th, .pf .tbl td { padding: 13px 16px; }
@media (max-width: 62rem) { .price2 { grid-template-columns: 1fr; } }

/* questions: a band each, all answers open */
.qa { display: grid; }
.q { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px 64px; padding: 26px clamp(16px, 2.4vw, 32px); border-radius: var(--r); }
.q:nth-child(odd) { background: var(--field-mist); }
.q h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4375rem; letter-spacing: -0.01em; line-height: 1.2; max-width: 20ch; }
.q p { max-width: 58ch; }
@media (max-width: 52rem) { .q { grid-template-columns: 1fr; padding: 20px 16px; } }

/* close */
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: end; }
.close h2 { max-width: 13ch; font-size: var(--d-display); }
.close .state { margin-top: 20px; max-width: 30ch; }
.side { background: #1B3A3D; border-radius: var(--r); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 12px; }
.side b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.side .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 62rem) { .close { grid-template-columns: 1fr; } }
.foot { background: var(--field-dark); color: var(--on-dark-soft); padding-block: 0 40px; font-size: var(--d-small); }
.foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 48px; padding-top: 36px; }
.foot a { color: var(--on-dark); }
.foot p { max-width: 44ch; }
.foot .name { grid-column: 1 / -1; font-family: var(--font-display); color: var(--on-dark); font-size: clamp(3rem, 12.5vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap; margin-top: 28px; max-width: none; }
@media (max-width: 52rem) { .foot-in { grid-template-columns: 1fr; } }

/* front door (epicdesk.app/): the desks */
.desks { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 10px; }
.desk { border-radius: var(--r); padding: clamp(22px, 3vw, 44px); display: grid; gap: 14px; align-content: start; text-decoration: none; }
.desk.live { background: var(--field-sage); color: var(--on-dark); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 36px; align-items: center; }
.desk.live .soft { color: var(--on-dark-soft); }
.desk.live img { border-radius: 8px; width: 100%; }
.desk.next { background: var(--field-mist); }
.dlist { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dlist a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: #FAFAF7; text-decoration: none; color: inherit; }
.dlist a:hover { background: var(--field-leaf); }
.dlist b { font-weight: 650; }
.dlist span { font-size: var(--d-small); color: var(--color-muted); }
.desk h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem); letter-spacing: -0.02em; line-height: 1.05; }
.desk .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 62rem) { .desks { grid-template-columns: 1fr; } .desk.live { grid-template-columns: 1fr; row-gap: 24px; } }

/* entrances */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; } }

/* E108-S117: the comparison we win and the three benefits (his note e-a731f3). One row per feature; on a phone the
   feature's name sits on its own line above its five marks, so nothing scrolls sideways at 390 px. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ctable { border-top: 1px solid var(--color-rule); }
.crow { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(5, minmax(0, 1fr)); align-items: center; gap: 0 8px; padding: 14px 0; border-bottom: 1px solid var(--color-rule); }
.chead { padding: 10px 0; }
.cplayer { font-size: var(--d-small); font-weight: 600; text-align: center; color: var(--color-muted); }
.cplayer.us { color: var(--color-ink); }
.clabel { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; }
.mk { justify-self: center; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--color-muted); border: 1px solid var(--color-rule); background: var(--color-paper); }
.mk.y { color: var(--color-ink-2); border-color: var(--color-ink-2); }
.mk.y.us { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.mk.n { border-color: transparent; background: transparent; }
a.mk:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ckey { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 16px; }
.ckey span { display: inline-flex; align-items: center; gap: 6px; }
.ckey .mk { width: 22px; height: 22px; font-size: 0.75rem; }
.csrc { margin-top: 14px; font-size: var(--d-small); }
.csrc summary { cursor: pointer; font-weight: 600; }
.csrc ul { margin-top: 12px; padding-left: 1.1em; display: grid; gap: 6px; color: var(--color-muted); }
.csrc a { color: var(--color-ink-2); }
.cvoice { margin-top: clamp(36px, 5vw, 56px); font-family: var(--font-display); font-size: var(--d-state); line-height: 1.3; max-width: 30ch; }
.bq { margin-top: clamp(48px, 6vw, 80px); font-size: var(--text-title); font-weight: 500; }
.bens { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ben { border: 1px solid var(--color-rule); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--color-paper); }
.ben h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }
.bstate { display: flex; gap: 8px; align-items: baseline; color: var(--color-muted); }
.bstate i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); transform: translateY(-1px); }
.ben.partly .bstate i { background: transparent; border: 2px solid var(--color-success); }
.ben .go { justify-self: start; }
@media (max-width: 52rem) {
  .bens { grid-template-columns: 1fr; }
  .crow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 4px; }
  .crow .clabel { grid-column: 1 / -1; }
  .chead .clabel { display: none; }
  .cplayer { font-size: 0.8125rem; }
}

/* E108-S111 iteration 3 (his note vn_f533a6a4: "a lot more visuals ... They need to be clearer"): four loops, one idea
 * each, drawn in HTML and played slowly by desk.js; the benefits' small pictures; the free week drawn. Flat fields only. */
.loops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 52rem) { .loops { grid-template-columns: 1fr; } }
.loop { margin: 0; background: var(--field-mist); border-radius: var(--r); padding: clamp(16px, 2.2vw, 28px); display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.loop figcaption { font-family: var(--font-display); font-size: var(--d-state); line-height: 1.25; letter-spacing: -0.01em; max-width: 24ch; }
.lstage { min-height: 330px; display: grid; gap: 10px; align-content: start; font-size: var(--d-small); line-height: 1.4; }
.lstage small { display: block; font-size: 0.8125rem; font-weight: 650; color: var(--color-muted); }
.js .loop [data-s] { opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), background-color 500ms var(--ease-out); }
.js .loop [data-s].on { opacity: 1; transform: none; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--field-sage); color: var(--on-dark); font-weight: 600; max-width: 100%; }
.pill .wave { height: 18px; }
.bub { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 1rem; line-height: 1.4; }
.bub.her { justify-self: end; background: var(--field-sage); color: var(--on-dark); border-bottom-right-radius: 4px; }
.bub.her small { color: var(--on-dark-soft); }
.bub.them { justify-self: start; background: var(--color-paper); border-bottom-left-radius: 4px; }
/* 1: a call comes in, she answers */
.ringer { display: flex; align-items: center; gap: 16px; background: var(--color-paper); border-radius: var(--r); padding: 16px 18px; }
.ringer b { font-size: 1.125rem; font-weight: 650; }
.ring { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--field-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23FAFAF7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h4l2 6-3 2a14 14 0 0 0 8 8l2-3 6 2v4a3 3 0 0 1-3 3A22 22 0 0 1 6 7a3 3 0 0 1 3-3z'/%3E%3C/svg%3E") center / 24px no-repeat; transition: background-color 500ms var(--ease-out); }
.ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--field-sage); animation: ringo 2s var(--ease-out) infinite; }
.ring i + i { animation-delay: 1s; }
@keyframes ringo { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.l-call:has(.ans.on) .ring i { animation: none; opacity: 0; }
.l-call:has(.ans.on) .ring { background-color: var(--color-signal); }
/* 2: a booking lands in the calendar */
.chip { justify-self: center; background: var(--color-signal); color: var(--field-dark); border-radius: 8px; padding: 8px 14px; font-weight: 650; }
.chip small { color: var(--field-sage); }
.l-cal:has(.new.on) .chip { opacity: 0; transform: translateY(40px) scale(0.85); }
.week { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); gap: 5px; align-items: center; }
.week .dy { text-align: center; font-size: 0.8125rem; font-weight: 650; color: var(--color-muted); }
.week .tm { font-size: 0.8125rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.slot { height: 40px; border-radius: 6px; background: var(--color-paper); overflow: hidden; }
.slot.busy { background: var(--field-leaf); }
.slot .new { display: flex; align-items: center; height: 100%; padding: 0 6px; background: var(--field-sage); color: var(--on-dark); font-size: 0.8125rem; font-weight: 650; line-height: 1.15; }
.tick { width: 16px; height: 9px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
/* 3: the inbox, what was said, the feedback button */
.ilist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ilist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; background: var(--color-paper); border-radius: 8px; padding: 9px 12px; transition: background-color 500ms var(--ease-out); }
.ilist li span { grid-column: 1; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilist li em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 0.8125rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--field-leaf); color: var(--field-sage); }
.ilist li em.you { background: #F3DDD2; color: #7C3414; }
.l-inbox:has(.said.on) .ilist li.sel { background: var(--color-signal); }
.said { background: var(--color-paper); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.said p { max-width: none; }
.fbtn { justify-self: start; }
.press { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; background: var(--field-dark); color: var(--on-dark); font-weight: 650; transition: background-color 400ms var(--ease-out), transform 300ms var(--ease-out); }
.l-inbox:has(.fnote.on) .press { background: var(--color-signal); color: var(--field-dark); transform: scale(0.96); }
.fnote { justify-self: start; max-width: 92%; background: var(--color-paper); border-radius: 12px; border-top-left-radius: 4px; padding: 10px 14px; font-family: var(--font-display); font-size: 1.0625rem; }
/* 4: a lesson kept for the next call */
.prop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; background: var(--color-paper); border-radius: var(--r); padding: 12px 14px; }
.prop small, .prop b { grid-column: 1; }
.prop .keep { grid-row: 1 / 3; grid-column: 2; }
.keep { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--field-dark); color: var(--on-dark); font-weight: 650; white-space: nowrap; transition: background-color 400ms var(--ease-out), transform 300ms var(--ease-out); }
.keep.on, .l-learn:has(.kl.new.on) .keep { background: var(--color-signal); color: var(--field-dark); transform: scale(0.96); }
.knows { background: var(--field-dark); color: var(--on-dark); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 6px; }
.knows small { color: var(--on-dark-soft); }
.kl { max-width: none; padding: 7px 10px; border-radius: 6px; background: #1B3A3D; }
.kl.new { background: var(--color-signal); color: var(--field-dark); font-weight: 600; }
.nx { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .js .loop [data-s] { opacity: 1; transform: none; } .ring i { animation: none; opacity: 0; } }
/* the benefits' small pictures, on top of E108-S117's words */
.bpic { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--field-mist); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; min-height: 92px; font-size: var(--d-small); line-height: 1.35; }
.bpic small { display: block; font-size: 0.8125rem; font-weight: 650; color: var(--color-muted); }
.bpic .av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--field-sage); color: var(--on-dark); display: grid; place-items: center; font-weight: 650; }
.bpic .bub.sm { font-size: var(--d-small); padding: 7px 12px; margin-left: auto; }
.bpic > span:first-child:not(.av) { flex: 1; }
.bpic.list { display: grid; gap: 5px; align-content: start; }
.bpic .kl { background: var(--color-paper); padding: 5px 9px; }
.bpic .kl.new { background: var(--color-signal); }
/* the free week, drawn */
.weekpic { margin-bottom: 28px; display: grid; gap: 12px; justify-items: start; }
.weekpic .days { display: flex; gap: 6px; }
.weekpic i { width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: var(--d-small); font-weight: 650; background: #1B3A3D; color: var(--on-dark-soft); transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out); transition-delay: calc(var(--k) * 260ms + 300ms); }
.weekpic.in i, .rise.in .weekpic i { background: var(--color-signal); color: var(--field-dark); }
.weekpic p { display: flex; align-items: center; gap: 14px; font-weight: 650; }
.sw { display: inline-flex; padding: 3px; border-radius: 999px; background: #1B3A3D; }
.sw b { padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--on-dark-soft); }
.sw b:first-child { background: var(--on-dark); color: var(--field-dark); }
/* How it works: one light walks the line from the caller to you, slowly */
.flow .disc { animation: walk 12.5s linear infinite; outline: 3px solid transparent; outline-offset: 4px; }
.flow .stop:nth-child(2) .disc { animation-delay: 2.5s; } .flow .stop:nth-child(3) .disc { animation-delay: 5s; }
.flow .stop:nth-child(4) .disc { animation-delay: 7.5s; } .flow .stop:nth-child(5) .disc { animation-delay: 10s; }
@keyframes walk { 0% { outline-color: transparent; } 3%, 17% { outline-color: var(--color-signal); } 21%, 100% { outline-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .flow .disc { animation: none; } }
