/* Dabble — site styles. No build step, no external JS. */

:root {
  --red: #dc2633;
  --coral: #fa5c4d;
  --grad: linear-gradient(135deg, var(--coral) 0%, var(--red) 100%);
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f7f7f8;
  --text: #1d1d1f;
  --text-2: #57575c;
  --text-3: #86868b;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.16);
  --accent: #d6202e;
  --accent-soft: rgba(220, 38, 51, 0.09);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 80px rgba(60, 10, 20, 0.18);
  --code-bg: #f2f2f4;
  --radius: 18px;
  --max: 1120px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* List colours, as in the app's sidebar. */
  --c-inbox: #2f86eb;
  --c-today: #f2b705;
  --c-upcoming: #e6455a;
  --c-anytime: #2fa898;
  --c-someday: #b8935a;
  --c-logbook: #3fa34d;
  --c-trash: #8e8e93;
  --c-tag: #6e6e73;
  --c-evening: #5b6fd6;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --bg-alt: #151518;
    --surface: #1c1c1f;
    --surface-2: #232327;
    --text: #f5f5f7;
    --text-2: #b4b4ba;
    --text-3: #8a8a90;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);
    --accent: #ff5a4f;
    --accent-soft: rgba(255, 90, 79, 0.13);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.6);
    --code-bg: #232327;
    --c-tag: #a1a1a6;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--text); margin: 0; letter-spacing: -0.022em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
