/* 52LIFT: a quiet architectural palette, six clear starting points. */
:root {
  color-scheme: light dark;
  --blue: #15458d;
  --blue-strong: #0c326c;
  --blue-soft: #eaf1fb;
  --ink: #172638;
  --muted: #627185;
  --line: #dce3ec;
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --viewer: #e8edf2;
  --diagram: #eef3f9;
  --grid-line: rgba(21, 69, 141, .055);
  --feature-line: #87a2c7;
  --focus: #3d75c7;
  --card-shadow: 0 12px 30px rgba(31, 46, 67, .065);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
::selection { color: var(--blue-strong); background: var(--blue-soft); }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.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; top: 12px; left: 12px; z-index: 30; padding: 10px 20px; color: #fff; background: #0c326c; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.arrow-right { --icon: url("./assets/icon-arrow-right.svg"); }
.arrow-down { --icon: url("./assets/icon-arrow-down.svg"); }
.arrow-up-right { --icon: url("./assets/icon-arrow-right.svg"); transform: rotate(-45deg); }
.cube { --icon: url("./assets/icon-cube.svg"); }
.ruler { --icon: url("./assets/icon-pencil-ruler.svg"); }
.columns { --icon: url("./assets/icon-columns.svg"); }
.clipboard { --icon: url("./assets/icon-clipboard-text.svg"); }
.blueprint { --icon: url("./assets/icon-blueprint.svg"); }
.house { --icon: url("./assets/icon-house.svg"); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-wordmark { color: var(--blue); font-size: 28px; font-weight: 750; letter-spacing: -.04em; }
.brand-wordmark > span { font-weight: 500; letter-spacing: .025em; }
.brand-company { color: var(--blue); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.brand-description { padding-left: 26px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 13px; transition: color .2s; }
.nav-link:hover { color: var(--blue); }
.start-link { color: var(--blue); font-weight: 600; }
.nav-count { display: grid; place-items: center; min-width: 23px; height: 20px; padding-inline: 4px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; font-size: 10px; font-variant-numeric: tabular-nums; }
.header-action { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 5px; color: var(--blue); font-size: 12px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.header-action:hover { border-color: var(--blue); background: var(--blue-soft); }
.header-action .icon { width: 16px; height: 16px; }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 64px; padding-block: 42px 40px; }
.hero-copy { padding-block: 10px 22px; animation: rise-in .65s both; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; }
.eyebrow-line { width: 24px; height: 1px; background: currentColor; }
h1 { margin-top: 23px; font-size: clamp(40px, 3.8vw, 54px); font-weight: 650; line-height: 1.32; letter-spacing: -.055em; }
h1 > span { color: var(--blue); }
.hero-description { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 28px; }
.hero-actions > a { flex-shrink: 0; white-space: nowrap; }
.hero-action-hint { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 48px; padding: 0 21px; border-radius: 5px; font-size: 13px; font-weight: 600; transition: transform .2s, background .2s; }
.primary-button { color: #fff; background: #15458d; }
.primary-button:hover { background: #0c326c; transform: translateY(-2px); }
.button:active, .header-action:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; }
.text-link:hover { color: var(--blue); }
.text-link .icon { width: 15px; height: 15px; }
.hero-footnote { display: flex; align-items: center; gap: 17px; margin-top: 32px; }
.footnote-number { color: var(--blue); font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hero-footnote > div { display: grid; gap: 3px; padding-left: 17px; border-left: 1px solid var(--line); }
.hero-footnote strong { font-size: 12px; font-weight: 500; }
.hero-footnote div > span { color: var(--muted); font-size: 10px; }
.hero-visual { min-width: 0; animation: rise-in .75s .08s both; }
.hero-image-wrap { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--viewer); }
.hero-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.image-label { position: absolute; right: 17px; bottom: 16px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; color: #fff; background: rgba(18, 39, 64, .8); font-size: 9px; letter-spacing: .13em; }
.hero-visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 11px; color: var(--muted); font-size: 9px; letter-spacing: .09em; }
.hero-visual figcaption > span:last-child { letter-spacing: .04em; }

.workbench-section { padding-block: 44px 26px; background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
h2 { margin-top: 9px; font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -.045em; }
.heading-dot { color: var(--blue); }
.section-description { flex: 0 0 auto; color: var(--muted); font-size: 11px; line-height: 1.95; text-align: right; }
.section-description .icon { width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: grid; grid-template-columns: 136px minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: transform .25s cubic-bezier(.2,.65,.3,1), border-color .25s, box-shadow .25s; }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--card-shadow); }
.tool-card:active { transform: translateY(-1px); }
.tool-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 22px 16px; color: var(--blue); background-color: var(--diagram); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 18px 18px; border-right: 1px solid var(--line); }
.tool-number { position: absolute; top: 17px; left: 17px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tool-illustration { display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--feature-line); border-radius: 12px; background: var(--diagram); transform: rotate(-8deg); transition: transform .3s cubic-bezier(.2,.65,.3,1); }
.tool-illustration .icon { width: 42px; height: 42px; transform: rotate(8deg); transition: transform .3s; }
.tool-card:hover .tool-illustration { transform: rotate(0deg) translateY(-3px); }
.tool-card:hover .tool-illustration .icon { transform: rotate(0deg); }
.tool-code { position: absolute; bottom: 19px; left: 0; width: 100%; text-align: center; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 9px; letter-spacing: .08em; }
.tool-content { display: flex; flex-direction: column; min-width: 0; padding: 23px 25px 17px; }
.tool-card-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tool-kicker { color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.tool-domain { color: var(--muted); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; }
.tool-card h3 { margin-top: 10px; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.03em; }
.tool-description { flex: 1; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.tool-spec { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 16px 17px; }
.tool-spec > span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.tool-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 600; }
.card-arrow { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); transition: color .2s, background .2s, border-color .2s; }
.card-arrow .icon { width: 15px; height: 15px; }
.tool-card:hover .card-arrow, .tool-card:focus-visible .card-arrow { color: #fff; background: #15458d; border-color: #15458d; }
.workspace-note { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 60px; padding-top: 12px; color: var(--muted); font-size: 11px; }
.note-line { width: 17px; height: 1px; flex: 0 0 auto; background: var(--muted); }
.workspace-note p > span { margin-left: 10px; }

.workflow { padding-block: 52px 56px; }
.workflow-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.workflow-intro h2 { font-size: 25px; }
.workflow-intro > p { color: var(--muted); font-size: 12px; text-align: right; }
.workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 18px; }
.step-number { color: var(--blue); font-size: 10px; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.workflow-list h3 { margin-top: 14px; font-size: 14px; font-weight: 600; }
.workflow-list p { flex: 1; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.workflow-list a { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; min-height: 44px; margin-top: 9px; color: var(--blue); font-size: 11px; }
.workflow-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.workflow-list .icon { width: 14px; height: 14px; }
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.footer-brand { color: var(--blue); font-size: 15px; font-weight: 650; letter-spacing: .04em; }
.footer-brand > span { display: inline-block; margin-left: 23px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-contact, .back-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 11px; }
.back-top .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.footer-contact:hover, .back-top:hover { color: var(--blue); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 16px 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-legal a:hover { color: var(--blue); }
.footer-registrations { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; }
.footer-registrations > a { display: inline-flex; align-items: center; white-space: nowrap; }
.police-registration { gap: 6px; }
.police-registration img { display: block; flex: 0 0 auto; width: 20px; height: 20px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1199px) {
  .shell { width: calc(100% - 72px); }
  .brand-description { display: none; }
  .hero { gap: 36px; padding-block: 34px; }
  h1 { font-size: 46px; }
  .hero-actions { gap: 20px; }
  .hero-footnote { margin-top: 25px; }
  .tool-card { grid-template-columns: 106px minmax(0, 1fr); }
  .tool-content { padding: 21px 20px 15px; }
  .tool-illustration { width: 65px; height: 65px; }
  .tool-illustration .icon { width: 36px; height: 36px; }
  .tool-card h3 { font-size: 19px; }
  .workflow-list { gap: 24px; }
}

@media (max-width: 991px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 22px; }
  .hero { gap: 28px; }
  h1 { font-size: 40px; }
  .hero-description { font-size: 12px; }
  .hero-actions { flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; }
  .hero-footnote { margin-top: 20px; }
  .hero-footnote div > span { font-size: 9px; }
  .tool-grid { gap: 16px; }
  .tool-card { grid-template-columns: 86px minmax(0, 1fr); }
  .tool-visual { padding-inline: 10px; }
  .tool-number { left: 11px; gap: 5px; }
  .tool-illustration { width: 57px; height: 57px; border-radius: 10px; }
  .tool-illustration .icon { width: 32px; height: 32px; }
  .tool-code { font-size: 8px; letter-spacing: 0; }
  .tool-content { padding-inline: 17px; }
  .tool-domain { font-size: 9px; }
  .tool-card h3 { font-size: 18px; }
  h2 { font-size: 25px; }
  .workflow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
}

@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 16px; }
  .header-nav { gap: 22px; }
  .header-action { display: none; }
  .brand-wordmark { font-size: 25px; }
  .brand { gap: 8px; }
  .brand-company { font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .hero-copy { padding: 0; }
  h1 { margin-top: 18px; font-size: clamp(38px, 7.8vw, 49px); }
  .hero-description { margin-top: 16px; font-size: 13px; }
  .hero-actions { gap: 10px 23px; margin-top: 23px; }
  .hero-footnote { margin-top: 26px; }
  .hero-visual { width: 100%; }
  .hero-image-wrap { border-radius: 6px; }
  .hero-visual figcaption { margin-top: 9px; font-size: 8px; }
  .workbench-section { padding-block: 32px 17px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .eyebrow { font-size: 9px; letter-spacing: .1em; }
  h2 { font-size: 24px; }
  .section-description { margin-top: 11px; text-align: left; font-size: 11px; }
  .section-description br { display: none; }
  .section-description .icon { margin-left: 7px; }
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card { grid-template-columns: 96px minmax(0, 1fr); border-radius: 6px; }
  .tool-content { padding: 20px 22px 15px; }
  .tool-number { top: 16px; left: 13px; font-size: 11px; gap: 7px; }
  .tool-illustration { width: 62px; height: 62px; }
  .tool-illustration .icon { width: 35px; height: 35px; }
  .tool-code { bottom: 16px; font-size: 8px; }
  .tool-card-top { gap: 3px 10px; }
  .tool-domain { font-size: 9px; }
  .tool-card h3 { margin-top: 8px; font-size: 20px; }
  .tool-description { margin-top: 8px; font-size: 12px; }
  .tool-spec { margin-block: 14px; }
  .tool-card-bottom { font-size: 12px; }
  .workspace-note { align-items: flex-start; min-height: auto; padding-top: 20px; font-size: 10px; }
  .note-line { margin-top: 8px; width: 13px; }
  .workspace-note p > span { display: block; margin-left: 0; }
  .workflow { padding-block: 35px 38px; }
  .workflow-intro { display: block; margin-bottom: 25px; }
  .workflow-intro h2 { font-size: 24px; }
  .workflow-intro > p { margin-top: 10px; font-size: 11px; text-align: left; }
  .workflow-intro > p br { display: none; }
  .workflow-list { column-gap: 24px; }
  .workflow-list h3 { font-size: 13px; }
  .footer-main { min-height: 92px; }
  .footer-brand > span { display: block; margin: 4px 0 0; font-size: 10px; }
  .footer-contact, .back-top { font-size: 10px; }
  .footer-legal { gap: 5px; font-size: 9px; }
}

@media (max-width: 479px) {
  .header-inner { flex-wrap: wrap; gap: 0 16px; padding-block: 10px 2px; }
  .header-nav { width: 100%; margin-left: 0; gap: 22px; }
  .nav-link { font-size: 11px; gap: 6px; }
  .nav-count { min-width: 20px; height: 19px; font-size: 9px; }
  .button { min-height: 46px; padding-inline: 17px; gap: 17px; font-size: 12px; }
  .hero-actions { gap: 8px 17px; }
  .text-link { gap: 6px; font-size: 11px; }
  .footnote-number { font-size: 30px; }
  .hero-footnote { gap: 14px; }
  .hero-footnote > div { padding-left: 14px; }
  .hero-footnote strong { font-size: 11px; }
  h2, .workflow-intro h2 { font-size: 21px; }
  .tool-card { grid-template-columns: 74px minmax(0, 1fr); }
  .tool-number { left: 10px; gap: 4px; font-size: 10px; }
  .tool-illustration { width: 47px; height: 47px; border-radius: 9px; }
  .tool-illustration .icon { width: 28px; height: 28px; }
  .tool-code { font-size: 7px; }
  .tool-content { padding: 18px 16px 14px; }
  .tool-card h3 { font-size: 18px; }
  .tool-description { font-size: 11px; }
  .tool-spec { gap: 5px; }
  .tool-spec > span { padding: 3px 5px; font-size: 8px; }
  .tool-kicker { font-size: 9px; }
  .tool-card-bottom { font-size: 11px; }
  .workflow-list { grid-template-columns: 1fr; gap: 18px; }
  .workflow-list li { padding-top: 16px; }
  .workflow-list h3 { margin-top: 9px; font-size: 14px; }
  .workflow-list p { margin-top: 5px; font-size: 12px; }
  .workflow-list a { margin-top: 3px; font-size: 12px; }
  .footer-legal { display: grid; padding-block: 15px 20px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #8ab1e7;
    --blue-strong: #bbd7fc;
    --blue-soft: #1b304a;
    --ink: #eef4fb;
    --muted: #a6b4c4;
    --line: #2d3b4d;
    --surface: #141e2b;
    --surface-alt: #0e1722;
    --viewer: #182535;
    --diagram: #1a293d;
    --grid-line: rgba(138, 177, 231, .055);
    --feature-line: #506b8d;
    --focus: #8ab1e7;
    --card-shadow: 0 12px 30px rgba(5, 13, 24, .22);
  }
  .hero-image { filter: brightness(.86); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tool-card:hover, .tool-card:focus-visible, .primary-button:hover, .tool-card:hover .tool-illustration { transform: none; }
  .tool-illustration, .tool-illustration .icon { transform: none; }
}
