/* Numedian Digital storefront — light, modern, in the logo's blue / green / yellow. */
:root {
  --blue: #1F4E8C;
  --blue-deep: #12305A;
  --green: #23744A;
  --yellow: #F2B705;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #FCFCFA;
  --ink: #101A2E;
  --text: #172033;
  --body: #4A5568;
  --muted: #5B6577;
  --line: #E6E4DD;
  --line-2: #EEECE6;
  --soft-blue: #EEF3FA;
  --soft-green: #EAF4EE;
  --soft-yellow: #FEF6DC;
  --ok: #1C5E3B;
  --bad: #B3261E;
  --accent: var(--blue);
  --accent-soft: var(--soft-blue);
  --radius: 22px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  /* logo (arrangement 1) */
  --logo-roof: var(--blue); --logo-monument: var(--green); --logo-beacon: var(--yellow);
  --logo-name: var(--blue); --logo-nu: var(--green);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
code { font-family: var(--mono); font-size: .9em; }
img { max-width: 100%; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 48px); }
.page { padding: 64px 0 96px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--body); max-width: 36rem; }
.inline { display: inline; }
.section { margin-top: 48px; }
.spacer { height: 24px; }

/* ---------------------------------------------------------------- header */
.site-header { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; flex-wrap: wrap; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--logo-name); }
.logo-mark { flex: none; display: block; }
/* Mark spans from the top of NUMEDIAN's capitals to the baseline of DIGITAL. */
.brand .logo-mark { transform: translateY(-1.5px); }
.logo-roof { fill: var(--logo-roof); } .logo-monument { fill: var(--logo-monument); } .logo-beacon { fill: var(--logo-beacon); }
.logo-nu { color: var(--logo-nu); }
.wordmark { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.wordmark-name { font: 700 1.3rem var(--display); letter-spacing: .04em; }
.wordmark-sub { font: 500 .62rem var(--mono); letter-spacing: .58em; color: var(--muted); padding-left: 1px; }
.nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; font-size: .95rem; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav a.btn, .nav a.btn:hover { color: #fff; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; font: 600 .98rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .linklike:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); outline-offset: 2px; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: #D5D2C8; }
.btn-ghost:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-soft { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.btn-soft:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: #2A1F00; font-weight: 700; }
.btn-yellow:hover { background: #FFC933; border-color: #FFC933; color: #2A1F00; }
.btn-outline-light { background: transparent; border-color: #4A6A9A; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.wide { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ----------------------------------------------------------------- forms */
input, select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #D5D2C8;
  background: var(--surface); color: var(--text); font: inherit; margin: 6px 0 14px;
}
input:focus, select:focus { border-color: var(--blue); }
label { font-size: .9rem; font-weight: 500; color: var(--text); }
.stack label { display: block; }

.flashes { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 8px; }
.flash-ok { background: var(--soft-green); border-color: #CFE5D8; color: var(--ok); }
.flash-error { background: #FDF0EF; border-color: #F2D2CF; color: var(--bad); }

/* ------------------------------------------------------------------ home */
.hero { padding: 88px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero-copy .lede { margin: 0; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: #33405A; margin: 0; }
.pill-tag { padding: 2px 10px; border-radius: 999px; background: var(--soft-yellow); color: #6B4E00; font-size: .75rem; font-weight: 600; }
.c-blue { color: var(--blue); } .c-green { color: var(--green); }

.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; padding: 28px 0 28px 28px; }
.knots { position: absolute; top: 0; right: 8px; display: grid; grid-template-columns: repeat(4, 14px); gap: 6px; }
.knots span { width: 14px; height: 14px; border-radius: 3px; }
.k-y { background: var(--yellow); } .k-g { background: var(--green); } .k-b { background: var(--blue); }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(16,26,46,.35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.browser-url { font: 500 .8rem var(--mono); color: #33405A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.browser-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 700 1.25rem var(--display); color: var(--ink); }
.fake-search { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); font: 400 .8rem var(--sans); color: var(--muted); }
.job { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); }
.job:first-of-type { background: #F6F8FC; border-color: #F6F8FC; }
.job-logo { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.job-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.job-lines span { height: 10px; border-radius: 6px; background: #D6DCE5; }
.job-lines span + span { height: 8px; background: #E8EBF0; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.tag-green { background: var(--soft-green); color: var(--ok); }
.tag-yellow { background: var(--soft-yellow); color: #6B4E00; }
.tag-blue { background: var(--soft-blue); color: var(--blue); }
.float-card { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 34px -18px rgba(16,26,46,.4); }
.float-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--soft-green); display: flex; align-items: center; justify-content: center; }
.float-text { display: flex; flex-direction: column; line-height: 1.3; font-size: .78rem; color: var(--muted); }
.float-text strong { font-size: .875rem; color: var(--ink); }

.promises { border-block: 1px solid var(--line); background: var(--surface); }
.promises-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding: 26px 0; }
.promise { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; font-size: .95rem; font-weight: 500; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 36px; }
.section-head > div { max-width: 640px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 360px; color: var(--body); }
.products { padding: 96px 0 40px; }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 260px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.products .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .products .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .products .grid { grid-template-columns: 1fr; } }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(16,26,46,.45); }
.card-visual { height: 168px; background: var(--accent-soft); padding: 22px; display: flex; align-items: flex-end; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { margin: 0; font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 0; font-size: 1.5rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-tag { margin: 0; color: var(--body); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; }
.card-foot .btn { position: relative; z-index: 1; flex-shrink: 0; }
.card-foot .price { white-space: nowrap; }
.price { font-size: .875rem; color: var(--body); }
.price strong { font-size: 1.15rem; color: var(--ink); }

/* product card sketches */
.mini { width: 100%; background: var(--surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 24px -16px rgba(16,26,46,.45); }
.mini-row { display: flex; align-items: center; gap: 8px; }
.mini-sq { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.mini-bar { height: 8px; flex: 1; border-radius: 4px; background: #E3E8F0; }
.mini-pill { width: 34px; height: 14px; border-radius: 7px; flex: none; }
.shelf { width: 100%; height: 104px; background: var(--surface); border-radius: 12px 12px 0 0; padding: 14px 14px 0; display: flex; align-items: flex-end; gap: 6px; margin-bottom: -22px; box-shadow: 0 10px 24px -16px rgba(16,26,46,.45); }
.shelf span { flex: 1; border-radius: 4px 4px 0 0; }
.gallery { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-self: stretch; }
.gallery span { border-radius: 10px; background: var(--surface); padding: 7px; box-shadow: 0 8px 18px -12px rgba(107,78,0,.5); }
.gallery i { display: block; width: 100%; height: 100%; border-radius: 5px; }
.tree-row { display: flex; align-items: center; gap: 8px; }
.tree-row i { width: 16px; height: 13px; border-radius: 3px; flex: none; }
.tree-row span { height: 8px; border-radius: 4px; background: #E3E6EF; }

.how { padding: 72px 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 40px; }
.panel h2 { margin: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 0; list-style: none; }
.steps li { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { margin: 0; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--body); }
.step-n { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: 700 1.25rem var(--display); }

.plans-section { padding: 24px 0 72px; }
.two { display: flex; flex-wrap: wrap; gap: 20px; }
.offer { flex: 1 1 380px; min-width: 0; border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); }
.offer h3 { margin: 0; font-size: 1.6rem; }
.offer p { margin: 0; color: var(--body); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.offer-blue h3 { color: #fff; }
.offer-blue p { color: #D9E4F5; }
.offer-blue .btn { background: #fff; border-color: #fff; color: var(--blue); }
.offer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: #2A1F00; font-size: .8rem; font-weight: 600; }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg); }
.offer-blue .ticks li::before { border-color: var(--yellow); }
.offer .ticks li::before { border-color: var(--green); }
.offer-blue.offer .ticks li::before { border-color: var(--yellow); }

.faq { padding: 24px 0 88px; }
.faq h2 { text-align: center; margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
details.qa summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font: 500 1.4rem/1 var(--display); color: var(--blue); }
details.qa[open] summary::after { content: "–"; }
details.qa p { margin: 12px 0 0; color: var(--body); }

.cta { padding: 0 0 88px; }
.cta-box { position: relative; overflow: hidden; background: var(--blue-deep); border-radius: 30px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-box h2 { color: #fff; margin: 0 0 10px; }
.cta-box p { margin: 0; font-size: 1.1rem; color: #C9D6EA; }
.cta-copy, .cta-actions { position: relative; }
.cta-copy { max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-art { position: absolute; right: -20px; top: -24px; opacity: .45; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 48px 0; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand p { margin: 0; font-size: .875rem; color: var(--muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: .875rem; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols strong { color: var(--ink); }
.footer-cols a { color: var(--body); text-decoration: none; }
.footer-cols a:hover { color: var(--blue); }
.footer-row { border-top: 1px solid var(--line-2); padding: 18px 0; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ----------------------------------------------------------- product page */
.product-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--accent-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.product-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.product-grid > div { flex: 1 1 480px; min-width: 0; }
.product-grid h1 { margin-bottom: 12px; }
.product-grid .ticks { margin: 20px 0; }
.demo-box { flex: 1 1 340px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 24px 50px -32px rgba(16,26,46,.4); position: sticky; top: 96px; }
.demo-box h2 { font-size: 1.35rem; margin: 0 0 6px; }
.logins { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 14px 0 20px; }
.logins th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.logins td { padding: 9px 4px; border-bottom: 1px solid var(--line-2); word-break: break-all; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 40px 0 0; }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
#hosted, #self-hosted { padding-top: 64px; }
.plans { display: flex; flex-wrap: wrap; gap: 20px; }
.plan { position: relative; flex: 1 1 280px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plan .ticks { flex: 1; margin: 14px 0 18px; }
.plan-featured { border: 2px solid var(--accent); box-shadow: 0 24px 50px -32px rgba(16,26,46,.45); }
.plan-featured .badge { position: absolute; top: -13px; left: 24px; }
.plan-quiet { background: var(--surface-2); }
.plan-price { font: 700 2.4rem/1.1 var(--display); color: var(--ink); margin: 0; }
.per { font: 500 1rem var(--sans); color: var(--muted); margin-left: 2px; }
.trial { color: var(--green); font-weight: 600; margin: 2px 0 0; }
.sub-hint { margin: -8px 0 14px; word-break: break-all; }
.sub-hint code { color: var(--ink); }

/* -------------------------------------------------------- account & admin */
.empty { border: 1px dashed #D5D2C8; border-radius: var(--radius); padding: 40px; text-align: center; background: var(--surface); }
.license, .service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 18px 0; position: relative; overflow: hidden; }
.license::before, .service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.license-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.license h2, .service h2 { font-size: 1.4rem; margin: 0; }
.service-url { font: 500 1rem var(--mono); word-break: break-all; margin: 6px 0 0; color: var(--blue); }
.service-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0 16px; }
.keyline { margin: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.key { font-size: 1.05rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; user-select: all; word-break: break-all; }
.downloads, .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.domains { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.domain-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 4px 0; }
.notice { border-radius: 14px; padding: 12px 16px; background: var(--soft-yellow); color: #4D3800; font-size: .92rem; margin: 14px 0; }
.status { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }
.status-active, .status-paid { color: var(--ok); background: var(--soft-green); border-color: #CFE5D8; }
.status-trialing, .status-pending { color: var(--blue); background: var(--soft-blue); border-color: #D6E1F1; }
.status-past_due, .status-unpaid { color: #6B4E00; background: var(--soft-yellow); border-color: #F3E2A8; }
.status-revoked, .status-refunded, .status-disputed, .status-suspended, .status-failed, .status-canceled { color: var(--bad); background: #FDF0EF; border-color: #F2D2CF; }

.totals { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0 24px; }
.total { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.total strong { font: 700 1.7rem var(--display); color: var(--ink); }
.grant { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 20px; }
.grant summary { cursor: pointer; font-weight: 600; }
.grant-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; align-items: end; margin-top: 14px; }
.grant-form label { font-size: .85rem; color: var(--muted); }
.grant-form .btn { margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data th, .data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; vertical-align: top; }
.data th { font-weight: 500; color: var(--muted); background: var(--surface-2); }
.inline-confirm { display: inline-flex; gap: 6px; align-items: center; }
.inline-confirm input { margin: 0; min-height: 34px; padding: 4px 8px; width: 150px; font-size: .8rem; }

.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 40px; }
  .hero-visual { padding-left: 0; }
  .float-card { position: static; margin-top: 14px; }
  .demo-box { position: static; }
  .nav { gap: 6px 18px; }
}
@media (max-width: 560px) {
  .nav > a:not(.btn):not([href*="login"]):not([href*="account"]):not([href*="admin"]) { display: none; }
  .header-row { flex-wrap: nowrap; gap: 12px; }
  .nav { flex-wrap: nowrap; gap: 14px; }
  .nav a.btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
  .nav a { white-space: nowrap; }
}
.show-sm { display: none; }
@media (max-width: 420px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 380px) { .nav > a[href*="login"] { display: none; } }
