@font-face { font-family: "Hanken Grotesk"; src: url(hanken.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #0b1526;
  --ink-2: #142340;
  --ink-line: #2b3d60;
  --on-ink: #f4f7fd;
  --on-ink-2: #b4c1d8;
  --sky: #8fb0ff;
  --blue: #2150e0;
  --soft: #f1f4fa;
  --line: #d6deeb;
  --muted: #4a5870;
  --good: #4fdc9f;
  --warn: #ffbd59;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 1.0625rem/1.55 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.9vw, 3.25rem); line-height: 1.06; }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
b { font-weight: 600; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.night a:focus-visible, .night summary:focus-visible { outline-color: var(--sky); }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: max(20px, 4vw); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 14px; z-index: 20; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 8px; }

.night { background: var(--ink); color: var(--on-ink); }
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.lg { fill: var(--blue); } .lg2 { fill: #bcd0ff; }
.wide-nav { display: flex; align-items: center; gap: 34px; }
.wide-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.wide-nav a:not(.button) { color: var(--on-ink-2); }
.wide-nav a:not(.button):hover { color: #fff; }
.menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 28px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: background 0.15s; }
.button:hover { background: #d9e4ff; }
.button.small { min-height: 44px; padding: 6px 20px; border-radius: 10px; }
.ghost { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 6px; text-decoration-color: var(--sky); }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 6.5vw, 96px) clamp(72px, 8vw, 120px); }
.lead { margin-top: 28px; max-width: 46ch; color: var(--on-ink-2); font-size: 1.25rem; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 38px; }
.panel { padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.panel-head p { font-size: 1.125rem; font-weight: 600; }
.panel-head span { color: var(--on-ink-2); font-size: 0.9375rem; }
.chart { display: block; width: 100%; height: auto; margin: 30px 0 22px; }
.bar { fill: #39507f; } .warm { fill: #a98a5b; } .hot { fill: var(--warn); }
.panel li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 15px; border-top: 1px solid var(--ink-line); line-height: 1.3; }
.panel li:last-child { padding-bottom: 0; }
.panel li b { color: var(--on-ink-2); font-weight: 500; }
.s { width: 10px; height: 10px; border-radius: 50%; }
.good { background: var(--good); } .warn { background: var(--warn); border-radius: 3px; }

.block { padding-block: clamp(72px, 9vw, 128px); }
.block > h2 { max-width: 24ch; }
h1 span { display: block; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
.services article { padding: clamp(24px, 3vw, 44px); border-radius: 24px; background: var(--soft); }
.art { margin-bottom: clamp(28px, 3.4vw, 48px); }
.art svg { display: block; width: 100%; max-width: 300px; height: auto; }
.services p { margin-top: 10px; max-width: 40ch; color: var(--muted); font-size: 1.125rem; }
.services ul { display: grid; gap: 6px; margin-top: 22px; }
.txt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 36px; align-items: start; }
.txt ul { margin-top: 0; padding-top: 4px; }
.services li { position: relative; padding-left: 24px; }
.services li::before { content: ""; position: absolute; left: 2px; top: 0.46em; width: 9px; height: 6px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ln, .gl, .tick, .pulse, .grid { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ln { stroke: #9fb3da; stroke-width: 3; }
.nd { fill: #fff; stroke: #9fb3da; stroke-width: 3; }
.nd.on, .bx.on { fill: var(--blue); stroke: var(--blue); }
.tick { stroke: #fff; stroke-width: 4; }
.bx { fill: #fff; stroke: #9fb3da; stroke-width: 3; }
.gl { stroke: var(--ink); stroke-width: 3; }
.m0 { fill: #d8e2f6; } .m1 { fill: #a3bbf0; } .m2 { fill: #5a80e8; } .m3 { fill: var(--ink); }
.services .t2 { background: var(--ink); color: var(--on-ink); }
.t2 p { color: var(--on-ink-2); }
.services .t2 p { color: var(--on-ink-2); }
.services .t2 li::before { border-color: var(--sky); }
.grid { stroke: var(--ink-line); stroke-width: 1.5; }
.pulse { stroke: var(--sky); stroke-width: 3.5; }
.peak { fill: var(--warn); }

.soft { background: var(--soft); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 56px) clamp(40px, 7vw, 112px); padding-block: clamp(72px, 9vw, 128px); }
.intro { margin-top: 20px; max-width: 38ch; color: var(--muted); font-size: 1.1875rem; }
.ways div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-top: 1px solid #c3cee0; }
.ways div:last-child { border-bottom: 1px solid #c3cee0; }
.ways dt { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.ways dd { color: var(--muted); font-size: 1.125rem; }
.ways b { color: var(--ink); }
.indep { grid-column: 2; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(36px, 4.5vw, 64px); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 30px; border-top: 3px solid var(--line); }
.steps li::before { content: counter(s); display: block; margin-bottom: 14px; color: var(--blue); font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.steps li::after { content: ""; position: absolute; top: -3px; left: 0; width: 56px; height: 3px; background: var(--blue); }
.steps p { margin-top: 8px; max-width: 28ch; color: var(--muted); }

.end { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 112px); align-items: end; padding-block: clamp(72px, 9vw, 128px) 56px; }
.mail { display: inline-block; margin-top: 28px; padding-block: 8px; color: var(--sky); font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; text-underline-offset: 8px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.mail:hover { color: #fff; }
.company { display: grid; gap: 12px; }
.company div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
.company dt { color: var(--on-ink-2); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 28px; padding-block: 24px max(28px, env(safe-area-inset-bottom)); color: var(--on-ink-2); }
.legal a { text-underline-offset: 4px; }

@media (max-width: 1180px) {
  .txt { grid-template-columns: minmax(0, 1fr); }
  .txt ul { margin-top: 20px; }
}
@media (max-width: 940px) {
  .hero, .work, .end { grid-template-columns: minmax(0, 1fr); }
  .indep { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { width: 100%; }
}
@media (max-width: 700px) {
  .wide-nav { display: none; }
  .menu { display: block; }
  .menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 18px; border: 1px solid var(--ink-line); border-radius: 10px; font-weight: 500; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: #fff; color: var(--ink); }
  .menu nav { position: absolute; z-index: 10; top: 72px; left: 20px; right: 20px; display: grid; padding: 8px 20px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
  .menu nav a { display: flex; align-items: center; min-height: 54px; font-size: 1.125rem; font-weight: 500; text-decoration: none; }
  .menu nav a + a { border-top: 1px solid var(--line); }
  .top { min-height: 72px; }
  .hero { gap: 44px; padding-block: 32px 56px; }
  .lead { margin-top: 20px; font-size: 1.1875rem; }
  .actions { margin-top: 28px; }
  .actions .button { width: 100%; }
  .actions .ghost { width: 100%; justify-content: center; }
  .chart { margin: 22px 0 16px; }
  .panel li { gap: 12px; padding-block: 13px; font-size: 1rem; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .art svg { max-width: 190px; }
  .ways div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 20px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding-block: 20px; border-top: 1px solid var(--line); }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 1.875rem; }
  .steps li::after { display: none; }
  .steps p { grid-column: 2; margin-top: 4px; max-width: none; }
  .company div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
