/* Product page (index.html). Swiss grid, left-aligned, one accent, built on tokens.css + ui.css. */

:root {
  --wrap: 1120px;
  --gutter: max(24px, var(--safe-l), var(--safe-r));
  --tile: var(--bg-grouped);
  --art: var(--surface);
  --paper: #ffffff;
  --paper-ink: #1d1d1f;
  --paper-line: #e3e3e6;
  --nav-bg: rgba(255, 255, 255, 0.82);
}
@media (prefers-color-scheme: dark) {
  :root {
    --tile: var(--surface);
    --art: var(--surface);
    --paper: #ececee;
    --paper-ink: #1d1d1f;
    --paper-line: #cfcfd3;
    --nav-bg: rgba(0, 0, 0, 0.78);
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-size: 17px; line-height: 1.5; }

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

.eyebrow { font: 600 17px/1.3 var(--font); color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: var(--safe-t);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -0.5px 0 var(--hairline-strong);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; gap: var(--s8); height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font: 600 17px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; color: var(--text); border-radius: 8px; white-space: nowrap; }
.nav-links { display: flex; gap: var(--s6); margin-left: auto; }
.nav-links a, .nav-signin { font: 400 14px/1 var(--font); color: var(--text-2); text-decoration: none; padding: 8px 0; border-radius: 4px; }
.nav-links a:hover, .nav-signin:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: var(--s5); }
.nav-links + .nav-actions { margin-left: var(--s2); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions, .nav-links + .nav-actions { margin-left: auto; }
}
@media (max-width: 480px) { .nav-signin { display: none; } .nav-inner { gap: var(--s4); } }

/* ---------- Hero ---------- */
.hero { padding: var(--s24) 0 var(--s16); overflow: hidden; }
.hero-copy { max-width: 820px; }
.hero-title {
  margin: var(--s3) 0 var(--s6);
  font: 600 clamp(40px, 7.6vw, 88px)/1.02 var(--font); letter-spacing: -0.03em;
  text-wrap: balance;
}
.lede { max-width: 34em; font: 400 clamp(19px, 1.9vw, 23px)/1.42 var(--font); color: var(--text-2); letter-spacing: -0.005em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s8); }
.btn.more { padding-left: var(--s4); padding-right: var(--s3); gap: 4px; }
.btn.more svg { width: 15px; height: 15px; }
@media (max-width: 600px) {
  .hero { padding-top: var(--s12); }
  .hero-title br, .section-title br { display: none; }
  .hero-title { font-size: 38px; }
  .lede { font-size: 18px; }
  .cta-row .btn-lg { flex: 1 1 auto; }
}

/* ---------- Product visual ---------- */
.demo { margin-top: var(--s16); container-type: inline-size; }
.win {
  --i: 0;
  font-size: calc(100cqw / 65); /* designed at 1040px = 65em */
  border-radius: 0.875em; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline), 0 2em 4em -2.5em rgba(0, 0, 0, 0.18);
  line-height: 1.35;
}
@media (prefers-color-scheme: dark) { .win { box-shadow: 0 0 0 1px var(--hairline-strong); } }
.win img { display: block; }
.win-bar {
  display: flex; align-items: center; gap: 1em; height: 2.75em; padding: 0 1em;
  background: var(--surface-2); box-shadow: inset 0 -1px 0 var(--hairline);
}
.win-dots { display: flex; gap: 0.5em; }
.win-dots i { width: 0.75em; height: 0.75em; border-radius: 50%; background: var(--fill-strong); }
.win-url {
  display: flex; align-items: center; gap: 0.4em; min-width: 0; width: 26em; max-width: 100%; height: 1.75em; margin: 0 auto; padding: 0 0.75em;
  border-radius: 0.5em; background: var(--surface); color: var(--text-2); font-size: 0.75em; white-space: nowrap; overflow: hidden;
}
.win-url svg { width: 1.1em; height: 1.1em; flex: none; }
.win-ext { display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 0.4em; background: var(--fill); }
.win-ext img { width: 1.15em; height: 1.15em; border-radius: 0.25em; }
.win-body { display: grid; grid-template-columns: 1fr 22.5em; min-height: 34em; }

