@charset "UTF-8";
@font-face {
  font-family: Outfit;
  src: url('assets/fonts/outfit.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #191f3f;
  --navy-deep: #12172e;
  --ink: #12172e;
  --steel: #5f6785;
  --mist: #f1f3f9;
  --line: #d9dde9;
  --white: #ffffff;
  --cobalt: #2d49c9;
  --pearl: #c9d4ff;
  --on-navy: #d6dcf0;
  --on-navy-line: #3a4268;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: Outfit, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; font-weight: 400; }
h1, h2, h3, p, figure, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.band-navy a:focus-visible, .band-navy summary:focus-visible { outline-color: var(--pearl); }
::selection { color: var(--white); background: var(--cobalt); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: -100px; left: 20px; padding: 12px 16px; background: var(--white); color: var(--ink); border-radius: 999px; }
.skip:focus { top: 16px; }

.band-navy { background: var(--navy); color: var(--white); }
.band-light { background: var(--white); color: var(--ink); }
.band-light + .band-light .wrap { border-top: 1px solid var(--line); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px 10px; }
.wordmark { display: block; flex-shrink: 0; width: 196px; line-height: 0; }
.wordmark img { display: block; width: 100%; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .pill { margin-left: 8px; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.2; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.pill:hover { text-decoration: none; }
.pill-light { background: var(--white); color: var(--navy); }
.pill-light:hover { background: var(--pearl); }
.pill-outline { border-color: #6a74a0; color: var(--white); }
.pill-outline:hover { border-color: var(--white); }
.nav .pill-outline { padding: 9px 18px; font-size: 15px; }
.pill-navy { background: var(--navy); color: var(--white); }
.pill-navy:hover { background: var(--cobalt); }
.link { font-weight: 500; color: var(--cobalt); }
.link:hover { color: var(--navy); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 128px) clamp(64px, 9vw, 120px); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 15ch; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--on-navy); max-width: 58ch; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 40px; font-size: 16px; color: var(--pearl); max-width: 52ch; }
.ring { position: absolute; right: -6vw; top: 50%; width: clamp(320px, 42vw, 620px); aspect-ratio: 1; border: 1px solid #ffffff38; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }


/* Sections */
.band-light.band { padding-block: clamp(56px, 7vw, 96px); }
.band-navy.services, .band-navy.contact { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-head p { font-size: 17px; color: var(--steel); max-width: 44ch; }
.band-navy .section-head p { color: var(--on-navy); }

/* Products */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px 56px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product h3 { font-size: clamp(28px, 2.8vw, 36px); }
.product-status { margin-top: 8px; font-size: 15px; color: var(--cobalt); }
.product-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; font-weight: 500; max-width: 40ch; }
.product-status { margin-bottom: 20px; }
.product-body > p + p { margin-top: 14px; color: var(--steel); max-width: 62ch; }
.product-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.product-body .product-cta { color: var(--ink); }
.cta-note { font-size: 15px; color: var(--steel); }

/* Product screenshots */
.shot { min-width: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 16px 40px #191f3f14; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--steel); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service-grid > div { padding-top: 20px; border-top: 1px solid var(--on-navy-line); }
.service-grid h3 { font-size: 24px; }
.service-grid p { margin-top: 12px; color: var(--on-navy); }
.services-cta { margin-top: 48px; }

/* Process */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); font-size: 15px; font-weight: 500; }
.steps h3 { font-size: 21px; margin-top: 16px; }
.steps p { margin-top: 8px; color: var(--steel); font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; padding-top: clamp(56px, 7vw, 96px); }
.about h2 { font-size: clamp(28px, 2.8vw, 36px); }
.about-role { margin-top: 12px; color: var(--steel); font-size: 16px; max-width: 28ch; }
.about-text p { max-width: 62ch; }
.about-text > p + p { margin-top: 18px; }
.about-more { margin-top: 28px; }
.about-page .about-grid { padding-top: 0; }
.about-page h1 { font-size: clamp(32px, 3.4vw, 44px); }
.portrait { margin-top: 32px; max-width: 320px; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.portrait-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 10px; border: 1px dashed var(--line); background: var(--mist); color: var(--steel); font-size: 15px; text-align: center; padding: 20px; }
details { margin-top: 24px; max-width: 62ch; }
summary { cursor: pointer; font-weight: 500; color: var(--cobalt); }
details[open] summary { margin-bottom: 14px; }
details p { color: var(--steel); }
details p + p { margin-top: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.contact h2 { font-size: clamp(30px, 3.4vw, 44px); }
.contact .lead { margin-top: 20px; }
.contact-actions { display: grid; justify-items: start; gap: 14px; justify-self: end; }
.contact-direct { color: var(--on-navy); font-size: 16px; }
.contact-direct a { color: var(--pearl); }

/* Contact page: the letter */
.letter-page { background: var(--mist); padding-block: clamp(48px, 7vw, 104px); }
.letter-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.letter-intro h1 { font-size: clamp(34px, 4vw, 52px); max-width: 12ch; }
.letter-intro > p { margin-top: 20px; color: var(--steel); max-width: 36ch; }
.signer { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.signer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.signer b { display: block; font-weight: 500; }
.signer span { font-size: 15px; color: var(--steel); }
.next { list-style: none; padding: 0; margin-top: 40px; counter-reset: next; border-top: 1px solid var(--line); }
.next li { counter-increment: next; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--steel); }
.next li::before { content: counter(next); font-weight: 500; color: var(--navy); }
.next b { display: block; color: var(--ink); font-weight: 500; }
.letter-direct { margin-top: 28px; font-size: 16px; color: var(--steel); }

.letter { position: relative; background: var(--white); border-radius: 4px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px #191f3f40; }
.letter::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--navy); border-radius: 4px 0 0 4px; }
.salut { font-size: clamp(22px, 2.4vw, 30px); line-height: 2; font-weight: 400; color: var(--ink); }
.blank { display: inline-flex; align-items: baseline; vertical-align: baseline; }
.blank input { font: inherit; color: var(--navy); font-weight: 500; background: transparent; border: 0; border-bottom: 2px solid #b9c0d6; border-radius: 0; padding: 0 4px; line-height: 1.3; transition: border-color .15s; }
.blank input::placeholder { color: #a3aac0; font-weight: 400; }
.blank input:focus { outline: none; border-bottom-color: var(--cobalt); }
.blank input:focus-visible { outline: none; }
.w-name { width: 12ch; } .w-firm { width: 13ch; } .w-mail { width: 17ch; }
.sheet { display: block; margin-top: 36px; }
.sheet > span { display: block; font-size: clamp(19px, 1.8vw, 22px); color: var(--ink); }
.sheet textarea { display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 18px; color: var(--ink); border: 0; resize: vertical; min-height: calc(32px * 6 + 4px); line-height: 32px; padding: 0 2px; background: transparent repeating-linear-gradient(to bottom, transparent 0 31px, #d9dde9 31px 32px); }
.sheet textarea:focus { outline: none; background-image: repeating-linear-gradient(to bottom, transparent 0 31px, #9fb0e8 31px 32px); }
.sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 36px; }
.sign button { cursor: pointer; font-family: inherit; border: 0; }
.sign p { font-size: 14px; color: var(--steel); max-width: 34ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.letter input:focus-visible, .letter textarea:focus-visible { box-shadow: 0 2px 0 0 var(--cobalt); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-email { font-size: 18px; color: var(--pearl); }

/* Footer */
.site-footer { border-top: 1px solid var(--on-navy-line); font-size: 14px; color: #a7b0d2; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 14px; }

@media (max-width: 900px) {
  .letter-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-actions { justify-self: start; }
  .section-head, .product, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { gap: 16px; padding-block: 32px; }
}
@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 16px; }
  .wordmark { width: 168px; }
  .nav { gap: 8px 18px; font-size: 15px; }
  .nav .pill { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .blank { display: flex; width: 100%; }
  .blank input { flex: 1; width: auto; min-width: 0; }
  .actions .pill { width: 100%; }
  .ring { display: none; }
}
