/* explorers.work. Brand: Montserrat for display, Roboto for text, Carbon and Explorers Green. */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/roboto-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #4dfeae;
  --carbon: #222222;
  --taupe: #47413b;
  --silver: #ccc7c4;
  --dust: #e0dfd8;
  --paper: #f4f3ef;
  --white: #ffffff;
  --muted: #5d5751;
  --display: "Montserrat", system-ui, sans-serif;
  --text: "Roboto", system-ui, sans-serif;
  --wrap: 72rem;
  --measure: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--carbon); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--carbon); text-decoration-thickness: 2px; text-decoration-color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--carbon); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
code.url { display: block; width: fit-content; max-width: 100%; margin-top: 0.4rem; overflow-x: auto; white-space: nowrap; word-break: normal; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--paper); border: 1px solid var(--dust); padding: 0.1em 0.4em; border-radius: 4px; word-break: break-all; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: 0.5rem 1rem; z-index: 10; }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.25rem); margin: 0 0 1.25rem; max-width: 22ch; }
h2 { font-weight: 700; font-size: 1.5rem; margin: 2.75rem 0 0.75rem; }
h3 { font-weight: 600; font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1rem; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--taupe); max-width: var(--measure); }
.fine { font-size: 0.85rem; color: var(--silver); }

/* Header */
.site-header { border-bottom: 1px solid var(--dust); background: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; text-decoration: none; }
.logo { height: 1.9rem; width: auto; display: block; }
.site-header nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-header nav a { font-family: var(--display); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--green); }

/* Hero */
.hero { padding: 5rem 0 4rem; background: linear-gradient(100deg, var(--white) 55%, rgba(77, 254, 174, 0.28)); border-bottom: 1px solid var(--dust); }
.hero-product { background: linear-gradient(100deg, var(--white) 55%, rgba(204, 199, 196, 0.45)); }
.actions { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.button { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.95rem; padding: 0.8rem 1.3rem; border-radius: 6px; background: var(--carbon); color: var(--white); text-decoration: none; border: 2px solid var(--carbon); }
.button:hover { background: var(--taupe); border-color: var(--taupe); }
.button.ghost { background: transparent; color: var(--carbon); }
.button.ghost:hover { background: var(--green); border-color: var(--carbon); }

/* Sections */
.band { background: var(--carbon); color: var(--dust); padding: 3.5rem 0; }
.band h2 { color: var(--white); margin-top: 0; font-size: 1.2rem; }
.band h2::before { content: ""; display: block; width: 2rem; height: 4px; background: var(--green); margin-bottom: 1rem; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.principles, .faq, .contact { max-width: var(--wrap); }
.principles h2, .faq h2, .contact h2 { margin-top: 4rem; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; max-width: 56rem; }
.checks li { padding-left: 1.75rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 2px var(--carbon); }

details { border-top: 1px solid var(--dust); padding: 0.9rem 0; max-width: var(--measure); }
details:last-of-type { border-bottom: 1px solid var(--dust); }
summary { font-family: var(--display); font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.25rem; top: -0.1rem; font-size: 1.3rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
.answer { padding-top: 0.6rem; color: var(--taupe); }
.answer p:last-child { margin-bottom: 0; }

.contacts { display: grid; grid-template-columns: 12rem 1fr; gap: 0.5rem 1.5rem; max-width: var(--measure); margin-bottom: 4rem; }
.contacts dt { font-weight: 500; color: var(--muted); }
.contacts dd { margin: 0; }

/* Documentation */
.doc { max-width: calc(var(--measure) + 3rem); padding-bottom: 4rem; }
.steps { padding-left: 0; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-left: 2.75rem; margin-bottom: 1rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--green); color: var(--carbon); font-family: var(--display); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.prompts dt { font-family: var(--display); font-weight: 600; margin-top: 1rem; }
.prompts dd { margin: 0.25rem 0 0; color: var(--taupe); }

/* Legal */
.legal { max-width: calc(var(--measure) + 3rem); padding-top: 3.5rem; padding-bottom: 4rem; }
.legal h1 { max-width: none; }
.legal h2 { font-size: 1.3rem; }
.updated { color: var(--muted); font-style: italic; }
.table { overflow-x: auto; margin: 0 0 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--dust); }
th { font-family: var(--display); font-weight: 600; font-size: 0.85rem; background: var(--paper); }

.notfound { padding: 6rem 1.5rem; }

/* Footer */
.site-footer { background: var(--carbon); color: var(--dust); padding: 3.5rem 0 2rem; }
.site-footer a { color: var(--dust); text-decoration-color: rgba(77, 254, 174, 0.6); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin: 0 0 0.75rem; }
.footer-grid > div > a:not(.brand) { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; }
.logo-light { height: 1.7rem; margin-bottom: 1rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #3a3a3a; }

@media (max-width: 52rem) {
  .three, .checks, .footer-grid { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .contacts dd { margin-bottom: 0.75rem; }
  .hero { padding: 3.25rem 0 2.75rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a:nth-child(2) { display: none; }
}

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