:root {
  color-scheme: light;
  --paper: #f3f4fc;
  --white: #fff;
  --ink: #171831;
  --muted: #555975;
  --line: #d9dcef;
  --mint: #a8f6ea;
  --night: #14132b;
  --soft: #ecedfd;
  --accent: #5140a5;
  --shadow: 0 18px 48px -32px #291d7359;
  --radius: 28px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse 85% 390px at 66% 0, #e6e5fb, transparent), var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #674ad8; outline-offset: 3px; }
p { line-height: 1.55; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.048em; overflow-wrap: anywhere; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }

.skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  padding: .75rem;
  background: var(--white);
  transform: translateY(-250%);
}

.skip:focus { transform: none; }

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  font-weight: 850;
  font-size: 1.55rem;
  letter-spacing: -.075em;
}

.brand-dot { margin-left: -8px; color: #6352ca; }

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(155deg, #383169, #211743);
  box-shadow: inset 0 0 0 1px #fff4;
}

.brand-mark::before, .brand-mark::after {
  position: absolute;
  width: 62%;
  height: 62%;
  background: #e5ddff;
  clip-path: polygon(25% 0, 82% 0, 95% 17%, 81% 30%, 38% 30%, 22% 51%, 38% 71%, 81% 71%, 95% 84%, 82% 100%, 25% 100%, 0 50%);
  content: "";
}

.brand-mark::after { background: var(--mint); clip-path: polygon(70% 35%, 94% 50%, 70% 65%, 49% 65%, 70% 50%, 49% 35%); }
.header nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px clamp(16px, 3vw, 34px); font-size: .94rem; font-weight: 650; }
.header nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .28em; }
.header-action, .button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 46px; padding: .65rem 1.06rem; border: 1px solid #cbd0e8; border-radius: 12px; font-weight: 700; font-size: .94rem; line-height: 1.3; text-align: center; overflow-wrap: anywhere; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.header-action { justify-self: end; background: var(--white); }
.secondary { background: transparent; }
.header-action:hover, .secondary:hover:not(:disabled) { background: var(--soft); border-color: #aab0d8; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.primary { background: var(--mint); border-color: #83dfd2; }
.primary:hover { background: #c6fff7; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  margin-block: clamp(16px, 2.7vw, 34px) clamp(33px, 5vw, 64px);
  padding: clamp(20px, 4.4vw, 62px);
  overflow: hidden;
  border: 1px solid #3b3068;
  border-radius: clamp(20px, 3vw, 38px);
  background: radial-gradient(ellipse at 79% 28%, #312454, transparent 57%), linear-gradient(135deg, #1e1838, #131128 65%);
  box-shadow: 0 32px 65px -42px #21174fb8;
  color: #fcfaff;
}

.hero-copy { animation: appear .65s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #48477c; font-size: .88rem; font-weight: 720; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #7d67e8; }
.hero .eyebrow { color: #d9cfff; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.12rem, 6.5vw, 6.55rem); line-height: .97; letter-spacing: -.075em; font-weight: 835; }
.hero h1 em { display: block; color: #bcb0ff; font-style: normal; }
.intro { max-width: 42ch; margin: 22px 0 26px; color: #e1dcf1; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-actions .primary { color: var(--ink); }
.hero-actions .secondary { border-color: #8b81b1; color: #fdfaff; }
.hero-actions .secondary:hover:not(:disabled) { border-color: #c1b2fa; background: #ffffff18; }
.hero :focus-visible { outline-color: var(--mint); }

.hero-scene {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 320px;
  aspect-ratio: 1.19;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 52% 49%, #937bcb42, #5e489526 41%, transparent 70%);
}

#sculpture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.scene-fallback { position: absolute; inset: 26% 18%; border: clamp(16px, 4vw, 46px) solid transparent; border-radius: 50%; background: conic-gradient(from 45deg, #cde9fd, #8068bf, #b3a3ed, #6550a0, #cde9fd) border-box; mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: exclude; transform: rotate(-27deg); }
.hero-scene.is-rendered .scene-fallback { display: none; }
.scene-control { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d9ccff52; background: #e8e0ff0c; color: #eee9fc; }
.scene-control:hover { background: #e8e0ff22; }
.scene-control span { width: 10px; height: 12px; border-inline: 2px solid currentColor; }
.scene-control[data-paused] span { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }

.section { padding-block: 46px 50px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.4rem); font-weight: 795; }
.section-head p, .documents p { margin: 10px 0 0; color: var(--muted); }
.tool-showcase { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: 16px; }
.ocr-showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(175px, .65fr); align-items: center; gap: 22px; padding: clamp(20px, 4vw, 45px); margin-bottom: 14px; overflow: hidden; border: 1px solid #c7c6f1; border-radius: 23px; background: radial-gradient(ellipse at 95% 20%, #c8bbff, transparent 57%), #efedff; }
.ocr-showcase h3 { font-size: clamp(2rem, 4.1vw, 4.15rem); font-weight: 790; }
.ocr-showcase p { margin: 10px 0 17px; color: #494675; max-width: 45ch; }
.ocr-showcase-art { position: relative; display: grid; place-items: center; min-height: 155px; }
.ocr-page { display: grid; align-content: center; gap: 11px; width: 133px; height: 152px; padding: 22px; border: 1px solid #d9d6f6; border-radius: 14px; background: #fefcff; box-shadow: 7px 9px 20px #35255731; transform: translateX(-13px) rotate(-16deg); }
.ocr-page span { height: 5px; background: #c4bee2; border-radius: 5px; }
.ocr-page span:nth-child(2) { width: 71%; }
.ocr-page span:last-child { width: 63%; }
.ocr-selection { position: absolute; display: grid; place-items: center; width: 111px; height: 92px; border-radius: 10px; background: #362e72; color: #d7fffa; transform: translate(34px, 9px) rotate(10deg); box-shadow: 4px 8px 20px #382b744d; }
.ocr-selection strong { font-size: 2.75rem; letter-spacing: -.09em; }
.ocr-selection i { position: absolute; width: 11px; height: 11px; color: #a8f6ea; }
.ocr-selection i:nth-child(1) { top: 9px; left: 9px; border-top: 1px solid; border-left: 1px solid; }
.ocr-selection i:nth-child(2) { top: 9px; right: 9px; border-top: 1px solid; border-right: 1px solid; }
.ocr-selection i:nth-child(3) { bottom: 9px; left: 9px; border-bottom: 1px solid; border-left: 1px solid; }
.ocr-selection i:nth-child(4) { bottom: 9px; right: 9px; border-bottom: 1px solid; border-right: 1px solid; }
.tool-preview { display: flex; flex-direction: column; justify-content: space-between; gap: 25px; padding: clamp(21px, 3vw, 39px); border: 1px solid transparent; border-radius: 23px; overflow: hidden; box-shadow: var(--shadow); }
.tool-preview-batch { background: radial-gradient(ellipse at 100% 0, #343070, transparent 69%), var(--night); color: #f7f7ff; }
.tool-preview-image { background: #eff0ff; border-color: #d9d8f7; }
.tool-preview h3 { font-size: clamp(1.75rem, 3.4vw, 3.35rem); font-weight: 780; }
.tool-preview p { margin: 10px 0 0; }
.tool-preview-copy > p { color: var(--muted); max-width: 32ch; }
.tool-preview-batch .tool-preview-copy > p { color: #d3d4ed; }
.batch-showcase { display: grid; gap: 12px; padding: 13px; border: 1px solid #6e6d9c; border-radius: 15px; }
.batch-showcase div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: #e7e6f7; padding: 6px 0; }
.batch-showcase .primary { color: var(--ink); justify-self: start; }
.text-link { text-decoration: underline; text-underline-offset: .2em; }

.image-example { margin: 0; border: 1px solid #d9d8f7; border-radius: 15px; overflow: hidden; background: var(--white); }
.image-example figcaption { padding: 10px 13px; font-size: .85rem; color: #48477c; font-weight: 650; }
.image-example-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 148px; overflow: hidden; background: linear-gradient(155deg, #e3c9ff, transparent 61%), radial-gradient(ellipse at 62% 76%, #6b5fa3, #302052 82%); }
.image-example-art::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(90deg, #fefbe614 0 1px, transparent 1px 29px), repeating-linear-gradient(0deg, #fefbe614 0 1px, transparent 1px 29px); mask-image: radial-gradient(ellipse, black, transparent 78%); }
.image-example-art b { z-index: 1; grid-area: 1 / 1; width: 79px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 29%, #fff1ff, #d0a0ff 32%, #7661b3 67%, #39336b 88%); box-shadow: 7px 13px 19px #22194d70; }
.image-example-art i { position: absolute; z-index: 2; width: 145px; height: 76px; border: 8px solid #b2a1ef; border-top-color: #f3e3ff; border-left-color: #d4c1ff; border-radius: 50%; box-shadow: inset 2px -3px 10px #38265762, 3px 5px 11px #30205777; transform: rotate(-24deg); transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.image-example-art i:nth-child(2) { z-index: 0; width: 135px; height: 66px; border-width: 5px; border-color: #9fe4e7; border-top-color: #d1fff7; transform: rotate(31deg); }
.tool-preview-image:hover i:first-child { transform: rotate(-32deg) scale(1.09); }
.tool-preview-image:hover i:nth-child(2) { transform: rotate(39deg); }

.tools-catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tools-catalog article { --tool-tint: #e6e5ff; display: grid; grid-template-rows: auto auto 1fr auto; align-items: start; gap: 10px; min-width: 0; padding: clamp(17px, 2.15vw, 28px); border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(155deg, var(--tool-tint), var(--white) 62%); box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease; }
.tools-catalog article:nth-child(2) { --tool-tint: #f6eaff; }
.tools-catalog article:nth-child(3) { --tool-tint: #e6ecff; }
.tools-catalog article:nth-child(4) { --tool-tint: #e1f5f7; }
.tools-catalog article:hover { border-color: #aaa3db; transform: translateY(-3px); }
.tools-catalog h3 { font-size: clamp(1.25rem, 2.25vw, 1.8rem); letter-spacing: -.045em; }
.tools-catalog p { margin: 0; color: var(--muted); }
.tools-catalog a { justify-self: start; color: #5140a5; font-weight: 700; }
.tool-symbol { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 4px; border: 1px solid #ffffffb8; border-radius: 12px; background: #ffffffc7; color: var(--ink); font-weight: 750; }

.pricing {
  padding: clamp(24px, 4.4vw, 62px);
  border: 1px solid #302952;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 79% 0%, #3d306d 0, transparent 62%), var(--night);
  color: #f6f4ff;
}

.pricing-head { align-items: start; margin-bottom: 33px; }
.pricing-head h2 { max-width: 600px; }
.pricing-head p { max-width: 245px; margin: 5px 0 0; color: #c9c7e2; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.7vw, 20px); }
.pricing-status { margin: 16px 0 0; color: #c9c7e2; }

.plan {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 235px;
  padding: clamp(18px, 2.7vw, 35px);
  border: 1px solid #645c89;
  border-radius: 17px;
  background: #25213f;
  transition: transform .28s ease, border-color .28s ease;
}

.plan:hover { transform: translateY(-5px); border-color: #b3a2ef; }
.plan-highlight { color: #152b32; border-color: #b0f7ec; background: radial-gradient(ellipse at 100% 0, #e1fff9, transparent 70%), var(--mint); }
.plan h3 { font-size: 1rem; font-weight: 720; letter-spacing: -.02em; color: #dad6ed; }
.plan-price { margin: 12px 0 0; font-size: clamp(2rem, 4.65vw, 4.65rem); font-weight: 830; line-height: .98; letter-spacing: -.075em; white-space: nowrap; font-variant-numeric: lining-nums; }
.plan-price span { font-size: .56em; font-weight: 700; letter-spacing: -.04em; }
.plan .plan-price-wide { font-size: clamp(1.25rem, 14cqi, 3.6rem); }
.plan-price .plan-price-from { font-size: clamp(.875rem, 1.4vw, 1.1rem); font-weight: 650; letter-spacing: normal; }
.plan-description { min-block-size: 4.65em; margin: 14px 0 0; max-width: 220px; color: #dad6ed; }
.plan-highlight h3, .plan-highlight .plan-description { color: #30435a; }
.plan-link { width: fit-content; margin-top: 12px; padding: 9px 13px; border: 1px solid currentColor; border-radius: 8px; font-weight: 700; }
.plan-link:hover { background: #ffffff20; }
.plan-highlight .plan-link:hover { background: #ffffff60; }

.plan-art { position: absolute; right: -12px; top: -24px; z-index: -1; width: 158px; height: 131px; transform: rotate(-22deg); transition: transform .55s cubic-bezier(.18,.72,.36,1); opacity: .8; }
.plan:hover .plan-art { transform: rotate(-13deg) translate(-7px, 3px); }
.plan-art i { position: absolute; inset: 19px 3px; border: 1px solid #a798ea80; border-radius: 50%; }
.plan-art i:nth-child(2) { transform: translateY(17px); }
.plan-art i:nth-child(3) { transform: translateY(34px); }
.plan-art-mid i { border-color: #446b9285; background: linear-gradient(155deg, #ebfffcb5, #8ddacf1f 75%); }
.plan-art-long i { inset: 19px 25px; border-width: 2px; transform: rotate(20deg); }
.plan-art-long i:nth-child(2) { transform: translate(-15px, 12px) rotate(-16deg); }
.plan-art-long i:nth-child(3) { transform: translate(-33px, 25px) rotate(-34deg); }

.faq, .documents { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 32px; overflow-wrap: anywhere; }
.faq { margin-top: 49px; }
.faq > div, .document-links { display: grid; gap: 8px; }
.faq details, .document-links a { display: block; border: 1px solid var(--line); border-radius: 13px; background: var(--white); padding: 14px 17px; }
.faq details[open] { border-color: #b9b3ed; }
summary { line-height: 1.4; font-weight: 700; }
details p { margin: 10px 0 3px; color: var(--muted); }
details p a, .policy-content a { text-decoration: underline; text-underline-offset: .2em; }
.document-links a { font-weight: 700; transition: background .2s ease; }
.document-links a:hover { background: var(--soft); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 17px; padding-block: 24px 34px; border-top: 1px solid var(--line); }
.footer p { margin: 0; color: var(--muted); }
.footer > a:last-child { text-decoration: underline; text-underline-offset: .2em; }

.policy-page { max-width: 900px; padding-bottom: clamp(24px, 5vw, 52px); }
.policy-intro { padding-block: clamp(28px, 5.5vw, 66px) 24px; }
.policy-intro h1 { font-size: clamp(2rem, 5.5vw, 4.6rem); text-wrap: balance; }
.policy-note, #account-message { margin: 17px 0 0; border: 1px solid #d5d2f1; border-radius: 12px; padding: 11px 15px; background: #eceafd; color: #46416d; }
#account-message { background: var(--white); overflow-wrap: anywhere; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.policy-nav .button { background: var(--white); }
.policy-content { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 4.2vw, 39px); background: var(--white); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.policy-content h2 { font-size: clamp(1.45rem, 4vw, 2.55rem); }
.policy-content h3 { margin-top: 23px; font-size: 1.23rem; letter-spacing: -.025em; }
.policy-content p { margin: 12px 0 0; max-width: 68ch; line-height: 1.68; }
.policy-content > h2:first-child + p { margin-top: 15px; }
.policy-content > p + h2 { margin-top: 28px; font-size: clamp(1.25rem, 3vw, 1.75rem); }

.account-page { max-width: 1080px; }
.account-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(12px, 2.1vw, 24px); margin-bottom: 26px; }
.account-card { min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: clamp(19px, 3.7vw, 37px); background: var(--white); box-shadow: var(--shadow); }
.account-card h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.account-card p { color: var(--muted); }
.account-access { color: #f9f7ff; border-color: #4a4275; background: radial-gradient(ellipse at 100% 0, #3b306f, transparent 75%), var(--night); }
.account-access p { color: #dad7f1; overflow-wrap: anywhere; }
.account-access .primary { color: var(--ink); }
.account-access .secondary { color: #f9f7ff; border-color: #7f77a9; }
.account-access .secondary:hover:not(:disabled) { background: #ffffff18; }
.account-access .button:focus-visible { outline-color: var(--mint); }
.account-access .account-profile { border-color: #7f77a9; }
.account-side form, #logout { margin-top: 14px; }
.account-side label, .account-profile label { display: block; margin-bottom: 5px; font-size: .94rem; font-weight: 650; }
.account-side input:not([type="checkbox"]), .account-profile input, #receipt-email, #new-key { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid #c9cbe7; border-radius: 10px; background: #f8f8ff; color: var(--ink); font: inherit; }
.account-profile label { display: block; margin: 8px 0 4px; font-weight: 650; }
.account-alternative, .account-profile { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; }
.account-alternative summary { min-height: 34px; padding-block: 5px; color: var(--accent); }
.account-side .form-hint { margin: -6px 0 12px; font-size: .875rem; }
.account-card .button:disabled { background: #efeffa; color: #5b5e7c; border-color: var(--line); cursor: not-allowed; }
.account-access .button:disabled { background: #ffffff14; color: #dad7f1; border-color: #7f77a9; }
.account-auth-note { margin: 9px 0 0; font-size: .875rem; }
.account-auth-note a { text-decoration: underline; text-underline-offset: .2em; }
#new-key { overflow-wrap: anywhere; font-family: ui-monospace, monospace; }
#checkout { margin-bottom: 40px; }
#checkout fieldset:not(.confirmations) { min-inline-size: 0; margin: 16px 0; padding: 0; border: 0; }
#checkout legend { margin-bottom: 8px; font-weight: 700; }
.checkout-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 9px; }
.checkout-plans label { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.checkout-plans label:has(:checked) { border-color: #8070d9; background: #ece9ff; }
.checkout-plans input { accent-color: var(--accent); }
#receipt-contact label { display: block; margin-bottom: 5px; font-weight: 650; }
#receipt-email { max-width: 360px; }
.confirmations { display: grid; gap: 7px; min-inline-size: 0; margin: 20px 0 16px; padding: 0; border: 0; }
.confirmations legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 740; }
.confirmation-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #f8f8ff; transition: background .2s ease, border-color .2s ease; }
.confirmation-row:has(:checked) { border-color: #aaa0eb; background: #eeebff; }
.confirmation-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.confirmation-row input:focus-visible { outline-offset: 2px; }
.account-card .confirmation-row label { display: block; margin: 0; font-size: .94rem; font-weight: 560; line-height: 1.42; cursor: pointer; overflow-wrap: anywhere; }
.confirmation-row a { display: inline-block; margin-top: 4px; color: var(--accent); font-size: .875rem; line-height: 1.45; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.account-actions, .registration-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-page { padding-bottom: 42px; }
.admin-metrics, .admin-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 13px; margin: 0 0 22px; }
.admin-metrics > div { padding: 17px 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.admin-metrics dt { color: var(--muted); font-weight: 650; }
.admin-metrics dd { margin: 5px 0 0; font-size: 2rem; font-weight: 780; }
.admin-plan { min-inline-size: 0; margin: 0; padding: 10px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.admin-plan legend { padding-inline: 5px; font-weight: 750; }
.admin-plan label { display: grid; gap: 5px; margin: 5px 0 12px; font-size: .94rem; font-weight: 650; }
.admin-plan input, .admin-plan textarea { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #c9cbe7; border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-weight: 400; }
.admin-plan textarea { resize: vertical; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.admin-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 700; }
.admin-nav a:hover { background: var(--soft); }
.admin-nav a[aria-current] { background: var(--night); border-color: var(--night); color: var(--white); }
.admin-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 17px 0; }
.admin-filters label { display: grid; gap: 5px; min-width: 0; font-size: .94rem; font-weight: 650; }
.admin-filters label:has(input) { flex: 1 1 230px; }
.admin-filters :is(input, select) { width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.admin-results { margin-top: 17px; }
.admin-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.admin-table :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.admin-table th { background: var(--soft); font-size: .875rem; }
.admin-table tbody tr:hover { background: #f8f8ff; }
.admin-secondary { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }
.admin-order-id { font: .875rem ui-monospace, monospace; }
.admin-state { display: inline-block; padding: 3px 8px; border-radius: 7px; background: var(--soft); color: var(--accent); font-size: .875rem; font-weight: 700; }
.admin-state-paid { color: #16554a; background: #dff7ee; }
.admin-state-pending, .admin-state-creating { color: #704b19; background: #ffefd8; }
.admin-state-canceled, .admin-state-refunded { color: #683e57; background: #f7e9f1; }
.admin-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.admin-pagination button:disabled { opacity: .62; cursor: not-allowed; }
#payment-widget { margin: 18px 0 0; min-height: 140px; }
#demo-actions .button { margin: 4px 4px 0 0; }

[data-reveal].is-visible { animation: appear .65s ease-out both; }
@keyframes appear { from { opacity: .4; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .tools-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 12px; }
  .hero-scene { min-height: 275px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header { min-height: auto; padding-block: 12px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: 0 clamp(10px, 3vw, 22px); }
  .header nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .header-action { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 22px 13px; gap: 4px; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 5.1rem); }
  .hero-scene { min-height: 0; }
  .section { padding-block: 35px; }
  .section-head, .pricing-head { flex-direction: column; align-items: start; gap: 6px; margin-bottom: 20px; }
  .tool-showcase { grid-template-columns: 1fr; }
  .pricing { padding: 23px 17px 17px; }
  .plan-grid, .faq, .documents, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { min-height: 153px; }
  .plan-price { font-size: 3rem; }
  .plan-description { min-block-size: auto; }
  .faq, .documents { gap: 18px; }
  .faq { margin-top: 35px; }
}

@media (max-width: 600px) {
  .admin-table, .admin-table tbody { display: block; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .admin-table tbody tr { display: block; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; }
  .admin-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; padding: 9px 10px; }
  .admin-table td:last-child { border-bottom: 0; }
  .admin-table td::before { content: attr(data-label); color: var(--muted); font-size: .875rem; }
}

@media (max-width: 410px) {
  .wrap { width: calc(100% - 24px); }
  .header nav { font-size: .875rem; }
  .header-action { min-height: 42px; padding-inline: 10px; }
  .brand { gap: 7px; font-size: 1.35rem; }
  .brand-mark { width: 28px; height: 28px; }
  .ocr-showcase { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ocr-showcase-art { min-height: 140px; }
  .tools-catalog { grid-template-columns: minmax(0, 1fr); }
  .confirmation-row { gap: 9px; padding-inline: 10px; }
  .registration-actions { flex-direction: column; }
  .policy-nav .button { min-height: 40px; padding-inline: .7rem; }
}

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