/* dicavo.eu — brand tokens from Brand/06-Brand-Guide/tokens.json */
:root {
  --ink: #22233F;
  --ivory: #F7F3E8;
  --paper: #F3F1EC;
  --muted: #777781;
  --text-2: #5B5B68;
  --line: rgba(34, 35, 63, 0.16);
  --line-soft: rgba(34, 35, 63, 0.09);
  --tile: #FBF9F4;
  /* The dark band (privacy section) and the privacy label keep their look in
     both appearances; the rest follows the page. */
  --band: #22233F;
  --band-text: #F7F3E8;
  --label-bg: #F7F3E8;
  --label-ink: #22233F;
  --wash: rgba(34, 35, 63, 0.06);
  --pending: rgba(34, 35, 63, 0.82);
  --code-bg: #22233F;
  --code-text: #F7F3E8;
  --field: #FFFFFF;
  /* Field borders at least 3:1 against the field and the page (WCAG 1.4.11). */
  --field-line: #83838E;
  --menu: #FFFFFF;
  --shadow: 0 12px 32px rgba(34, 35, 63, 0.16);
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: 24px;
}

/* Dark appearance (web 2.4): follows the system, no switch on the page. */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F1EEE4;
    --ivory: #17182C;
    --paper: #17182C;
    --muted: #9A99A8;
    --text-2: #B9B8C4;
    --line: rgba(241, 238, 228, 0.22);
    --line-soft: rgba(241, 238, 228, 0.12);
    --tile: #20213A;
    --wash: rgba(241, 238, 228, 0.09);
    --pending: rgba(241, 238, 228, 0.82);
    --code-bg: #0F1020;
    --code-text: #F1EEE4;
    --field: #20213A;
    --field-line: #7A798C;
    --menu: #2A2B47;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(2.375rem, 1.3rem + 3.36vw, 4.125rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.75rem, 0.85rem + 2.04vw, 2.5rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.015em; line-height: 1.3; }
/* Balanced headings, no lone last word in running text (progressive: ignored
   where text-wrap is not supported). */
h1, h2, h3 { text-wrap: balance; }
.lead, .section-lead, .feature p, .doc-section p { text-wrap: pretty; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
small { font-size: 0.85em; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--wash); padding: 1px 5px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: 0.875rem; overflow-wrap: anywhere; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 16px;
}
.lead { font-size: clamp(1.1875rem, 0.5125rem + 1.2vw, 1.375rem); line-height: 1.5; color: var(--text-2); margin-top: 20px; }
.section-lead { font-size: 1.1875rem; color: var(--text-2); max-width: 34em; }
.small { font-size: 0.875rem; color: var(--text-2); }
.section-dark .small, .section-dark .eyebrow, .section-dark .section-lead { color: rgba(247, 243, 232, 0.72); }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); position: relative; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { width: 142px; height: auto; }
.brand img { display: block; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current], .nav-menu a[aria-current] { font-weight: 600; }

/* Language and (narrow window) page menus: native <details>, so they open
   from the keyboard and without script. */
