@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/fraunces-latin-variable.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --paper: #fbfcfb;
  --white: #ffffff;
  --surface: #f3f6f4;
  --ink: #172126;
  --muted: #5b6a70;
  --teal: #1f786f;
  --deep: #143039;
  --header: #0d1d22;
  --hero-start: #0d1519;
  --hero-end: #18444a;
  --on-dark: #eff8f6;
  --on-dark-muted: #cad8d7;
  --on-dark-accent: #9fe5d7;
  --line: #d5dfdb;
  --line-strong: #b8c7c1;
  --font-body: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Fraunces, Georgia, serif;
  --page-width: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
  border-radius: 2px;
}
::selection { background: var(--surface); color: var(--deep); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--deep); }
.container { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--white);
  color: var(--deep);
}
.skip-link:focus { top: 12px; }
.site-header { background: var(--header); border-bottom: 1px solid #2c444a; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; }
.brand { color: var(--on-dark); font-weight: 800; font-size: 24px; letter-spacing: -1px; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 8px 28px; align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--on-dark-accent); text-decoration: underline; }
.site-header a:focus-visible, .home-banner a:focus-visible { outline-color: var(--on-dark-accent); }
.eyebrow { color: var(--teal); font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.home-banner { background: linear-gradient(135deg, var(--hero-start), var(--deep) 55%, var(--hero-end)); }
.home-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; padding-block: 68px; }
.home-hero h1 { color: var(--on-dark); font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -1.5px; }
.hero-intro { max-width: 390px; padding-bottom: 4px; }
.hero-intro p { font-size: 18px; line-height: 1.75; color: var(--on-dark-muted); }
.hero-intro .text-link { margin-top: 22px; }
.home-banner .text-link { color: var(--on-dark-accent); }
.home-content { padding-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; text-decoration: none; font-size: 14px; }
.text-link:hover { text-decoration: underline; }
.arrow { flex: none; width: 18px; height: 18px; }
.apps-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 24px; gap: 16px; }
.apps-heading h2 { font-size: 15px; font-weight: 800; }
.apps-heading p { font-size: 13px; color: var(--muted); }
.app-feature { display: grid; grid-template-columns: 128px 1fr auto; align-items: center; column-gap: 36px; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.app-icon { width: 148px; height: 148px; }
.app-feature .app-icon { width: 128px; height: 128px; }
.app-feature h3, .app-secondary h3 { font-family: var(--font-display); font-size: 35px; font-weight: 600; letter-spacing: -0.8px; line-height: 1.16; }
.app-feature .eyebrow { margin-bottom: 10px; }
.app-feature p:not(.eyebrow) { max-width: 455px; margin-top: 14px; color: var(--deep); }
.app-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 20px; background: var(--teal); border: 1px solid var(--teal); border-radius: 24px; color: var(--white); font-size: 14px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--deep); border-color: var(--deep); }
.app-actions .text-link { font-size: 13px; }
.app-feature .eyebrow, .app-feature .text-link { color: var(--deep); }
.app-secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
.app-secondary { display: grid; grid-template-columns: 80px 1fr; column-gap: 24px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line-strong); }
.app-secondary .app-icon { width: 80px; height: 80px; }
.app-secondary .eyebrow { margin-bottom: 10px; }
.app-secondary h3 { font-size: 28px; }
.app-secondary p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.app-secondary .text-link { margin-top: 14px; }
.help-strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding-block: 68px 76px; }
.help-strip h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.2; letter-spacing: -0.7px; font-weight: 600; }
.help-strip p { color: var(--muted); margin-top: 12px; max-width: 580px; }
.help-links { display: flex; gap: 30px; flex-wrap: wrap; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer-inner p { color: var(--muted); font-size: 12px; }
.footer-inner a { font-size: 13px; }
.footer-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.document-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 68px; padding-block: 64px 88px; }
.document-sidebar { align-self: start; position: sticky; top: 32px; }
.document-sidebar > .eyebrow { margin-bottom: 20px; }
.document-sidebar a { display: block; padding-block: 9px; font-size: 13px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.document-sidebar a:hover { color: var(--teal); text-decoration: underline; }
.document { min-width: 0; max-width: 720px; }
.document h1 { font-family: var(--font-display); font-size: clamp(34px, 4.3vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -1.2px; }
.document .muted { color: var(--muted); }
.document > p { margin-top: 20px; }
.document > h1 + p { margin-top: 18px; }
.document h2 { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; font-size: 18px; line-height: 1.4; font-weight: 800; }
.document h2 + p, .document h2 + ul { margin-top: 14px; }
.document ul { padding-left: 22px; }
.document li { padding-left: 4px; margin-top: 8px; }
.document-nav { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0 !important; }
.document-nav li { padding: 0; }
.contact-block { margin-top: 28px; padding: 24px; border-left: 3px solid var(--teal); background: var(--surface); }
.contact-block p + p { margin-top: 8px; }
.contact-block a { color: var(--deep); overflow-wrap: anywhere; font-weight: 700; }
/* Style guide examples are separate from the customer-facing pages. */
.guide { max-width: 900px; padding-block: 64px 80px; }
.guide h1 { margin-top: 16px; font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -1.5px; }
.guide > p { max-width: 680px; color: var(--muted); margin-top: 20px; }
.guide section { margin-top: 48px; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.guide h2 { font-size: 20px; margin-bottom: 20px; }
.guide h3 { font-size: 16px; margin-block: 24px 8px; }
.guide p + p, .guide p + ul { margin-top: 12px; }
.guide ul { padding-left: 22px; }
.guide li + li { margin-top: 8px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.swatch { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); margin: 0; }
.swatch-color { height: 80px; background: var(--swatch); }
.swatch figcaption { padding: 14px; font-size: 13px; }
.swatch strong, .swatch code { display: block; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
.type-example { padding: 24px; background: var(--surface); }
.type-example .display { font-family: var(--font-display); font-size: clamp(36px, 5vw, 52px); line-height: 1.2; color: var(--deep); }
.guide-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.asset-example { display: flex; align-items: center; gap: 24px; margin-block: 24px; }
.asset-example img { width: 80px; height: 80px; }
.guide table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; }
.guide th, .guide td { border-bottom: 1px solid var(--line); padding: 12px 12px 12px 0; vertical-align: top; }
@media (max-width: 1000px) {
  .home-hero { gap: 40px; }
  .app-feature { grid-template-columns: 112px 1fr; gap: 24px 32px; padding: 32px; }
  .app-feature .app-icon { width: 112px; height: 112px; }
  .app-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .app-secondary-grid { gap: 32px; }
  .app-secondary { grid-template-columns: 64px 1fr; gap: 18px; }
  .app-secondary .app-icon { width: 64px; height: 64px; }
  .document-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 84px; flex-wrap: wrap; gap: 4px 20px; padding-block: 14px; }
  .brand { font-size: 22px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 13px; }
  .home-hero { grid-template-columns: 1fr; gap: 26px; padding-block: 48px; }
  .home-hero h1 { font-size: clamp(40px, 9vw, 52px); letter-spacing: -1.2px; }
  .hero-intro { max-width: 500px; }
  .hero-intro p { font-size: 16px; }
  .hero-intro .text-link { margin-top: 14px; }
  .apps-heading { padding-top: 20px; padding-bottom: 24px; }
  .app-feature { grid-template-columns: 72px 1fr; gap: 24px 18px; padding: 26px 24px; }
  .app-feature .app-icon { width: 72px; height: 72px; }
  .app-copy { display: contents; }
  .app-feature h3 { font-size: 32px; }
  .app-feature .app-description { grid-column: 1 / -1; }
  .app-feature p:not(.eyebrow) { margin-top: 0; }
  .app-actions { grid-column: 1 / -1; }
  .app-secondary-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .app-secondary { grid-template-columns: 72px 1fr; gap: 20px; padding-bottom: 28px; }
  .app-secondary .app-icon { width: 72px; height: 72px; }
  .app-secondary h3 { font-size: 28px; }
  .help-strip { grid-template-columns: 1fr; gap: 18px; padding-block: 44px; }
  .help-strip h2 { font-size: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 24px; }
  .footer-nav { gap: 8px 24px; }
  .document-layout { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 56px; }
  .document-sidebar { position: static; order: 2; border-top: 1px solid var(--line-strong); padding-top: 24px; }
  .document h1 { font-size: 36px; }
  .document h2 { margin-top: 28px; padding-top: 24px; }
  .guide { padding-block: 40px 56px; }
  .swatches { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 380px) {
  .header-inner { align-items: flex-start; }
  .site-nav { width: 100%; gap: 24px; }
  .app-feature { padding: 24px 20px; }
  .app-secondary { grid-template-columns: 56px 1fr; gap: 16px; }
  .app-secondary .app-icon { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
