:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #3e4c63;
  --line: rgba(15, 23, 42, 0.12);
  --primary: #153eb7;
  --primary-bright: #1f5eff;
  --accent: #0f766e;
  --paper: #f2f2f2;
  --orange: #f16a26;
  --orange-deep: #f06925;
  --blue: #438dc8;
  --blue-2: #448cca;
  --max: 1080px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
body.yta { background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 0.45em; }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.85em; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 30;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.4rem;
}
.brand { color: var(--ink); text-decoration: none; font-weight: 800; display: flex; flex-direction: column; line-height: 1.1; }
.brand small { font-weight: 650; color: var(--muted); font-size: 0.75rem; }
.call {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.call:hover { background: var(--primary-bright); color: #fff; }
body.yta .call { background: var(--orange); color: #1a120c; }
body.yta .call:hover { background: var(--orange-deep); color: #1a120c; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.menu-button { display: none; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}
.nav a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-underline-offset: 0.2em; }
body.yta .nav a[aria-current="page"] { color: #9a3412; }
.hero { padding: 2.5rem 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0 0.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-bright); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line); }
body.yta .btn-primary { background: var(--orange); color: #1a120c; }
body.yta .btn-blue { background: var(--blue); color: #fff; }
body.yta .btn-blue:hover { background: var(--blue-2); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 0.4rem;
  box-shadow: var(--shadow);
}
.section { padding: 0.5rem 0 2.2rem; }
.section h2 { margin-top: 0.2rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; align-items: center; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }
.steps { margin: 0; padding-left: 1.2rem; }
.steps li { margin: 0 0 0.7rem; }
.names { columns: 2; margin: 0 0 1rem; padding-left: 1.1rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; color: var(--muted); background: #fff; }
.site-footer a { font-weight: 700; }
.foot-row { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; }
.note { font-size: 0.95rem; }
@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0 0.8rem;
    font-weight: 800;
  }
  .nav { display: none; width: 100%; padding-bottom: 0.7rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .topbar-inner { flex-wrap: wrap; padding: 0.45rem 0; }
  .split { grid-template-columns: 1fr; }
  .names { columns: 1; }
}
