/* Genny — palette sampled from the mark.
   #28B5C9 is 2.1:1 on white: borders, underlines, focus rings, large display only.
   #1C5165 is 7.6:1 and carries all body copy. */
:root {
  --ink:   #1C5165;
  --mid:   #24728B;
  --cyan:  #28B5C9;
  --dark:  #123A4A;
  --soft:  #5B95A3;
  --line:  #e3edf1;
  --wash:  #f7fafb;
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem }

header { border-bottom: 1px solid var(--line); background: #fff }
header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap }
header img { height: 34px; width: auto; display: block }
nav { margin-left: auto; display: flex; gap: 1.25rem; flex-wrap: wrap }
nav a { color: var(--mid); text-decoration: none; font-size: .95rem; padding-bottom: 2px }
nav a:hover { color: var(--ink); border-bottom: 2px solid var(--cyan) }
nav a[aria-current] { color: var(--ink); border-bottom: 2px solid var(--cyan) }

main { padding: 3rem 0 4rem }
h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 .6rem; font-weight: 650; letter-spacing: -.015em }
h2 { font-size: 1.15rem; margin: 2.6rem 0 .7rem; font-weight: 650 }
h3 { font-size: 1rem; margin: 1.8rem 0 .4rem; font-weight: 650 }
p, li { color: #2b5c70 }
.lede { font-size: 1.2rem; color: var(--mid); margin: 0 0 2rem }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px }
a:hover { text-decoration-thickness: 2px }
strong { color: var(--ink) }

.card { background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.5rem 0 }
.card p:last-child, .card ul:last-child { margin-bottom: 0 }
.card p:first-child, .card ul:first-child { margin-top: 0 }

.url { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
       background: var(--dark); color: #d6f3f9; border: 0; border-radius: 10px;
       padding: .85rem 1.1rem; font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
       margin: 1rem 0; cursor: pointer }
.url .addr { word-break: break-all }
.url .hint { margin-left: auto; flex: none; color: var(--cyan); font-family: inherit;
             font-size: 13px; letter-spacing: .04em; text-transform: uppercase }
.url:hover { background: #0d2c39; color: #fff }
.url:hover .hint { color: #6fe0ef }
.url:active { transform: translateY(1px) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.5rem 0 }
ol.steps > li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.5rem }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: .9rem; font-weight: 650;
}
ol.steps b { display: block; color: var(--ink) }

table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .96rem }
th { text-align: left; font-weight: 650; color: var(--mid); border-bottom: 2px solid var(--line); padding: .5rem .6rem }
td { padding: .5rem .6rem; border-bottom: 1px solid #f0f5f7 }
tr:last-child td { border-bottom: 0 }
td.n { text-align: right; font-variant-numeric: tabular-nums }

.stats { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0 }
.stat { flex: 1 1 8rem; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; background: #fff }
.stat b { display: block; font-size: 1.9rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.1 }
.stat span { color: var(--soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em }

details { border-bottom: 1px solid var(--line); padding: .9rem 0 }
details summary { cursor: pointer; font-weight: 650; color: var(--ink); list-style: none }
details summary::-webkit-details-marker { display: none }
details summary::before { content: "+ "; color: var(--cyan); font-weight: 700 }
details[open] summary::before { content: "– " }
details p { margin: .7rem 0 0 }

.try { margin: 0; padding: 0; list-style: none }
.try li { border-left: 3px solid var(--cyan); padding: .15rem 0 .15rem .9rem; margin: .7rem 0; color: var(--mid); font-style: italic }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--soft); font-size: .9rem }
footer a { color: var(--soft) }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px }

@media (max-width: 560px) {
  h1 { font-size: 1.6rem } .lede { font-size: 1.08rem }
  header .wrap { gap: .8rem } nav { gap: .9rem; margin-left: 0; width: 100% }
}