code { background: var(--code-bg); padding: 0.12em 0.4em; border-radius: 6px; word-break: break-word; }
pre { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .gh { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.nav-links .gh svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .nav-links .opt { display: none; } }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(220, 38, 51, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(220, 38, 51, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { color: var(--text); padding: 0 12px; }
.btn-ghost:hover { color: var(--accent); }

/* ------------------------------------------------------------ hero */

.hero { position: relative; padding: 72px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(250, 92, 77, 0.20), transparent 70%),
    radial-gradient(500px 260px at 20% 30%, rgba(220, 38, 51, 0.10), transparent 70%),
    radial-gradient(500px 260px at 80% 30%, rgba(250, 140, 77, 0.10), transparent 70%);
}
.hero-icon { width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 25px; box-shadow: 0 18px 40px rgba(220, 38, 51, 0.32), 0 2px 6px rgba(0, 0, 0, 0.12); }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 800; letter-spacing: -0.04em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(21px, 2.8vw, 28px); font-weight: 600; letter-spacing: -0.018em; line-height: 1.25; margin-top: 14px; color: var(--text); }
.hero .sub { font-size: clamp(17px, 2.1vw, 21px); color: var(--text-2); max-width: 640px; margin: 14px auto 0; line-height: 1.45; }
.hero .sub strong { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.fine a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .hero { padding-top: 48px; }
  .cta .btn { width: 100%; }
}

/* ------------------------------------------------------------ app mock */

.mock-stage { position: relative; max-width: 940px; margin: 56px auto 0; padding: 0 4px; }
.mock {
  display: grid; grid-template-columns: 220px 1fr; text-align: left;
  background: var(--surface); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.35; min-height: 420px;
}
.mock-side { background: var(--surface-2); border-right: 1px solid var(--border); padding: 14px 10px 18px; }
.lights { display: flex; gap: 8px; padding: 2px 6px 18px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 7px; color: var(--text); font-weight: 500; }
.side-item .i { width: 17px; height: 17px; stroke-width: 2; }
.side-item .count { margin-left: auto; color: var(--text-3); font-size: 12px; font-weight: 500; }
.side-item.on { background: var(--border); }
.side-gap { height: 12px; }
.side-area { font-weight: 650; padding: 5px 8px; color: var(--text); display: flex; align-items: center; gap: 9px; }
.pie { width: 15px; height: 15px; border-radius: 50%; border: 1.6px solid var(--c-inbox); background: conic-gradient(var(--c-inbox) var(--p, 30%), transparent 0); box-shadow: inset 0 0 0 1.4px var(--surface-2); flex: none; }
.mock-main { padding: 34px 40px 30px; min-width: 0; }
.mock-title { display: flex; align-items: center; gap: 10px; font: 700 26px/1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 20px; }
.mock-title .i { width: 26px; height: 26px; color: var(--c-today); fill: var(--c-today); }
.row { display: flex; align-items: center; gap: 11px; padding: 7px 0; min-width: 0; }
.row + .row { border-top: 1px solid transparent; }
.box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; }
.row.done .box { background: var(--c-inbox); border-color: var(--c-inbox); }
.row.done .box::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.row.done .t { color: var(--text-3); }
.row .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row .proj { color: var(--text-3); font-size: 12px; margin-left: 2px; white-space: nowrap; }
.row .meta { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.chip { font-size: 11px; font-weight: 600; color: var(--c-tag); border: 1px solid var(--border-strong); border-radius: 999px; padding: 1px 7px; }
.flag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--red); }
.flag .i { width: 13px; height: 13px; stroke-width: 2.2; }
.note-ico { width: 14px; height: 14px; color: var(--text-3); }
.evening { display: flex; align-items: center; gap: 8px; margin: 22px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--border); font-weight: 700; color: var(--c-evening); }
.evening .i { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.5; }
.synced {
  position: absolute; right: 22px; bottom: -18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.synced .dot { width: 8px; height: 8px; border-radius: 50%; background: #30c85a; box-shadow: 0 0 0 4px rgba(48, 200, 90, 0.18); }
@media (max-width: 760px) {
  .mock { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-main { padding: 22px 18px 20px; }
  .mock-stage { text-align: center; }
  .synced { position: relative; right: auto; bottom: auto; margin-top: -18px; white-space: nowrap; }
  .diagram { position: static; padding: 8px; border-radius: 18px; }
}
@media (max-width: 420px) { .row .proj { display: none; } }

/* ------------------------------------------------------------ sections */

section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head p { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); margin-top: 14px; line-height: 1.5; }
@media (max-width: 600px) { section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ------------------------------------------------------------ screenshots */

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; align-items: end; }
.shots + .shots { margin-top: 48px; }
.shots-ios { max-width: 720px; margin-left: auto; margin-right: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--surface); }
.shots .phone img { max-width: 300px; margin: 0 auto; border-radius: 36px; }
.shots figcaption { font-size: 14px; color: var(--text-3); margin-top: 14px; }

/* ------------------------------------------------------------ features */

.group + .group { margin-top: 56px; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
section.alt .card { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 14px 0 6px; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.card p code { white-space: nowrap; font-size: 0.82em; }
.tile { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--tc, var(--accent)); background: color-mix(in srgb, var(--tc, var(--accent)) 13%, transparent); }
.tile .i { width: 23px; height: 23px; }

.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fill { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------ sync */

.sync-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.diagram { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; }
.dg-device { fill: var(--surface-2); stroke: var(--text); stroke-width: 2.5; }
.dg-screen { fill: var(--bg); stroke: none; }
.dg-line { stroke: var(--text-3); stroke-width: 1.6; }
.dg-check { fill: none; stroke: var(--border-strong); stroke-width: 1.6; }
.dg-check.on { fill: var(--accent); stroke: var(--accent); }
.dg-label { fill: var(--text); font: 600 18px var(--font); }
.dg-small { fill: var(--text-2); font: 500 14.5px var(--font); }
.dg-link { stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 2 9; animation: flow 1.2s linear infinite; }
.dg-link.rev { animation-direction: reverse; }
.dg-lock-bg { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.dg-lock { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-cloud { fill: var(--surface-2); stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 5 5; }
.dg-strike { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.dg-wifi { fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .dg-link { animation: none; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 17px; margin-bottom: 3px; }
.steps p { color: var(--text-2); font-size: 15.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.pill .i { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 900px) { .sync-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .diagram { position: static; } }

/* ------------------------------------------------------------ install */

.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.install .card { min-width: 0; }
.install .card { padding: 28px; display: flex; flex-direction: column; }
.install .card h3 { font-size: 22px; margin: 14px 0 8px; }
.install .card > p { margin-bottom: 14px; }
.install ol { margin: 4px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15.5px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.install li { min-width: 0; }
.install ol li::marker { color: var(--text-3); font-weight: 600; }
.install .card .btn { margin-top: 22px; align-self: flex-start; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }
.callout { margin-top: 20px; border-radius: var(--radius); padding: 18px 22px; background: var(--accent-soft); color: var(--text); font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.callout .i { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.callout p + p { margin-top: 6px; }
.term { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; background: #17171a; color: #f2f2f2; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 12px 10px 12px 16px; font: 13.5px/1.5 var(--mono); }
.term code { display: block; flex: 1; min-width: 0; overflow-x: auto; background: none; padding: 2px 0 4px; font-size: inherit; color: inherit; white-space: pre; scrollbar-width: thin; }
.term .p { color: #ff7a6b; user-select: none; }
.copy { flex: none; font: 600 12px var(--font); color: #ddd; background: rgba(255, 255, 255, 0.1); border: 0; border-radius: 7px; padding: 5px 9px; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 800px) { .install { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .install .card { padding: 22px 20px; } .install .card .btn { width: 100%; } }

/* ------------------------------------------------------------ shortcuts */

.kb-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.kb { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); font-size: 15px; }
.kb caption { caption-side: top; text-align: left; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 0 4px 10px; }
.kb td { padding: 10px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.kb tr:first-child td { border-top: 0; }
.kb td:last-child { text-align: right; white-space: nowrap; }
kbd { display: inline-block; min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom-width: 2px; font: 600 13px var(--font); color: var(--text); }
kbd + kbd { margin-left: 3px; }

/* ------------------------------------------------------------ FAQ */

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--text-3); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--text-2); font-size: 16.5px; }
.faq .a p + p { margin-top: 10px; }

/* ------------------------------------------------------------ closing + footer */

.closing { text-align: center; }
.closing img { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 22px; box-shadow: 0 12px 30px rgba(220, 38, 51, 0.28); }
.closing p { color: var(--text-2); font-size: 19px; margin-top: 12px; }

footer { border-top: 1px solid var(--border); padding: 36px 0 48px; font-size: 14px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand { font-size: 15px; }
footer .brand img { width: 22px; height: 22px; border-radius: 5px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--text-2); }
footer .legal { flex-basis: 100%; }

/* ------------------------------------------------------------ prose (privacy page) */

.prose { max-width: 720px; margin: 0 auto; padding: 72px 0 96px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.prose .updated { color: var(--text-3); margin-top: 10px; font-size: 15px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--text-2); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose .summary { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); font-size: 18px; font-weight: 500; }

@media (max-width: 420px) {
  .kb td { padding: 9px 12px; }
  .kb td:last-child { white-space: normal; }
  kbd { min-width: 22px; padding: 2px 5px; }
}

/* ---------- optional sync server ---------- */
.dg-relay { fill: var(--surface); stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 6 5; }
.dg-relay-icon { fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; }
.dg-relay-title { fill: var(--text); font: 600 15px var(--font); }
.dg-wire { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0.85; }

.server-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.server-card { padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.server-card h3 { font-size: 22px; margin: 14px 0 4px; }
.server-card .req { color: var(--text-3); font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.server-card ol { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15.5px; display: grid; gap: 8px; }
.server-card ol li::marker { color: var(--text-3); font-weight: 600; }
.server-card .btn { margin-top: 22px; align-self: flex-start; }
.server-points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 24px; padding-top: 6px; }
.server-points h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin: 0 0 6px; }
.server-points h3 .i { width: 21px; height: 21px; color: var(--accent); flex: none; }
.server-points p { color: var(--text-2); font-size: 15px; line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .server-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .server-points { grid-template-columns: minmax(0, 1fr); } .server-card { padding: 22px 20px; } .server-card .btn { width: 100%; justify-content: center; } }
.server-card li code { white-space: nowrap; }
.server-card li .term { margin: 8px 0 4px; }
.server-card li code { white-space: normal; }
.server-card .term code { white-space: pre; }
.server-card ol { grid-template-columns: minmax(0, 1fr); }
.server-card li { min-width: 0; }
.server-card .term { max-width: 100%; }
