:root {
  --ink: #111214;
  --paper: #f8f9fa;
  --white: #fff;
  --soft: #eef0f2;
  --line: #e1e4e8;
  --muted: #626771;
  --purple: #7614e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }

.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: #121315; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; }
.brand strong { font: 700 1.8rem/1 Caveat, cursive; }
.brand small { margin-top: 4px; font: italic .56rem Playfair Display, serif; opacity: .72; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links > a { position: relative; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 600; text-decoration: none; }
.nav-links > a:not(.quote-link)::after { position: absolute; right: 50%; bottom: -27px; left: 50%; height: 2px; background: var(--purple); content: ""; transition: left .2s, right .2s; }
.nav-links > a:hover, .nav-links > a:focus-visible, .nav-links > a.active { color: #fff; }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after, .nav-links > a.active::after { right: 0; left: 0; }
.quote-link { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.menu-button { display: none; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: transparent; }

.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading h1, .section-heading h2, .why-heading h2 { margin: 0 0 16px; font: 700 clamp(2.65rem, 6vw, 4.8rem)/.98 Playfair Display, Georgia, serif; letter-spacing: -.045em; }
.section-heading h1 em { color: var(--purple); font-weight: 600; }
.section-heading p { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: .92rem; }
.section-heading.compact { margin-bottom: 58px; }
.section-heading.compact h2, .why-heading h2 { font-size: clamp(2.25rem, 4.7vw, 3.7rem); }

.process-hero { padding: 94px 0 86px; background: #fff; }
.hero-art { position: relative; overflow: hidden; max-width: 880px; height: 390px; margin: 0 auto; border-radius: 16px; background: linear-gradient(145deg, #f0f1f2, #dddfe2); box-shadow: 0 24px 55px rgba(23,26,31,.14); }
.hero-art img { position: absolute; top: 46%; left: 50%; width: 680px; height: 680px; object-fit: contain; transform: translate(-50%, -50%); }

.flow { padding: 92px 0 104px; background: #f6f7f8; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.flow-steps::before { position: absolute; top: 42px; right: 10%; left: 10%; border-top: 2px dashed #d7c8f4; content: ""; }
.flow-step { position: relative; z-index: 1; text-align: center; }
.step-icon { position: relative; display: grid; width: 76px; height: 76px; margin: 0 auto 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--purple); background: #fff; box-shadow: 0 8px 20px rgba(24,27,31,.05); }
.step-icon > .material-symbols-outlined { font-size: 27px; }
.step-icon b { position: absolute; top: -5px; right: -4px; display: grid; width: 25px; height: 25px; place-items: center; border: 3px solid #f6f7f8; border-radius: 50%; color: #fff; background: var(--purple); font-size: .69rem; }
.flow-step h3 { margin: 0 0 10px; font: 700 1.42rem/1.1 Playfair Display, serif; }
.flow-step p { max-width: 235px; margin: 0 auto; color: var(--muted); font-size: .8rem; }

.why { padding: 96px 0 112px; background: #f0f1f2; }
.why-heading { max-width: 630px; margin: 0 0 50px; }
.why-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.why-grid { display: grid; grid-template-columns: .88fr .88fr .82fr; grid-template-rows: 220px 180px 180px; gap: 20px; }
.why-card, .keyboard-card { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 14px 32px rgba(24,27,31,.06); }
.why-card { padding: 30px; }
.why-card h3 { margin: 0 0 10px; font: 700 1.42rem/1.08 Playfair Display, serif; }
.why-card p { margin: 0; color: var(--muted); font-size: .81rem; }
.card-icon { margin-bottom: 23px; color: var(--purple); font-size: 27px; }
.efficiency { grid-column: 1 / 3; }
.transparency { grid-column: 3; color: #fff; background: var(--purple); }
.transparency .card-icon, .transparency h3 { color: #fff; }
.transparency p { color: rgba(255,255,255,.84); }
.keyboard-card { grid-row: 2; grid-column: 1; }
.keyboard-card img { width: 100%; height: 100%; object-fit: cover; }
.growth { grid-row: 3; grid-column: 1; }
.ready { position: relative; grid-row: 2 / 4; grid-column: 2 / 4; display: flex; align-items: center; padding: 46px; }
.ready > div { position: relative; z-index: 1; width: 62%; }
.ready > img { position: absolute; right: -26px; bottom: -38px; width: 230px; height: 230px; object-fit: contain; transform: rotate(-8deg); opacity: .9; }
.ready p { margin-bottom: 24px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 999px; color: #fff; background: var(--purple); font-size: .75rem; font-weight: 800; text-decoration: none; transition: transform .18s, filter .18s; }
.button:hover { filter: brightness(.88); transform: translateY(-2px); }

footer { padding: 78px 0; color: rgba(255,255,255,.7); background: #292c2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr); gap: 58px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p, .footer-grid a, .footer-grid small { display: block; margin: 0 0 9px; color: rgba(255,255,255,.66); font-size: .74rem; text-decoration: none; }
.footer-grid > div:first-child p { max-width: 260px; margin-bottom: 30px; }
.footer-grid h2 { margin: 9px 0 18px; color: #bfa9ff; font: 800 .62rem/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 3px solid #b995ff; outline-offset: 4px; }

@media (max-width: 920px) {
  .nav-links { gap: 17px; }
  .nav-links > a:not(.quote-link) { display: none; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 42px 24px; }
  .flow-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .efficiency, .transparency, .keyboard-card, .growth, .ready { grid-column: auto; grid-row: auto; }
  .ready { min-height: 310px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), 1120px); }
  .nav { min-height: 72px; }
  .nav-links { position: absolute; top: 72px; right: 14px; left: 14px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #181a1d; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.quote-link) { display: flex; min-height: 46px; align-items: center; padding: 0 12px; }
  .nav-links > a::after { display: none; }
  .quote-link { margin-top: 6px; justify-content: center; }
  .menu-button { display: grid; }
  .process-hero { padding: 70px 0 62px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h1 { font-size: clamp(2.7rem, 14vw, 3.9rem); }
  .hero-art { height: 270px; }
  .hero-art img { width: 440px; height: 440px; }
  .flow, .why { padding: 72px 0; }
  .flow-steps { grid-template-columns: 1fr; gap: 36px; }
  .flow-step p { max-width: 310px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 26px; }
  .keyboard-card { min-height: 220px; }
  .ready { min-height: 330px; align-items: flex-start; padding: 32px 26px; }
  .ready > div { width: 100%; }
  .ready > img { right: -40px; bottom: -48px; width: 200px; height: 200px; opacity: .64; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
