/* Tapscribe website. Neutral palette with one accent; dark mode follows the visitor's system setting.
   Motion is subtle and switched off for people who ask their system for reduced motion. */
:root {
  --bg: #ffffff; --bg-2: #f7f7f8; --surface: #ffffff; --line: #e7e7ea; --line-2: #d4d4d8;
  --ink: #0a0a0b; --ink-2: #52525b; --ink-3: #8a8a93; --on-ink: #ffffff;
  --accent: #2563eb; --accent-soft: #eff4ff;
  --good: #16803c; --good-bg: #eaf6ee; --bad: #d23c3c; --bad-bg: #fdeeee;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px -12px rgba(0,0,0,.14);
  --radius: 14px; --max: 1140px; --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c; --bg-2: #111113; --surface: #141416; --line: #26262a; --line-2: #34343a;
    --ink: #f4f4f5; --ink-2: #a1a1aa; --ink-3: #71717a; --on-ink: #0b0b0c;
    --accent: #6b97ff; --accent-soft: #15203a; --good: #4ade80; --good-bg: #10261a; --bad: #f87171; --bad-bg: #2a1414;
    --shadow: 0 1px 2px rgba(0,0,0,.5); --shadow-lg: 0 24px 60px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: clamp(38px, 4.7vw, 56px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.028em; }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 14px; }
.soft { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; line-height: 1.2;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { text-decoration: none; border-color: var(--ink-3); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.primary:hover { box-shadow: 0 6px 20px -6px rgba(0,0,0,.35); }
.btn.small { padding: 7px 13px; font-size: 14px; border-radius: 9px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); } .btn.ghost:hover { color: var(--ink); transform: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn .arrow { transition: transform .25s var(--ease); } .btn:hover .arrow { transform: translateX(3px); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; } .logo img { width: 26px; height: 26px; }
.nav { display: flex; gap: 26px; flex: 1; } .nav a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); text-decoration: none; }
.top .actions { display: flex; gap: 6px; align-items: center; }
.menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 11px; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 900px) {
  .nav, .top .actions .hide-sm { display: none; } .menu { display: inline-block; } .top .wrap { gap: 10px; justify-content: space-between; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); padding: 14px 24px 22px; border-bottom: 1px solid var(--line); gap: 16px; }
}

/* hero */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); padding: 5px 12px 5px 10px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lede { font-size: 18.5px; color: var(--ink-2); max-width: 540px; margin-bottom: 30px; line-height: 1.6; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } .hero { padding-top: 52px; } }

