/* Rules for this file: DESIGN.md */
:root {
  --bg: #f6f3ed;
  --ink: #161513;
  --muted: #6d675d;
  --line: #ddd7cb;
  --field: #ffffff;
  --good: #2f6b4f;
  --bad: #a3402e;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --track: .08em;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px;
  --t-small: 13px; --t-label: clamp(14px, .3vw + 10px, 20px); --t-body: 17px; --t-lede: 19px;
  --t-display: clamp(28px, 4vw, 112px);
  --t-page: clamp(26px, 4vw, 44px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tap: 44px;
  /* safe areas (notches, home bar) */
  --sa-t: env(safe-area-inset-top, 0px); --sa-b: env(safe-area-inset-bottom, 0px);
  --sa-l: env(safe-area-inset-left, 0px); --sa-r: env(safe-area-inset-right, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --ink: #efebe3;
    --muted: #9c968b;
    --line: #2e2c28;
    --field: #1b1a18;
    --good: #7cbf9b;
    --bad: #e3907b;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: var(--t-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* the one display style: uppercase, tracked, medium */
.nav, label, button, .stat .k, .panel p, .go, .bar .k {
  text-transform: uppercase; letter-spacing: var(--track);
}
.panel h1, .panel h2, .page h1 {
  text-wrap: balance;
  margin: 0; font-weight: 500; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.1;
}

/* links that act like buttons: underline grows in */
.go, .nav ul a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease);
}
.go:hover, .go:focus-visible, .nav ul a:hover, .nav ul a:focus-visible, .nav ul a[aria-current] { background-size: 100% 1px; }
.go { display: inline-block; margin-top: var(--s3); font-size: var(--t-label); }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(18px + var(--sa-t)) calc(var(--s4) + var(--sa-r)) 18px calc(var(--s4) + var(--sa-l));
  font-size: var(--t-label);
}
.nav a { text-decoration: none; }
.nav .mark { font-weight: 800; letter-spacing: .14em; }
.nav > ul { display: flex; gap: 1.6em; list-style: none; margin: 0; padding: 0; }
.nav.over { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.nav.solid { position: sticky; background: var(--bg); border-bottom: 1px solid var(--line); }
.menu { display: none; }

/* phone menu: full-screen sheet in the same type */
@media (max-width: 680px) {
  .nav { padding: calc(6px + var(--sa-t)) calc(var(--s3) + var(--sa-r)) 6px calc(var(--s3) + var(--sa-l)); font-size: 15px; }
  .nav .mark, .menu summary { min-height: var(--tap); display: flex; align-items: center; }
  .nav > ul { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; padding-left: var(--s3); position: relative; z-index: 2; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary { justify-content: flex-end; min-width: var(--tap); }
  .burger { position: relative; display: block; width: 24px; height: 16px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
  .burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
  .burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 7px; } .burger i:nth-child(3) { top: 14px; }
  .menu[open] .burger { filter: none; }
  .menu[open] .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .menu[open] .burger i:nth-child(2) { opacity: 0; }
  .menu[open] .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .menu ul {
    position: fixed; inset: 0; z-index: 1; margin: 0; list-style: none;
    display: flex; flex-direction: column; justify-content: center; gap: var(--s2);
    padding: 0 calc(var(--s4) + var(--sa-r)) var(--sa-b) calc(var(--s4) + var(--sa-l));
    background: var(--bg); color: var(--ink); text-shadow: none;
    animation: sheet .35s var(--ease);
  }
  .menu ul a { display: block; padding: 10px 0; font-size: 32px; font-weight: 500; letter-spacing: var(--track); }
  .menu[open] summary { color: var(--ink); text-shadow: none; }
  .nav:has(.menu[open]) .mark { color: var(--ink); text-shadow: none; position: relative; z-index: 2; }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* home tiles: one swipe = one tile */
html.snap { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
/* inner pages: painting opener, then content; proximity so long content and forms scroll freely */
html.snap.soft { scroll-snap-type: y proximity; }
.page.after { scroll-snap-align: start; min-height: 88vh; min-height: 88dvh; padding-top: calc(var(--s6) + 56px + var(--sa-t)); }
.nav.over { transition: background .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.over.scrolled { background: var(--bg); color: var(--ink); text-shadow: none; border-bottom-color: var(--line); }
.nav.scrolled .burger { filter: none; }
.cue { position: absolute; z-index: 2; left: 50%; bottom: calc(22px + var(--sa-b)); width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.85)); }
.js .cue { animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.panel {
  position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: #121110;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.panel .t { position: absolute; z-index: 2; max-width: calc(100vw - 12vw); color: #fff; }
.panel h1, .panel h2 { font-size: var(--t-display); text-shadow: 0 2px 24px rgba(0,0,0,.4); }
@media (min-width: 681px) { .panel h1, .panel h2 { white-space: nowrap; } }
.panel p { margin: var(--s2) 0 0; font-size: var(--t-label); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.tl { top: max(13vh, calc(var(--sa-t) + 80px)); left: calc(6vw + var(--sa-l)); }
.tr { top: max(13vh, calc(var(--sa-t) + 80px)); right: calc(6vw + var(--sa-r)); text-align: right; }
.bl { bottom: calc(9vh + var(--sa-b)); left: calc(6vw + var(--sa-l)); }
.br { bottom: calc(9vh + var(--sa-b)); right: calc(6vw + var(--sa-r)); text-align: right; }
.s-tl::after { background: radial-gradient(ellipse at 0% 0%, rgba(0,0,0,.62), transparent 62%); }
.s-tr::after { background: radial-gradient(ellipse at 100% 0%, rgba(0,0,0,.62), transparent 62%); }
.s-bl::after { background: radial-gradient(ellipse at 0% 100%, rgba(0,0,0,.66), transparent 62%); }
.s-br::after { background: radial-gradient(ellipse at 100% 100%, rgba(0,0,0,.62), transparent 62%); }
.panel .credits { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px calc(var(--s4) + var(--sa-r)) calc(18px + var(--sa-b)) calc(var(--s4) + var(--sa-l)); font-size: 13px; line-height: 1.5; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.75); background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* focal points: where each painting is cropped on tall screens */
.p-market { --focus: 62% 50%; } .p-money { --focus: 42% 40%; } .p-street { --focus: 50% 50%; }
.p-guild { --focus: 55% 50%; } .p-delaware { --focus: 38% 50%; }
.p-earth { --focus: 40% 6%; } .p-milk { --focus: 55% 32%; } .p-changer { --focus: 42% 45%; } .p-gisze { --focus: 58% 35%; } .p-harvest { --focus: 50% 60%; }

/* screens much wider than a painting: show all of it on a blurred copy of itself */
.panel::before {
  content: ""; position: absolute; inset: -60px; z-index: 0; display: none;
  background: center / cover no-repeat; filter: blur(48px) brightness(.32) saturate(.8);
}
.p-market::before { background-image: url(img/market-800.jpg); }
.p-money::before { background-image: url(img/money-800.jpg); }
.p-street::before { background-image: url(img/street-800.jpg); }
.p-guild::before { background-image: url(img/guild-800.jpg); }
.p-delaware::before { background-image: url(img/delaware-800.jpg); }
.p-earth::before { background-image: url(img/earth-800.jpg); }
.p-milk::before { background-image: url(img/milk-800.jpg); }
.p-changer::before { background-image: url(img/changer-800.jpg); }
.p-gisze::before { background-image: url(img/gisze-800.jpg); }
.p-harvest::before { background-image: url(img/harvest-800.jpg); }
.panel img { z-index: 1; }
@media (min-aspect-ratio: 3/1) { .p-market::before { display: block; } .p-market img { object-fit: contain; } .panel.p-market { --rest: 1; } }
@media (min-aspect-ratio: 8/5) { .p-money::before { display: block; } .p-money img { object-fit: contain; } .panel.p-money { --rest: 1; } }
@media (min-aspect-ratio: 37/20) { .p-street::before { display: block; } .p-street img { object-fit: contain; } .panel.p-street { --rest: 1; } }
@media (min-aspect-ratio: 11/5) { .p-guild::before { display: block; } .p-guild img { object-fit: contain; } .panel.p-guild { --rest: 1; } }
@media (min-aspect-ratio: 7/3) { .p-delaware::before { display: block; } .p-delaware img { object-fit: contain; } .panel.p-delaware { --rest: 1; } }
@media (min-aspect-ratio: 41/20) { .p-earth::before, .p-harvest::before { display: block; } .p-earth img, .p-harvest img { object-fit: contain; } .panel.p-earth, .panel.p-harvest { --rest: 1; } }
@media (min-aspect-ratio: 7/4) { .p-changer::before { display: block; } .p-changer img { object-fit: contain; } .panel.p-changer { --rest: 1; } }
@media (min-aspect-ratio: 4/3) { .p-gisze::before, .p-milk::before { display: block; } .p-gisze img, .p-milk img { object-fit: contain; } .panel.p-gisze, .panel.p-milk { --rest: 1; } }

/* phones: titles sit low, where thumbs and eyes are; bigger tap targets */
@media (max-width: 680px) {
  .tl, .tr { top: auto; bottom: calc(14vh + var(--sa-b)); }
  .bl, .br { bottom: calc(14vh + var(--sa-b)); }
  .tl, .tr, .bl, .br { left: calc(var(--s4) + var(--sa-l)); right: calc(var(--s4) + var(--sa-r)); text-align: left; }
  .s-tl::after, .s-tr::after, .s-bl::after, .s-br::after { background: linear-gradient(transparent 45%, rgba(0,0,0,.7)); }
  .go { padding: 12px 0; margin-top: var(--s1); }
  .p-delaware .t { bottom: calc(26vh + var(--sa-b)); }
  .panel.detail:has(.credits) .t { bottom: calc(24vh + var(--sa-b)); }
  .tr .say, .br .say { margin-left: 0; }
  .panel .credits { font-size: 12.5px; }
}

/* tile entrance: image settles, title rises in (home.js adds .in) */
/* --rest: resting zoom. With a mouse the painting sits 8% oversize so a pan (max 3.5%, home.js) never shows an edge */
.panel { --rest: 1; touch-action: pan-y; }
@media (pointer: fine) { .panel { --rest: 1.08; } }
.panel img { transform: translate(var(--px, 0%), var(--py, 0%)) scale(var(--z, var(--rest))); transform-origin: var(--focus, 50% 50%); -webkit-user-drag: none; user-select: none; }
.js .panel { --z: calc(var(--rest) + .04); }
.js .panel img { transition: transform 1.6s var(--ease); }
.js .panel .t { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s; }
.js .panel.in { --z: var(--rest); }
/* mouse drag (home.js): image pans with the cursor, eases back on release */
@media (pointer: fine) { .panel { cursor: grab; user-select: none; } .panel a, .panel summary { cursor: pointer; } }
.panel.dragging { cursor: grabbing; }
.js .panel.dragging img { transition: transform .15s linear; }
.js .panel.in .t { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.snap { scroll-behavior: auto; }
  .burger i { transition: none; }
  .js .panel img, .js .panel .t { transform: none; transition: opacity .3s linear; }
  .menu ul { animation: none; }
  .js .cue { animation: none; }
}

/* detail tiles: close-ups of the page's painting (--focus = spot, --dz = zoom), darkened so text reads */
.panel.detail { --rest: var(--dz, 2); }
@media (max-width: 680px) { .panel.detail { --rest: calc(1 + (var(--dz, 2) - 1) * .35); } }
.panel.d-e1 { --focus: 27% 36%; --dz: 2.2; } .panel.d-e2 { --focus: 9% 88%; --dz: 2.2; } .panel.d-e3 { --focus: 46% 55%; --dz: 2.4; }
.panel.d-e4 { --focus: 86% 62%; --dz: 2.2; } .panel.d-e5 { --focus: 68% 70%; --dz: 2.2; } .panel.d-e6 { --focus: 84% 28%; --dz: 2.4; }
.panel.d-g1 { --focus: 86% 45%; --dz: 2.5; } .panel.d-g2 { --focus: 34% 55%; --dz: 2.4; } .panel.d-g3 { --focus: 10% 10%; --dz: 2.6; }
.panel.d-g4 { --focus: 35% 4%; --dz: 2.6; } .panel.d-g5 { --focus: 78% 80%; --dz: 2.4; } .panel.d-g6 { --focus: 66% 90%; --dz: 2.4; } .panel.d-g7 { --focus: 76% 25%; --dz: 2.8; }
.panel.d-c1 { --focus: 55% 88%; --dz: 2; } .panel.d-c2 { --focus: 6% 42%; --dz: 2.6; } .panel.d-c3 { --focus: 62% 12%; --dz: 2.6; }
.panel.d-c4 { --focus: 38% 58%; --dz: 2.4; } .panel.d-c5 { --focus: 68% 45%; --dz: 2.4; } .panel.d-c6 { --focus: 82% 80%; --dz: 2.4; }
.panel.d-m1 { --focus: 6% 16%; --dz: 2.6; } .panel.d-m2 { --focus: 22% 26%; --dz: 2.6; } .panel.d-m3 { --focus: 34% 57%; --dz: 2.8; }
.panel.d-m4 { --focus: 16% 76%; --dz: 3; } .panel.d-m5 { --focus: 82% 88%; --dz: 2.8; } .panel.d-m6 { --focus: 57% 27%; --dz: 2.4; } .panel.d-h1 { --focus: 76% 82%; --dz: 2; }
.detail::after { background-color: rgba(0,0,0,.38); }
.s-dim::after { background: rgba(0,0,0,.6); }
.detail h2 { font-size: clamp(26px, 3.4vw, 64px); white-space: normal; max-width: 16ch; }
.detail .n { text-transform: uppercase; display: block; margin-bottom: var(--s2); font-size: var(--t-label); letter-spacing: var(--track); opacity: .75; font-variant-numeric: tabular-nums; }
.panel .say { text-wrap: pretty; text-transform: none; letter-spacing: 0; font-size: clamp(17px, 1.2vw + 6px, 24px); line-height: 1.45; max-width: 30ch; margin-top: var(--s3); }
.tr .say, .br .say { margin-left: auto; }
@media (max-width: 680px) { .panel .say { margin-left: 0; } }

/* form tiles (calculator, waitlist): same painting treatment, form in white on the darkened detail */
.panel.form { height: auto; min-height: 100vh; min-height: 100dvh; overflow: hidden; scroll-snap-stop: normal; color: #fff; }
.panel.form .sheet { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto;
  padding: calc(var(--s6) + 56px + var(--sa-t)) calc(6vw + var(--sa-r)) calc(var(--s6) + 40px + var(--sa-b)) calc(6vw + var(--sa-l)); }
.panel.form .lead { margin: 0 0 var(--s5); max-width: 40ch; }
.panel.form label, .panel.form .stat .k { color: rgba(255,255,255,.7); }
.panel.form input, .panel.form select { background-color: transparent; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); padding-left: 0; }
.panel.form input:hover, .panel.form select:hover { border-bottom-color: #fff; }
.panel.form input:focus, .panel.form select:focus { outline: 0; border-bottom: 2px solid #fff; }
.panel.form select option { color: #161513; }
.panel.form select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; }
.panel.form button { background: #fff; color: #161513; border-color: #fff; }
.panel.form button:hover, .panel.form button:focus-visible { background: transparent; color: #fff; }
.panel.form .breakdown td { border-top-color: rgba(255,255,255,.2); }
.panel.form .verdict, .panel.form .small, .panel.form .msg { color: rgba(255,255,255,.75); }
.panel.form .big.good, .panel.form .stat .v.good { color: #9fd6b6; } .panel.form .big.bad { color: #f0a08b; }
.panel.form .small { font-size: 14px; max-width: 46ch; }
#wl { max-width: 560px; }
@media (max-width: 680px) { .panel.form .sheet { padding-top: calc(var(--s5) + 56px + var(--sa-t)); } }

/* inner pages */
main.page { max-width: 760px; margin: 0 auto; padding: var(--s6) calc(var(--s3) + var(--sa-r)) 72px calc(var(--s3) + var(--sa-l)); }
.page h1 { font-size: var(--t-page); margin: 0 0 var(--s3); }
.page .lede { font-size: var(--t-lede); color: var(--muted); margin: 0 0 var(--s5); max-width: 600px; }
.page h2 { font-size: 20px; font-weight: 600; margin: 0 0 var(--s1); }
.page p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.list > div { padding: 22px 0; border-top: 1px solid var(--line); }
.list > div:last-child { border-bottom: 1px solid var(--line); }
.list p { margin: 0; }
details.q { border-top: 1px solid var(--line); }
details.q:last-of-type { border-bottom: 1px solid var(--line); }
details.q summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; padding: var(--s3) 32px var(--s3) 0; position: relative; min-height: var(--tap); }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 4px; top: var(--s3); font-weight: 400; color: var(--muted); transition: transform .25s var(--ease); }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { color: var(--muted); margin: 0 0 var(--s3); }
.next { margin-top: var(--s5); }
@media (max-width: 680px) {
  main.page { padding-top: var(--s5); }
  .page.after { padding-top: calc(var(--s5) + 56px + var(--sa-t)); }
  .page .lede { font-size: 17px; margin-bottom: var(--s4); }
}

/* forms */
label { display: block; font-size: var(--t-small); color: var(--muted); margin: 0 0 6px; }
.field { margin-bottom: 18px; }
input, select {
  width: 100%; font: inherit; font-size: max(16px, 1em); color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; min-height: var(--tap);
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 34px;
}
input:hover, select:hover { border-color: var(--muted); }
input:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
button {
  font: inherit; font-size: var(--t-label); font-weight: 600; min-height: var(--tap);
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink); padding: 14px 22px; cursor: pointer;
  transition: background .25s, color .25s;
}
button:hover, button:focus-visible { background: transparent; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin-top: 12px; font-size: 15px; min-height: 1.5em; }
.small { font-size: 14px; margin-top: var(--s4); }
@media (max-width: 680px) {
  #wl .row2 { grid-template-columns: 1fr; gap: 0; }
  #wl button { width: 100%; }
}

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.big { font-size: clamp(44px, 8vw, 64px); font-weight: 500; letter-spacing: -.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.big.good { color: var(--good); } .big.bad { color: var(--bad); }
.stat { margin-bottom: 20px; }
.stat .k { font-size: var(--t-small); color: var(--muted); }
.stat .v { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 15px; }
.breakdown td { padding: 7px 0; border-top: 1px solid var(--line); }
.breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.verdict { margin-top: var(--s3); font-size: 15px; color: var(--muted); }
.bar { display: none; }
@media (max-width: 680px) {
  .calc { grid-template-columns: 1fr; gap: var(--s4); }
  /* result stays in view while typing */
  .bar {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    padding: 12px calc(var(--s3) + var(--sa-r)) calc(12px + var(--sa-b)) calc(var(--s3) + var(--sa-l));
    background: var(--bg); border-top: 1px solid var(--line); text-decoration: none;
    transition: transform .3s var(--ease);
  }
  .bar.hide { transform: translateY(110%); }
  .bar .k { font-size: var(--t-small); color: var(--muted); }
  .bar .v { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
  .bar .v.good { color: var(--good); } .bar .v.bad { color: var(--bad); }
  .bar .h { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
  body.has-bar { padding-bottom: calc(76px + var(--sa-b)); }
  #results { scroll-margin-top: 70px; }
}
footer.foot { max-width: 760px; margin: 0 auto; padding: 0 calc(var(--s3) + var(--sa-r)) calc(var(--s5) + var(--sa-b)) calc(var(--s3) + var(--sa-l)); font-size: var(--t-small); color: var(--muted); }
