/* Structural Python — site styles
   Palette pulls flat colours from the logo gradient (purple, coral, yellow);
   the gradient itself is reserved for the logo. */

:root {
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --sheet: #ffffff;
  --ink: #17131f;
  --ink-2: #4b4657;
  --ink-3: #7a7486;
  --line: #ddd7cb;
  --grid: rgba(23, 19, 31, 0.055);

  --night: #160f22;
  --night-2: #221933;
  --night-line: #3a2f4d;
  --on-night: #f3effa;
  --on-night-2: #b9b0c9;

  --purple: #4100c2;
  --purple-soft: #ebe3fb;
  --coral: #c43d22;
  --coral-hover: #a9321a;
  --yellow: #ffe31d;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --math: "Cambria Math", Cambria, "STIX Two Text", Georgia, "Times New Roman", serif;

  --radius: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 2px; }
code { font-family: var(--mono); font-size: 0.9em; }
var { font-family: var(--math); font-style: italic; font-size: 1.08em; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; }
h3 { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

mark {
  background: var(--yellow);
  color: inherit;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--sheet); padding: 8px 12px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}
.eyebrow::before { content: "// "; color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1em 1.4em;
  border-radius: var(--radius);
  border: 2px solid var(--coral);
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--coral-hover); border-color: var(--coral-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { padding: 0.7em 1em; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__login { margin-left: auto; color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.nav__login:hover { color: var(--purple); text-decoration: underline; }
.nav nav + .nav__login { margin-left: 0; }
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav nav + .nav__login { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav__inner { gap: 16px; }
  .nav__price { display: none; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.proof strong { font-family: var(--mono); font-weight: 600; color: var(--ink); margin-right: 4px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Calc sheet ---------- */
.sheet {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: 10px 10px 0 var(--ink);
  font-size: 0.9375rem;
  min-width: 0;
}
.sheet__title {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.sheet__title > div { padding: 8px 12px; border-right: 1px solid var(--ink); }
.sheet__title > div:last-child { border-right: 0; }
.sheet__title span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sheet__body { position: relative; padding: 20px 20px 24px; }
.sheet__label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.calc {
  font-family: var(--math);
  font-size: 1.0625rem;
  line-height: 2.1;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  overflow-wrap: anywhere;
}
.calc:last-of-type { border-bottom: 0; }
.calc b { font-weight: 700; background: var(--yellow); padding: 0 0.2em; white-space: nowrap; }
.calc sub, .calc sup { font-size: 0.7em; }
.calc--inputs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.frac {
  display: inline-flex;
  flex-direction: column;
  vertical-align: middle;
  text-align: center;
  line-height: 1.3;
  margin: 0 0.15em;
}
.frac > span:first-child { border-bottom: 1px solid currentColor; padding: 0 0.2em; }
.stamp {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  border: 2px solid var(--coral);
  border-radius: 4px;
  padding: 3px 8px;
  transform: rotate(-6deg);
  opacity: 0.9;
}
.sheet__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.chip { padding: 4px 10px; border: 1px solid var(--ink); border-radius: 999px; background: var(--sheet); }
.chip--next { background: var(--purple); color: #fff; border-color: var(--purple); }
.chip var { font-family: var(--mono); font-style: normal; font-size: 1em; }
.arrow { font-weight: 600; color: var(--coral); }

@media (max-width: 520px) {
  .sheet { box-shadow: 6px 6px 0 var(--ink); }
  .sheet__title { grid-template-columns: 1fr 1fr; }
  .sheet__title > div:nth-child(2) { border-right: 0; }
  .sheet__title > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .sheet__body { padding: 16px 14px 18px; }
  .calc { font-size: 0.9375rem; }
  .stamp { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--paper { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--night); color: var(--on-night); }
.section--dark .eyebrow { color: var(--yellow); }
.section--dark a { color: var(--yellow); }
.section__intro { font-size: 1.125rem; color: var(--ink-2); max-width: 44em; margin-bottom: 48px; }
.section--dark .section__intro { color: var(--on-night-2); }

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  padding: 28px 26px 24px;
}
.card p { color: var(--ink-2); margin: 0; }
.card__num { display: block; font-family: var(--mono); font-size: 0.8125rem; color: var(--coral); margin-bottom: 18px; }
.aside {
  margin: 36px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--yellow);
  color: var(--ink-2);
  max-width: 44em;
}
@media (max-width: 860px) { .cards--3 { grid-template-columns: 1fr; } }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border: 1px solid var(--night-line); border-radius: var(--radius); padding: 28px; }
.compare__col h3 { color: var(--on-night-2); }
.compare__col--good { background: var(--night-2); border-color: var(--yellow); }
.compare__col--good h3 { color: var(--on-night); }
.compare code { background: rgba(255, 255, 255, 0.08); padding: 1px 6px; border-radius: 3px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.x-list, .check-list { list-style: none; margin: 0; padding: 0; }
.x-list li, .check-list li { position: relative; padding: 8px 0 8px 30px; }
.x-list li { color: var(--on-night-2); }
.x-list li::before, .check-list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--mono);
  font-weight: 600;
}
.x-list li::before { content: "✕"; color: #e9795e; }
.check-list li::before { content: "✓"; color: var(--yellow); }

/* method */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split p { color: var(--ink-2); font-size: 1.0625rem; }
.split strong { color: var(--ink); }
.callout {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--purple-soft);
  border-left: 4px solid var(--purple);
  color: var(--ink) !important;
  font-weight: 500;
}
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chain__node {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--sheet);
  border: 1px solid var(--ink);
  margin-bottom: 28px;
}
.chain__node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -29px;
  width: 2px;
  height: 28px;
  background: var(--coral);
}
.chain__node:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  bottom: -30px;
  border: 6px solid transparent;
  border-top: 7px solid var(--coral);
  border-bottom: 0;
  z-index: 1;
  transform: translateX(-0.5px);
}
.chain__node:last-child { margin-bottom: 0; }
.chain__node--out { background: var(--ink); color: var(--paper); }
.chain__node--out .chain__tag { background: var(--yellow); color: var(--ink); }
.chain__node--out code { color: var(--yellow); }
.chain__tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-2);
  padding: 3px 8px;
  border-radius: 3px;
  text-align: center;
}
.chain__node strong { font-family: var(--display); font-weight: 600; }
.chain__node code { color: var(--purple); font-size: 0.8125rem; white-space: nowrap; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .chain__node { grid-template-columns: 1fr auto; }
  .chain__tag { display: none; }
}

/* tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool {
  display: flex;
  flex-direction: column;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
a.tool:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: 6px 6px 0 var(--ink); }
.tool__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tool h3 { font-family: var(--mono); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; margin: 0; }
.tool p { color: var(--ink-2); font-size: 0.96875rem; flex: 1; }
.tool__meta { font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-3); }
.tool--links { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tool--links h3 { font-family: var(--display); margin-bottom: 10px; }
.tool--links p { color: var(--on-night-2); flex: 0; }
.textlink { color: var(--yellow); font-family: var(--mono); font-size: 0.875rem; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.textlink:hover { color: #fff; text-decoration: underline; }
.badge {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--ink-3);
}
.badge--new { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tools { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about p { color: var(--ink-2); font-size: 1.0625rem; max-width: 36em; }
.portrait { margin: 0; }
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--purple);
}
.portrait figcaption { margin-top: 18px; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.stats > div { padding: 22px 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--sheet); }
.stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px; }
.stats dd { margin: 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.4; }
.stats > div:first-child dt { color: var(--purple); }
.stats > div:nth-child(4) dt { color: var(--coral); }
@media (max-width: 1080px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}
@media (max-width: 480px) { .portrait img { box-shadow: 6px 6px 0 var(--purple); } }

/* photo band */
.band { margin: 0; position: relative; background: var(--night); }
.band img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 40%; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: clamp(16px, 3vw, 32px); }
.band figcaption span {
  display: inline-block;
  max-width: 30ch;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2vw, 1.5rem);
  line-height: 1.25;
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
}

/* pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 16px; align-items: stretch; }
.anchor { border: 1px solid var(--night-line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.anchor h3 { font-size: 1.5rem; margin-bottom: 4px; }
.anchor__sub { color: var(--on-night-2); margin-bottom: 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.9375rem; color: var(--on-night-2); margin-bottom: 8px; }
.field output { font-family: var(--mono); color: var(--on-night); font-weight: 600; }
.field__row { display: inline-flex; align-items: center; gap: 8px; }
.field__unit { font-family: var(--mono); color: var(--on-night-2); }
.field input[type="number"] {
  width: 7ch;
  font: 600 1.25rem var(--mono);
  color: var(--on-night);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 4px;
  padding: 8px 10px;
}
.field input[type="range"] { width: 100%; accent-color: var(--yellow); }
.anchor__results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 20px; }
.anchor__results > div { background: var(--night-2); border-radius: var(--radius); padding: 18px; color: var(--on-night-2); font-size: 0.9375rem; line-height: 1.45; }
.anchor__results b { color: var(--yellow); }
.anchor__big { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; color: var(--on-night); margin-bottom: 8px; letter-spacing: -0.02em; }
.fine { font-size: 0.875rem; color: var(--on-night-2); margin: 0; }

.plan {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 10px 0 var(--yellow);
}
.plan__name { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan__amount { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.04em; }
.plan__per { font-family: var(--mono); color: var(--ink-2); }
.plan__note { color: var(--ink-2); margin-bottom: 20px; }
.plan .check-list { margin-bottom: 28px; flex: 1; }
.plan .check-list li { border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; }
.plan .check-list li::before { color: var(--coral); top: 12px; }
.plan__fine { font-size: 0.875rem; color: var(--ink-3); text-align: center; margin: 12px 0 0; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .anchor__results { grid-template-columns: 1fr; } .plan { box-shadow: 6px 6px 0 var(--yellow); } }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 72px); }
.faq__list details { border-top: 1px solid var(--ink); }
.faq__list details:last-child { border-bottom: 1px solid var(--ink); }
.faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--mono); font-size: 1.5rem; color: var(--coral); line-height: 1; }
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { color: var(--ink-2); padding-bottom: 12px; max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* final cta */
.final {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 112px) 0;
}
.final__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.final__photo img { width: 100%; height: auto; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--coral); }
.final__copy > img { margin-bottom: 24px; }
.final h2 { max-width: 18ch; margin-bottom: 28px; }
.final__fine { font-size: 0.875rem; color: var(--ink-3); margin: 14px 0 0; }
@media (max-width: 860px) {
  .final__inner { grid-template-columns: 1fr; }
  .final__copy { order: -1; }
}
@media (max-width: 480px) { .final__photo img { box-shadow: 6px 6px 0 var(--coral); } }

/* footer */
.footer { background: var(--night); color: var(--on-night-2); padding: 36px 0; font-size: 0.875rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer .brand { color: var(--on-night); font-size: 1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--on-night-2); }
.footer a:hover { color: var(--yellow); }
.footer p { margin: 0 0 0 auto; }
@media (max-width: 620px) { .footer p { margin-left: 0; } }

/* 404 page */
.notfound {
  min-height: calc(100vh - 68px - 100px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 104px) 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.notfound__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
.notfound__hint { font-size: 0.9375rem; color: var(--ink-2); margin: 0; }
.notfound .chip--next { text-decoration: none; }
.notfound .chip--next:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
@media (max-width: 960px) { .notfound__grid { grid-template-columns: 1fr; } }
