:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #20272b;
  --muted: #4e5d5e;
  --teal: #0c5753;
  --dark-teal: #08423e;
  --line: #a1b3af;
  --soft-line: #dce4df;
  --white: #fff;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
.wrap { width: min(1190px, calc(100% - 64px)); margin-inline: auto; }
h1,h2,h3,p,ol { margin: 0; }
h1,h2,h3 { line-height: 1.09; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 5.3vw, 5.05rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.38rem; letter-spacing: -.038em; }
p, li { color: var(--muted); }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--dark-teal); }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #be5238; outline-offset: 4px; }
.site-header { border-bottom: 1px solid var(--line); }
.nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.nav { min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.045em; }
.nav .brand { font-size: 1.25rem; }
.brand img { border-radius: 7px; }
.nav-links, .footer div { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a, .footer div a { text-decoration: none; font-weight: 650; }
.nav-links a:hover, .footer div a:hover { text-decoration: underline; }
.outline { border: 1px solid var(--teal); border-radius: .5rem; padding: .43rem .8rem; }
.hero { position: relative; isolation: isolate; text-align: center; padding: 30px 0 32px; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; top: 45px; bottom: 36px; width: min(11vw, 165px);
  background: radial-gradient(circle, #1d6a65 1px, transparent 1.4px) 0 0 / 24px 24px;
  opacity: .65; pointer-events: none;
}
.hero::before { left: 14px; }
.hero::after { right: 14px; }
.lede { color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.55rem); margin-top: .55rem; }
.workbench {
  max-width: 922px; margin: 29px auto 0; padding: 26px 24px 20px;
  background: var(--white); border: 1px solid #e2e3df; border-radius: 15px;
  box-shadow: 0 9px 24px #242c2311, 0 1px 3px #242c2310;
}
.workbench > p:not(:empty) { margin-top: .7rem; }
.art { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 0 auto 22px; height: 110px; color: var(--teal); }
.art-window { position: relative; width: 117px; height: 86px; border: 2px solid; border-radius: 9px; }
.art-window i { position: absolute; top: 17px; left: 0; right: 0; border-top: 2px solid; }
.art-window i::before { position: absolute; top: -12px; left: 9px; content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 10px 0, 20px 0; }
.art-window b { position: absolute; top: 33px; right: 16px; border: 2px solid; border-radius: 50%; width: 11px; height: 11px; }
.art-window span { position: absolute; left: 20px; bottom: 12px; width: 29px; height: 29px; border-top: 2px solid; border-left: 2px solid; transform: rotate(45deg); }
.art-window span::after { content: ""; position: absolute; width: 28px; height: 28px; left: 24px; top: -10px; border-top: 2px solid; border-left: 2px solid; }
.art-arrow { font-size: 2.25rem; }
.art-sheet { position: relative; text-align: left; width: 76px; height: 99px; border: 2px solid; border-radius: 8px; padding: 27px 9px 0; }
.art-sheet b { color: white; background: #ba4f38; border-radius: 4px; font-size: .8rem; padding: 2px 7px; }
.art-sheet i, .art-sheet span { display: block; margin-top: 8px; border-top: 2px solid; width: 100%; }
.art-sheet span { margin-top: 5px; width: 66%; }
.primary {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .65rem;
  background: var(--teal); color: white; padding: .65rem 1.1rem; font-size: 1rem; font-weight: 750; text-decoration: none;
}
.primary:hover { background: var(--dark-teal); color: white; }
.primary:disabled { background: #e4ebe7; color: #435653; }
[data-capture] { width: min(100%, 370px); font-size: 1.2rem; padding-block: .68rem; }
.privacy-note { font-size: .89rem; min-height: 1.4em; }
.lock { display: inline-block; width: .65rem; height: .57rem; border: 1.5px solid; border-radius: 2px; position: relative; margin-right: .32rem; }
.lock::before { content: ""; position: absolute; width: .37rem; height: .36rem; border: 1.5px solid; border-bottom: 0; border-radius: .25rem .25rem 0 0; top: -.4rem; left: .025rem; }
.file-picker { position: relative; display: grid; justify-items: center; gap: .55rem; padding: .65rem 1rem; border: 1px dashed var(--line); border-radius: .75rem; cursor: pointer; }
.file-picker:focus-within, .dragging { outline: 2px solid var(--teal); outline-offset: 3px; }
.file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-picker:has(input:disabled) { opacity: .65; cursor: default; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.2rem; }
.actions:has(label), .actions:has(button:not([hidden])) { margin-block: .9rem; }
select { border: 1px solid var(--line); border-radius: .42rem; padding: .43rem; margin-left: .35rem; max-width: 100%; background: var(--white); color: var(--ink); }
.files { padding: 0; list-style: none; text-align: left; margin-top: .65rem; }
.files:empty { display: none; }
.files li { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; padding: .5rem 0; border-bottom: 1px solid var(--soft-line); }
.files img { width: 64px; height: 44px; object-fit: contain; background: var(--paper); border-radius: .3rem; }
.files span { flex: 1; min-width: 100px; overflow-wrap: anywhere; }
.files li div { display: flex; flex-wrap: wrap; gap: .4rem; }
.files button { color: var(--teal); background: white; border: 1px solid var(--line); border-radius: .3rem; padding: .22rem .42rem; }
.files button:disabled { opacity: .55; }
.status:empty { display: none; }
.related { padding-block: 0 27px; }
.related h2 { margin-bottom: .85rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 15px; }
.cards article { border: 1px solid var(--line); border-radius: 11px; padding: 21px; }
.cards article p { margin: .6rem 0; }
.cards article a { display: inline-block; font-weight: 700; }
.guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); padding-block: 17px 25px; }
.guide > div { padding: 0 20px; border-left: 1px solid var(--soft-line); }
.guide > div:first-child { padding-left: 0; border-left: 0; }
.guide h2 { font-size: 1.2rem; margin-bottom: .5rem; letter-spacing: -.026em; }
.guide a { display: inline-block; margin-top: .35rem; }
.guide + .related { padding-top: 10px; }
ol { padding-inline-start: 1.3rem; }
details summary { cursor: pointer; color: var(--teal); }
details p { margin-top: .4rem; }
.footer { border-top: 1px solid var(--line); padding-block: 15px 27px; }
.welcome { max-width: 960px; padding-block: 35px 45px; }
.welcome .cards { margin-top: 1.6rem; }
.welcome .cards h2, .first-capture h2 { font-size: 1.45rem; }
.welcome > p, .first-capture ol { margin-block: .7rem; }
.language { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 1rem; }
.first-capture { margin-top: 1.5rem; }
@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding-block: .65rem; }
  .nav, .footer { flex-wrap: wrap; gap: .55rem 1rem; }
  .nav-links { gap: .7rem; }
  .hero::before, .hero::after { display: none; }
  .hero { padding-top: 24px; }
  .workbench { padding-inline: 14px; }
  .guide { grid-template-columns: 1fr; gap: 1rem; }
  .guide > div { border: 0; padding: 0; }
}