.lang-menu, .nav-menu { position: relative; }
.nav-menu { display: none; }
.lang-menu summary, .nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; min-height: 36px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 0.875rem; user-select: none; -webkit-user-select: none;
}
.lang-menu summary::-webkit-details-marker, .nav-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .nav-menu summary:hover { background: var(--wash); }
.lang-menu summary:focus-visible, .nav-menu summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang-menu summary::after {
  content: ""; width: 7px; height: 7px; margin: -3px 2px 0 1px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.lang-menu details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.lang-menu .globe { flex: 0 0 auto; }
.lang-menu .lang-code { display: none; }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px;
  min-width: 210px; background: var(--menu); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.lang-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px;
  padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 0.9375rem;
}
.lang-menu li a:hover { background: var(--wash); }
.lang-menu li a:focus-visible, .nav-menu li a:focus-visible, .site-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.lang-menu li a[aria-current] { font-weight: 600; }
.lang-menu li a[aria-current]::after { content: "✓"; }
.nav-menu { position: static; }
.nav-menu ul {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 19; list-style: none; margin: 0; padding: 6px var(--gutter) 14px;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav-menu li a { display: block; padding: 13px 2px; text-decoration: none; font-size: 1.0625rem; border-bottom: 1px solid var(--line-soft); }
.nav-menu li:last-child a { border-bottom: 0; }

/* Hero */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .sub { color: var(--text-2); margin-top: 8px; }
.hero-note { font-size: 0.875rem; color: var(--text-2); margin-top: 18px; max-width: 37em; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trial { margin-top: 16px; }
.trial-note { font-size: 0.8125rem; color: var(--text-2); margin: 8px 0 0; max-width: 40em; }
#pro .trial { margin: 24px 0 8px; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.price { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.price h3 { margin: 0 0 6px; font-size: 0.9375rem; }
.price-amount { font-size: 1.625rem; font-weight: 700; margin: 0; color: var(--ink); }
.price-detail { font-size: 0.8125rem; color: var(--text-2); margin: 4px 0 0; }
@media (max-width: 40em) { .prices { grid-template-columns: 1fr; } }
.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 52px; padding: 10px 20px; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2; border: 1px solid var(--ink);
}
.btn small { font-weight: 400; font-size: 0.75rem; opacity: 0.75; margin-top: 2px; letter-spacing: 0.02em; }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn.is-pending { cursor: default; border-style: dashed; }
.btn-primary.is-pending { background: var(--pending); }
.section-dark .btn-secondary { color: var(--band-text); border-color: rgba(247, 243, 232, 0.5); }

/* Hero screenshot */
.hero-shot { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; }

/* Mockup — mirrors the real menu-bar popover (no longer used on the home page) */
.mockup { position: relative; max-width: 540px; margin: 0 auto; min-height: 640px; }
.note {
  position: absolute; left: 0; top: 48px; width: min(78%, 400px); margin: 0; padding: 18px 20px 20px;
  background: var(--tile); border: 1px solid var(--line-soft); border-radius: 14px;
  font: 0.75rem/1.6 var(--mono); color: var(--ink); white-space: pre-wrap; overflow: hidden;
}
.note-file { display: block; color: var(--text-2); font-size: 0.7188rem; margin-bottom: 8px; }
.note .fm { color: var(--text-2); }
.note .h { font-weight: 600; }
.note .ts { color: var(--text-2); }
.note .spk { font-weight: 600; }
.popover {
  position: relative; z-index: 2; width: 320px; margin-left: auto; padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(52, 54, 78, 0.96), rgba(38, 39, 60, 0.98));
  color: #F2F0EA; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(20, 20, 40, 0.28); font-size: 0.8125rem;
}
.popover::before {
  content: ""; position: absolute; top: -9px; left: 150px; width: 18px; height: 18px;
  background: rgba(52, 54, 78, 0.96); border-left: 1px solid rgba(255,255,255,0.12); border-top: 1px solid rgba(255,255,255,0.12);
  transform: rotate(45deg); border-radius: 3px 0 0 0;
}
.pop-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pop-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.pop-icon img { width: 20px; height: 14px; filter: drop-shadow(0 0 0 #fff); }
.pop-title { display: flex; flex-direction: column; line-height: 1.2; }
.pop-title b { font-size: 0.9375rem; }
.pop-title small { font-size: 0.75rem; opacity: 0.7; }
.pop-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.pop-tools .rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF453A; display: inline-block; }
.pop-tools .gear { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.6); border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 3px rgba(38,39,60,1); }
.pop-event { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border-radius: 10px; padding: 9px 12px; margin-bottom: 14px; }
.pop-cal { width: 16px; height: 14px; border: 1.5px solid #4CD964; border-radius: 3px; position: relative; flex: 0 0 auto; }
.pop-cal::after { content: ""; position: absolute; left: 3px; right: 3px; top: 3px; height: 1.5px; background: #4CD964; }
.pop-event-title { font-weight: 600; font-size: 0.875rem; }
.pop-timer { text-align: center; font: 600 2.5rem/1 var(--mono); color: #FF5F57; letter-spacing: 0.02em; margin: 6px 0 14px; }
.pop-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 16px; margin-bottom: 16px; }
.pop-wave i { display: block; width: 4px; border-radius: 2px; background: #C94A44; opacity: 0.85; }
.pop-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pop-sources span { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 9px 12px; font-size: 0.7812rem; display: flex; align-items: center; gap: 8px; }
.pop-sources span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4CD964; flex: 0 0 auto; }
.pop-mark { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 11px; text-align: center; font-size: 0.875rem; font-weight: 500; }
.pop-meta { font-size: 0.75rem; opacity: 0.7; margin: 8px 0 12px; }
.pop-meta b { opacity: 1; font-weight: 600; margin-left: 4px; }
.pop-notes-head { display: flex; justify-content: space-between; font-size: 0.7812rem; margin-bottom: 6px; }
.pop-notes-head span { opacity: 0.65; }
.pop-notes { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 14px; min-height: 84px; font-size: 0.8125rem; line-height: 1.45; }
.pop-stop { margin-top: 14px; background: #FF5F57; color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; font-size: 0.875rem; }
.pop-stop::before { content: ""; display: inline-block; width: 10px; height: 10px; background: #fff; border-radius: 2px; margin-right: 10px; vertical-align: -1px; }
.pop-hint { font-size: 0.7188rem; opacity: 0.6; text-align: center; margin: 10px 0 12px; }
.pop-foot { display: flex; justify-content: space-between; font-size: 0.75rem; opacity: 0.85; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; }

/* Sections */
.section { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.section h2 { max-width: 720px; margin-bottom: 20px; }
.section-dark { background: var(--band); color: var(--band-text); border-bottom: 0; }
.section-dark .data-table th, .section-dark .data-table td { border-color: rgba(247, 243, 232, 0.2); }
.section-dark code { background: rgba(247, 243, 232, 0.12); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.step-n { display: block; font-size: 0.75rem; letter-spacing: 0.14em; color: var(--text-2); margin-bottom: 14px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-2); font-size: 1rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--tile); border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px 26px 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 1rem; }

/* Between meetings (home, 2.4): four Pro cards, each with its screenshot */
.between { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0 24px; }
.between-shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-soft); margin-bottom: 20px; }
.between-shot.is-missing {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 12px;
  border: 1.5px dashed var(--line); color: var(--text-2); font-size: 0.8125rem;
}
.pro-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 2px; color: var(--text-2);
}

.data-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 1rem; }
.data-table caption { text-align: left; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; opacity: 0.7; padding-bottom: 12px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); }
.data-table thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; border-top: 0; padding-top: 0; }
.data-table tbody th { font-weight: 600; width: 32%; }
.data-table + .small { margin-top: 24px; }

