/* it.udav.team — same tokens, fonts and components as udav.team (index.html :root, .display, .code-accent, .arrow-link). */

@font-face { font-family: "Artegra Sans Extended SC"; src: url("/fonts/Artegra-Sans-Extended-SC.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Quattrocode VF"; src: url("/fonts/Quattrocode-VF.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #efefec;
  --ink: #090909;
  --blue: #1600ed;
  --red: #cf0000;
  --line: rgba(9, 9, 9, .28);
  --soft: #e3e3df;
  --muted: #60605b;
  --black: #090909;
  --white: #fff;
  --logo-filter: none;

  --page-x: clamp(20px, 4.2vw, 72px);
  --section-y: clamp(72px, 9vw, 144px);
  --max: 1800px;
  --gap: clamp(16px, 2vw, 32px);
  --space-head: clamp(40px, 5vw, 80px);

  --lh-display: 1.08;
  --lh-title: 1.12;
  --lh-lead: 1.38;
  --lh-body: 1.55;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #101010; --ink: #f3f3ef; --line: rgba(243, 243, 239, .24); --soft: #191919; --muted: #aaa; --logo-filter: invert(1); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; min-width: 320px;
  color: var(--ink); background: var(--paper);
  font-family: "Inter", system-ui, sans-serif; font-size: 17px; line-height: var(--lh-body); letter-spacing: .028em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.section--ink :focus-visible, .hero :focus-visible, .brief :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.format--main :focus-visible, .split__item--accent :focus-visible { outline-color: #fff; }
.form-card :focus-visible { outline-color: var(--blue); }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #8f86ff; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--blue); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--page-x); }

.micro { font-size: 13px; font-weight: 400; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: var(--muted); }

.display {
  font-family: "Artegra Sans Extended SC"; font-weight: 900;
  font-size: clamp(38px, 6.2vw, 112px); line-height: .94; letter-spacing: .015em; text-transform: uppercase;
  overflow-wrap: normal; hyphens: none;
}
.title {
  font-family: "Artegra Sans Extended SC"; font-weight: 900;
  font-size: clamp(28px, 3.6vw, 64px); line-height: 1; letter-spacing: .015em; text-transform: uppercase;
  max-width: 20ch; overflow-wrap: break-word;
}
.title--sm { font-size: min(clamp(24px, 2.4vw, 40px), 7.4cqi); max-width: 22ch; }
.code-accent {
  font-family: "Quattrocode VF"; font-style: italic; font-weight: 400;
  font-size: 1.12em; line-height: .82; letter-spacing: .06em; text-transform: none;
}
.lead { font-size: clamp(19px, 1.7vw, 26px); line-height: var(--lh-lead); letter-spacing: .02em; }
.muted { color: var(--muted); }

/* Buttons: udav.team .arrow-link */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 22px;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  font: 700 13px/1.2 "Inter", sans-serif; letter-spacing: .11em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.btn--light { color: var(--black); background: #fff; border-color: #fff; }
.btn--light::after { content: "↗"; font-size: 18px; font-weight: 400; }
.btn--light:hover { color: #fff; background: var(--red); border-color: var(--red); }
.btn--outline-light { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { color: var(--black); background: #fff; border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  color: #fff; background: color-mix(in srgb, var(--black) 94%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 100%; }
.site-header__brand { display: flex; align-items: center; min-height: 44px; width: 88px; justify-self: start; }
.site-nav { display: flex; gap: clamp(24px, 3.4vw, 64px); }
.site-nav a, .header-cta { position: relative; font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: currentColor; transition: right .2s var(--ease); }
.site-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--black); background: #fff; transition: background .2s, color .2s; }
.header-cta:hover { color: #fff; background: var(--blue); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--black); padding-top: clamp(64px, 8vw, 128px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr); gap: clamp(40px, 6vw, 112px); align-items: end; padding-bottom: clamp(56px, 7vw, 112px); }
.hero__kicker { color: #a8a8a2; margin-bottom: clamp(24px, 3vw, 40px); }
.hero__content { min-width: 0; container-type: inline-size; }
.hero .display { font-size: min(8.1cqi, 112px); }
.hero .display .code-accent { display: block; margin-top: .1em; }
.nw { white-space: nowrap; }
.hero__lead { max-width: 820px; margin-top: clamp(28px, 3vw, 48px); font-size: clamp(19px, 1.9vw, 29px); line-height: var(--lh-lead); letter-spacing: .02em; }
.hero__text { max-width: 720px; margin-top: 20px; color: #c9c9c4; font-size: clamp(16px, 1.2vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 3.4vw, 52px); }
.hero__side { min-width: 0; }
.hero__side .micro { margin-bottom: 16px; color: #8d8d88; }
.hero__path { border-top: 1px solid rgba(255, 255, 255, .28); }
.hero__path li {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .28);
  font: 900 clamp(15px, 1.2vw, 19px)/1.1 "Artegra Sans Extended SC"; text-transform: uppercase; letter-spacing: .03em;
}
.hero__path span { min-width: 28px; color: #8d8d88; font: 400 12px/1 "Inter"; letter-spacing: .16em; }

.ticker { overflow: hidden; padding: 16px 0; color: #fff; background: var(--red); white-space: nowrap; }
.ticker__track {
  display: inline-block; padding-left: 0;
  font: 900 clamp(18px, 2vw, 30px)/1 "Artegra Sans Extended SC"; letter-spacing: .03em;
  animation: ticker 48s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section--plain + .section--plain { padding-top: 0; }
.section--plain + .section--plain > .shell { padding-top: var(--section-y); background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--page-x)) 1px no-repeat; }
.section--ink { color: #fff; background: var(--black); }
.section--ink .micro { color: #a8a8a2; }
@media (prefers-color-scheme: dark) { .section--ink { background: #050505; border-block: 1px solid var(--line); } }
.section-head { display: grid; grid-template-columns: minmax(160px, .32fr) minmax(0, 1fr); gap: var(--gap); align-items: start; margin-bottom: var(--space-head); }
.section-head .micro { padding-top: .5em; }
.section-head__text { grid-column: 2; color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); }

/* Goals */
.goals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.goal { display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: clamp(20px, 2vw, 32px); border-right: 1px solid var(--ink); }
.goal:last-child { border-right: 0; }
.goal, .steps li, .format, .split__item { container-type: inline-size; }
.goal h3, .steps h3, .format h3, .split__item h3 {
  font: 900 min(clamp(17px, 1.5vw, 26px), 9.6cqi)/var(--lh-title) "Artegra Sans Extended SC"; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: normal;
}
.goal h3 { margin: clamp(40px, 5vw, 80px) 0 14px; }
.goal p { font-size: 15px; line-height: 1.5; }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.format { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(24px, 2.4vw, 40px); background: var(--soft); transition: background .25s var(--ease), color .25s var(--ease); }
.format p { font-size: 16px; }
.format--main { grid-column: span 2; grid-row: span 2; justify-content: flex-end; gap: 20px; color: #fff; background: var(--blue); min-height: 420px; }
.format--main .micro { color: rgba(255, 255, 255, .72); margin-bottom: auto; }
.format--main h3 { font-size: min(64px, 7.6cqi); line-height: 1; }
.format--main h3 .code-accent { display: block; margin-top: .08em; }
.format--main p { max-width: 640px; font-size: clamp(17px, 1.3vw, 20px); line-height: var(--lh-lead); }
.format--main .btn { align-self: flex-start; margin-top: 8px; }

.modes { margin-top: var(--section-y); display: grid; grid-template-columns: minmax(160px, .32fr) minmax(0, 1fr); gap: var(--gap); }
.modes .title { grid-column: 1 / -1; margin-bottom: clamp(16px, 2vw, 32px); }
.modes__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.modes__grid p { padding: 24px clamp(0px, 2vw, 32px) 24px 0; font-size: 16px; }
.modes__grid p + p { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.modes__grid strong { display: block; margin-bottom: 10px; font: 900 clamp(19px, 1.5vw, 26px)/1.1 "Artegra Sans Extended SC"; text-transform: uppercase; }
.modes__note { grid-column: 1 / -1; color: var(--muted); }

/* Methodology */
.method { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.method .micro { margin-bottom: 24px; }
.method .title { max-width: 16ch; }
.method .title .code-accent { display: block; margin-top: .1em; }
.method__body { display: grid; gap: 20px; padding-top: 8px; }
.method__body > p:not(.lead) { color: #c9c9c4; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px; }
.tags li { padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .4); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.method__note { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); color: #fff !important; font-weight: 600; }

/* Scope rows: udav.team .service-row */
.rows { border-bottom: 1px solid var(--ink); counter-reset: row; }
.rows li { display: grid; grid-template-columns: minmax(160px, .32fr) minmax(0, 1fr); gap: var(--gap); align-items: baseline; padding: clamp(18px, 2vw, 28px) 0; border-top: 1px solid var(--ink); transition: background .3s var(--ease), color .3s var(--ease); }
.rows li > * { transition: transform .3s var(--ease); }
.rows p { max-width: 880px; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; }

/* Design split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.split__item { display: flex; flex-direction: column; gap: 16px; min-height: 280px; padding: clamp(24px, 3vw, 48px); border: 1px solid var(--ink); }
.split__item h3 { margin-bottom: auto; padding-bottom: clamp(32px, 4vw, 64px); font-size: min(clamp(22px, 2vw, 34px), 7.4cqi); }
.split__item--accent { color: #fff; background: var(--black); border-color: var(--black); }
@media (prefers-color-scheme: dark) { .split__item--accent { background: var(--blue); border-color: var(--blue); } }
.split__note { margin-top: var(--gap); max-width: 880px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps h3 { margin-top: clamp(16px, 3vw, 48px); }
.steps p { font-size: 15px; line-height: 1.5; }

/* Results / budget */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 112px); }
.duo__item { min-width: 0; container-type: inline-size; display: grid; align-content: start; gap: 20px; }
.duo__item .title { margin-bottom: 8px; }

/* FAQ: udav.team .faq-item */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 24px; align-items: center;
  padding: 24px 0; cursor: pointer; list-style: none;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.faq__item summary > * { transition: transform .3s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
/* Hover fill and shift only with a real pointer: on touch a tap would restyle the row; the row size never changes. */
@media (hover: hover) and (min-width: 961px) {
  .rows li:hover, .faq__item summary:hover, .format:not(.format--main):hover { color: #fff; background: var(--blue); }
  .rows li:hover > *, .faq__item summary:hover h3 { transform: translateX(18px); }
  .faq__item summary:hover .faq__icon { transform: translateX(-18px); }
  .rows li:hover .micro { color: rgba(255, 255, 255, .72); }
}
.faq__item h3 { font: 600 clamp(18px, 1.5vw, 24px)/1.3 "Inter"; letter-spacing: .01em; }
.faq__icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__body > p { overflow: hidden; max-width: 880px; font-size: 17px; color: var(--muted); }
.faq__item[open] .faq__body { grid-template-rows: 1fr; }
.faq__item[open] .faq__body > p { padding-bottom: 24px; }

/* Brief */
.brief { color: #fff; background: var(--blue); }
.ticker--red { background: var(--red); }
.brief__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 112px); padding-block: var(--section-y); align-items: start; }
.brief__intro { display: grid; gap: 24px; position: sticky; top: 112px; min-width: 0; container-type: inline-size; }
.display--brief { font-size: min(8.1cqi, 96px); line-height: .92; }
.display--brief .code-accent { display: block; margin-top: .08em; }
.brief__intro p { max-width: 460px; font-size: clamp(17px, 1.3vw, 20px); line-height: var(--lh-lead); }
.brief__alt { color: rgba(255, 255, 255, .78); font-size: 15px !important; }
.brief__alt a { color: #fff; font-weight: 700; text-underline-offset: 4px; }

.form-card { display: grid; padding: clamp(20px, 3vw, 48px) clamp(20px, 3vw, 48px) clamp(8px, 1.5vw, 24px); color: var(--black); background: #fff; }
.form-card > * { grid-area: 1 / 1; transition: opacity .25s var(--ease), visibility .25s; }
.form-card[data-state="done"] .lead-form, .form-card:not([data-state="done"]) .form-done { opacity: 0; visibility: hidden; }

.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .optional legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3a3a37; }
.optional legend { padding: 0 12px 0 0; margin-bottom: 12px; color: #60605b; }
.optional { padding-top: 16px; border-top: 1px solid rgba(9, 9, 9, .16); margin-top: 8px; }
.optional__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; }
.optional__grid .field { padding-bottom: 20px; }
input[type="text"], textarea, select {
  width: 100%; min-height: 52px; padding: 13px 14px;
  color: var(--black); background: #f4f4f1; border: 1px solid rgba(9, 9, 9, .22); border-radius: 0;
  font: 400 16px/1.4 "Inter", sans-serif; letter-spacing: .01em;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 128px; resize: vertical; }
select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #090909 50%), linear-gradient(135deg, #090909 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
input::placeholder, textarea::placeholder { color: #8b8b86; }
input[type="text"]:hover, textarea:hover, select:hover { border-color: rgba(9, 9, 9, .5); }
input[type="text"]:focus, textarea:focus, select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field__error { min-height: 24px; padding-bottom: 6px; color: var(--red); font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.check { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; font-size: 14px !important; font-weight: 400 !important; letter-spacing: .01em !important; text-transform: none !important; line-height: 1.45; color: #3a3a37 !important; padding-top: 8px; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box { width: 24px; height: 24px; border: 1px solid rgba(9, 9, 9, .4); background: #f4f4f1; transition: background .15s, border-color .15s; position: relative; }
.check__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s var(--ease); }
.check input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent.is-invalid .check__box { border-color: var(--red); }
.check a { color: var(--blue); text-underline-offset: 3px; }

.form-actions { display: grid; gap: 12px; padding-top: 8px; }
.btn--submit { position: relative; width: 100%; min-height: 60px; color: #fff; background: var(--black); border-color: var(--black); font-size: 14px; }
.btn--submit:hover { background: var(--red); border-color: var(--red); }
.btn--submit[disabled] { cursor: progress; transform: none; background: var(--black); border-color: var(--black); }
.spinner { position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; opacity: 0; animation: spin .8s linear infinite paused; transition: opacity .2s; }
.form-card[data-state="sending"] .spinner { opacity: 1; animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: calc(3 * 1.45em); font-size: 14px; line-height: 1.45; color: #3a3a37; }
.form-status.is-error { color: var(--red); }
.form-status a { color: var(--blue); font-weight: 700; }

.form-done { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(8px, 2vw, 24px); outline: none; }
.form-done__mark { position: relative; width: 64px; height: 64px; margin-bottom: 8px; background: var(--blue); }
.form-done__mark::after { content: ""; position: absolute; left: 22px; top: 12px; width: 16px; height: 30px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg) scale(0); transition: transform .35s .15s var(--ease); }
.form-card[data-state="done"] .form-done__mark::after { transform: rotate(45deg) scale(1); }
.form-done h3 { font: 900 clamp(24px, 2.6vw, 40px)/1.05 "Artegra Sans Extended SC"; text-transform: uppercase; }
.form-done p { font-size: 18px; color: #3a3a37; }
.form-done .btn--outline-light { margin-top: 12px; color: var(--black); border-color: var(--black); }
.form-done .btn--outline-light:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

/* Footer */
.site-footer { color: #fff; background: var(--black); border-top: 1px solid rgba(255, 255, 255, .16); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; padding-block: 32px; }
.site-footer__brand { display: flex; align-items: center; min-height: 44px; width: 88px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 32px; }
.site-footer a { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 5px; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__copy { color: #8d8d88; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* Privacy page */
.legal { padding-block: clamp(56px, 7vw, 112px) var(--section-y); }
.legal .micro { display: block; margin-bottom: 24px; }
.legal .display { font-size: clamp(30px, 4.6vw, 72px); max-width: 18ch; margin-bottom: clamp(32px, 4vw, 56px); }
.legal__body { display: grid; gap: 28px; max-width: 880px; }
.legal__body h2 { margin-bottom: 10px; font: 900 clamp(18px, 1.4vw, 22px)/1.2 "Artegra Sans Extended SC"; text-transform: uppercase; }
.legal__body p, .legal__body li { font-size: 17px; }
.legal__body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal__body a { color: var(--blue); }
@media (prefers-color-scheme: dark) { .legal__body a { color: #8f86ff; } }

/* ≤1180 */
@media (max-width: 1180px) {
  .goals, .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .goal, .steps li { grid-column: span 2; }
  .goal:nth-child(n + 4), .steps li:nth-child(n + 4) { grid-column: span 3; }
  .goal { min-height: 260px; }
  .goal:nth-child(-n + 3) { border-bottom: 1px solid var(--ink); }
  .goal:nth-child(3) { border-right: 0; }
  .steps { row-gap: clamp(32px, 4vw, 56px); }
  .optional__grid { grid-template-columns: 1fr 1fr; }
  .optional__grid .field:last-child { grid-column: 1 / -1; }
}

/* ≤960 */
@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .site-nav { display: none; }
  .hero__grid, .method, .duo, .brief__grid { grid-template-columns: 1fr; }
  .hero__path li { padding: 12px 0; }
  .formats { grid-template-columns: 1fr 1fr; }
  .format:last-child { grid-column: 1 / -1; }
  .format--main { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }
  .brief__intro { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head__text { grid-column: 1; }
  .rows li { grid-template-columns: 64px minmax(0, 1fr); }
  .site-footer__inner { grid-template-columns: auto 1fr; }
  .site-footer__links { grid-column: 1 / -1; grid-row: 2; }
  .site-footer__copy { justify-self: end; }
}

/* ≤720 */
@media (max-width: 720px) {
  :root { --page-x: 16px; }
  body { font-size: 16px; }
  .site-header { height: 64px; }
  .site-header__brand { width: 76px; }
  .btn { letter-spacing: .08em; padding: 0 16px; }
  html { scroll-padding-top: 76px; }
  .display { font-size: clamp(30px, 10.4vw, 56px); line-height: .98; }
  .hero .display, .display--brief { font-size: 8.1cqi; }
  .hero__actions .btn { flex: 1 1 100%; }
  .goals, .steps { grid-template-columns: 1fr; }
  .goal, .goal:nth-child(n), .steps li:nth-child(n) { grid-column: auto; }
  .goal, .goal:nth-child(n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); padding-inline: 0; }
  .goal:last-child { border-bottom: 0; }
  .goal h3 { margin-top: 24px; }
  .formats { grid-template-columns: 1fr; }
  .format--main { min-height: 0; padding-top: 32px; }
  .format--main .micro { margin-bottom: 24px; }
  .format--main .btn { align-self: stretch; }
  .modes__grid { grid-template-columns: 1fr; }
  .modes__grid p, .modes__grid p + p { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split__item { min-height: 0; }
  .steps { row-gap: 32px; }
  .steps h3 { margin-top: 8px; }
  .rows li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .lead-form, .optional__grid { grid-template-columns: 1fr; }
  .optional__grid .field:last-child { grid-column: auto; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__links { grid-row: auto; flex-direction: column; gap: 0; }
  .site-footer__copy { justify-self: start; }
}

@media (max-width: 380px) {
  .title { font-size: min(25px, 7.4cqi); }
  .header-cta { padding: 0 12px; letter-spacing: .1em; }
  .tags li { font-size: 12px; padding: 8px 10px; }
}
.hero--full { min-height: 100svh; display: grid; align-items: center; padding-block: 64px; }
