/* Landing page styles. Expects theme.css to be linked first.
 *
 * Copyright (c) 2026 Jessica Sepulveda. All rights reserved.
 */

/* The landing page reads at 16px; the console runs a denser 15px scale. */
body{font:400 16px/1.6 "IBM Plex Sans",system-ui,sans-serif}

header{background:var(--ink);color:#fff;padding:52px 32px 46px;
       border-bottom:3px solid var(--turf)}
.wrap{max-width:960px;margin:0 auto}
header .eyebrow{font-size:12px;color:var(--turf);margin-bottom:14px}
header h1{margin:0 0 16px;font-size:38px;line-height:1.15;letter-spacing:-.01em;font-weight:600}
header p{margin:0;max-width:620px;color:#B7C3D1;font-size:17px}

section{padding:44px 32px}
h2{font-size:12px;color:var(--ink-3);margin:0 0 18px}
h2.tight{margin-bottom:7px}
.lede{margin:0 0 20px;font-size:14px;color:var(--ink-3)}

/* ---- link cards ----
   These need to read as clickable at a glance, so the affordance is stacked:
   a raised surface at rest, an icon, an explicit call to action, and on hover
   a lift plus a travelling arrow and an underline. Any one of these on its own
   still left them looking like static panels. */
.links{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
a.card{
  display:flex;flex-direction:column;gap:10px;cursor:pointer;
  text-decoration:none;color:inherit;background:var(--card);
  border:1px solid var(--rule);border-left:3px solid var(--ink);border-radius:4px;
  padding:20px 22px 18px;
  box-shadow:0 1px 2px rgba(22,32,46,.06), 0 6px 16px rgba(22,32,46,.05);
  transition:transform .14s ease, box-shadow .14s ease, border-left-color .14s ease;
}
/* The console is the thing to open first, so it carries the go-colour. */
a.card.primary{border-left:4px solid var(--turf)}
a.card:hover{
  transform:translateY(-3px);border-left-color:var(--turf-edge);
  box-shadow:0 2px 4px rgba(22,32,46,.09), 0 14px 30px rgba(22,32,46,.13);
}
a.card:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

a.card .ico{
  width:38px;height:38px;border-radius:3px;display:grid;place-items:center;
  background:var(--turf-wash);color:var(--resolve);
}
a.card.primary .ico{background:var(--turf);color:var(--ink)}
a.card .ico svg{width:21px;height:21px;display:block}

a.card strong{font-size:17px;font-weight:600;line-height:1.3}
a.card .desc{font-size:14px;color:var(--ink-3);line-height:1.5}
a.card .desc code{font-size:13px;background:var(--paper);border:1px solid var(--rule);
                  border-radius:2px;padding:1px 4px}
a.card .go{
  margin-top:auto;padding-top:6px;
  font-family:"Barlow Condensed",sans-serif;text-transform:uppercase;
  letter-spacing:.07em;font-weight:600;font-size:12px;color:var(--resolve);
  display:inline-flex;align-items:center;gap:7px;
}
a.card .go .arrow{transition:transform .14s ease}
a.card:hover .go{text-decoration:underline;text-underline-offset:3px}
a.card:hover .go .arrow{transform:translateX(4px)}

@media (prefers-reduced-motion:reduce){
  a.card,a.card .go .arrow{transition:none}
  a.card:hover{transform:none}
  a.card:hover .go .arrow{transform:none}
}

.frame{background:var(--card);border:1px solid var(--rule);border-radius:3px;
       padding:10px;line-height:0}
.frame iframe{width:100%;height:min(62vh,560px);border:0;display:block}
.caption{font-size:14px;color:var(--ink-3);margin:12px 0 0;line-height:1.55}
/* --resolve, not --turf: turf is only 2:1 on paper and unreadable as text. */
.caption a{color:var(--resolve);text-decoration:underline;text-underline-offset:2px}
.caption a:hover{color:var(--turf-edge)}
.caption a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

footer{padding:0 32px;color:var(--ink-3)}
.copyright{
  border-top:1px solid var(--rule);padding:18px 0 44px;
  display:flex;gap:16px;flex-wrap:wrap;align-items:center;font-size:12px;
}
.copyright .board{margin-left:auto;letter-spacing:.08em}
.copyright .dot{color:var(--turf-edge)}

@media (max-width:640px){header h1{font-size:29px}section{padding:34px 20px}}
