@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument'; src: url('/assets/fonts/instrument-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #101b33; --blue: #2f4be0; --blue-dark: #2237ad; --sun: #ffc845;
  --paper: #f2f5fa; --line: #d5ddea; --muted: #48566f; --white: #fff;
  --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--white); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; }
p, ul, ol, dl, figure { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { max-width: 740px; }
.narrow h2 { font-size: 1.45rem; margin-top: 1.8em; }
.narrow h2:first-child { margin-top: 0; }
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.tint { background: var(--paper); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--sun); color: var(--ink); padding: .5rem 1rem; z-index: 9; }

.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: .95rem 1.35rem; border-radius: 10px; border: 2px solid var(--blue); background: var(--blue); color: var(--white); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #ffd673; border-color: #ffd673; }
.btn.ghost { background: transparent; border-color: #6d7894; color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }
.btn.small { padding: .6rem 1rem; font-size: .95rem; }
.btn:disabled { opacity: .6; cursor: progress; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; font: 700 1.4rem/1 var(--display); letter-spacing: -.03em; }
.brand b { font-weight: 700; color: var(--sun); }
.mark { width: 28px; height: 28px; background: url('/favicon.svg') center / contain no-repeat; }
.top { background: var(--ink); color: var(--white); border-bottom: 1px solid #27334f; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: .9rem; }
.top nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.top nav a:not(.btn) { color: #dbe2f1; text-decoration: none; font-weight: 500; }
.top nav a:not(.btn):hover, .top nav a[aria-current='page'] { color: var(--white); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .45em; }

.hero, .page-head { background: var(--ink); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
.lede { font-size: 1.2rem; color: #c4cde2; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.page-head p { margin: 0; }

/* The order path: one parcel travelling down four stations. */
.path { background: #17254a; border: 1px solid #2d3c66; border-radius: 18px; padding: 1.5rem; margin: 0; }
.path figcaption { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.path figcaption span { font-weight: 400; font-size: .85rem; color: #9daacb; }
.path ol { list-style: none; margin: 0; padding: 0; }
.path li { position: relative; padding: 0 0 1.4rem 2.5rem; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ''; position: absolute; left: 0; top: .2rem; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--sun); background: var(--sun); }
.path li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: calc(.2rem + 20px); bottom: 0; width: 2px; background: var(--sun); }
.path b { display: block; font: 650 1.15rem/1.2 var(--display); }
.path li span { display: block; font-size: .95rem; color: #bcc6e0; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .path li::before { animation: arrive .45s ease-out both; }
  .path li:not(:last-child)::after { animation: travel .5s ease-in-out both; transform-origin: top; }
  .path li:nth-child(1)::before { animation-delay: .3s; }
  .path li:nth-child(1)::after { animation-delay: .7s; }
  .path li:nth-child(2)::before { animation-delay: 1.2s; }
  .path li:nth-child(2)::after { animation-delay: 1.6s; }
  .path li:nth-child(3)::before { animation-delay: 2.1s; }
  .path li:nth-child(3)::after { animation-delay: 2.5s; }
  .path li:nth-child(4)::before { animation-delay: 3s; }
}
@keyframes arrive { from { background: transparent; transform: scale(.7); } to { background: var(--sun); transform: scale(1); } }
@keyframes travel { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.services { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3.5rem; margin-top: 2rem; }
.services article { border-top: 3px solid var(--ink); padding-top: 1.25rem; margin-bottom: 1.5rem; }
.services p { color: var(--muted); }

.btn.outline { background: transparent; color: var(--blue); }
.btn.outline:hover { background: var(--white); color: var(--blue-dark); }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.app-name { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.app-name img { border-radius: 12px; border: 1px solid var(--line); }
.app-name b { display: block; font: 700 1.3rem/1.2 var(--display); }
.app-name small { display: block; color: var(--muted); font-size: .92rem; }
.platforms { font-weight: 600; }
.feature .actions { margin-top: 1.5rem; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 6px solid var(--ink); box-shadow: 0 24px 48px -24px rgb(16 27 51 / .45); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.jobs { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.jobs li { border-top: 1px solid #bcc7dc; padding-top: 1.1rem; }
.jobs h3 { font-size: 1.15rem; margin-bottom: .35em; }
.jobs p { color: var(--muted); }
.page-head + section .shot { max-width: 900px; margin: 0 auto 3.5rem; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; margin-top: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--ink); color: var(--sun); font: 700 1.1rem var(--display); margin-bottom: 1rem; }
.steps p { color: var(--muted); }

.band { background: var(--blue); color: var(--white); padding-block: 3.5rem; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.band h2, .band p { margin: 0; }
.band p { margin-top: .5rem; }

.legal-doc h2[id] { scroll-margin-top: 1rem; }
.legal-doc { overflow-wrap: break-word; }
.legal-doc .toc { background: var(--paper); border-radius: 12px; padding: 1.25rem 1.5rem; margin-block: 2rem; }
.legal-doc .toc h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.legal-doc .toc ol { columns: 2 16rem; margin: 0; padding-left: 1.4rem; }
.legal-doc li { margin-bottom: .35rem; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.contact { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.contact aside h2 { font-size: 1.15rem; margin-bottom: .3em; }
.contact aside { overflow-wrap: anywhere; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; margin-bottom: 1.1rem; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid #8793ab; border-radius: 8px; padding: .75rem .85rem; }
textarea { resize: vertical; }
.trap { position: absolute; left: -9999px; }
.fine { font-size: .92rem; color: var(--muted); }
#form-status { margin-top: 1rem; font-weight: 600; }
#form-status.ok { color: #12663f; }
#form-status.error { color: #a4231c; }

.foot { background: var(--ink); color: #bcc6e0; padding-block: 3.5rem 2rem; font-size: .97rem; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; }
.foot .brand { color: var(--white); margin-bottom: 1rem; }
.foot h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; }
.foot a:not(.brand) { display: block; color: #dbe2f1; margin-bottom: .35rem; text-decoration: none; overflow-wrap: anywhere; }
.foot a:not(.brand):hover { text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid #2d3c66; padding-top: 1.5rem; margin: 0; }

@media (max-width: 900px) {
  .hero .wrap, .feature, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps, .jobs, .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .services, .row, .steps, .jobs, .foot .wrap { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .top nav { gap: .5rem 1.1rem; width: 100%; }
}