.form { padding: 2em 2.5em 2.25em; }
.form-head { display: grid; gap: 0.25em; padding-bottom: 1.25em; margin-bottom: 1.5em; box-shadow: inset 0 -1px 0 var(--hairline); }
.form-co { font-weight: 700; font-size: 1em; letter-spacing: -0.02em; color: var(--text-2); }
.form-role { font-weight: 650; font-size: 1.625em; letter-spacing: -0.02em; }
.form-loc { font-size: 0.875em; color: var(--text-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1em 1.25em; }
.f { display: grid; gap: 0.4em; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f b { font-weight: 500; font-size: 0.75em; color: var(--text); }
.f em { font-style: normal; color: var(--danger); }
.f-in {
  --t: calc(0.5s + var(--i) * 0.12s);
  position: relative; display: flex; align-items: center; height: 2.25em; padding: 0 0.7em;
  border-radius: 0.4em; box-shadow: inset 0 0 0 1px var(--hairline-strong); background: var(--surface);
  font-size: 0.8125em; white-space: nowrap; overflow: hidden;
  animation: f-flash 1.4s var(--ease) var(--t) both;
}
.f-in .v { display: flex; align-items: center; gap: 0.4em; min-width: 0; overflow: hidden; text-overflow: ellipsis; animation: v-in 0.35s var(--ease) var(--t) both; }
.f-in.select > svg { position: absolute; right: 0.7em; top: 50%; width: 0.9em; height: 0.9em; margin-top: -0.45em; color: var(--text-2); }
.f-in.file { --t: 2.05s; }
.f-in.file .v { padding: 0.15em 0.55em 0.15em 0.4em; border-radius: 0.35em; background: var(--fill); font-weight: 500; }
.f-in.file svg { width: 1.1em; height: 1.1em; color: var(--text-2); flex: none; }
.f-in.area { --t: 3.3s; align-items: flex-start; height: 5.5em; padding: 0.55em 0.7em; white-space: normal; line-height: 1.45; }
.f-in.area .v { display: block; }
@keyframes f-flash {
  0% { background: var(--surface); }
  12% { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
  100% { background: var(--surface); }
}
@keyframes v-in { from { opacity: 0; transform: translateY(0.2em); } }

.panel {
  display: flex; flex-direction: column; gap: 0.75em; padding: 1em;
  background: var(--bg-grouped); box-shadow: inset 1px 0 0 var(--hairline);
}
@media (prefers-color-scheme: dark) { .panel { background: #0c0c0d; } }
.p-head { display: flex; align-items: center; gap: 0.5em; padding: 0.25em 0.25em 0.25em; }
.p-head img { width: 1.375em; height: 1.375em; border-radius: 0.35em; }
.p-name { font-weight: 600; font-size: 0.875em; }
.p-who { margin-left: auto; padding: 0.3em 0.7em; border-radius: 1em; background: var(--fill); font-size: 0.75em; font-weight: 500; }
.p-job, .p-list, .p-ask { background: var(--surface); border-radius: 0.75em; }
.p-job { display: grid; gap: 0.15em; padding: 0.75em 0.875em; }
.p-role { font-weight: 600; font-size: 0.875em; }
.p-co { font-size: 0.75em; color: var(--text-2); }
.p-list li { position: relative; display: flex; align-items: center; gap: 0.65em; padding: 0.7em 0.875em; }
.p-list li + li::before { content: ""; position: absolute; top: 0; left: 2.75em; right: 0; height: 1px; background: var(--hairline); }
.st { position: relative; width: 1.25em; height: 1.25em; flex: none; }
.st i { position: absolute; inset: 0; border-radius: 50%; }
.st .spin {
  border: 0.13em solid var(--fill-strong); border-top-color: var(--text-2); opacity: 0;
  animation: st-out 0.2s linear var(--d) both, ui-spin 0.8s linear infinite;
}
.st .ok { display: grid; place-items: center; background: var(--accent); animation: st-in 0.3s var(--ease) var(--d) both; }
.st .ok svg, .p-ready svg { width: 0.8em; height: 0.8em; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .st .ok svg { stroke: #000; } }
@keyframes st-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes st-in { from { opacity: 0; transform: scale(0.6); } }
.p-t { font-size: 0.8125em; font-weight: 500; min-width: 0; }
.p-t small { display: block; margin-top: 0.1em; font-size: 0.85em; font-weight: 400; color: var(--text-2); }
.p-pdf {
  margin-left: auto; padding: 0.3em 0.5em; border-radius: 0.35em; background: var(--fill);
  font-size: 0.625em; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2);
  animation: v-in 0.3s var(--ease) var(--d) both;
}
.p-ask { display: grid; gap: 0.4em; padding: 0.75em 0.875em 0.875em; animation: v-in 0.4s var(--ease) 3.7s both; }
.p-ask-t { font-size: 0.6875em; color: var(--text-2); }
.p-ask-q { font-size: 0.8125em; font-weight: 600; }
.p-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.15em; padding: 0.15em; border-radius: 0.5em; background: var(--fill); }
.p-seg i { font-style: normal; text-align: center; padding: 0.4em 0; border-radius: 0.375em; font-size: 0.6875em; }
.p-seg i.on { background: var(--seg-on); box-shadow: var(--seg-on-shadow); font-weight: 600; }
.p-foot { margin-top: auto; padding: 0 0.25em; }
.p-ready { display: flex; align-items: center; gap: 0.5em; font-size: 0.75em; color: var(--text-2); animation: v-in 0.4s var(--ease) 3.9s both; }
.p-ready svg { flex: none; width: 1.25em; height: 1.25em; padding: 0.22em; border-radius: 50%; background: var(--accent); }
@media (prefers-color-scheme: dark) { .p-ready svg { stroke: #000; } }

/* Narrow: the side panel on its own, at a readable size */
@container (max-width: 680px) {
  .win { font-size: calc(100cqw / 22.5); }
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .form { display: none; }
  .panel { box-shadow: none; }
  .win-dots { display: none; }
  .win-url { margin: 0; flex: 1; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .win *, .win *::before, .win *::after { animation: none !important; }
  .st .spin { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-grouped { background: var(--bg-grouped); }
@media (prefers-color-scheme: dark) { .section-grouped { box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline); } }
.section-head { margin-bottom: var(--s12); }
.section-title { margin-top: var(--s3); font: 600 clamp(32px, 4.8vw, 56px)/1.06 var(--font); letter-spacing: -0.025em; text-wrap: balance; }
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: var(--s8); }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); counter-reset: none; }
.step h3 { margin: 4px 0 var(--s2); font: 600 21px/1.25 var(--font); letter-spacing: -0.01em; }
.step p { color: var(--text-2); }
.step p.step-n { margin-top: var(--s5); font: 600 14px/1.3 var(--font); color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: var(--s12); } .step > p:last-child { max-width: 36em; } }

.tile {
  position: relative; height: 200px; border-radius: 18px; background: var(--tile); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px;
}
.tile img { display: block; }
.tile-install { gap: 12px; }
.mini-bar {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px;
  border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline);
}
.mini-url { flex: 1; font: 400 13px/1 var(--font); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-icons { display: flex; align-items: center; gap: 6px; }
.mini-icons img { width: 22px; height: 22px; border-radius: 5px; }
.mini-icons .puzzle {
  width: 22px; height: 22px; background: var(--text-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5a2 2 0 1 1 4 0V6h3.5A1.5 1.5 0 0 1 18 7.5V11h1.5a2 2 0 1 1 0 4H18v3.5a1.5 1.5 0 0 1-1.5 1.5H13v-1.5a2 2 0 1 0-4 0V20H5.5A1.5 1.5 0 0 1 4 18.5V15h1.5a2 2 0 1 0 0-4H4V7.5A1.5 1.5 0 0 1 5.5 6H9z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5a2 2 0 1 1 4 0V6h3.5A1.5 1.5 0 0 1 18 7.5V11h1.5a2 2 0 1 1 0 4H18v3.5a1.5 1.5 0 0 1-1.5 1.5H13v-1.5a2 2 0 1 0-4 0V20H5.5A1.5 1.5 0 0 1 4 18.5V15h1.5a2 2 0 1 0 0-4H4V7.5A1.5 1.5 0 0 1 5.5 6H9z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.mini-pin {
  display: flex; align-items: center; gap: 10px; align-self: flex-end; min-width: 78%; padding: 12px 14px;
  border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-pop);
  font: 500 14px/1 var(--font); white-space: nowrap;
}
.mini-pin img { width: 24px; height: 24px; border-radius: 6px; }
.pin-on { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); color: var(--accent); }
.pin-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.mini-q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 44px; padding: 0 14px;
  border-radius: 10px; background: var(--surface); font: 400 14px/1 var(--font); color: var(--text-2);
}
.mini-q b { font-weight: 500; color: var(--text); white-space: nowrap; }

.tile-fill { align-items: stretch; }
.mini-job { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--surface); }
.mini-job b { font: 600 15px/1.2 var(--font); }
.mini-job span { font: 400 13px/1.2 var(--font); color: var(--text-2); }
.mini-fill {
  display: grid; place-items: center; height: 44px; border-radius: 10px; background: var(--primary); color: var(--on-primary);
  font: 600 15px/1 var(--font);
}

@media (prefers-color-scheme: dark) {
  .tile .mini-bar, .tile .mini-q, .tile .mini-job, .tile .mini-pin { background: var(--surface-2); box-shadow: none; }
}

/* Features */
.feature {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: center;
  padding: var(--s12) 0; box-shadow: inset 0 1px 0 var(--hairline-strong);
}
.feature-copy { grid-column: 1 / span 5; }
.feature-copy h3, .feature-grid h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--font); letter-spacing: -0.018em; }
.feature-copy p { margin-top: var(--s4); font-size: 19px; line-height: 1.45; color: var(--text-2); max-width: 30em; }
.feature-art { grid-column: 7 / span 6; border-radius: 18px; background: var(--art); padding: var(--s8); min-height: 320px; }

.ats ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s8); }
.ats li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px;
  font: 500 17px/1 var(--font); box-shadow: inset 0 -1px 0 var(--hairline);
}
.ats li:nth-last-child(-n+2) { box-shadow: none; }
.ats li::after {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent-soft);
  -webkit-mask: none; mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230a7a50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  .ats li::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%233ccf8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.ats li:last-child { color: var(--text-2); }

