
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  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 {
  color-scheme: dark;
  --ground: #08090A; --raised: #0E1011;
  --fg: #E6E6E6; --fg-dim: #949494; --fg-faint: #7C7C7C;
  --line: #1E2224; --line-strong: #2E3436;
  --brand: #3FCB86; --error: #F2A3A3;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--fg); font: 16px/1.6 var(--sans); }
main { flex: 1; }
.wrap { width: 100%; max-width: 52rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 2.5rem; } }
a { color: var(--fg); }
p { margin: 0 0 1rem; }
.dim { color: var(--fg-dim); }
.measure { max-width: 62ch; }

/* The mono layer: labels, figures, status, keys. */
.label { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); font-weight: 400; }
code, .mono { font-family: var(--mono); font-size: 0.9375rem; letter-spacing: 0; }

/* Header: the plugins nav's wordmark on a hairline. */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.75rem; text-decoration: none; color: var(--fg); }
.brand .mark { display: inline-flex; align-items: flex-start; gap: 2px; font-size: 19px; line-height: 1; letter-spacing: -0.02em; font-weight: 500; white-space: nowrap; }
.brand .mark sup { font-family: var(--mono); font-size: 10px; line-height: 1; margin-top: 1px; color: var(--brand); vertical-align: baseline; }

/* Type. */
.page { padding-top: 3rem; padding-bottom: 4.5rem; }
@media (min-width: 640px) { .page { padding-top: 4.5rem; padding-bottom: 6rem; } }
.eyebrow { margin: 0 0 1.25rem; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
h2 { margin: 0; font-size: 1.5rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; }
.lede { font-size: 1.125rem; color: var(--fg-dim); max-width: 46ch; }

/* Actions: text with an ivy underline. Buttons look the same as links. */
.action { display: inline-block; padding: 0.625rem 0; margin: 0; border: 0; background: none; color: var(--fg); font: inherit; font-size: 0.9375rem; line-height: 1.4; cursor: pointer; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: color 0.2s; }
.action:hover, .action:focus-visible { color: var(--brand); }
.action.quiet { text-decoration-color: var(--line-strong); color: var(--fg-dim); }
.action.quiet:hover, .action.quiet:focus-visible { color: var(--fg); text-decoration-color: var(--fg-dim); }
:focus-visible { outline: 1px solid var(--brand); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 2rem; margin-top: 1.5rem; }
form.inline { display: inline; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Forms. */
.field { margin: 2rem 0 1.5rem; max-width: 28rem; }
.field label { display: block; margin-bottom: 0.75rem; }
input[type=email] { width: 100%; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--fg); font: inherit; font-size: 1.125rem; }
input[type=email]:focus { outline: none; border-bottom-color: var(--brand); }
.error { color: var(--error); margin-top: 0.75rem; }

/* A licence: a block on a hairline, not a card. */
.licence { border-top: 1px solid var(--line-strong); padding: 2rem 0 2.5rem; }
.licence + .licence { margin-top: 0.5rem; }
.licence-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1.5rem; }

/* Readouts: a hairline cell grid. */
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 1.25rem; background: var(--line); border: 1px solid var(--line); }
.readout > div { background: var(--ground); padding: 0.875rem 1rem 1rem; min-width: 0; }
.readout dt { margin-bottom: 0.5rem; }
.readout dd { margin: 0; font-family: var(--mono); font-size: 0.9375rem; overflow-wrap: anywhere; }
.readout .on { color: var(--fg); }
@media (max-width: 559px) { .readout { grid-template-columns: minmax(0, 1fr); } .readout > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .readout dt { margin: 0; } .readout dd { text-align: right; } }

/* The key. */
.key { margin: 1.75rem 0 0; }
.key .label { display: block; margin-bottom: 0.625rem; }
.key-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 1rem; border: 1px solid var(--line-strong); background: var(--raised); }
.key-box code { font-size: 1.0625rem; letter-spacing: 0.06em; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.copy { flex: none; padding: 0.25rem 0; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; text-underline-offset: 5px; }

/* Sites: rows on hairlines. */
.sites { margin: 2rem 0 0; }
.sites > .label { display: block; margin-bottom: 0.75rem; }
.site { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 0.25rem 1.5rem; padding: 0.375rem 0; border-top: 1px solid var(--line); }
.site:last-child { border-bottom: 1px solid var(--line); }
.site code { overflow-wrap: anywhere; }
.site .seen { color: var(--fg-faint); }
@media (max-width: 559px) { .site { grid-template-columns: minmax(0, 1fr) auto; padding: 0.75rem 0; } .site code { grid-column: 1 / -1; } .site .seen { grid-column: 1; } .site form { grid-column: 2; grid-row: 2 / span 2; } }
.empty { color: var(--fg-dim); margin: 1rem 0 0; }

/* Billing, at the end. */
.billing { border-top: 1px solid var(--line-strong); padding-top: 2rem; margin-top: 1rem; }
.billing p { color: var(--fg-dim); max-width: 52ch; margin: 0.25rem 0 0; }

/* Confirm pages. */
.confirm .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }

/* Footer: the plugins footer, condensed. */
.foot { background: var(--raised); padding: 3rem 0 2.5rem; font-size: 0.9375rem; }
.foot .contact { color: var(--fg-dim); margin-bottom: 1.5rem; }
.foot .contact a { color: var(--fg-dim); }
.foot .contact a:hover { color: var(--fg); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.foot nav a { color: var(--fg-dim); text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.foot .legal { margin: 1.5rem 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.7; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }
