/* UpNext's section of avlory.com (/upnext, /upnext/creators, the apply form, terms, guidelines and the /u, /p share
   pages). Built like the Waverate site (sticky nav, split hero with a phone, hairline lists, numbered steps, FAQ,
   footer columns) in UpNext's own look: a night ground, purple for what's active, a magenta glow only on what's new.
   Dark only, like the app. Fonts are self-hosted (Bricolage Grotesque from the app's assets, SIL OFL; Inter). */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-700.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"), local("Helvetica Neue"); size-adjust: 107.48%; ascent-override: 90.13%; descent-override: 22.44%; line-gap-override: 0%; }

:root {
  --night: #07060b;
  --night-2: #0e0c16;
  --surface: #15121f;
  --surface-2: #1b1727;
  --line: #2a2538;
  --cream: #f2effa;
  --muted: #c9c5d6;
  --faint: #8e8aa3;
  --purple: #9966ff;
  --purple-hi: #b48cff;
  --magenta: #e840ff;
  --ink: #120a1f;
  --ok: #4ade80;
  --bad: #fb7185;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background-color: var(--night); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0; color: var(--cream); background-color: var(--night);
  background-image: radial-gradient(900px 560px at 85% -10%, rgba(153, 102, 255, .22), transparent 62%),
                    radial-gradient(640px 460px at -8% 12%, rgba(232, 64, 255, .10), transparent 62%);
  background-repeat: no-repeat;
  font: 400 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; -webkit-tap-highlight-color: rgba(153, 102, 255, .18);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--night); }
