:root {
  color-scheme: light;
  --paper: #f8f2df;
  --white: #fffdf5;
  --blue: #182bbe;
  --ink: #171b39;
  --red: #ab2b1e;
  --lime: #dee97c;
  --line: #cec7ad;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.skip { position: absolute; inset: .6rem auto auto .6rem; transform: translateY(-200%); background: var(--white); padding: .6rem; z-index: 1; }
.skip:focus { transform: none; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.15rem; }
.top { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--blue); font-weight: 850; text-decoration: none; letter-spacing: -.025em; }
.brand-icon { position: relative; display: grid; place-items: center; width: 1.9rem; height: 1.6rem; border-radius: .43rem .43rem .35rem .35rem; background: var(--blue); box-shadow: 0 .17rem 0 #111a73; transform: rotate(-8deg); }
.brand-icon i { display: block; position: relative; width: 1.18rem; height: .83rem; border-radius: .22rem; background: var(--lime); }
.brand-icon i::before, .brand-icon i::after { content: ""; position: absolute; background: var(--blue); }
.brand-icon i::before { width: .1rem; height: .14rem; border-radius: .05rem; top: .2rem; left: .32rem; box-shadow: .42rem 0 var(--blue); }
.brand-icon i::after { width: .29rem; height: .092rem; border-radius: 0 0 1rem 1rem; top: .48rem; left: .45rem; }
nav { display: flex; gap: clamp(.75rem, 2.7vw, 1.8rem); flex-wrap: wrap; }
nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: 1.8rem; align-items: center; padding-block: clamp(2.25rem, 5.4vw, 5.1rem); }
h1 { color: var(--blue); font-size: clamp(5.2rem, 12.3vw, 10.6rem); font-weight: 950; line-height: .76; letter-spacing: -.105em; }
h1 span, h1 small { display: block; }
h1 small { font-size: .38em; line-height: 1.12; letter-spacing: -.045em; color: var(--red); font-weight: 800; margin: .08em 0 0 .14em; }
.intro p { margin-block: 1.5rem 1.35rem; max-width: 33ch; font-size: clamp(1.06rem, 1.9vw, 1.28rem); }
figure { border: 1px solid #d9cda9; border-radius: 1.25rem; overflow: hidden; background: #faeed0; }
img { display: block; width: 100%; height: auto; }
h2 { font-size: clamp(2.1rem, 4.7vw, 3.25rem); line-height: 1.05; letter-spacing: -.052em; color: var(--blue); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1.12rem; border: 2px solid var(--blue); border-radius: 2rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #101e83; border-color: #101e83; color: white; }
.secondary { color: var(--blue); background: transparent; }
.secondary:hover { background: #e4e4fd; color: var(--blue); }
button:disabled { opacity: .62; cursor: default; }
.bench { background: var(--lime); border-block: 1px solid #b4be52; padding-block: clamp(2.5rem, 5.6vw, 5rem); }
.bench-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.bench h2 + p, .support h2 + p { margin-top: .8rem; max-width: 44ch; }
.tool { background: var(--white); border: 1px solid #959c4b; border-radius: 1rem; padding: clamp(.9rem, 3vw, 1.5rem); box-shadow: .35rem .4rem 0 #a0aa42; }
label { display: block; font-weight: 700; margin-bottom: .45rem; }
textarea { display: block; width: 100%; min-height: 8rem; resize: vertical; background: #f5f3ed; color: var(--ink); border: 1px solid #9a98a9; border-radius: .5rem; padding: .75rem; font: 1rem/1.5 ui-monospace, monospace; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.status:not(:empty) { margin-top: .7rem; }
.support { padding-block: clamp(2.5rem, 6vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap; }
.footer { border-top: 1px solid var(--line); }
.legal { width: min(100% - 3rem, 46rem); margin: clamp(2.25rem, 6vw, 5rem) auto; }
.legal h1 { font-size: clamp(2.65rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.06em; margin-bottom: .85rem; }
.legal h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); letter-spacing: -.025em; margin-top: 1.7rem; }
.legal p { margin-top: .7rem; }
@media (max-width: 48rem) {
  .hero, .bench-layout { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .shell, .legal { width: calc(100% - 2rem); }
}