.paper-art { display: grid; justify-items: center; align-content: center; gap: var(--s4); background: var(--tile); }
.section-grouped .paper-art { background: var(--art); }
@media (prefers-color-scheme: dark) { .section-grouped .paper-art { background: var(--surface); } }
.paper {
  position: relative; display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 300px;
  padding: 26px 24px; border-radius: 4px; background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 10px 30px -12px rgba(0, 0, 0, 0.2);
}
.section-grouped .paper { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 10px 30px -12px rgba(0, 0, 0, 0.16); }
.paper-tag {
  position: absolute; top: 14px; right: 14px; padding: 4px 8px; border-radius: 6px;
  background: #e6f2ed; color: #0a6a46; font: 600 10px/1 var(--font); letter-spacing: 0.01em;
}
.paper-name { font: 700 17px/1.1 var(--font); letter-spacing: -0.01em; margin-top: 6px; }
.paper-meta { font: 400 10px/1.2 var(--font); color: #5f5f64; margin-bottom: 6px; }
.paper-h { margin-top: 8px; font: 700 8.5px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: #5f5f64; }
.paper-line { display: block; min-height: 7px; border-radius: 2px; background: var(--paper-line); font: 500 9.5px/1.3 var(--font); }
.paper-line.hl { min-height: 0; padding: 3px 5px; margin: 0 -5px; background: #e6f2ed; color: #14422f; border-radius: 3px; }
.w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }
.paper-line.hl { width: auto; }
.paper-note { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--font); color: var(--text-2); }
.paper-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s8) var(--s6);
  padding-top: var(--s12); box-shadow: inset 0 1px 0 var(--hairline-strong);
}
.feature-grid h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.feature-grid article { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: var(--s3); align-content: start; }
.feature-grid p { color: var(--text-2); }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: var(--s8); padding: var(--s10) 0; }
  .feature-copy, .feature-art { grid-column: 1; }
  .feature-art { min-height: 0; padding: var(--s6); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; gap: var(--s8); padding-top: var(--s10); }
  .ats ul { grid-template-columns: 1fr; }
  .ats li { height: 52px; }
  .ats li:nth-last-child(2) { box-shadow: inset 0 -1px 0 var(--hairline); }
  .feature-copy p { font-size: 17px; }
  .tile { height: auto; min-height: 176px; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); }
