/* Fonts are self-hosted so no visitor data goes to a third-party font service. Licences: /fonts/*-OFL.txt */
/* Plus Jakarta Sans 600-800 latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Plus Jakarta Sans 600-800 latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 400 latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 400 latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 500 latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 500 latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 600 latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 600 latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Signal: paper ground, ink type, one cobalt accent. Big display type, ruled rows. */
:root {
  --paper: #F7F7F5;
  --ink: #0B0B0C;
  --ink-2: #4A4A50;
  --muted: #6B6B70;
  --line: #D6D6D2;
  --blue: #2B4BFF;
  --blue-dark: #1A33C4;
  --blue-soft: #8EA0FF;
  --white: #FFFFFF;
  --error: #C4281C;
  --wrap: 1280px;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 17px 28px; border-radius: 999px; border: 0; background: var(--blue); color: var(--white); font: 600 18px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,247,245,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font: 800 24px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); }
.nav__links .nav__cta { color: var(--blue); font-weight: 600; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; }
}

/* Hero */
.hero { padding-block: 72px 56px; }
.hero h1 { font-weight: 800; font-size: clamp(3rem, 9vw, 7rem); line-height: .95; letter-spacing: -0.035em; max-width: 11em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__bar { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.hero__bar p { font-size: clamp(1.1rem, 2vw, 1.375rem); max-width: 30em; }

/* The blue box with the presentation */
.stage { background: var(--blue); border-radius: 4px; padding: clamp(16px, 4vw, 48px); color: var(--white); }
.stage__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.stage__head h2 { font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.stage__head p { font-size: 16px; color: #DCE2FF; }
.stage__player { min-height: 200px; }
.stage__msg { aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px dashed rgba(255,255,255,.5); border-radius: 8px; color: #DCE2FF; }
.stage__player .autosenter-section { max-width: 100% !important; }

/* Sections */
.section { padding-block: 104px; }
.section--tight { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 28px; }
.section__title { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.02; }
.section__note { font-size: 16px; color: var(--muted); }
@media (max-width: 600px) { .section { padding-block: 72px; } }

/* Problem rows */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; border-top: 1px solid var(--ink); padding-block: 32px; }
.row h3 { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.row p { align-self: center; font-size: 19px; }
.row strong { color: var(--blue); font-weight: 600; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* Products */
.products { background: var(--ink); color: var(--paper); }
.products__intro { margin-bottom: 64px; text-align: center; }
.products__intro p { max-width: 700px; margin: 20px auto 0; text-align: justify; hyphens: auto; font-size: 1.15rem; color: #C9C9CF; }
.products__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 1000px; }
@media (max-width: 760px) { .products__grid { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; text-align: left; width: 100%; max-width: 440px; justify-self: center; }
.product__kicker { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #9A9AA3; }
.product__name { font: 800 clamp(2.4rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.03em; }
.product__kicker, .product__name { align-self: stretch; text-align: center; }
.product__tagline { font-size: 18px; font-weight: 500; }
.product p { color: #B8B8BF; }
.product p:not(.product__tagline) { width: 100%; text-align: justify; hyphens: auto; }
.product a { color: var(--blue-soft); font-weight: 600; }
.product a:hover { color: var(--white); }

/* About (inside the contact panel) */
.about { margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); display: flex; flex-direction: column; gap: 10px; }
.about__title { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.contact__pitch .about p { font-size: 17px; text-align: justify; hyphens: auto; }
@media (max-width: 480px) { .contact__pitch .about p { text-align: left; } }

/* Metaphor images */
.banner { margin: 0; }
.banner img { display: block; width: 100%; height: auto; border-radius: 4px; background: #15171c; }
.hero .banner { margin-top: 48px; }
#solutions .banner, #process .banner { margin-bottom: 40px; }
.products .banner { margin-bottom: 64px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-left: 2px solid var(--blue); padding: 4px 24px 8px; display: flex; flex-direction: column; gap: 6px; }
.step__n { font-size: 15px; color: var(--blue); font-weight: 600; }
.step h3 { font-weight: 600; font-size: 26px; }
.step p { color: var(--ink-2); }

/* Contact */
.contact { background: var(--blue); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact__inner { grid-template-columns: 1fr; gap: 36px; } }
.contact__pitch { display: flex; flex-direction: column; gap: 20px; }
.contact__pitch h2 { font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.contact__pitch p { font-size: 19px; color: #E4E8FF; }
.contact__pitch ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact__pitch li::before { content: "→ "; }

/* Form */
.form { background: var(--white); color: var(--ink); border-radius: 12px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,75,255,.2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .choices__grid { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-size: 16px; line-height: 1.3; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--blue); }
.choice input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); background: #EEF1FF; }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.choices[aria-invalid="true"] .choice { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__status { font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: #11743A; font-weight: 600; }
.form__status.is-err { color: var(--error); font-weight: 600; }
.form__note { font-size: 14px; color: var(--muted); }

/* Footer */
.footer { padding-block: 28px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; color: var(--ink-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer__links a { color: var(--ink-2); }
.footer__links a:hover { color: var(--blue); }
.footer__copy { margin: 0; }

/* Legal pages */
.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; }
.legal h2 { font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin: 2em 0 .5em; }
.legal p { margin-bottom: 1em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin: .35em 0; }
.legal__meta { color: var(--muted); font-size: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--white); font-weight: 600; }
@media (max-width: 600px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: var(--white); }
  .legal td { border: 0; border-top: 1px solid var(--line); }
  .legal td:first-child { border-top: 0; font-weight: 600; }
}
.nav__back { color: var(--blue); font-weight: 600; font-size: 16px; }
/* Justified text leaves big gaps on narrow phones, so align left there */
/* Full justify: every line, including the last, runs edge to edge so each block is a square */
.products__intro p, .product p { text-align: justify; text-align-last: justify; hyphens: auto; }
@media (max-width: 480px) { .products__intro p, .product p { text-align: left; text-align-last: auto; } }
