:root {
  color-scheme: light;
  --ink: #142041;
  --muted: #4c5c78;
  --blue: #233fc4;
  --blue-dark: #192c99;
  --teal: #136858;
  --line: #d9e1f1;
  --mist: #f2f5ff;
  --white: #fff;
  --error: #a42143;
  --radius: 17px;
  --shadow: 0 16px 38px #233d8b12;
  font: 100%/1.55 "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f6f8ff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(145deg,#fcfdff 25%,#f2f6ff 100%); }
main { flex: 1; min-width: 0; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem,5vw,3.65rem); }
h2 { font-size: clamp(1.55rem,3vw,2.32rem); }
h3 { font-size: 1.18rem; }
p { color: var(--muted); }
a { color: var(--blue-dark); text-underline-offset: .2em; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #2a54e7; outline-offset: 4px; }
[id] { scroll-margin-top: 20px; }
.skip { position: absolute; left: .75rem; top: .65rem; z-index: 5; transform: translateY(-140%); padding: .6rem 1rem; background: #fff; }
.skip:focus { transform: none; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(700px, calc(100% - 48px)); }
.site-header { background: #fbfcff; border-bottom: 1px solid #e5eafd; }
.header-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .64rem; color: var(--ink); font-size: 1.04rem; font-weight: 750; text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.brand b { color: var(--blue); }
.mark { width: 34px; height: 34px; border-radius: 10px; display: flex; gap: 3px; align-items: flex-end; justify-content: center; padding-bottom: 8px; background: var(--blue); color: #fff; }
.mark i { width: 4px; height: 8px; background: white; border-radius: 3px; }
.mark i:nth-child(2) { height: 13px; }
.mark i:nth-child(3) { height: 18px; }
.top-nav, .actions, .footer-row nav, .work-nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.top-nav { gap: 1.45rem; }
.top-nav a:not(.btn), .footer-row a, .work-nav a { text-decoration: none; font-weight: 650; font-size: .92rem; }
.top-nav a:not(.btn):hover,.footer-row a:hover,.work-nav a:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .63rem 1rem; border: 1px solid transparent; border-radius: 10px; font-weight: 730; text-decoration: none; text-align: center; line-height: 1.22; }
.btn.small { min-height: 40px; padding: .48rem .78rem; font-size: .9rem; }
.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.primary:hover { background: var(--blue-dark); }
.secondary { background: #fff; color: #263b85; border-color: #bdc9eb; }
.secondary:hover { background: #eef2ff; }
.danger { color: #fff; background: var(--error); }
.text-btn { border: 0; background: transparent; color: var(--blue-dark); min-height: 38px; padding: .25rem; font-weight: 700; text-decoration: underline; text-underline-offset: .19em; }
.text-btn:disabled { color: #69748b; cursor: default; text-decoration: none; }
.danger-text { color: var(--error); }
.eyebrow { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #344ca3; display: flex; align-items: center; gap: .6rem; }
.eyebrow span { display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; background: #475de1; flex: 0 0 auto; }
.hero { background: radial-gradient(ellipse at 90% 30%,#dceaff 0,transparent 63%),linear-gradient(115deg,#edf1ff,#f5f8ff 54%,#e5f2ff); border-bottom: 1px solid #e0e7fa; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .94fr; gap: clamp(1.8rem,5vw,5rem); align-items: center; min-height: 515px; padding-block: 4.65rem; }
.hero h1 { font-size: clamp(2.65rem,5.3vw,5.15rem); line-height: 1.015; letter-spacing: -.075em; margin: 1rem 0 1.2rem; max-width: 710px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.intro { font-size: clamp(1.1rem,1.7vw,1.3rem); max-width: 39rem; }
.hero .intro { max-width: 31rem; }
.hero .actions { margin-top: 1.55rem; }
.micro,.hint, small { color: var(--muted); font-size: .875rem; }
.hero .micro { margin-top: .8rem; }
.demo-board { min-width: 0; position: relative; padding: 1.35rem; border: 1px solid #c1ceef; border-radius: 20px; color: #192e62; background: #fcfdff; box-shadow: 0 24px 55px #283d8c25; }
.demo-board:before { position: absolute; content: ""; inset: 10px -10px -10px 10px; border: 1px solid #a4b5f0; border-radius: 20px; pointer-events: none; }
.mock-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .68rem; }
.mock-top small,.mock-row small { display: block; font-size: .78rem; }
.mock-mark { width: 39px; height: 39px; border-radius: 11px; background: #e5ebff; color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.pill { display: inline-flex; align-items: center; padding: .22rem .56rem; border-radius: 999px; color: #334b9a; background: #e9eeff; font-size: .78rem; font-weight: 760; white-space: nowrap; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; margin: 1.05rem 0; }
.mock-stats div { padding: .65rem .7rem; border-radius: 10px; background: #ecf0ff; }
.mock-stats div:nth-child(2) { background: #e3f5f2; }
.mock-stats div:nth-child(3) { background: #f0eaff; }
.mock-stats span,.mock-title span,.mock-footer { font-size: .79rem; color: #4a5a78; }
.mock-stats b { display: block; font-size: 1.75rem; line-height: 1.13; letter-spacing: -.06em; }
.mock-title,.mock-footer,.footer-row,.heading-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.mock-title { margin: 1.2rem 0 .45rem; }
.mock-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; border-top: 1px solid #e5ebfa; padding: .66rem 0; font-size: .89rem; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #dff4ef; color: #146657; font-weight: 800; }
.lilac { background: #eee8ff !important; color: #584297 !important; }
.mock-footer { padding-top: .72rem; border-top: 1px solid #e5ebfa; }
.mock-footer i { display: inline-block; width: .46rem; height: .46rem; border-radius: 50%; background: #368b73; }
.workflow,.pricing { padding-block: 3.9rem; }
.section-head p { margin-top: .65rem; }
.steps,.usage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.6rem 0; }
.steps article,.card,.price,.usage-grid article { border: 1px solid var(--line); border-radius: var(--radius); background: #ffffffed; box-shadow: var(--shadow); }
.steps article { padding: 1.2rem; box-shadow: none; }
.step-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; background: #e7edff; color: var(--blue); border-radius: 10px; font-size: 1.3rem; font-weight: 750; margin-bottom: .7rem; }
.teal { background: #e2f4f1; color: var(--teal); }
.steps h3,.list-row h3 { margin-bottom: .36rem; }
.use-band { background: #eaf0ff; border-block: 1px solid #e0e7fa; padding-block: 2.55rem; }
.use-grid,.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.use-grid { align-items: center; gap: 2rem; }
.use-grid h2 { margin: .55rem 0; }
.use-links { display: grid; gap: .64rem; }
.use-links a { background: #ffffffce; border: 1px solid #cdd8f5; border-radius: 11px; padding: .65rem .9rem; text-decoration: none; }
.use-links a:hover { border-color: var(--blue); }
.use-links small { display: block; }
.price-grid { margin: 1.4rem 0 1rem; }
.price { padding: 1.4rem; }
.price.pro { border-color: #b2c4f7; background: #f7f9ff; }
.price ul { color: var(--muted); padding-left: 1.2rem; }
.price li + li { margin-top: .3rem; }
.money { font-size: 2.35rem; color: var(--ink); font-weight: 850; letter-spacing: -.055em; margin-top: .4rem; }
.money small { letter-spacing: 0; }
.availability { font-weight: 700; color: #374a83; }
footer { padding: 1.5rem 0; background: #edf2fd; border-top: 1px solid #dce5f8; }
.footer-row { color: #41547b; font-size: .92rem; }
.footer-row small { margin-left: .35rem; }
.footer-row nav { gap: .7rem 1.15rem; }
.pane { padding-block: 2.2rem 3.25rem; }
.article { max-width: 760px; padding-block: 3.6rem; }
.article h1,.reading-head h1,.form-card h1 { margin: .55rem 0 .9rem; }
.article h2 { margin: 2.1rem 0 .55rem; }
.article .actions { margin-top: 1.4rem; }
.padded,.form-card { padding: clamp(1rem,3.5vw,1.65rem); }
.form-card > p,.padded > p { margin: .55rem 0 1rem; }
.stack { display: flex; flex-direction: column; gap: .95rem; align-items: stretch; }
.stack > .btn { align-self: flex-start; }
.field { display: flex; min-width: 0; flex-direction: column; gap: .3rem; font-size: .94rem; font-weight: 710; color: var(--ink); }
.field input,.field select,.field textarea { min-height: 44px; min-width: 0; width: 100%; border: 1px solid #abb9da; border-radius: 9px; padding: .57rem .68rem; background-color: #fff; color: var(--ink); }
.field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 48%,#425781 52%),linear-gradient(135deg,#425781 48%,transparent 52%); background-position: calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 90px; resize: vertical; }
.field input[readonly] { background: #f4f7ff; }
.check,.option { display: flex; align-items: flex-start; gap: .6rem; }
.check input,.option input { accent-color: var(--blue); flex: 0 0 auto; width: 1.12rem; height: 1.12rem; margin: .17rem 0 0; }
.minor-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.15rem; }
.alert { padding: .75rem .95rem; border: 1px solid; border-radius: 10px; margin-bottom: 1rem; font-weight: 690; }
.alert.error { color: #831c38; background: #fff0f4; border-color: #e8a2b4; }
.alert.success { color: #1c5d4f; background: #e7f8f1; border-color: #a4d8ca; }
.reading-head { margin-bottom: 1.5rem; }
.reading-head .micro { margin-top: .55rem; }
.assessment-form { display: grid; gap: 1rem; }
.assessment-form > .btn { justify-self: start; }
fieldset { min-width: 0; }
.item,.edit-item { margin: 0; padding: .95rem 1.15rem 1.15rem; }
.item legend,.edit-item legend,.grade legend { padding-inline: .3rem; }
.item legend span,.edit-item legend span,.grade legend span { color: #334b9a; background: #e9eeff; padding: .22rem .5rem; border-radius: 7px; font-size: .87rem; font-weight: 720; }
.prompt { font-weight: 730; color: var(--ink); margin-bottom: .6rem; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.option { border: 1px solid var(--line); border-radius: 9px; min-height: 44px; padding: .59rem .66rem; margin: .55rem 0 0; cursor: pointer; }
.option:has(input:checked) { background: #eef3ff; border-color: #8198e0; }
.workspace-bar { background: #eaf0ff; border-bottom: 1px solid #dce5f8; }
.work-nav { min-height: 56px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1.1rem; align-items: center; padding-block: .42rem; }
.work-nav strong { overflow-wrap: anywhere; }
.work-nav nav { gap: .5rem 1rem; }
.work-nav .text-btn { font-size: .88rem; }
.work { max-width: 960px; }
.work-heading { margin: .65rem 0 1.1rem; }
.work-heading h1 { font-size: clamp(2rem,4.5vw,3rem); margin: .3rem 0 .5rem; }
.usage-grid article { min-width: 0; padding: .88rem; box-shadow: none; }
.usage-grid span { color: var(--muted); font-size: .89rem; }
.usage-grid strong { font-size: clamp(1.25rem,3.2vw,2.15rem); display: block; line-height: 1.25; overflow-wrap: anywhere; }
.usage-grid small { font-weight: 650; }
.list-section { margin-top: 1.5rem; }
.list-section > h2 { margin-bottom: .7rem; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding: .9rem 1rem; margin-bottom: .65rem; }
.list-row p { font-size: .9rem; overflow-wrap: anywhere; }
.list-row > div { min-width: 0; }
.back { font-size: .9rem; font-weight: 680; }
.tabs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; border-bottom: 1px solid #cdd9f5; margin-bottom: 1.15rem; }
.tabs a { padding: .55rem .15rem; text-decoration: none; border-bottom: 3px solid transparent; font-weight: 700; }
.tabs a[aria-current] { border-bottom-color: var(--blue); }
.editor-head,.item-tools,.copy-row,.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; justify-content: space-between; }
.item-tools { margin-bottom: .6rem; }
.edit-item > .field,.option-edit { margin-bottom: .57rem; }
.edit-item > .field:has(input[type="number"]) { max-width: 9rem; }
.option-edit,.field-pair { display: grid; gap: .65rem; grid-template-columns: 1fr 1fr; }
.copy-row { justify-content: flex-start; align-items: flex-end; margin: .7rem 0; }
.copy-row .field { flex: 1 1 240px; }
.copy-row [role="status"] { font-size: .875rem; color: var(--teal); }
.link-card + .link-card { margin-top: .65rem; }
.heading-row { flex-wrap: wrap; }
.result-row { display: grid; grid-template-columns: minmax(170px,1.7fr) 1fr 1fr auto; }
.filter-row { justify-content: flex-start; align-items: flex-end; margin: .8rem 0; }
.answer { padding: .65rem; border-radius: 9px; background: #f0f4ff; }
.grade > p { margin-bottom: .65rem; }
.danger-zone { margin-top: 1.35rem; padding: 1rem; border: 1px solid #dfb0bf; background: #fff8fb; border-radius: 11px; }
.danger-zone summary { cursor: pointer; font-weight: 750; color: var(--error); }
.danger-zone p { margin: .6rem 0; }
@media (max-width: 820px) {
  .wrap { width: min(100% - 42px, 1160px); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-block: 3.5rem; min-height: 0; }
  .hero h1 { font-size: clamp(2.65rem,7vw,4rem); }
  .wide { display: none; }
  .top-nav { gap: .8rem; }
}
@media (max-width: 670px) {
  .hero-grid,.use-grid,.price-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.45rem 2.85rem; gap: 1.75rem; }
  .demo-board { max-width: 480px; }
  .desktop-nav { display: none; }
  .steps { grid-template-columns: 1fr; gap: .65rem; }
  .workflow,.pricing,.article { padding-block: 2.4rem; }
  .footer-row { flex-wrap: wrap; }
  .result-row { grid-template-columns: 1fr 1fr; }
  .result-row > :first-child { grid-column: 1/-1; }
  .result-row .btn { grid-column: 1/-1; justify-self: start; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 30px); }
  .brand { font-size: .87rem; gap: .42rem; }
  .mark { width: 28px; height: 28px; padding-bottom: 5px; }
  .top-nav { gap: .55rem; }
  .top-nav a:not(.btn) { font-size: .84rem; }
  .top-nav .btn.small { padding-inline: .55rem; }
  .mock-stats div { padding-inline: .5rem; }
  .mock-stats span { font-size: .72rem; }
  .demo-board { padding: .8rem; margin-right: 5px; }
  .usage-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .usage-grid article:last-child { grid-column: 1/-1; }
  .list-row:not(.result-row) { align-items: flex-start; flex-direction: column; }
  .option-edit,.field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
