/* v4 — poster: black, logo yellow, condensed uppercase type, square corners */
:root {
  --bg: #0a0a09;
  --bg-2: #121210;
  --ink: #f2efe6;
  --muted: #aaa69b;
  --line: rgba(242, 239, 230, 0.14);
  --line-2: rgba(242, 239, 230, 0.28);
  --yellow: #ffde59;
  --on-yellow: #0a0a09;
  --err: #ff8a7a;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(900px, 100% - 32px);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.kicker {
  font: 600 0.8rem/1 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* buttons */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--h);
  padding: 0 24px;
  border: 2px solid transparent;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease),
    border-color 160ms var(--ease),
    transform 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
  transition: transform 160ms var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-ink {
  background: var(--yellow);
  color: var(--on-yellow);
}
.btn-ink svg[fill="none"] {
  fill: none;
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-sm {
  --h: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.btn-lg {
  --h: 60px;
  padding: 0 30px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
@media (hover: hover) {
  .btn-ink:hover {
    background: var(--ink);
  }
  .btn-ink:hover svg:last-child {
    transform: translateX(4px);
  }
  .btn-line:hover {
    background: var(--ink);
    color: var(--on-yellow);
  }
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}
.mark {
  width: 34px;
  height: 34px;
  color: var(--yellow);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text b {
  font: 700 1.3rem/1 var(--display);
  letter-spacing: 0.14em;
}
.brand-text small {
  margin-top: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.nav {
  display: none;
  gap: 4px;
}
.nav a {
  padding: 8px 12px;
  font: 500 0.95rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  transition: color 160ms;
}
.nav a:hover {
  color: var(--yellow);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 42px;
  border: 2px solid var(--line-2);
  font: 600 0.85rem/1 var(--display);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.lang:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.top-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.top-phone svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: var(--yellow);
}
.top-actions .btn-sm {
  display: none;
}

/* hero */
.hero {
  padding: 36px 0 48px;
}
.hero-grid {
  display: grid;
  gap: 32px;
}
h1 {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem);
  line-height: 1.04;
}
h1 .l {
  display: block;
}
h1 .bar {
  display: inline-block;
  margin-top: 0.22em;
  padding: 0.06em 0.16em 0.02em;
  font-size: 0.8em;
  line-height: 1.02;
  background: var(--yellow);
  color: var(--on-yellow);
}
.lead {
  margin-top: 26px;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  color: var(--muted);
  max-width: 44ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-cta .btn {
  flex: 1 1 260px;
  padding: 0 18px;
  white-space: nowrap;
}
.hero-score {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 24px;
  background: var(--yellow);
  color: var(--on-yellow);
  text-decoration: none;
  overflow: hidden;
}
.hero-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42%;
  height: auto;
}
.hero-arrow path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hero-score b {
  font: 700 clamp(5rem, 3.6rem + 6vw, 8.5rem) / 0.85 var(--display);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hero-score span {
  margin-top: 10px;
  font: 600 1rem/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arrow path {
    stroke-dashoffset: 1;
    animation: draw 1.2s 0.25s var(--ease) forwards;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* running ticker */
.ticker {
  overflow: hidden;
  background: var(--yellow);
  color: var(--on-yellow);
  border-block: 2px solid var(--on-yellow);
}
.ticker-track {
  display: flex;
  width: max-content;
}
.ticker-track > div {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 14px;
}
.ticker span {
  font: 700 1.5rem/1 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i {
  font-style: normal;
  font: 700 1.3rem/1 var(--display);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 32s linear infinite;
  }
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* sections */
.sec {
  padding: 64px 0;
}
.sec-line {
  border-top: 1px solid var(--line);
}
.sec-top {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}
.sec-num {
  font: 700 3.4rem/0.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
}
.sec-top h2,
.contacts h2 {
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem);
  max-width: 18ch;
}
.contacts h2 {
  margin-top: 12px;
}
.note {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 500;
}

/* 01 why: big rows */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.rows li {
  display: grid;
  gap: 6px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition:
    background-color 200ms var(--ease),
    color 200ms var(--ease),
    padding 200ms var(--ease);
}
.row-n {
  font: 500 1rem/1 var(--display);
  color: var(--yellow);
}
.rows h3 {
  font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem);
}
.rows p {
  color: var(--muted);
}
@media (hover: hover) {
  .rows li:hover {
    background: var(--yellow);
    color: var(--on-yellow);
    padding-inline: 20px;
  }
  .rows li:hover .row-n,
  .rows li:hover p {
    color: var(--on-yellow);
  }
}

/* 02 results: giant outlined numbers */
.scores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.scores li {
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.big {
  font: 700 clamp(5rem, 3.4rem + 6vw, 8.6rem) / 0.85 var(--display);
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
  font-variant-numeric: tabular-nums;
  transition: color 240ms var(--ease);
}
.scores li:first-child .big {
  color: var(--yellow);
}
@media (hover: hover) {
  .scores li:hover .big {
    color: var(--yellow);
  }
}
.lbl {
  margin-top: 14px;
  font: 600 0.95rem/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.scores blockquote {
  margin: 18px 0 0;
  flex: 1;
  font-size: 1.02rem;
}
.scores .tr {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}
.who {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 28px;
  font: 600 0.95rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--yellow);
}
.more svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.more svg:last-child {
  fill: none;
  transition: transform 160ms var(--ease);
}
.more:hover svg:last-child {
  transform: translateX(4px);
}

/* 03 teachers: roster */
.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.roster > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.ro-mono {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--yellow);
  color: var(--on-yellow);
  font: 700 1.7rem/1 var(--display);
}
.ro-main h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
}
.ro-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
  font: 600 0.85rem/1.2 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ro-role {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.ro-facts {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ro-facts li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97rem;
}
.ro-facts li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

/* 04 courses: tiles */
.tiles {
  list-style: none;
  margin: 0;
  padding: 1px;
  display: grid;
  gap: 1px;
  background: var(--line-2);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: var(--bg);
  transition:
    background-color 200ms var(--ease),
    color 200ms var(--ease);
}
.tile-tag {
  font: 700 2.6rem/1 var(--display);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
}
.tile h3 {
  margin-top: 22px;
  font-size: 1.45rem;
  line-height: 1.05;
}
.tile p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (hover: hover) {
  .tile:not(.tile-cta):hover {
    background: var(--yellow);
    color: var(--on-yellow);
  }
  .tile:not(.tile-cta):hover .tile-tag {
    color: var(--on-yellow);
    -webkit-text-stroke-color: var(--on-yellow);
  }
  .tile:not(.tile-cta):hover p {
    color: var(--on-yellow);
  }
}
.tile-cta {
  justify-content: space-between;
  gap: 20px;
  background: var(--yellow);
  color: var(--on-yellow);
}
.tile-cta p {
  margin: 0;
  color: var(--on-yellow);
  font-weight: 500;
}
.tile-cta .btn-ink {
  background: var(--on-yellow);
  color: var(--yellow);
}
@media (hover: hover) {
  .tile-cta .btn-ink:hover {
    background: #2a2a26;
  }
}

/* 05 prices */
.ptable {
  display: grid;
  gap: 36px;
}
.pgroup h3 {
  padding-bottom: 14px;
  font: 600 0.9rem/1.2 var(--body);
  letter-spacing: 0.14em;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.prow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.prow span {
  font-weight: 500;
}
.prow b {
  font: 700 clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem) / 1 var(--display);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.prow small {
  grid-column: 2;
  text-align: right;
  color: var(--muted);
  font-size: 0.82rem;
}

.pcta {
  margin-top: 36px;
}

/* 06 faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font: 600 1.1rem/1.35 var(--body);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: var(--on-yellow);
  font: 700 1.4rem/1 var(--display);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 52px 22px 0;
  color: var(--muted);
}

/* sign-up: full yellow */
.signup {
  padding: 72px 0;
  background: var(--yellow);
  color: var(--on-yellow);
}
.signup-in {
  display: grid;
  gap: 36px;
  align-items: center;
}
.signup h2 {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem);
  max-width: 12ch;
}
.signup-copy > p {
  margin-top: 26px;
  max-width: 40ch;
  font-size: 1.05rem;
  font-weight: 500;
}
.signup-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font: 700 1.8rem/1 var(--display);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.signup-tel svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.signup-form {
  padding: 26px 22px;
  background: var(--on-yellow);
  color: var(--ink);
}

/* form */
.lead-fields {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.field label,
.field legend {
  padding: 0;
  font: 600 0.8rem/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field legend {
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 2px solid var(--line-2);
  border-radius: 0;
  background: #141412;
  color: var(--ink);
  font: 500 16px/1 var(--body);
  transition: border-color 160ms;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffde59' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder {
  color: #77746b;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--yellow);
}
.field input[aria-invalid="true"] {
  border-color: var(--err);
}
.phone {
  display: flex;
}
.phone-cc {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 2px solid var(--line-2);
  border-right: 0;
  background: #1c1c19;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.phone input {
  font-variant-numeric: tabular-nums;
}
.err {
  color: var(--err);
  font-size: 0.86rem;
}
.segs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--line-2);
}
.seg {
  position: relative;
}
.seg + .seg {
  border-left: 2px solid var(--line-2);
}
.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: grid;
  place-items: center;
  height: 46px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease);
}
.seg input:checked + span {
  background: var(--yellow);
  color: var(--on-yellow);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: -4px;
}
.lead-form .btn-ink {
  min-height: 56px;
  margin-top: 4px;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  color: var(--err);
  font-size: 0.92rem;
}
.consent {
  font-size: 0.8rem;
  color: #8f8b80;
}
.lead-ok {
  text-align: center;
  padding: 16px 0 6px;
}
.lead-ok:not([hidden]) {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.ok-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--yellow);
  color: var(--on-yellow);
  margin-bottom: 6px;
}
.ok-icon svg {
  width: 32px;
  height: 32px;
}
.ok-title {
  font: 700 1.7rem/1.1 var(--display);
  text-transform: uppercase;
  outline: none;
}
.lead-ok p:not(.ok-title) {
  color: var(--muted);
  max-width: 34ch;
}
.lead-ok .btn {
  margin-top: 10px;
}

/* contacts */
.contacts {
  display: grid;
  gap: 36px;
}
.addr {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
}
.addr svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: var(--yellow);
  margin-top: 2px;
}
.addr b {
  color: var(--ink);
  font-size: 1.1rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  color: var(--muted);
}
.contact-list a {
  font-weight: 600;
  text-decoration: none;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.contact-list a:hover {
  color: var(--yellow);
}
.maps-label {
  margin-top: 24px;
  font: 600 0.8rem/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.maps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.maps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--line-2);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.maps a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.map {
  min-height: 340px;
  border: 2px solid var(--yellow);
  background: var(--bg-2);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 336px;
  border: 0;
  filter: grayscale(0.25);
}

/* footer with the giant wordmark */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 120px;
  color: var(--muted);
  font-size: 0.92rem;
  overflow: hidden;
}
.foot-row {
  display: grid;
  gap: 16px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.foot-links svg {
  width: 18px;
  height: 18px;
  fill: var(--yellow);
}
.foot-links a:hover {
  color: var(--yellow);
}
.wordmark {
  margin: 28px 0 8px;
  font: 700 clamp(5rem, 24vw, 19rem) / 0.8 var(--display);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 222, 89, 0.55);
  user-select: none;
}

/* mobile action dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 9, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 240ms var(--ease);
}
.dock.show {
  transform: none;
}
.dock .btn-ink {
  flex: 1;
  padding: 0 12px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.dock .btn-line {
  width: 52px;
  padding: 0;
  flex: none;
}

/* modal */
.modal {
  width: min(480px, 100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 2px solid var(--yellow);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.modal-box {
  position: relative;
  padding: 26px 22px 22px;
}
.modal h2 {
  font-size: 2rem;
  padding-right: 44px;
}
.modal-lead {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.modal-x:hover {
  background: var(--yellow);
  color: var(--on-yellow);
}
.modal-x svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] {
    animation: pop 200ms var(--ease);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* larger screens */
@media (min-width: 640px) {
  .rows li {
    grid-template-columns: 60px 1fr;
  }
  .rows p {
    grid-column: 2;
  }
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .ptable {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .modal-box {
    padding: 32px;
  }
  .signup-form {
    padding: 32px;
  }
}
@media (min-width: 900px) {
  .top-actions .btn-sm {
    display: inline-flex;
  }
  .top-phone {
    display: inline-flex;
  }
  .hero {
    padding: 64px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: stretch;
  }
  .hero-main {
    align-self: center;
  }
  .hero-cta .btn {
    flex: 0 0 auto;
  }
  .hero-score {
    min-height: 0;
    padding: 30px;
  }
  .hero-arrow {
    width: 68%;
  }
  .sec,
  .signup {
    padding: 104px 0;
  }
  .sec-top {
    grid-template-columns: 120px 1fr;
    gap: 6px 24px;
    margin-bottom: 48px;
  }
  .sec-num {
    grid-row: span 2;
    font-size: 5.4rem;
  }
  .rows li {
    grid-template-columns: 120px 1fr 1fr;
    align-items: center;
    padding: 30px 0;
  }
  .rows p {
    grid-column: 3;
    font-size: 1.05rem;
  }
  .scores {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }
  .scores li {
    padding: 0 32px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .scores li:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .roster > li {
    grid-template-columns: 96px 1.1fr 1fr;
    align-items: start;
    gap: 32px;
    padding: 36px 0;
  }
  .ro-mono {
    width: 96px;
    height: 96px;
    font-size: 2.2rem;
  }
  .ro-facts {
    grid-column: auto;
    padding-top: 8px;
  }
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
  .tile {
    min-height: 250px;
  }
  .signup-in {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
  .contacts {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: stretch;
  }
  .foot {
    padding-bottom: 40px;
  }
  .foot-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .dock {
    display: none;
  }
}
@media (min-width: 1180px) {
  .nav {
    display: flex;
  }
}

/* phones: logo and phone-number links get a full 44px touch area */
.brand,
.signup-tel {
  min-height: 44px;
}