/* Measured example (home, X18) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0 24px; }
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.stat-v { font-size: 2.125rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.stat-k { color: var(--text-2); font-size: 0.9375rem; margin: 0; }

/* Privacy label (home, X18): a food-label card and the exceptions beside it */
.privacy-label { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.label-card { background: var(--label-bg); color: var(--label-ink); border: 2px solid var(--label-bg); border-radius: 6px; padding: 18px 20px 12px; }
.label-card h3 { font-size: 1.625rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.label-card .label-sub { font-size: 0.8125rem; margin: 4px 0 0; padding-bottom: 10px; border-bottom: 8px solid var(--label-ink); }
.label-card dl { margin: 0; }
.label-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(34, 35, 63, 0.35); font-size: 0.9375rem; }
.label-card dl div:last-child { border-bottom: 0; }
.label-card dt { font-weight: 600; }
.label-card dd { margin: 0; text-align: right; font-weight: 700; flex-shrink: 0; max-width: 55%; hyphens: auto; overflow-wrap: break-word; }
.label-card dt { hyphens: auto; overflow-wrap: break-word; min-width: 0; }
.label-except h3 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin: 4px 0 14px; color: rgba(247, 243, 232, 0.72); }
.label-except ul { margin: 0; padding: 0; list-style: none; }
.label-except li { border-top: 1px solid rgba(247, 243, 232, 0.2); padding: 14px 0; font-size: 1rem; }
.label-except a { color: inherit; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.option { border-top: 2px solid var(--ink); padding-top: 18px; }
.option h3 { margin-bottom: 10px; }
.option p { color: var(--text-2); font-size: 1rem; }
.options.two { grid-template-columns: repeat(2, 1fr); }
.option .plain { margin-top: 0; font-size: 1rem; }
.option-group { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--text-2); margin: 22px 0 8px; }
.option h3 + .option-group { margin-top: 4px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.plain { padding-left: 1.1em; margin: 24px 0 0; color: var(--text-2); }
.plain li { margin-bottom: 8px; }
.icon-pair { display: flex; gap: 36px; justify-content: center; }
.icon-pair figure { margin: 0; text-align: center; font-size: 0.8125rem; color: var(--text-2); }
.icon-pair img { width: 150px; height: 150px; margin: 0 auto 12px; }
.icon-pair .ios-icon { border-radius: 23%; }
.icon-pair .icon-link { color: inherit; text-decoration: none; border-radius: 12px; }
.icon-pair .icon-link:hover figcaption { text-decoration: underline; }
.icon-pair .icon-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.faq { margin-top: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.375rem; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; color: var(--text-2); max-width: 680px; }
.faq .answer ul { padding-left: 1.2em; }

.cta { text-align: center; border-bottom: 0; }
.cta h2 { margin: 0 auto 16px; }
.cta .section-lead { margin: 0 auto; }
.cta .store-buttons { justify-content: center; }
.cta .small { margin-top: 24px; }

/* Long-form pages */
.doc { padding: 64px 0 80px; }
.doc h1 { font-size: clamp(2.125rem, 1.075rem + 2.76vw, 3.25rem); }
.doc .lead { margin-bottom: 8px; }
.doc-meta { font-size: 0.875rem; color: var(--text-2); margin: 0 0 32px; }
.toc { border: 1px solid var(--line-soft); background: var(--tile); border-radius: 14px; padding: 18px 22px; margin: 24px 0 40px; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; font-size: 0.9375rem; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc-section { padding: 36px 0 8px; border-top: 1px solid var(--line-soft); }
.doc-section h2 { font-size: 1.625rem; margin-bottom: 16px; }
.doc-section h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.doc-section ul, .doc-section ol { padding-left: 1.3em; }
.doc-section li { margin-bottom: 6px; }
.doc-section table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 0.9688rem; }
.doc-section th, .doc-section td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--line); }
.doc-section thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border-top: 0; }
.doc-section kbd { font-family: var(--mono); font-size: 0.85em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: var(--tile); }
.doc-section td:first-child { font-weight: 600; width: 28%; }
.doc-cta .store-buttons { margin: 8px 0 16px; }

