/* icarodata
   Colours from brand/brand.md: navy #0B1F3A, teal #14B8A6, ice #F4F6F8,
   line #E6EAF0, pearl #C5CDD6, navy 800 #061525, teal 700 #0E9A8C.
   Space Grotesk is self-hosted (SIL Open Font License, see fonts/OFL.txt).
   Brand supporting gray #6B7A90 is about 4.0:1 on ice, under WCAG AA, so
   paragraphs keep #3E4E63. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-400.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;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-500.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;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-600.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;
}

:root {
  --navy: #0b1f3a;
  --navy-800: #061525;
  --teal: #14b8a6;
  --teal-700: #0e9a8c;
  --ink: #0b1f3a;
  --muted: #3e4e63;
  --mist: #c5cdd6;
  --line: #e6eaf0;
  --paper: #f4f6f8;
  --white: #ffffff;
  --focus: #14b8a6;
  --wrap: 1120px;
  --header: 4.5rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand,
.btn,
.step-no,
.group-kicker {
  letter-spacing: -0.03em;
}

a {
  color: var(--navy);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.mast :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--teal);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 10;
  font-weight: 600;
}

.skip:focus {
  transform: none;
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  background: var(--navy);
  color: var(--white);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

.mast-bar {
  height: 4px;
  background: var(--teal);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 0;
  position: relative;
  z-index: 2;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.brand span {
  color: var(--teal);
}

.brand img,
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.brand-icon {
  display: none;
  height: 32px;
  width: 32px;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 0.25rem;
}

.primary-nav,
.footer-nav,
.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.primary-nav a,
.footer-nav a,
.lang a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.primary-nav a:hover,
.footer-nav a:hover,
.lang a:hover,
.primary-nav a:focus-visible,
.lang a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.lang {
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0 0.35rem;
}

.lang a {
  min-width: 44px;
  justify-content: center;
  font-size: 0.92rem;
}

.lang a[aria-current="page"] {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border-radius: 8px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--teal);
  line-height: 1.2;
}

.btn:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn-ink {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ink:hover {
  background: var(--navy);
  color: var(--white);
}

.band {
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: 1.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.kicker {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 1.02;
  font-weight: 600;
  max-width: 14ch;
}

.lede {
  margin-top: 1.15rem;
  max-width: 42rem;
  color: var(--mist);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.sample {
  margin: 0;
  background: rgba(6, 16, 32, 0.45);
  border: 1px solid rgba(20, 184, 166, 0.55);
  border-radius: 12px;
  padding: 1rem 1rem 0.9rem;
  color: var(--white);
}

.sample figcaption {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.sample pre {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-x: auto;
  color: var(--mist);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.facts div {
  padding: 1rem 1rem 1.15rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.facts div:last-child {
  border-right: 0;
}

.facts strong {
  display: block;
  font-size: 0.98rem;
}

.facts span {
  display: block;
  color: var(--mist);
  font-size: 0.92rem;
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 600;
}

.section-head p,
.group-intro,
.use p,
.why p,
.faq-a,
.step p,
.prose p,
.prose li {
  color: var(--muted);
}

.section-head p {
  margin-top: 0.7rem;
}

.group {
  margin-top: 2rem;
}

.group-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.group h3 {
  margin-top: 0.2rem;
  font-size: 1.45rem;
}

.group-intro {
  margin: 0.4rem 0 0.9rem;
  max-width: 46rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1rem;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}

a.card:hover {
  border-color: var(--navy);
}

.card-soon {
  border-style: dashed;
}

.soon {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.card h4 {
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 600;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card .soon {
  color: var(--navy);
}

.slug {
  font-size: 0.82rem;
  color: var(--muted);
}

.more {
  margin-top: auto;
  padding-top: 0.35rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
}

.step-no {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  margin-top: 0.25rem;
}

.uses,
.whys {
  display: grid;
  gap: 0.9rem;
}

.use,
.why {
  background: var(--white);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 12px 12px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.use h3,
.why h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3rem;
}

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 1rem;
}

.faq summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary h3 {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 0.75rem 0.7rem 0;
}

.faq-a {
  padding: 0 0 0.9rem;
  max-width: 65ch;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  color: var(--mist);
  margin-top: 0.7rem;
  max-width: 46rem;
}

.contact-panel .btn {
  margin-top: 1.15rem;
}

.mail {
  color: var(--white);
  font-weight: 600;
}

.site-footer {
  background: var(--navy-800);
  color: var(--mist);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer .brand {
  font-size: 1.2rem;
}

.fine {
  font-size: 0.95rem;
}

.footer-nav a,
.site-footer .lang a {
  color: var(--mist);
}

.site-footer .lang {
  border-color: rgba(255, 255, 255, 0.25);
  width: fit-content;
}

.legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.4rem;
  padding-top: 1rem;
  font-size: 0.92rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.3rem;
  font-size: 1.15rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0.7rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pending {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--navy);
  margin: 1rem 0 1.4rem;
}

.pending strong {
  display: block;
}

code,
.mono {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.page-intro {
  padding: 2.2rem 0 0.5rem;
}

.page-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  max-width: 18ch;
}

.not-found {
  padding: 3rem 0 4rem;
}

.not-found h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.not-found p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 40rem;
}

.not-found .hero-actions {
  margin-top: 1.2rem;
}

@media (min-width: 1080px) {
  .menu summary {
    display: none !important;
  }

  /*
    Chromium wraps the non-summary children in ::details-content and hides
    that box with content-visibility when <details> is closed. display on
    the panel does not punch through that box. Older engines still hide the
    panel with display:none, which the !important rule below overrides.
  */
  .menu::details-content {
    content-visibility: visible !important;
    display: block;
  }

  .menu:not([open]) > .menu-panel,
  .menu[open] > .menu-panel {
    display: flex !important;
    position: static;
    width: auto;
    border: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.25rem;
  }

  .hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    grid-template-columns: 1fr;
  }

  .uses {
    grid-template-columns: repeat(2, 1fr);
  }

  .whys {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }

  .contact-panel {
    padding: 2.2rem 2rem;
  }
}

@media (max-width: 1079px) {
  .menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    width: min(22rem, calc(100vw - 2rem));
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1rem 1rem;
    z-index: 5;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .facts div:nth-child(odd) {
    padding-right: 0.75rem;
  }

  .facts div:nth-child(2),
  .facts div:nth-child(4) {
    border-right: 0;
    padding-left: 0.75rem;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    display: none;
  }

  .brand-icon {
    display: block;
  }
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div:nth-child(2),
  .facts div:nth-child(4) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .mast-bar,
  .menu,
  .hero-actions,
  .btn,
  .skip {
    display: none;
  }

  body,
  .mast,
  .site-footer,
  .contact-panel {
    background: white;
    color: black;
  }

  .lede,
  .facts span,
  .contact-panel p,
  .site-footer,
  .sample pre {
    color: black;
  }
}

.card-meta{font-size:.9rem;line-height:1.45;margin:.6rem 0 .4rem;padding-top:.5rem;border-top:1px solid rgba(11,31,58,.12)}
