/* Docara: a page that feels like good paper and a blue pen. */
:root {
  --paper: #F6F3EC;
  --sheet: #FFFFFF;
  --sheet-2: #FBF9F4;
  --ink: #15171D;
  --muted: #5B5F6C;
  --line: #DFD9CC;
  --blue: #1E4FD8;
  --blue-ink: #1E4FD8;
  --blue-soft: #E3E9FB;
  --on-blue: #FFFFFF;
  --shadow: 0 1px 2px rgba(40, 32, 12, .08), 0 14px 40px -12px rgba(40, 32, 12, .22);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="day"]) {
    --paper: #101217; --sheet: #191C23; --sheet-2: #15181E; --ink: #ECEDEF; --muted: #A1A5B2; --line: #2B2F39;
    --blue: #2F61EA; --blue-ink: #8FACFF; --blue-soft: #1D2743; --on-blue: #FFFFFF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-mode="night"] {
  --paper: #101217; --sheet: #191C23; --sheet-2: #15181E; --ink: #ECEDEF; --muted: #A1A5B2; --line: #2B2F39;
  --blue: #2F61EA; --blue-ink: #8FACFF; --blue-soft: #1D2743; --on-blue: #FFFFFF;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
img, canvas, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--blue-ink); outline-offset: 2px; border-radius: 4px; }
.note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
code { font-size: .92em; background: var(--blue-soft); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font: 700 20px var(--serif); color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.nav-links { display: none; gap: 22px; margin-right: 10px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.theme-btn { background: none; border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--blue);
  background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; transition: transform .12s ease, background .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--blue-ink); border-color: var(--line); }
.btn.small { min-height: 40px; padding: 0 15px; font-size: 15px; border-radius: 10px; }
.btn.large { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }
.nav .btn.small { display: none; }
@media (min-width: 560px) { .nav .btn.small { display: inline-flex; } }

/* Hero */
.hero { display: grid; gap: 40px; padding: clamp(36px, 7vw, 84px) clamp(20px, 5vw, 64px) 40px; max-width: 1240px; margin: 0 auto; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.02; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 22px 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 38px 0 0; max-width: 520px; }
.facts dt { font: 700 30px/1 var(--serif); }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
@media (min-width: 620px) { .facts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 34px; } }
@media (min-width: 980px) { .hero { grid-template-columns: 1.1fr .9fr; } }

.hero-stage { position: relative; display: grid; justify-items: center; gap: 18px; padding-top: 10px; }
.phone { position: relative; z-index: 2; margin: 0; width: min(290px, 72vw); border-radius: 34px; padding: 9px; background: #15171D; box-shadow: var(--shadow); }
.phone img { border-radius: 26px; width: 100%; transition: opacity .22s ease; background: #fff; }
.sheets { position: absolute; inset: 0; pointer-events: none; }
.sheet-tag { position: absolute; width: 138px; height: 182px; border-radius: 6px; background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow);
  font: 700 22px var(--serif); color: var(--blue-ink); padding: 12px 14px; }
.sheet-tag::after { content: ""; position: absolute; left: 14px; right: 14px; top: 52px; height: 92px; opacity: .5;
  background: repeating-linear-gradient(to bottom, var(--line) 0 3px, transparent 3px 13px); }
.s1 { left: calc(50% - 228px); top: 34px; transform: rotate(-9deg); }
.s2 { left: calc(50% + 92px); top: 62px; transform: rotate(7deg); }
.s3 { left: calc(50% - 214px); top: 270px; transform: rotate(5deg); }
.s4 { left: calc(50% + 84px); top: 300px; transform: rotate(-6deg); }
@media (max-width: 520px) { .sheets { display: none; } }
.screen-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; position: relative; z-index: 3; max-width: 430px; }
.screen-tabs button { background: var(--sheet); border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-size: 14px; color: var(--muted); min-height: 36px; }
.screen-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