a { color: inherit; }
a, button, summary, label { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 600px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.text-link { color: var(--purple-hi); text-underline-offset: 3px; text-decoration-color: rgba(180, 140, 255, .45); }
.text-link:hover { color: var(--cream); text-decoration-color: var(--cream); }
:focus-visible { outline: 2px solid var(--purple-hi); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--night); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nb { white-space: nowrap; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(7, 6, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem var(--display); letter-spacing: -.03em; min-width: 0; }
.brand picture { display: contents; }
.hero-mark img { display: block; width: 72px; height: 72px; }
.brand .mark { width: 32px; height: 32px; flex: none; display: block; }
.brand small { font: 500 .78rem var(--body); color: var(--faint); letter-spacing: 0; white-space: nowrap; }
.links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; padding: 8px 12px; border-radius: 999px; }
.links a:hover { color: var(--cream); background: rgba(242, 239, 250, .06); }
.links a[aria-current="page"] { color: var(--cream); background: rgba(242, 239, 250, .08); }
.links .btn { margin-left: 6px; color: var(--night); }
.links .btn:hover { color: var(--night); background: #fff; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--cream); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; }
.menu[open] summary { background: rgba(242, 239, 250, .06); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(260px, calc(100vw - 32px)); padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); display: grid; overscroll-behavior: contain; }
.menu-panel a { padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: rgba(242, 239, 250, .06); color: var(--cream); }
@media (max-width: 820px) {
  .links a:not(.btn) { display: none; }
  .links { margin-left: auto; }
  .menu { display: block; margin-left: 0; }
}
@media (max-width: 400px) { .brand small { display: none; } .links .btn { padding-inline: 14px; } }
@media (max-width: 340px) { .brand span[translate] { display: none; } }

/* ---------------------------------------------------------------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 600 .96rem var(--body); background: var(--cream); color: var(--night); }
.btn:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--cream); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: rgba(242, 239, 250, .06); border-color: #3a3450; }
.btn.small { min-height: 38px; padding: 8px 15px; font-size: .86rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(153, 102, 255, .14); color: var(--purple-hi); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.chip.plain { background: var(--surface-2); color: var(--muted); }
.fine { font-size: .86rem; color: var(--faint); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; }
[aria-busy="true"] .spinner { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .tick span, .links a, .menu-panel a, .text-link { transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
  [aria-busy="true"] .spinner { animation: spin .8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- sections */
.band { padding-block: clamp(56px, 10vw, 120px); }
.band + .band { border-top: 1px solid var(--line); }
.band.tight { padding-block: clamp(40px, 7vw, 80px); }
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.duo.top { align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; align-content: start; min-width: 0; }
.prose > .chip { justify-self: start; }
.display-1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
.display-1 em, .h2 em { font-style: normal; color: var(--purple-hi); }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); scroll-margin-top: 84px; }
.h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { padding: 16px 18px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.notice strong { color: var(--cream); }
.notice.new { border-color: rgba(232, 64, 255, .35); box-shadow: 0 0 0 1px rgba(232, 64, 255, .08), 0 18px 50px -30px rgba(232, 64, 255, .6); }
.games { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.games li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .85rem; font-weight: 500; }
.mb { margin-bottom: 20px; }

/* ---------------------------------------------------------------- the app's own screens
   Real UpNext screens, rendered from the Flutter app (upnext_mobile/tool/site_screens) with made-up people. */
.device { margin: 0; justify-self: center; width: min(300px, 74vw); padding: 7px; border-radius: 46px; background: linear-gradient(150deg, #2a2538, #0b0a12 50%); box-shadow: inset 0 0 0 1.5px rgba(242, 239, 250, .12), 0 40px 90px -30px rgba(153, 102, 255, .55); }
.device img { display: block; width: 100%; height: auto; border-radius: 39px; background: var(--night); }
.device.small { width: min(220px, 60vw); border-radius: 36px; padding: 6px; }
.device.small img { border-radius: 30px; }
.stage { position: relative; justify-self: center; display: grid; justify-items: center; }
.callout { position: absolute; left: -150px; bottom: 70px; max-width: 230px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(21, 18, 31, .92); border: 1px solid rgba(232, 64, 255, .35); box-shadow: 0 18px 50px -24px rgba(232, 64, 255, .7); font-size: .84rem; color: var(--muted); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.callout svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--magenta); }
@media (max-width: 900px) { .callout { position: static; margin-top: -28px; max-width: 300px; } }
.intro { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); align-items: start; max-width: 900px; margin: 0 auto; }
.shot-col { display: grid; gap: 12px; justify-items: center; text-align: center; }
.shot-col p { color: var(--muted); font-size: .95rem; max-width: 36ch; }
.shot-col.lower { margin-top: clamp(0px, 9vw, 120px); }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } .shot-col.lower { margin-top: 0; } }
.split { background: linear-gradient(180deg, rgba(14, 12, 22, 0), var(--night-2) 30%, var(--night-2) 70%, rgba(14, 12, 22, 0)); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.cards > div { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--line); }
.cards .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; color: var(--purple-hi); margin-bottom: 4px; }
.cards .ico svg { width: 18px; height: 18px; }
.cards dt { font: 700 1.15rem var(--display); letter-spacing: -.015em; }
.cards dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } .cards > div { padding: 20px 18px; } }
.aside-shot { display: grid; gap: 10px; justify-items: start; margin-top: 18px; }
@media (max-width: 900px) { .aside-shot { display: none; } }
.cta-band { background: radial-gradient(700px 300px at 80% 50%, rgba(153, 102, 255, .16), transparent 70%); }
.ava { width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd7b5, #c98a6b 70%); }
.ava.sm { width: 22px; height: 22px; }
.badge-mark { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .callout { animation: rise .8s var(--ease) both .35s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- hairline lists, steps, FAQ */
.terms { display: grid; margin: 0; }
.terms > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 3px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.terms > div:last-child { border-bottom: 1px solid var(--line); }
.terms .ico { grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--purple-hi); }
.terms .ico svg { width: 17px; height: 17px; }
.terms dt { font: 700 1.05rem var(--display); letter-spacing: -.01em; }
.terms dd { margin: 0; color: var(--muted); font-size: .95rem; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font: 800 2rem/1 var(--display); color: var(--purple); }
.steps h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.steps p { color: var(--muted); font-size: .95rem; }
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 1.05rem var(--display); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 8px; font-size: .95rem; max-width: 62ch; }

/* ---------------------------------------------------------------- the apply form */
.apply-head { display: grid; gap: 8px; padding-block: 24px 16px; max-width: 760px; }
.apply-head h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.apply-head .chip { justify-self: start; }
.form { display: grid; gap: 0; max-width: 760px; padding-bottom: 32px; }
.fsec { display: grid; gap: 18px; padding: 28px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--line); margin-bottom: 16px; min-width: 0; }
.fsec h2 { font-size: 1.45rem; letter-spacing: -.02em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.fsec h2 span { font: 600 .78rem var(--body); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } .fsec { padding: 20px 16px; } }
.fg { display: grid; gap: 6px; min-width: 0; align-content: start; }
.fg label, .fg legend { font-weight: 600; font-size: .93rem; padding: 0; }
.fg label.sub { font-weight: 500; color: var(--muted); font-size: .86rem; }
.opt { color: var(--faint); font-weight: 500; }
.hint { font-size: .84rem; color: var(--faint); }
.field { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background-color: var(--surface); color: var(--cream); font: 400 1rem var(--body); }
.field::placeholder { color: #6f6a85; }
.field:hover { border-color: #3a3450; }
.field:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(153, 102, 255, .25); }
.field[aria-invalid="true"] { border-color: var(--bad); }
textarea.field { resize: vertical; min-height: 110px; }
select.field { appearance: none; color: var(--cream); background-color: var(--surface); background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select.field option { background-color: var(--surface); color: var(--cream); }
.code-input { font: 700 1.4rem var(--body); letter-spacing: .3em; font-variant-numeric: tabular-nums; max-width: 240px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tick { position: relative; }
.tick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tick span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; cursor: pointer; }
.tick:hover span { border-color: #3a3450; }
.tick input:checked + span { background: var(--cream); color: var(--night); border-color: var(--cream); }
.tick input:focus-visible + span { outline: 2px solid var(--purple-hi); outline-offset: 2px; }
.tick input:disabled + span { opacity: .45; cursor: not-allowed; }
.agree { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .93rem; color: var(--muted); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--purple); cursor: pointer; }
.count { font-size: .8rem; color: var(--faint); justify-self: end; font-variant-numeric: tabular-nums; }
.field-error { color: var(--bad); font-size: .85rem; }
.errors { max-width: 760px; margin-bottom: 16px; padding: 18px 20px; border-radius: 18px; border: 1.5px solid rgba(251, 113, 133, .5); background: rgba(251, 113, 133, .07); }
.errors h2 { font-size: 1.15rem; margin-bottom: 8px; }
.errors ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.errors a { color: var(--cream); text-underline-offset: 3px; }
.status { font-size: .92rem; color: var(--muted); }
.status.err { color: var(--bad); }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 8px; }
.state { max-width: 760px; padding: 32px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--line); display: grid; gap: 12px; margin-bottom: 80px; }
.state h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.state .ctas { margin-top: 6px; }
@media (max-width: 620px) { .state { padding: 22px 16px; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bot { min-height: 0; }

/* ---------------------------------------------------------------- legal summaries */
.legal { max-width: 760px; display: grid; gap: 22px; padding-block: 56px 80px; }
.legal h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
.legal h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 12px; scroll-margin-top: 84px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.legal li strong { color: var(--cream); }
.legal p { color: var(--muted); }

/* ---------------------------------------------------------------- share pages (/u, /p) */
.share { min-height: calc(100vh - 64px - 140px); display: grid; align-items: center; padding-block: 56px; }
.share-card { max-width: 560px; margin: 0 auto; display: grid; gap: 16px; justify-items: start; }
.share-card h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); overflow-wrap: anywhere; }
.share-card .who { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; max-width: 100%; }
.share-card .who span { overflow-wrap: anywhere; min-width: 0; }

/* ---------------------------------------------------------------- the Apply bar (creators page, phones)
   Fixed, so it never moves the page; shown by js/upnext-site.js once the hero is off screen and hidden again near the
   page's own Apply section and the footer. */
.apply-bar { display: none; }
@media (max-width: 700px) {
  .apply-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 6, 11, .92); border-top: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(110%); visibility: hidden; }
  .apply-bar.on { transform: none; visibility: visible; }
  .apply-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--muted); }
  .apply-bar .btn { flex: none; min-width: 96px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) { .apply-bar { transition: transform .25s var(--ease), visibility .25s; } }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding-block: 44px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { font: 600 .78rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.foot .blurb { margin-top: 10px; }
.foot .legal-line { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }
