/* Qantara website. White ground, fine blue line art, one dark section for the platform. Change the tokens to restyle. */
:root {
  --bg: #ffffff; --bg-2: #f4f6fc; --ink: #0b1020; --ink-2: #1c2233; --muted: #566074; --line: #e2e6f0;
  --accent: #1f3fe0; --accent-2: #5f7cff; --navy: #060a1a; --navy-2: #0e1530;
  --warn-bg: #fcf0cf; --warn-ink: #5e4500;
  --r: 18px; --r-s: 12px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-brand: "Chakra Petch", "IBM Plex Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; }
.grad { background: linear-gradient(90deg, #0b1020 0%, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-l { background: linear-gradient(90deg, #ffffff 0%, #8ea2ff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.line { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: #b9c0d4; }
.btn.line:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn.big { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: #dfe5ff; border-color: #dfe5ff; color: var(--ink); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* header and the services menu */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; position: static; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b, .wordmark { font-family: var(--font-brand); font-weight: 600; font-size: 22px; letter-spacing: .01em; }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; height: 100%; }
.links > a, .menu-t { display: flex; align-items: center; height: 100%; padding: 0 14px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.links > a:hover, .menu:hover .menu-t, .menu:focus-within .menu-t { color: var(--accent); }
.menu { height: 100%; }
.menu-t::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(11, 16, 32, .35); }
.menu:hover .mega, .menu:focus-within .mega { display: block; }
.mega-in { width: min(1200px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 34px 0 40px; }
.mega-in b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-in a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
.mega-in a:hover { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span, .burger summary span::before, .burger summary span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger summary span::before { position: absolute; top: -6px; }
.burger summary span::after { position: absolute; top: 6px; }
.burger-in { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow: auto; padding: 8px 24px 28px; }
.burger-in b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 6px; }
.burger-in a { display: block; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

/* hero: the line art fills the right, the words sit on the left */
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 34%, rgba(255, 255, 255, 0) 62%); }
.hero-in { z-index: 2; padding: 112px 0 72px; }
.hero-in > * { max-width: 660px; }
.chip-e { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid #c9d2f5; background: rgba(255, 255, 255, .8); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 26px; }
.chip-e a { text-decoration: none; }
h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); margin-top: 26px; }
.hero > .wrap { z-index: 2; }
.hero-in:last-child { padding: 128px 0 136px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); }
.facts-row div { padding: 26px 28px 30px 0; display: flex; flex-direction: column; gap: 6px; }
.facts-row div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-row b { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.facts-row span { color: var(--muted); font-size: 14.5px; }

/* sections */
.sec { padding: 112px 0; }
.sec.alt { background: var(--bg-2); }
.kicker { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker.left, .sub.left { text-align: left; margin-left: 0; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.07; font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-align: center; text-wrap: balance; }
.sub { text-align: center; color: var(--muted); font-size: 19px; max-width: 760px; margin: 22px auto 0; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }

/* the journey: the four groups as one thread */
.thread { width: 100%; height: 190px; object-fit: cover; object-position: center; margin-top: 36px; mix-blend-mode: multiply; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 8px; }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, var(--accent), #b9c6ff); }
.stage { position: relative; padding: 0 26px 0 0; }
.stage > i { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-style: normal; font-weight: 600; font-size: 16px; }
.stage h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-top: 22px; }
.stage > p { color: var(--muted); font-size: 15.5px; margin-top: 8px; min-height: 3.1em; }
.stage ul { margin-top: 18px; border-top: 1px solid var(--line); }
.stage li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 4px 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.stage li a::after { content: "\2192"; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.stage li a:hover { color: var(--accent); }
.stage li a:hover::after { opacity: 1; transform: none; }
.carry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.carry li { padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.carry li + li { border-left: 1px solid var(--line); }
.carry b { font-size: 18px; font-weight: 600; }
.carry span { color: var(--muted); font-size: 15.5px; }

/* the base: the platform under every service */
.base { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 80% -10%, #16226a 0%, rgba(22, 34, 106, 0) 60%), var(--navy); color: #fff; padding: 120px 0 104px; }
.base-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; opacity: .34; }
.base h2 { color: #fff; }
.base .kicker { color: #9fb0ff; }
.base .sub { color: #b4bcd6; }
.stack { margin-top: 64px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 22px 22px 24px; backdrop-filter: blur(4px); }
.tile::after { content: ""; position: absolute; left: 50%; bottom: -29px; width: 2px; height: 28px; background: linear-gradient(#5f7cff, rgba(95, 124, 255, .2)); }
.tile b { display: block; font-size: 17px; font-weight: 600; }
.tile small { display: block; color: #9fb0ff; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 2px 0 12px; }
.tile a { display: block; color: #cdd4ea; text-decoration: none; font-size: 14.5px; padding: 3px 0; }
.tile a:hover { color: #fff; }
.slab { margin-top: 28px; border-radius: 22px; padding: 30px 32px 34px; background: linear-gradient(135deg, #2444ee 0%, #1a2fb4 60%, #14227f 100%); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 50px 90px -40px rgba(31, 63, 224, .8); }
.slab > b { display: block; font-family: var(--font-brand); font-size: 24px; letter-spacing: .01em; }
.slab ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.slab li b { display: block; font-size: 16px; font-weight: 600; }
.slab li span { display: block; color: #d5dcff; font-size: 14.5px; margin-top: 4px; }
.peek { position: relative; margin-top: 72px; height: 470px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); border-bottom: 0; background: #fff; }
.peek > img { width: 100%; }
.peek::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 10, 26, 0) 14%, rgba(6, 10, 26, .9) 50%, var(--navy) 92%); }
.peek-card { position: absolute; z-index: 1; left: 50%; bottom: 36px; transform: translateX(-50%); width: min(600px, calc(100% - 32px)); text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.peek-card > b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.peek-card > span { color: #c3cae0; font-size: 17px; }
.peek-card .cta { margin-top: 14px; justify-content: center; }
.cap { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.base .cap { color: #8f98b5; }
.frame { margin-top: 56px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(11, 16, 32, .5); }

/* steps, plain statements, cards */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 26px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li > b { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.steps li > b::before { content: "STEP "; }
.steps p, .cards p { color: var(--muted); font-size: 16px; }
.two { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.two.mid { align-items: center; grid-template-columns: 1fr 1fr; }
.two h2 { text-align: left; }
.plain { display: flex; flex-direction: column; }
.plain p { padding: 24px 0; border-top: 1px solid #cfd6e6; color: var(--muted); }
.plain p:last-child { border-bottom: 1px solid #cfd6e6; }
.plain b { color: var(--ink); font-weight: 600; }
.cards { display: grid; gap: 16px; margin-top: 52px; }
.c2 { grid-template-columns: repeat(2, 1fr); }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }
.cards article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cards article::before { content: ""; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 8px; }
.art { width: 100%; border-radius: var(--r); mix-blend-mode: multiply; }
.lands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
.lands li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 15px 18px; color: var(--muted); }
.lands b { font-weight: 500; color: var(--ink-2); }
.lands span { font-size: 14px; }
.lands .on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.lands .on span { color: var(--accent); font-weight: 600; }

/* contact band */
.talk { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 28px; padding: 72px 64px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.talk > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; opacity: .5; }
.talk > :not(img) { position: relative; }
.talk h2 { color: #fff; text-align: left; }
.talk p { color: #c9cedb; font-size: 19px; max-width: 620px; }
.talk .fill, [data-fill] { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--r-s); padding: 14px 18px; font-size: 15px; }

/* service pages */
.facts { margin-top: 0; }
.facts h2 { font-size: 22px; letter-spacing: -.01em; text-align: left; }
.facts p { color: var(--ink-2); font-size: 17px; }
.facts .note { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.fit > div { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.fit > div + div { border-left: 1px solid var(--line); }
.fit small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fit b { font-size: 19px; font-weight: 600; }
.fit p { color: var(--muted); font-size: 16px; }
.fit a { color: var(--accent); font-weight: 600; text-decoration: none; }
.fit a:hover { text-decoration: underline; }
.fit ul a { display: block; padding: 5px 0; font-weight: 500; }
.fit .dark { background: var(--navy); color: #fff; }
.fit .dark small { color: #9fb0ff; }
.fit .dark p { color: #b4bcd6; }
.fit .dark a { color: #fff; }
.h-s { font-size: clamp(26px, 3vw, 38px); }

/* guides */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.guide aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.guide aside b { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.guide aside a { text-decoration: none; color: var(--ink-2); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.guide aside a:hover { color: var(--accent); border-color: var(--accent); }
.guide > * { min-width: 0; }
.guide-body { max-width: 760px; }
.guide-body h2 { font-size: 26px; letter-spacing: -.015em; text-align: left; margin: 52px 0 18px; scroll-margin-top: 96px; }
.guide-body .ticks { gap: 12px; }
.guide-body .ticks li { font-size: 17px; }
.guide-body a { color: var(--accent); }
.guide-body sup { font-size: 11px; margin-left: 3px; }
.guide-body sup a { text-decoration: none; font-weight: 600; padding: 0 2px; }
.notice { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 18px; font-size: 14.5px; color: var(--muted); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--bg-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl td:first-child { font-weight: 600; width: 24%; }
.tbl tr:last-child td { border-bottom: 0; }
.srcs { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--muted); }
.srcs li { scroll-margin-top: 96px; overflow-wrap: anywhere; }
.glist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.glist a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.glist a:hover { border-color: var(--accent); box-shadow: 0 30px 60px -40px rgba(31, 63, 224, .5); }
.glist img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: right center; border-bottom: 1px solid var(--line); }
.glist a > span { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; flex: 1; }
.glist b { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.glist span span { color: var(--muted); font-size: 16px; }
.glist i { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--accent); margin-top: auto; padding-top: 8px; }
.glist i::after { content: " \2192"; }

/* service hub cards, options, steps, pager */
.sec.tight { padding: 72px 0; }
.sec.tight + .sec.tight { padding-top: 24px; }
h2.left, .h-s.left { text-align: left; }
.center { text-align: center; margin-top: 44px; }
.svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 40px; }
.svc li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc li:hover { border-color: var(--accent); box-shadow: 0 30px 60px -40px rgba(31, 63, 224, .5); transform: translateY(-2px); }
.svc a { display: flex; flex-direction: column; width: 100%; text-decoration: none; }
.svc img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: right center; border-bottom: 1px solid var(--line); background: #fff; }
.svc-t { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.svc-t > b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.svc-t > span { color: var(--ink-2); font-size: 16px; }
.svc .by { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.svc .by b { font-weight: 600; color: var(--ink-2); }
.go { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.go a { display: block; padding: 4px 0; color: var(--accent); font-weight: 500; font-size: 15px; text-decoration: none; }
.go a::after { content: " \2192"; }
.go a:hover { text-decoration: underline; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 40px; }
.opts li { border: 1px solid var(--line); border-radius: var(--r-s); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--accent); background: #fff; }
.opts b { font-size: 17px; font-weight: 600; }
.opts span { color: var(--muted); font-size: 14.5px; }
.tbl.opt { margin-top: 40px; }
.flows { display: grid; gap: 28px; margin-top: 44px; max-width: 820px; margin-inline: auto; }
.flows.many { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); max-width: none; align-items: start; }
.flow { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.flow h3 { padding: 18px 22px; font-size: 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.flow li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.flow li:last-child { border-bottom: 0; }
.flow i { font-style: normal; font-weight: 600; font-size: 13px; color: var(--muted); }
.flow em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: #eef0f6; color: var(--ink-2); }
.flow em.you { background: var(--ink); color: #fff; }
.flow em.us { background: #dfe5ff; color: #1a2fb4; }
.flow em.auth { background: var(--warn-bg); color: var(--warn-ink); }
.pager { border-top: 1px solid var(--line); }
.pager-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 30px 0; }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.pager a:hover b, .pager .all:hover { color: var(--accent); }
.pager small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager b { font-size: 18px; font-weight: 600; }
.pager .next { text-align: right; align-items: flex-end; }
.pager .all { font-weight: 500; color: var(--ink-2); }
.g3 { grid-template-columns: repeat(3, 1fr); margin-top: 52px; }

/* footer */
.foot { padding: 64px 0 96px; border-top: 1px solid var(--line); background: #fff; }
.footnav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px; padding-bottom: 44px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.footnav b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footnav a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.footnav a:hover { color: var(--accent); }
.foot-in { display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; align-items: start; color: var(--muted); font-size: 14px; }
.foot-in div { display: flex; flex-direction: column; gap: 2px; }
.foot .wordmark { color: var(--ink); }
.small { font-size: 13px; }

.draft { display: none; }
body[data-draft] .draft { display: block; position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #e2c873; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }

@media (max-width: 1020px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero::before { background: rgba(255, 255, 255, .86); }
  .hero-in, .hero-in:last-child { padding: 72px 0 56px; }
  .facts-row, .stages, .tiles, .slab ul, .steps, .c4, .footnav { grid-template-columns: repeat(2, 1fr); }
  .facts-row div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stages { gap: 44px 0; }
  .stages::before, .tile::after { display: none; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
  .c3, .c2, .carry, .fit, .glist, .g3, .guide { grid-template-columns: 1fr; }
  .guide { gap: 28px; }
  .guide aside { position: static; }
  .carry li + li, .fit > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .two, .two.mid { grid-template-columns: 1fr; gap: 32px; }
  .foot-in { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .mega-in { width: calc(100% - 32px); }
  .sec { padding: 72px 0; }
  .base { padding: 80px 0 72px; }
  .facts-row, .stages, .tiles, .slab ul, .steps, .c4, .lands, .footnav { grid-template-columns: 1fr; }
  .facts-row div, .facts-row div + div { padding: 20px 0; border-left: 0; }
  .facts-row div + div { border-top: 1px solid var(--line); }
  .steps li, .steps li + li { padding: 22px 0 0; border-left: 0; margin-top: 22px; border-top: 1px solid var(--line); }
  .steps li:first-child { margin-top: 0; border-top: 0; }
  .stage { padding-right: 0; }
  .stage > p { min-height: 0; }
  .thread { height: 110px; }
  .svc { grid-template-columns: 1fr; }
  .flows.many { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 22px 1fr; }
  .flow em { grid-column: 2; justify-self: start; }
  .pager-in { grid-template-columns: 1fr 1fr; }
  .pager .all { display: none; }
  .peek { height: 430px; }
  .peek > img { width: 190%; max-width: none; }
  .peek-card > b { font-size: 24px; }
  .slab { padding: 24px 22px 26px; }
  .talk { padding: 44px 24px; border-radius: 22px; }
  body[data-draft] .draft { font-size: 11px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