/* Guides list, press kit */
.doc-section .guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.guide-list a { display: block; text-decoration: none; border: 1px solid var(--line-soft); background: var(--tile); border-radius: 14px; padding: 18px 22px; }
.guide-list a:hover { border-color: var(--line); }
.guide-list b { display: block; font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.guide-list span { display: block; color: var(--text-2); font-size: 0.9688rem; }
.press-logos { display: flex; align-items: center; gap: 28px; margin: 20px 0 16px; }
.press-logos .ios-icon { border-radius: 23%; }
.press-shots { display: grid; gap: 16px; margin-top: 16px; }
.press-shots figure { margin: 0; }
.press-shots img { border-radius: 10px; border: 1px solid var(--line-soft); }
.placeholder { background: #F4E4B8; color: #22233F; padding: 0 5px; border-radius: 4px; font-family: var(--mono); font-size: 0.9em; }
.callout { border-left: 3px solid var(--ink); background: var(--wash); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.callout p:last-child { margin: 0; }

/* Step-by-step setup (/<lang>/ai-setup.html). Without script every step
   shows; with web/assets/js/setup.js only those of the chosen tool. */
.setup-choices { border: 0; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.setup-choices legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.setup-choice { display: block; cursor: pointer; border: 1px solid var(--line); background: var(--tile); border-radius: 14px; padding: 16px 18px; }
.setup-choice input { position: absolute; opacity: 0; }
.setup-choice b { display: block; font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.setup-choice span { display: block; color: var(--text-2); font-size: 0.9062rem; line-height: 1.45; }
.setup-choice:hover { border-color: var(--ink); }
.setup-choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.setup-choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.setup-progress { font-weight: 600; margin: 8px 0 12px; }
.doc-section .setup-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.setup-step { counter-increment: step; position: relative; border: 1px solid var(--line-soft); background: var(--tile); border-radius: 14px; padding: 18px 22px 16px 70px; margin: 0; }
.setup-step::before { content: counter(step); position: absolute; left: 20px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-weight: 600; text-align: center; line-height: 34px; }
.setup-step h3 { margin: 4px 0 8px; }
.setup-step.is-done { opacity: 0.6; }
.setup-step.is-done::before { content: "✓"; }
.setup-cmd { display: flex; gap: 10px; align-items: center; margin: 12px 0; }
.setup-cmd code { flex: 1; min-width: 0; display: block; background: var(--code-bg); color: var(--code-text); border-radius: 10px; padding: 12px 14px; font-size: 0.9062rem; overflow-x: auto; white-space: nowrap; }
.setup-cmd.block { align-items: flex-start; }
.setup-cmd.block code { white-space: pre; font: 0.8438rem/1.55 var(--mono); }
.doc-section blockquote { margin: 12px 0; padding: 12px 18px; border-left: 3px solid var(--line-soft); background: var(--tile); border-radius: 0 10px 10px 0; }
.doc-section blockquote p { margin: 0; }
.template-sections dt { font-weight: 600; margin-top: 14px; }
.template-sections dd { margin: 4px 0 0; color: var(--text-2); }
.setup-copy { font: 600 0.875rem var(--font); color: var(--ivory); background: var(--ink); border: 0; border-radius: 10px; padding: 12px 16px; cursor: pointer; white-space: nowrap; }
.setup-copy.is-copied { background: #2E7D4F; color: #FFFFFF; }
.setup-done { display: inline-flex; gap: 8px; align-items: center; font-size: 0.9375rem; color: var(--text-2); cursor: pointer; margin-top: 4px; }
.setup-done input { width: 18px; height: 18px; accent-color: var(--ink); }
.setup .btn { margin: 4px 0; }
.setup.js .setup-step, .setup.js .setup-none { display: none; }
.setup[data-tool="claude"] [data-for~="claude"],
.setup[data-tool="codex"] [data-for~="codex"],
.setup[data-tool="agy"] [data-for~="agy"],
.setup[data-tool="none"] [data-for~="none"] { display: block; }
@media (max-width: 45em) {
  .setup-choices { grid-template-columns: 1fr; }
  .setup-step { padding-left: 60px; }
  .setup-step::before { left: 14px; }
  .setup-cmd { flex-direction: column; align-items: stretch; }
  .setup-cmd.block { align-items: stretch; }
}

/* Sample note (/<lang>/examples.html) */
.note-card { border: 1px solid var(--line-soft); background: var(--tile); border-radius: 14px; padding: 22px 26px; font-size: 0.9688rem; }
.note-card h3 { font-size: 1.375rem; margin: 18px 0 10px; }
.note-card h4 { font-size: 1rem; letter-spacing: 0; margin: 20px 0 6px; }
.note-card ul { padding-left: 1.2em; }
.note-front { font: 0.8125rem/1.5 var(--mono); color: var(--text-2); background: var(--wash); border-radius: 10px; padding: 12px 14px; margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.doc-section audio { width: 100%; margin: 4px 0 8px; }
.how-more { margin-top: 28px; font-weight: 600; }

/* Comparison (/<lang>/compare.html): one card per product, no sideways scrolling */
.compare-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 12px; }
.compare-card { border: 1px solid var(--line-soft); background: var(--tile); border-radius: 14px; padding: 16px 18px; }
.compare-card.is-dicavo { grid-column: 1 / -1; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.compare-card h3 { margin: 0 0 10px; }
.compare-card dl { margin: 0; display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 6px 12px; font-size: 0.9062rem; }
.compare-card dt { color: var(--text-2); }
.compare-card dd { margin: 0; }
.compare-sources li { overflow-wrap: anywhere; }
@media (max-width: 45em) {
  .compare-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 40px; font-size: 0.875rem; color: var(--text-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 32px; align-items: start; }
.footer-brand img { width: 41px; height: 28px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink); font-weight: 500; }
.footer-brand .footer-social { margin-top: 10px; font-weight: 400; color: var(--text-2); }
.footer-social a { color: var(--ink); text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { text-decoration: underline; }
.footer-legal p { margin-bottom: 6px; }
.footer-note { font-size: 0.7812rem; }
.lang-list { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.lang-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.lang-list a { text-decoration: none; color: var(--ink); display: inline-block; padding: 4px 0; }
.lang-list a:hover { text-decoration: underline; }
.lang-list a[aria-current] { font-weight: 600; }

/* Root chooser / 404 */
.chooser main { padding: 96px var(--gutter); text-align: center; }
.chooser img { margin: 0 auto 40px; }
.chooser h1 { font-size: 1.875rem; margin-bottom: 12px; }
.chooser-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chooser-list a { display: inline-block; border: 1px solid var(--ink); border-radius: 12px; padding: 12px 22px; text-decoration: none; font-weight: 600; }
.chooser-list a:hover { background: var(--ink); color: var(--ivory); }

/* Responsive */
@media (max-width: 60em) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .steps, .features, .options { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
/* Narrow header: the page links move under "Menu", the language shows its code. */
@media (max-width: 56.25em) {
  .site-nav { display: none; }
  .nav-menu { display: block; }
  .lang-menu { margin-left: auto; }
  /* Hidden from the eye only: a screen reader still hears the language's name. */
  .lang-menu .lang-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .lang-menu .lang-code { display: inline; }
  .site-header .wrap { gap: 10px; }
}
@media (max-width: 45em) {
  body { font-size: 1rem; }
  .site-header .wrap { min-height: 64px; }
  .between { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .steps, .features, .options, .options.two, .split { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .mockup { min-height: 0; }
  .note { display: none; }
  .popover { width: 100%; }
  .data-table tbody th { width: 40%; }
  .privacy-label { grid-template-columns: 1fr; gap: 28px; }
  .toc ol { columns: 1; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  .icon-pair img { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Contact form on the support page. */
.contact-form { margin-top: 12px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-form input[type="email"], .contact-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 10px; padding: 10px 12px;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


/* Full-size screenshot of a between-meetings card (zoom.js) */
.shot-zoom { display: block; cursor: zoom-in; border-radius: 12px; }
.shot-zoom:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.zoom {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; cursor: zoom-out;
  /* dvh follows the phone's toolbars; vh above is the fallback. */
  max-height: 100dvh; height: 100dvh;
}
/* The page under the open screenshot does not scroll (progressive: Chrome,
   Edge and Firefox; Safari keeps scrolling the inert page). */
.zoom:modal { overscroll-behavior: contain; }
.zoom::backdrop { background: rgba(10, 10, 20, 0.94); overflow: hidden; overscroll-behavior: contain; }
.zoom img {
  position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  width: auto; height: auto; object-fit: contain;
}
.zoom-close {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 1.5rem;
  line-height: 1; cursor: pointer;
}

/* Skip link: the first stop of the keyboard, shown only while it has focus. */
.skip-link {
  position: absolute; left: var(--gutter); top: 8px; z-index: 100; transform: translateY(-200%);
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: none; outline: 2px solid var(--ink); outline-offset: 2px; }

/* Windows High Contrast and other forced colors drop box-shadow: keep the
   chosen setup option and the highlighted Dicavo card visible. */
@media (forced-colors: active) {
  .setup-choice:has(input:checked), .compare-card.is-dicavo { outline: 3px solid Highlight; outline-offset: -3px; }
  .skip-link:focus { outline-color: Highlight; }
}