/* Sections */
.sec { max-width: 1120px; margin: 0 auto; padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 56px) 0; }
.sec-head { max-width: 720px; margin-bottom: 30px; position: relative; }
.sec-head h2 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.07; }
.sec-head p:not(.num) { color: var(--muted); margin: 14px 0 0; font-size: 18px; }
.num { font: 400 14px var(--serif); font-style: italic; color: var(--blue-ink); margin: 0 0 8px; }
.sub { font-size: 26px; margin-top: 56px; }
.sub-text { color: var(--muted); margin: 8px 0 18px; max-width: 42em; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { background: var(--sheet); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; min-height: 36px; font-size: 14.5px; color: var(--ink); }
.chip:hover { border-color: var(--blue-ink); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

/* 01 File checker */
.checker { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 760px) { .checker { grid-template-columns: 280px 1fr; } }
.checker-field { display: flex; align-items: center; background: var(--sheet); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 18px; min-height: 74px; box-shadow: var(--shadow); }
.checker-field:focus-within { border-color: var(--blue-ink); }
.dot-prefix { font: 700 38px var(--serif); color: var(--muted); }
.checker-field input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font: 700 38px var(--serif); padding: 0 0 0 2px; }
.checker-field input::placeholder { color: var(--line); }
.checker-result { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; min-height: 74px; }
.checker-result h3 { font-size: 21px; margin-bottom: 4px; }
.checker-result p { margin: 0; color: var(--muted); font-size: 15.5px; }
.can { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.can span { font-size: 13px; background: var(--blue-soft); color: var(--blue-ink); border-radius: 6px; padding: 3px 8px; }
.checker-result.no h3 { color: #B3261E; }
.wall .chip { font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace; font-size: 13.5px; }

/* 02 Crop */
.crop-demo { display: grid; gap: 22px; }
@media (min-width: 760px) { .crop-demo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.crop-stage { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #333; }
.crop-stage img { width: 100%; }
.crop-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crop-stage .grab { touch-action: none; cursor: grab; }
.crop-stage .grab:active { cursor: grabbing; }
.crop-side canvas { width: 100%; border-radius: 4px; background: #fff; box-shadow: var(--shadow); }

/* Compare */
.compare { position: relative; max-width: 620px; margin: 18px auto 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; user-select: none; }
.cmp-base { width: 100%; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.cmp-top img { width: 100%; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--blue); transform: translateX(-1px); pointer-events: none; }
.cmp-line span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--blue); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cmp-line span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 20px/1 var(--sans); letter-spacing: 2px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-label { position: absolute; top: 10px; font-size: 13px; background: rgba(15, 17, 22, .72); color: #fff; padding: 3px 9px; border-radius: 6px; pointer-events: none; }
.cmp-label.left { left: 10px; }
.cmp-label.right { right: 10px; }
.filter-desc { text-align: center; color: var(--muted); max-width: 620px; margin: 14px auto 0; min-height: 3em; }

/* 03 OCR */
.ocr-demo { display: grid; gap: 22px; }
@media (min-width: 760px) { .ocr-demo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.ocr-page { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); align-self: start; }
.ocr-page img { width: 100%; }
.beam { position: absolute; left: 0; right: 0; height: 90px; top: -90px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(30, 79, 216, .28)); border-bottom: 2px solid var(--blue); }
.beam.run { animation: beam 2.2s ease-in-out both; }
@keyframes beam { from { top: -90px; } to { top: 100%; } }
.ocr-out { display: flex; flex-direction: column; min-width: 0; }
.ocr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.pill { font-size: 13.5px; color: var(--muted); margin-right: auto; }
.ocr-text { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; min-height: 280px; flex: 1; white-space: pre-wrap; font: 17px/1.5 'Source Serif 4', Georgia, serif; overflow-wrap: anywhere; }
.ocr-text:empty::before { content: "Tap Recognize to read this photo."; color: var(--muted); font-family: var(--sans); font-size: 15px; }

/* 04 Reader */
.reader-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--sheet); }
.seg button { background: none; border: 0; padding: 8px 12px; min-height: 40px; font-size: 14.5px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--blue); color: var(--on-blue); }
.reader-wrap { display: grid; gap: 18px; }
@media (min-width: 860px) { .reader-wrap { grid-template-columns: minmax(0, 1fr) 300px; } }
.reader-page { --rd-size: 19px; border-radius: 10px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 48px); min-height: 400px; font-family: 'Literata', Georgia, serif; font-size: var(--rd-size); line-height: 1.62; transition: background .2s ease, color .2s ease; }
.reader-page[data-theme="light"] { background: #fff; color: #1b1b1f; }
.reader-page[data-theme="sepia"] { background: #F3E7D0; color: #43351F; }
.reader-page[data-theme="dark"] { background: #23262D; color: #D9DBE0; }
.reader-page[data-theme="black"] { background: #000; color: #BDBFC4; }
.rd-title { font-size: 1.5em; font-weight: 700; margin: 0; line-height: 1.2; }
.rd-chapter { opacity: .65; margin: 4px 0 1.2em; font-size: .85em; }
#rdText p { margin: 0 0 .9em; }
.sent { cursor: pointer; border-radius: 3px; transition: background .15s ease; }
.sent:hover { background: rgba(128, 128, 128, .13); }
.sent.mark { background: var(--mark, #FFE16C); color: #231c05; }
.sent.flash { outline: 2px solid var(--blue); outline-offset: 2px; }
.marks { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 14px; align-self: start; }
.marks-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; color: var(--muted); }
.marks-search input { border: 0; outline: 0; background: none; width: 100%; min-width: 0; min-height: 42px; font-size: 15px; color: var(--ink); }
.marks-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.mark-item { border-left: 4px solid var(--mark, #FFE16C); padding: 4px 4px 4px 10px; font-size: 14.5px; }
.mark-item button.jump { display: block; background: none; border: 0; padding: 0; text-align: left; width: 100%; }
.mark-item .q { font-family: 'Literata', Georgia, serif; }
.mark-item input { margin-top: 6px; width: 100%; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; background: var(--sheet-2); font-size: 14px; }
.mark-item mark { background: rgba(255, 152, 0, .38); color: inherit; }

/* 05 Office */
.office-demo { display: grid; gap: 24px; }
@media (min-width: 880px) { .office-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.word-demo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--sheet-2); box-shadow: var(--shadow); position: relative; }
.app-bar { display: flex; align-items: center; gap: 4px; padding: 7px 8px 7px 16px; background: var(--sheet); border-bottom: 1px solid var(--line); }
.app-title { margin-right: auto; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { background: none; border: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.text-btn { background: none; border: 0; color: var(--blue-ink); font-weight: 600; font-size: 14.5px; padding: 8px 10px; min-height: 42px; white-space: nowrap; }
.wd-scroll { height: 430px; overflow: auto; background: #E8E5DD; padding: 16px; }
.wd-doc { background: #fff; color: #17181c; transition: padding .2s ease; }
.wd-doc[contenteditable="true"] { outline: 2px solid var(--blue); outline-offset: -2px; }
.wd-doc.print { width: 100%; aspect-ratio: 1 / 1.414; padding: 8.5% 9%; font: clamp(9px, 1.55vw, 12px)/1.4 'Literata', Georgia, serif; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); position: relative; }
.wd-doc.print h4 { font-size: 1.9em; margin: .4em 0 .1em; }
.wd-doc.print .wd-sub { color: #666; margin: 0 0 1.4em; }
.wd-doc.print p { margin: 0 0 1em; }
.wd-doc.print table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; }
.wd-doc.print th { background: #1E4FD8; color: #fff; text-align: left; }
.wd-doc.print th, .wd-doc.print td { border: 1px solid #a9b4cc; padding: .35em .6em; }
.wd-doc.print .wd-head { text-align: right; color: #666; font-size: .85em; }
.wd-doc.print .wd-foot { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; color: #666; font-size: .85em; }
.wd-doc.flow { padding: 18px; font: 18px/1.55 var(--sans); border-radius: 4px; }
.wd-doc.flow .wd-head, .wd-doc.flow .wd-foot { display: none; }
.wd-doc.flow h4 { font-size: 1.5em; margin: 0 0 .1em; }
.wd-doc.flow .wd-sub { color: #666; margin: 0 0 1em; }
.wd-doc.flow table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: .9em; }
.wd-doc.flow th, .wd-doc.flow td { border: 1px solid #ccc; padding: 6px; text-align: left; }
.wd-toast { margin: 0; padding: 0 14px; font-size: 14px; color: var(--muted); min-height: 0; transition: padding .15s ease; }
.wd-toast:not(:empty) { padding: 10px 14px; }

.sheet-demo { min-width: 0; }
.fx-bar { display: flex; align-items: center; gap: 8px; background: var(--sheet); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 7px 8px; }
.fx-addr { background: var(--blue-soft); color: var(--blue-ink); border-radius: 6px; padding: 5px 10px; font-weight: 600; font-size: 14px; min-width: 46px; text-align: center; }
.fx-label { font: italic 700 16px var(--serif); color: var(--blue-ink); }
.fx-bar input { flex: 1; min-width: 0; min-height: 36px; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; background: var(--sheet-2); font-size: 15px; }
.grid-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--sheet); }
.grid { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.grid th { background: var(--sheet-2); color: var(--muted); font-weight: 500; font-size: 12.5px; padding: 4px 6px; border: 1px solid var(--line); min-width: 26px; }
.grid td { border: 1px solid var(--line); padding: 0; min-width: 62px; height: 40px; }
.grid td button { display: block; width: 100%; height: 100%; min-height: 40px; background: none; border: 0; padding: 0 8px; text-align: inherit; white-space: nowrap; }
.grid td.isnum { text-align: right; }
.grid td.head button { font-weight: 700; }
.grid td.head { background: var(--blue-soft); }
.grid td.sel { outline: 2px solid var(--blue-ink); outline-offset: -2px; }
.grid td.bold button { font-weight: 700; }
.grid td.err button { color: #B3261E; }
.grid td.pop { animation: pop .5s ease; }
@keyframes pop { 30% { background: var(--blue-soft); } }

/* 06 Cards */
.cards-demo { display: grid; gap: 28px; }
@media (min-width: 820px) { .cards-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.a4 { position: relative; aspect-ratio: 1 / 1.05; margin-bottom: 14px; }
.a4::before { content: ""; position: absolute; inset: 0 12%; background: #fff; box-shadow: var(--shadow); border-radius: 2px; opacity: 0; transition: opacity .5s ease; }
.card { position: absolute; width: 60%; border-radius: 10px; box-shadow: var(--shadow); transition: all .7s cubic-bezier(.3, .9, .3, 1); }
.card.front { left: 2%; top: 8%; transform: rotate(-7deg); }
.card.back { left: 36%; top: 44%; transform: rotate(6deg); }
.a4.done::before { opacity: 1; }
.a4.done .card { width: 46%; left: 27%; transform: none; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.a4.done .front { top: 13%; }
.a4.done .back { top: 53%; }
.sign-doc { background: #fff; color: #17181c; border-radius: 3px; box-shadow: var(--shadow); padding: 28px 28px 20px; font: 15px/1.4 var(--sans); }
.sd-h { font: 700 24px var(--serif); margin: 0 0 16px; color: #1E4FD8; }
.sd-l { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #d7dbe6; margin: 0; padding: 8px 0; }
.sd-l span { color: #666; font-size: 14px; }
.sign-line { position: relative; margin-top: 18px; border-bottom: 1.5px solid #17181c; }
.sign-line canvas { width: 100%; height: auto; touch-action: none; cursor: crosshair; background: repeating-linear-gradient(135deg, rgba(30, 79, 216, .05) 0 8px, transparent 8px 16px); }
.sign-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #1E4FD8; pointer-events: none; font: italic 22px var(--serif); opacity: .7; }
.sd-cap { color: #666; font-size: 13px; margin: 5px 0 0; }
.sign-demo .btn { margin-top: 12px; }

/* 07 Private */
.private-demo { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 4vw, 30px); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 18px; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 54px; height: 31px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s ease; flex: none; }
.thumb { position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .2s ease; }
.switch input:checked + .track { background: var(--blue); }
.switch input:checked + .track .thumb { left: 26px; }
.switch input:focus-visible + .track { outline: 2.5px solid var(--blue-ink); outline-offset: 2px; }
.switch-text { font: 700 20px var(--serif); }
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 22px; }
@media (min-width: 620px) { .works { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .works { grid-template-columns: 1fr 1fr 1fr; } }
.works li { display: flex; align-items: center; gap: 9px; padding: 6px 0; transition: opacity .2s ease; }
.works li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-ink); transition: background .2s ease; }
.works li.off { opacity: .45; text-decoration: line-through; }
.works li.off::before { background: var(--line); }

/* 08 Tools */
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 34px; }
@media (min-width: 620px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .tools { grid-template-columns: 1fr 1fr 1fr; } }
.tools li { border-top: 1px solid var(--line); padding: 14px 0 18px; color: var(--muted); font-size: 15.5px; }
.tools b { display: block; color: var(--ink); font: 700 18px var(--serif); margin-bottom: 2px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); max-width: 760px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style-position: outside; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.get { text-align: center; padding: clamp(64px, 10vw, 120px) 20px; display: grid; justify-items: center; gap: 22px; }
.get img { border-radius: 19px; box-shadow: var(--shadow); }
.get h2 { font-size: clamp(30px, 4.6vw, 48px); max-width: 16em; line-height: 1.1; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 26px 20px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot a { color: var(--muted); }

/* Legal pages */
.legal-body { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
.legal-body h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 16px; }
.legal-body h2 { font-size: 23px; margin: 34px 0 8px; }
.legal-body li { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
