@font-face {
  font-family: KInter;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #08090a;
  --surface: #101113;
  --text: #f7f8f8;
  --body: #b8bbc4;
  --muted: #9296a1;
  --line: #26282d;
  --line-soft: #222428;
  --accent: #a5aaff;
  --sans: KInter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --margin: clamp(24px, 5.55vw, 80px);
}

* { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #a5aaff; outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 90px; }

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 14px; color: #08090a; background: #fff; border-radius: 6px; }
.skip-link:focus { transform: none; }
.page-width { width: min(calc(100% - 2 * var(--margin)), 1280px); margin-inline: auto; }
.frame-width { width: min(calc(100% - 2 * max(16px, calc(var(--margin) - 20px))), 1320px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #1c1e21; background: rgba(8, 9, 10, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 71px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; max-width: 100%; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 31px; }
.desktop-nav a, .site-footer nav a, .site-footer nav button { color: var(--muted); font-size: 13px; transition: color 140ms ease; }
.desktop-nav a:hover, .site-footer nav a:hover, .site-footer nav button:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .button { min-height: 34px; padding-inline: 13px; }
.mobile-toggle, .mobile-nav { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 550; line-height: 1.25; white-space: nowrap; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.button-light, .button-primary { background: #edeef0; color: #121315; border-color: #edeef0; }
.button-light:hover, .button-primary:hover { background: #fff; border-color: #fff; }
.button-light .icon, .button-primary .icon { width: 15px; height: 15px; }
.button-outline { background: #181a1e; color: #d4d7df; border-color: #2b2d34; }
.button-outline:not(:disabled):hover { background: #23252c; border-color: #3a3d47; }

.intro { padding-top: clamp(100px, 8.4vw, 122px); padding-bottom: 45px; }
.product-name { display: flex; align-items: center; gap: 9px; margin-bottom: 21px; color: #bbc0cb; font-size: 14px; font-weight: 510; }
.product-mark { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #a0a6ff; transform: rotate(-13deg); }
h1 { font-size: clamp(50px, 5.35vw, 77px); line-height: 1.035; font-weight: 525; letter-spacing: -.059em; }
.hero-description { max-width: 630px; margin-top: 23px; color: var(--body); font-size: 18px; line-height: 1.55; letter-spacing: -.015em; }
.hero-action { margin-top: 22px; }

.workspace { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); padding: 7px; border: 1px solid #303239; border-top-color: #3b3e47; border-radius: 14px; background: linear-gradient(142deg, #1a1b1f, #111214 50%); box-shadow: 0 18px 75px -25px #000; }
.work-sidebar { display: flex; flex-direction: column; padding: 13px 8px 13px 7px; }
.work-brand { display: flex; align-items: center; gap: 9px; margin: 0 6px; height: 27px; font-size: 13px; font-weight: 560; color: #dcdee3; white-space: nowrap; }
.work-symbol { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #292a38; border: 1px solid #383b54; }
.work-symbol img { display: block; }
.side-label { color: var(--muted); font-size: 11px; font-weight: 510; }
.work-sidebar > .side-label { margin: 27px 7px 6px; }
.work-views { display: grid; gap: 2px; }
.work-views button { display: flex; gap: 8px; align-items: center; min-height: 34px; padding: 6px 8px; background: none; border: 1px solid transparent; border-radius: 6px; text-align: left; color: #b5b9c4; font-size: 12px; transition: background-color 140ms ease, color 140ms ease; }
.work-views button:hover { background: #22242a; color: var(--text); }
.work-views button[aria-pressed="true"] { background: #282b3d; border-color: #303448; color: #e0e1ff; }
.work-views button[aria-pressed="true"] .icon { color: var(--accent); }
.work-route { display: grid; gap: 12px; margin: auto 8px 4px; padding-top: 33px; }
.work-route span:not(.side-label) { display: flex; align-items: center; gap: 8px; color: #b1b5bf; font-size: 12px; }
.source-icon { color: #a7a9fb; }
.destination-icon { color: #83bda0; }

.sheet-window { min-width: 0; background: var(--surface); border: 1px solid #2a2c32; border-radius: 9px; }
.sheet-titlebar { display: flex; justify-content: space-between; align-items: center; min-height: 53px; gap: 12px; padding: 0 19px; border-bottom: 1px solid var(--line-soft); }
.work-breadcrumb, .crumb-product, .demo-tag { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.crumb-product { color: var(--muted); font-size: 12px; }
.crumb-product .icon { width: 13px; height: 13px; color: #8e929f; }
.sheet-titlebar h2 { color: #e4e6ec; font-size: 13px; font-weight: 560; }
.demo-tag { gap: 7px; color: #baadd9; font-size: 11px; font-weight: 540; }
.status-dot { display: inline-block; flex: 0 0 auto; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: #a0a6ff; }
.demo-tag .status-dot { background: #ad98d7; }

.ledger-summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 17px 19px; }
.metric-scope { margin-bottom: 10px; color: #a3a7b4; font-size: 11px; font-weight: 520; }
.ledger-metrics { display: flex; align-items: center; }
.ledger-metrics > div { min-width: 115px; padding: 0 21px; border-right: 1px solid var(--line); }
.ledger-metrics > div:first-child { min-width: 150px; padding-left: 0; }
.ledger-metrics > div:last-child { padding-right: 0; border-right: 0; }
.ledger-metrics span { display: block; color: #a3a7b4; font-size: 11px; line-height: 1.3; }
.ledger-metrics strong { display: block; margin-top: 6px; color: #eff0f5; font-size: 27px; line-height: 1.17; font-weight: 510; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }

.ledger-run { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; white-space: nowrap; }
.ledger-run > span { font-size: 11px; color: var(--muted); }
.button-sync { min-height: 34px; padding: 7px 11px; background: #d9dcff; border-color: #e2e4ff; color: #161832; }
.button-sync:not(:disabled):hover { background: #eef0ff; border-color: #fff; }
.button-sync:disabled .icon { animation: rotate-sync 240ms ease both; }
@keyframes rotate-sync { to { transform: rotate(180deg); } }

.sheet-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 55px; padding: 7px 19px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.currency-tabs { display: flex; gap: 3px; }
.currency-tabs button { min-height: 31px; padding: 4px 8px; background: transparent; color: #aeb2bf; border: 1px solid transparent; border-radius: 5px; font-size: 11px; white-space: nowrap; transition: background-color 140ms ease, color 140ms ease; }
.currency-tabs button:hover { color: var(--text); background: #1a1c21; }
.currency-tabs button[aria-pressed="true"] { background: #24262d; color: #dedfe8; border-color: #30323b; }
.sheet-tools { display: flex; align-items: center; gap: 7px; }
.sheet-tools .button { min-height: 32px; padding: 5px 9px; border-radius: 5px; font-size: 11px; }
.sheet-tools .icon { width: 14px; height: 14px; }
.search-field { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 32px; padding: 0 7px; color: var(--muted); background: #0e0f11; border: 1px solid #2b2d34; border-radius: 5px; }
.search-field:focus-within { border-color: #a5aaff; }
.search-field input { width: clamp(108px, 11vw, 164px); min-width: 0; padding: 5px 0; border: 0; background: none; color: var(--text); font-size: 11px; }
.search-field input::placeholder { color: #989ca8; }
.search-field input:focus-visible { outline: 0; }

.table-scroll { overflow: auto; scrollbar-color: #494b56 #151619; }
.table-scroll:focus-visible { outline-offset: -2px; }
table { width: 100%; min-width: 755px; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
th, td { padding: 0 10px; }
th:first-child, td:first-child { padding-left: 19px; }
th:last-child, td:last-child { padding-right: 19px; }
th { height: 34px; color: #a0a4b1; background: #141519; font-size: 11px; font-weight: 520; }
td { height: 42px; color: #d2d5de; border-top: 1px solid #222429; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: #15171b; }
td.muted { color: #a0a4b1; }
th.money, td.money, th.rate, td:nth-child(7) { text-align: right; }
td:nth-child(6) { font-weight: 590; color: #eceef5; }
td:nth-child(7), th.rate { padding-right: 16px; }
.transaction-id { color: #bdc2f1; font: 12px var(--mono); }
.transaction-link { display: inline-flex; align-items: center; min-height: 29px; margin-left: -4px; padding: 0 4px; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; }
.transaction-link:hover { background: #272b3e; color: #e1e3ff; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; color: #b5bbeb; font-size: 11px; }
.status-badge::before { content: ''; width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: currentColor; }
.status-badge.review { color: #e7bb7c; }
.sheet-statusbar { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-top: 1px solid var(--line-soft); border-radius: 0 0 9px 9px; background: #131417; color: #aaadba; font-size: 11px; }
.sync-message { flex: 1; display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.sync-message .status-dot { align-self: flex-start; margin-top: .52em; }
#row-count { margin-left: auto; white-space: nowrap; }
#reset-demo { padding: 6px 4px; background: none; border: 0; border-radius: 4px; color: #bfc2cc; font-size: 11px; white-space: nowrap; }
#reset-demo:hover { color: #fff; }
.ledger-caption { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 22px; row-gap: 5px; margin: 13px 20px 0; color: var(--muted); font-size: 12px; }
.table-hint { display: none; }
.table-hint .icon { width: 13px; height: 13px; }

.workflow { padding-block: clamp(100px, 10.6vw, 154px) clamp(80px, 9vw, 130px); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 40px; margin-bottom: 37px; }
.section-heading > p { max-width: 475px; margin-bottom: 5px; color: var(--body); font-size: 19px; line-height: 1.55; letter-spacing: -.017em; }
.section-label { margin-bottom: 17px; color: #aeb1be; font-size: 13px; font-weight: 550; }
.workflow h2, .pricing h2, .faq h2 { font-size: clamp(40px, 4.15vw, 60px); font-weight: 515; line-height: 1.03; letter-spacing: -.055em; }

.trace { overflow: clip; border: 1px solid #32343c; border-radius: 11px; background: #111215; }
.trace-header, .trace-note { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 19px; background: #15161a; font-size: 12px; color: #b6bac6; }
.trace-header { border-bottom: 1px solid #292b31; }
.trace-header > span:first-child { display: flex; align-items: center; gap: 8px; }
.trace-id { color: #9ea3b4; font: 11px var(--mono); }
.trace-stages { display: grid; grid-template-columns: 1fr 1.05fr 1fr; }
.trace-stage { position: relative; padding: 25px 19px 19px; }
.trace-stage + .trace-stage { border-left: 1px solid #292b31; }
.trace-stage:nth-child(2) { background: linear-gradient(145deg, #1d1e2b, #151622 70%); }
.stage-label { display: flex; align-items: center; gap: 8px; margin-bottom: 21px; color: #e2e4ed; font-size: 13px; font-weight: 560; }
.process-icon { color: #b6b9ff; }
.trace-fields > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid #2a2c34; font-size: 12px; }
.trace-fields dt { color: #aaaebe; }
.trace-fields dd { color: #e0e3ec; font: 12px var(--mono); white-space: nowrap; text-align: right; }
.trace-fields .stage-result { color: #c8ccff; }
.trace-note { justify-content: flex-start; border-top: 1px solid #292b31; }
.trace-note .icon { color: #a5aaff; }
.workflow-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 73px); margin-top: 30px; }
.workflow-notes h3 { margin-bottom: 6px; color: #dadde6; font-size: 14px; font-weight: 580; }
.workflow-notes p { max-width: 305px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pricing { border-block: 1px solid #24262c; background: #0d0e11; }
.pricing-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 40px; padding-block: clamp(68px, 7.8vw, 112px); }
.pricing-description { margin-top: 20px; color: var(--body); font-size: 17px; }
.price-plan { align-self: center; }
.price { display: flex; align-items: baseline; gap: 9px; color: #b8bbc6; font-size: 16px; }
.price strong { color: var(--text); font-size: 60px; font-weight: 515; line-height: 1; letter-spacing: -.064em; }
.price-detail { max-width: 340px; margin: 16px 0 22px; color: var(--body); }
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; padding-block: clamp(75px, 9vw, 130px); }
.faq h2 { font-size: clamp(38px, 3.6vw, 52px); }
.faq-list details { border-top: 1px solid #292b32; }
.faq-list details:last-child { border-bottom: 1px solid #292b32; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 58px; gap: 16px; padding: 12px 0; color: #e4e7f0; font-weight: 510; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #fff; }
.faq-list summary .icon { color: var(--muted); transition: transform 150ms ease; }
.faq-list details[open] .icon { transform: rotate(45deg); }
.faq-list p { max-width: 525px; padding-bottom: 18px; color: var(--body); line-height: 1.65; }
.site-footer { border-top: 1px solid #222429; }
.footer-inner { display: flex; align-items: center; min-height: 103px; gap: 24px; padding-block: 22px; }
.footer-inner > p { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-footer nav button { padding: 0; border: 0; background: none; }

dialog { width: min(100% - 32px, 478px); max-height: calc(100% - 36px); margin: auto; padding: 0; overflow: auto; background: #131418; color: var(--text); border: 1px solid #363945; border-radius: 13px; box-shadow: 0 24px 100px #000b; }
dialog::backdrop { background: #050608b8; backdrop-filter: blur(5px); }
.dialog-inner { position: relative; padding: 29px; }
.dialog-close { position: absolute; inset: 12px 12px auto auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: #1e2026; color: #c8cbd4; border: 1px solid #30323a; border-radius: 7px; font-size: 21px; line-height: 1; }
.dialog-close:hover { background: #313440; color: #fff; }
.dialog-inner h2 { font-size: 37px; line-height: 1.05; font-weight: 530; letter-spacing: -.045em; }
.dialog-inner > p:not(.section-label) { margin-top: 12px; color: var(--body); }
.dialog-inner .section-label { display: block; margin-bottom: 12px; }
.dialog-inner .trace-fields { margin-top: 21px; }
.dialog-inner .detail-note { padding: 9px 11px; border: 1px solid #3f342b; border-radius: 6px; color: #e7bb7c !important; background: #211b17; font-size: 12px; }
.dialog-inner .detail-note:empty, .dialog-inner .contact-result:empty { display: none; }
#contact-form { display: grid; gap: 13px; margin-top: 17px; }
#contact-form label { font-weight: 510; font-size: 13px; }
#contact-form input, #contact-form textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #373944; border-radius: 6px; background: #0b0c0e; color: var(--text); font-weight: 400; }
#contact-form textarea { resize: vertical; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #9599a4; }
#contact-form .muted, #contact-form .form-note { color: var(--muted); font-weight: 400; }
#contact-form .form-note, .contact-result { font-size: 12px; }
#contact-draft { margin-top: 11px; }

@media (max-width: 1050px) {
  .workspace { grid-template-columns: 155px minmax(0, 1fr); }
  .work-brand { font-size: 12px; }
  .ledger-metrics > div { min-width: 88px; padding-inline: 14px; }
  .ledger-metrics > div:first-child { min-width: 130px; }
  .table-hint { display: block; }
}

@media (max-width: 780px) {
  .workspace { grid-template-columns: minmax(0, 1fr); padding: 6px; border-radius: 12px; }
  .work-sidebar { flex-direction: row; justify-content: space-between; align-items: center; gap: 5px; padding: 0 1px 6px; }
  .work-brand { margin-inline: 3px; }
  .work-sidebar > .side-label, .work-route { display: none; }
  .work-views { display: flex; }
  .work-views button { gap: 5px; min-height: 37px; padding-inline: 7px; white-space: nowrap; }
  .work-views button .icon { width: 14px; height: 14px; }
  .section-heading > p { font-size: 17px; }
  .trace-stages { grid-template-columns: minmax(0, 1fr); }
  .trace-stage + .trace-stage { border-top: 1px solid #292b31; border-left: 0; }
  .trace-stage { padding: 17px 16px 11px; }
  .stage-label { margin-bottom: 13px; }
  .trace-fields > div { padding-block: 8px; }
}

@media (max-width: 640px) {
  [id] { scroll-margin-top: 76px; }
  .header-inner { min-height: 63px; justify-content: space-between; gap: 10px; }
  .header-inner .brand img { width: 111px; height: auto; }
  .header-actions { gap: 6px; }
  .header-actions .button { min-height: 34px; padding-inline: 9px; font-size: 12px; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: grid; place-items: center; width: 36px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; }
  .mobile-toggle .icon { grid-area: 1 / 1; width: 22px; height: 22px; }
  .mobile-toggle .close-icon, .mobile-toggle[aria-expanded="true"] .menu-icon { opacity: 0; }
  .mobile-toggle[aria-expanded="true"] .close-icon { opacity: 1; }
  .mobile-nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 6px var(--margin) 13px; background: #111215; border-bottom: 1px solid #30323a; }
  .mobile-nav a { padding: 11px 0; color: #d7dae3; border-bottom: 1px solid #24262d; font-size: 14px; }
  .mobile-nav a:last-child { border-bottom: 0; }

  .intro { padding-top: clamp(71px, 19vw, 112px); padding-bottom: 37px; }
  .product-name { margin-bottom: 17px; font-size: 13px; }
  h1 { font-size: clamp(33px, 10vw, 52px); line-height: 1.065; letter-spacing: -.052em; }
  .desktop-break { display: none; }
  .hero-description { margin-top: 18px; font-size: 16px; line-height: 1.55; }
  .hero-action { min-height: 41px; margin-top: 21px; }

  .sheet-titlebar { min-height: 43px; padding-inline: 11px; }
  .crumb-product { display: none; }
  .ledger-summary { flex-wrap: wrap; align-items: stretch; gap: 14px; padding: 15px 11px; }
  .ledger-summary > div { width: 100%; }
  .ledger-metrics > div, .ledger-metrics > div:first-child { flex: 1 1 0%; min-width: 0; padding-inline: 10px; }
  .ledger-metrics > div:first-child { flex-grow: 1.35; padding-left: 0; }
  .ledger-metrics > div:last-child { padding-right: 0; }
  .ledger-metrics span { min-height: 26px; display: flex; align-items: baseline; font-size: 11px; }
  .ledger-metrics strong { margin-top: 2px; font-size: clamp(23px, 6.5vw, 28px); }
  .ledger-run { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .ledger-run > span { white-space: normal; text-align: right; font-size: 10px; }
  .button-sync { min-height: 38px; font-size: 12px; }
  .sheet-toolbar { flex-wrap: wrap; gap: 6px; padding: 7px 11px; }
  .currency-tabs button, .sheet-tools .button, .search-field { min-height: 36px; }
  .sheet-tools { width: 100%; }
  .search-field { flex: 1; }
  .search-field input { flex: 1; width: 0; font-size: 16px; }
  .search-field input::placeholder { font-size: 12px; }
  table { min-width: 742px; }
  th:first-child, td:first-child { padding-left: 11px; }
  .transaction-link { min-height: 39px; }
  .sheet-statusbar { flex-wrap: wrap; gap: 6px 11px; padding: 7px 11px; }
  .sync-message { flex-basis: 100%; }
  #row-count { margin-left: 0; }
  #reset-demo { margin-left: auto; min-height: 33px; }
  .ledger-caption { margin-inline: 5px; gap: 6px 15px; }
  .section-heading, .pricing-inner, .faq { grid-template-columns: 1fr; gap: 19px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading > p { margin-bottom: 0; }
  .workflow { padding-block: 85px 75px; }
  .workflow-notes { grid-template-columns: 1fr; gap: 0; margin-top: 21px; }
  .workflow-notes > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .workflow-notes > div:last-child { border-bottom: 0; }
  .workflow-notes p { max-width: 100%; }
  .pricing-inner { gap: 29px; }
  .pricing-description { margin-top: 15px; font-size: 16px; }
  .faq { gap: 28px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px 17px; min-height: 0; }
  .footer-inner > p { font-size: 12px; }
  .site-footer nav { flex-basis: 100%; margin-left: 0; gap: 18px; }
  .site-footer nav a, .site-footer nav button { padding-block: 8px; }
  .dialog-inner { padding: 23px; }
  #contact-form input, #contact-form textarea { font-size: 16px; }
}

@media (max-width: 370px) {
  .work-brand { font-size: 0; gap: 0; }
  .work-brand .work-symbol { width: 26px; }
  .ledger-metrics > div, .ledger-metrics > div:first-child { padding-right: 7px; }
  .ledger-metrics > div:nth-child(n+2) { padding-left: 7px; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro { animation: intro-visible 500ms cubic-bezier(.24, .75, .28, 1); }
  .workspace { animation: workspace-visible 630ms cubic-bezier(.24, .75, .28, 1); }
  .table-scroll[data-synced] tbody tr { animation: settle-row 220ms ease-out; }
}
@keyframes intro-visible { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes workspace-visible { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle-row { from { background: #26293d; } to { background: transparent; } }

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

/* Nonvisual aliases preserve earlier local deep links. */
.legacy-anchor{display:block;height:0;scroll-margin-top:90px}