/* product drawing */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); background: var(--bg-2); }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.mock .bar b { margin-left: 8px; color: var(--ink-2); font-weight: 600; }
.mock .bar .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.mock .bar .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.mock .body { display: grid; grid-template-columns: 196px 1fr; gap: 20px; padding: 20px; }
.phone { border: 7px solid #18181b; border-radius: 30px; background: #fafafa; height: 372px; padding: 28px 14px 14px; position: relative; color: #0a0a0b; overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 50px; height: 5px; border-radius: 5px; background: #18181b; }
.phone .screen { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.phone .ttl { font-weight: 700; font-size: 15px; margin-bottom: 14px; letter-spacing: -.01em; }
.phone .fld { border: 1px solid #e4e4e7; border-radius: 10px; padding: 7px 10px; font-size: 11.5px; color: #8a8a93; margin-bottom: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone .fld b { display: block; color: #0a0a0b; font-size: 13.5px; min-height: 20px; font-weight: 600; }
.phone .fld.on { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.phone .fld.on b::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: #2563eb; margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.phone .pbtn { margin-top: 16px; background: #0a0a0b; color: #fff; text-align: center; border-radius: 10px; padding: 10px; font-weight: 600; font-size: 13px; transition: transform .15s; }
.phone .pbtn.press { transform: scale(.97); }
.phone .done { position: absolute; inset: 28px 14px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; opacity: 0; transform: translateY(8px); pointer-events: none; }
.phone .done .ok { width: 52px; height: 52px; border-radius: 50%; background: #eaf6ee; display: grid; place-items: center; }
.phone .done .ok svg { width: 26px; height: 26px; color: #16803c; }
.phone .done b { font-size: 15px; } .phone .done span { font-size: 12px; color: #8a8a93; }
.phone.success .screen { opacity: 0; transform: translateY(-8px); } .phone.success .done { opacity: 1; transform: none; transition: opacity .4s var(--ease) .1s, transform .4s var(--ease) .1s; }
.ripple { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(37,99,235,.22); border: 2px solid rgba(37,99,235,.6); opacity: 0; pointer-events: none; }
.ripple.go { animation: ripple .6s var(--ease); }
@keyframes ripple { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.side h4 { margin: 0 0 10px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; font-size: 13.5px; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 7px; background: var(--surface);
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .6s var(--ease); }
.steps li::before { content: counter(s); flex: none; width: 21px; height: 21px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); font-weight: 650; font-size: 11.5px; display: grid; place-items: center; border: 1px solid var(--line); }
.steps li div { color: var(--ink); font-weight: 500; } .steps li span { color: var(--ink-3); font-size: 12px; display: block; font-weight: 400; }
.steps li.hide { opacity: 0; transform: translateY(6px); }
.steps li.fresh { border-color: var(--accent); }
.steps li.fresh::before { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 520px) { .mock .body { grid-template-columns: 1fr; } .phone { height: 320px; max-width: 220px; margin: 0 auto; width: 100%; } }

/* sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .head { max-width: 680px; margin-bottom: 52px; }
.section .head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section .head p { color: var(--ink-2); font-size: 17.5px; }
.kicker { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; display: block; }
.strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.strip li { display: flex; align-items: center; gap: 9px; } .strip svg { width: 17px; height: 17px; color: var(--ink-3); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step-card { padding: 32px 30px; border-left: 1px solid var(--line); } .step-card:first-child { border-left: 0; }
.step-card .n { font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); margin-bottom: 26px; display: block; }
.step-card p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { padding: 30px 28px; background: var(--surface); transition: background .25s var(--ease); }
.feat:hover { background: var(--bg-2); }
.feat .ic { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.feat .ic svg { width: 18px; height: 18px; }
.feat p { color: var(--ink-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } .three { grid-template-columns: 1fr; } .step-card { border-left: 0; border-top: 1px solid var(--line); } .step-card:first-child { border-top: 0; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
.split p.muted { font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* run report drawing */
.report { padding: 20px; }
.report .sum { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; font-size: 14px; }
.report .sum b { margin-right: 4px; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--good-bg); color: var(--good); transition: opacity .3s; }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 11px; color: var(--ink-3); background: var(--surface); transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s; }
.thumb .scr { height: 96px; background: linear-gradient(180deg, var(--bg-2) 0 22%, var(--surface) 22% 100%); position: relative; border-bottom: 1px solid var(--line); }
.thumb .scr::before { content: ""; position: absolute; left: 12%; right: 12%; top: 36%; height: 8px; border-radius: 4px; background: var(--line); box-shadow: 0 15px 0 var(--line), 0 32px 0 var(--ink-3); }
.thumb .st { position: absolute; right: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--good); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease); }
.thumb .st svg { width: 10px; height: 10px; }
.thumb.ok .st { opacity: 1; transform: none; }
.thumb.fail { border-color: var(--bad); } .thumb.fail .st { opacity: 1; transform: none; background: var(--bad-bg); color: var(--bad); }
.thumb.wait { opacity: .35; }
.thumb > div:last-child { padding: 7px 9px; } .thumb b { display: block; color: var(--ink); font-size: 12px; font-weight: 600; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 16px; }
.progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transition: transform .5s var(--ease); }
@media (max-width: 520px) { .thumbs { grid-template-columns: repeat(3, 1fr); } .thumbs .thumb:nth-child(-n+2) { display: none; } }

.code { background: #0a0a0b; color: #d4d4d8; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; box-shadow: var(--shadow-lg); margin: 0; }
.code .c { color: #71717a; } .code .k { color: #93b4ff; } .code .s { color: #a7e3b8; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan .tag { font-size: 12.5px; font-weight: 550; color: var(--ink-3); margin-bottom: 8px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -.025em; margin: 14px 0 2px; }
.plan .per { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 26px; flex: 1; border-top: 1px solid var(--line); }
.plan li { padding: 5px 0 5px 26px; position: relative; color: var(--ink-2); font-size: 14.5px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.plan .btn { justify-content: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } }

/* questions */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--ink-2); margin: -4px 0 20px; max-width: 680px; }

/* closing band */
.band { background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(127,127,127,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(127,127,127,.14) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); pointer-events: none; }
.band > * { position: relative; }
.band h2 { color: var(--on-ink); } .band p { opacity: .72; font-size: 17.5px; max-width: 560px; margin: 0 auto 28px; }
.band .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.band .btn.outline { background: transparent; color: var(--on-ink); border-color: color-mix(in srgb, var(--on-ink) 35%, transparent); }
.band .cta { justify-content: center; }

/* footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 104px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; } .foot li { margin-bottom: 9px; } .foot li a { color: var(--ink-2); } .foot li a:hover { color: var(--ink); text-decoration: none; }
.foot .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* inner pages */
.page-hero { padding: 72px 0 32px; } .page-hero .lede { max-width: 620px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.dl { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl .os { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; } .dl .os svg { width: 40px; height: 40px; color: var(--ink); }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.meta dt { color: var(--ink-3); } .meta dd { margin: 0; word-break: break-all; }
.soon { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); } .soon:first-of-type { border-top: 0; padding-top: 4px; }
.soon svg { width: 24px; height: 24px; color: var(--ink-3); flex: none; }
ol.how { padding-left: 20px; color: var(--ink-2); } ol.how li { margin-bottom: 9px; padding-left: 4px; } ol.how b { color: var(--ink); font-weight: 600; }
.qa { margin: 8px 0 0; } .qa dt { font-weight: 600; margin-top: 18px; } .qa dt:first-child { margin-top: 0; } .qa dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { form .row2 { grid-template-columns: 1fr; } }
label.f { display: block; margin-bottom: 18px; } label.f span { display: block; font-weight: 550; font-size: 14px; margin-bottom: 7px; }
label.f small { color: var(--ink-3); font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 8%, transparent); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }
.alert.ok { background: var(--good-bg); color: var(--good); } .alert.err { background: var(--bad-bg); color: var(--bad); }
.contact-side h3 { margin-top: 0; } .contact-side .item { padding: 18px 0; border-top: 1px solid var(--line); } .contact-side .item:first-of-type { border-top: 0; padding-top: 0; }

/* scroll reveal: only once the script is running (html.js), so the page reads fine without it */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-hero] { opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1; transform: none; }
}

/* download page: one tab per system */
.ostabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); margin-top: 8px; flex-wrap: wrap; }
.ostabs button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border: 0; border-radius: 9px;
  background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s var(--ease), color .2s; }
.ostabs button svg { width: 17px; height: 17px; }
.ostabs button:hover { color: var(--ink); }
.ostabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.js .ospanel { display: none; } .js .ospanel.on { display: block; }
.ospanel + .ospanel { margin-top: 20px; } .js .ospanel + .ospanel { margin-top: 0; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.how code { font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