.faq-wrap .section-head { grid-column: 1 / span 4; }
.faq { grid-column: 5 / span 8; box-shadow: inset 0 1px 0 var(--hairline-strong); }
.faq details { box-shadow: inset 0 -1px 0 var(--hairline-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 68px; padding: var(--s4) 0; cursor: pointer; list-style: none;
  font: 600 19px/1.3 var(--font); letter-spacing: -0.01em; border-radius: 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 1.75px solid var(--text-2); border-bottom: 1.75px solid var(--text-2);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { max-width: 38em; padding: 0 var(--s8) var(--s6) 0; color: var(--text-2); }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .section-head, .faq { grid-column: 1; }
  .faq summary { font-size: 17px; min-height: 60px; }
  .faq details p { padding-right: 0; }
}

/* Closing */
.closing { padding: 128px 0 136px; box-shadow: inset 0 1px 0 var(--hairline-strong); }
.closing .section-title { margin-top: 0; }
@media (max-width: 600px) { .closing { padding: 80px 0 88px; } .closing .section-title br { display: none; } }

/* Footer */
.footer { padding: var(--s8) 0 calc(var(--s8) + var(--safe-b)); background: var(--bg-grouped); box-shadow: inset 0 1px 0 var(--hairline); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s4) var(--s8); }
.footer .brand { font-size: 15px; }
.footer .mark-logo { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); justify-self: end; }
.footer-links a { font: 400 14px/1 var(--font); color: var(--text-2); text-decoration: none; padding: 8px 0; border-radius: 4px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-fine { grid-column: 1 / -1; font: var(--t-footnote); color: var(--text-2); padding-top: var(--s4); box-shadow: inset 0 1px 0 var(--hairline); }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}
