:root {
  --paper: #ffffff;
  --ink: #141414;
  --muted: #8a8a86;
  --text: #3d3d3a;
  --line: #e8e8e5;
  --soft: #f5f5f3;
  --blue: #3978f6;
  --telegram: #229ed9;
  --telegram-hover: #168dcc;
  --grid-max: 1260px;
  --grid-gap: clamp(14px, 1.4vw, 22px);
  --page-gutter: clamp(22px, 5vw, 76px);
  --page-inset: clamp(44px, 10vw, 152px);
  --section-space: clamp(88px, 7vw, 112px);
  --heading-section: clamp(42px, 4.45vw, 64px);
  --heading-accent: clamp(48px, 5vw, 72px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-ru-en-variable.woff2?v=2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4 Hero";
  src: url("fonts/source-serif-4-600-italic.woff2?v=full-1") format("woff2");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cody Glyph";
  src: url("fonts/cody-glyph.woff2?v=bold-2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Cody Glyph Thin";
  src: url("fonts/cody-glyph-thin.woff2?v=thin-1") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* clip, not hidden: hidden turns the body into its own scroller in iOS Safari (no momentum, the address bar stays). */
body { margin: 0; overflow-x: clip; background: var(--paper); }
a { color: inherit; }
button, textarea { font: inherit; }
[hidden] { display: none !important; }

.hero { min-height: 100svh; padding: 0 var(--page-gutter) 54px; display: flex; flex-direction: column; }
.topbar { width: min(100%, var(--grid-max)); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: center; }
.wordmark { grid-column: 1 / span 3; justify-self: start; font-size: 18px; font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.cookie-notice { width: min(420px, calc(100vw - 32px)); position: fixed; right: 16px; bottom: 16px; z-index: 100; padding: 16px; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(0, 0, 0, .1); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.cookie-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button { flex: 0 0 auto; padding: 9px 14px; color: #fff; background: var(--ink); border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.wordmark span { color: var(--muted); font-weight: 450; }
.topbar nav { grid-column: 5 / span 4; justify-self: center; display: flex; gap: 34px; color: #666662; font-size: 12px; }
.topbar nav a, .nav-action { text-decoration: none; }
.nav-action { grid-column: 10 / -1; justify-self: end; padding: 10px 15px; border-radius: 999px; color: white; background: var(--ink); font-size: 13px; font-weight: 600; }

.hero-content { width: min(100%, var(--grid-max)); flex: 1; min-height: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: clamp(54px, 8vh, 92px); align-content: center; text-align: center; }
.hero-presentation { width: 100%; grid-column: 2 / 12; }
.hero-intro { width: 100%; max-height: 300px; overflow: visible; opacity: 1; transform: translateY(0); transition: max-height .55s ease, opacity .3s ease, transform .45s ease; }
.eyebrow { margin: 0 0 21px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .01em; }
h1, h2, h3 { letter-spacing: -.05em; }
.hero h1 { width: 100%; max-width: 1100px; margin: 0 auto; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; font-weight: 560; letter-spacing: -.05em; text-wrap: balance; }
.hero h1 span { color: inherit; font-family: "Source Serif 4 Hero", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -.05em; }
.hero h1 .hero-cody-inline { font-family: "Cody Glyph"; font-size: 1em; font-style: normal; font-weight: 400; letter-spacing: 0; }
.hero-title-mobile { display: none; }
.hero-copy { max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.hero-cody-mobile { display: none; font-family: "Cody Glyph"; font-style: normal; font-weight: 400; line-height: 1; }
.hero-cta-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.hero-cta { min-width: 270px; min-height: 62px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; color: white; background: var(--ink); box-shadow: 0 12px 28px rgba(20,20,20,.16); font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .2s ease, box-shadow .2s ease; }
.hero-cta:hover { background: #292929; box-shadow: 0 15px 34px rgba(20,20,20,.22); transform: translateY(-2px); }
.hero-cta:active { transform: scale(.98); }
.hero-cta:focus-visible { outline: 3px solid rgba(20,20,20,.18); outline-offset: 4px; }
.hero-cta-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.hero-cta-wrap p { margin: 0; color: var(--muted); font-size: 12px; }


.projects-cta { width: min(calc(100% - var(--page-inset)), var(--grid-max)); margin: 0 auto; padding: var(--section-space) 0 clamp(48px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-content: center; text-align: center; }
.projects-cta h2 { width: 100%; grid-column: 1 / -1; margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: .98; font-weight: 520; letter-spacing: -.06em; text-wrap: balance; }
.projects-cta p { grid-column: 4 / 10; margin: 24px 0 36px; color: var(--text); font-size: 15px; line-height: 1.45; }
.projects-cta > a { grid-column: 5 / 9; justify-self: center; }

/* 2x2, as wide as "Как это работает": the same 2vw side margins, so the edges line up on 16:9 screens. */
.technical { padding: clamp(32px, 4vw, 64px) 2vw clamp(24px, 3vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(56px, 6vw, 96px); }
.technical-block { width: min(100%, 720px); min-width: 0; justify-self: center; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.technical-illustration { width: 100%; max-width: 720px; aspect-ratio: 16 / 10; }
.technical-illustration img { width: 100%; height: 100%; display: block; object-fit: contain; }
.technical-content { display: contents; }
.technical-heading { margin-top: clamp(18px, 2vw, 28px); align-self: end; }
.technical-heading h2 { margin: 0; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; font-weight: 520; letter-spacing: -.045em; text-wrap: balance; }
.technical-copy { max-width: 560px; margin-top: 14px; }
.technical-copy p { margin: 0; color: var(--text); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; text-wrap: pretty; }
.technical-copy p + p { margin-top: 12px; }
.technical-copy a { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.technical-copy a span { border-bottom: 1px solid currentColor; }
.technical-copy a svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .technical { padding-inline: 16px; } }
/* The drawings live like the hero: the ink boils, Cody blinks now and then, the little motion marks pop. */
.technical-illustration { position: relative; animation: tech-boil .5s steps(1) infinite; }
.technical-illustration .tech-fx { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: tech-pop 2.6s cubic-bezier(.2, .8, .2, 1) infinite; }
.tech-lid { position: absolute; translate: -50% -50%; border-radius: 50%; background: #fff; transform: scaleY(0); animation: tech-blink 5.2s infinite; }
.tech-lid::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 30%; translate: 0 -50%; border-radius: 99px; background: #141414; }
@keyframes tech-boil { 0% { filter: url(#boil-1); } 33% { filter: url(#boil-2); } 66% { filter: url(#boil-3); } }
@keyframes tech-blink { 0%, 90%, 100% { transform: scaleY(0); } 92.5%, 95% { transform: scaleY(1); } }
@keyframes tech-pop { 0% { opacity: 0; transform: scale(.82); } 9% { opacity: 1; transform: scale(1.1); } 17% { transform: scale(1); } 52% { opacity: 1; } 64%, 100% { opacity: 0; transform: scale(1); } }
.technical-hosting .tech-lid-l { display: none; }
.technical-hosting .tech-lid-r { display: none; }
.technical-hosting .technical-illustration { animation-delay: 0s; }
.technical-hosting .tech-fx { transform-origin: 33.2% 65.0%; animation-duration: 2.8s; }
.technical-storage .tech-lid-l { left: 21.94%; top: 41.95%; width: 3.61%; height: 2.67%; rotate: -8.6deg; animation-duration: 4.7s; }
.technical-storage .tech-lid-r { left: 27.82%; top: 40.5%; width: 3.37%; height: 2.69%; rotate: -11.7deg; animation-duration: 4.7s; }
.technical-storage .technical-illustration { animation-delay: -.17s; }
.technical-storage .tech-fx { transform-origin: 40.2% 30.1%; animation-duration: 3.3s; }
.technical-engine .tech-lid-l { left: 68.34%; top: 39.38%; width: 2.99%; height: 2.84%; rotate: 18.5deg; animation-duration: 6.2s; }
.technical-engine .tech-lid-r { left: 73.8%; top: 41.99%; width: 3.41%; height: 3.01%; rotate: 16.1deg; animation-duration: 6.2s; }
.technical-engine .technical-illustration { animation-delay: -.33s; }
.technical-engine .tech-fx { transform-origin: 58.3% 27.1%; animation-duration: 1.9s; }
.technical-privacy .tech-lid-l { left: 64.6%; top: 40.07%; width: 2.87%; height: 2.64%; rotate: 12.0deg; animation-duration: 5.8s; }
.technical-privacy .tech-lid-r { display: none; }
.technical-privacy .technical-illustration { animation-delay: -.08s; }
.technical-privacy .tech-fx { transform-origin: 52.5% 33.8%; animation-duration: 3.6s; }
.technical:not(.is-playing) .technical-illustration, .technical:not(.is-playing) .technical-illustration * { animation-play-state: paused; }
/* "Коди в цифрах": four columns split by hairlines, a small Cody-style drawing over each number. */
.stats { padding: clamp(56px, 6vw, 96px) 2vw 0; }
.stats-title { margin: 0 0 clamp(36px, 4vw, 64px); text-align: center; font-size: var(--heading-section); font-weight: 560; letter-spacing: -.05em; line-height: 1; }
.stats-title span { font-family: "Source Serif 4 Hero", Georgia, serif; font-style: italic; font-weight: 600; }
.stats-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-item { min-width: 0; padding: 0 clamp(18px, 2.6vw, 44px); display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.stats-item + .stats-item { border-left: 1px solid var(--line); }
.stats-art { position: relative; width: clamp(128px, 11vw, 190px); aspect-ratio: 1; margin-bottom: clamp(14px, 1.6vw, 24px); }
.stats-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stats-num { justify-self: start; font-family: "Source Serif 4 Hero", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(52px, 5.2vw, 92px); line-height: .9; letter-spacing: -.045em; white-space: nowrap; }
.stats-label { margin-top: clamp(14px, 1.4vw, 22px); font-size: clamp(17px, 1.3vw, 20px); font-weight: 560; letter-spacing: -.02em; line-height: 1.2; }
.stats-item small { margin-top: 6px; color: var(--muted); font-size: clamp(13px, .95vw, 15px); line-height: 1.4; text-wrap: balance; }
.stats-art { animation: tech-boil .5s steps(1) infinite; }
.stats-led { position: absolute; left: 32.16%; top: 71.65%; width: 3.2%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #34c759; animation: stats-led 1.8s ease-out infinite; }
@keyframes stats-led { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0); } }
/* Cursors fidget like a busy shared file; the Enter key gets pressed; zzz and warmth drift; the steam tick rises. */
.stats-cursors { animation: stats-jiggle 3.2s ease-in-out infinite; }
@keyframes stats-jiggle { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(1.6%, -1.2%) rotate(1.5deg); } 50% { transform: translate(-1.2%, 1%) rotate(-1deg); } 75% { transform: translate(1%, .8%) rotate(.8deg); } }
.stats-enter { transform-origin: 50% 85%; animation: stats-press 2.8s cubic-bezier(.3, .7, .3, 1) infinite; }
@keyframes stats-press { 0%, 68%, 100% { transform: translateY(0) scaleY(1); } 74% { transform: translateY(3.5%) scaleY(.96); } 82% { transform: translateY(-1.2%) scaleY(1.01); } 88% { transform: translateY(0) scaleY(1); } }
.stats-fx { animation: stats-float 3s ease-in-out infinite; }
@keyframes stats-float { 0%, 100% { opacity: .35; transform: translateY(2.5%); } 50% { opacity: 1; transform: translateY(-2%); } }
.stats-speed .stats-fx { transform-origin: 50% 45%; animation: stats-steam 3.4s ease-in-out infinite; }
@keyframes stats-steam { 0% { opacity: 0; transform: translateY(7%) scale(.94); } 30% { opacity: 1; } 70% { opacity: .95; } 100% { opacity: 0; transform: translateY(-6%) scale(1.03); } }
.stats:not(.is-playing) * { animation-play-state: paused; }
@media (max-width: 1050px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-item:nth-child(3) { border-left: 0; }
  .stats-item:nth-child(n+3) { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
}
@media (max-width: 900px) { .stats { padding-inline: 16px; } }
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-item { padding: 0; display: grid; grid-row: auto; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: none; column-gap: 18px; align-items: center; }
  .stats-item + .stats-item { margin-top: 22px; padding-top: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .stats-art { grid-row: 1 / span 3; width: 104px; margin: 0; }
  .stats { padding-top: 72px; }
  .stats-label { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .technical-illustration, .tech-lid, .stats-art, .stats-led, .stats-cursors, .stats-enter, .plan-peek, .closing-cody { animation: none; }
  .technical-illustration .tech-fx, .stats-fx, .closing-cody .closing-fx { animation: none; opacity: 1; }
}

.plans { padding: var(--section-space) var(--page-gutter) 0; }
.closing { width: min(calc(100% - var(--page-inset)), var(--grid-max)); margin: 0 auto; padding: var(--section-space) 0; }
.section-intro { width: min(100%, var(--grid-max)); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
.section-intro h2, .closing h2 { margin: 0; font-size: var(--heading-section); line-height: 1.02; font-weight: 520; }
.closing h2 { font-size: var(--heading-accent); }
.closing h2 span { font-family: "Source Serif 4 Hero", Georgia, serif; font-style: italic; font-weight: 600; }

.plans { background: var(--paper); }
.plans .section-intro { text-align: center; }
.plans .section-intro h2 { grid-column: 1 / -1; }
.plans .section-intro h2 { font-size: var(--heading-section); line-height: .98; letter-spacing: -.055em; }
.plans .section-intro h2 span { font-family: "Source Serif 4 Hero", Georgia, serif; font-style: italic; font-weight: 600; }
.plans .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.plans .eyebrow::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: currentColor; }
/* Pricing: three cards as before, a little softer; Pro keeps its soft foliage photo. */
.plan-list { width: min(100%, var(--grid-max)); margin: clamp(104px, 10vw, 150px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 22px); }
.plan { position: relative; min-width: 0; padding: clamp(26px, 2.4vw, 36px); display: flex; flex-direction: column; border: 1px solid #e4e3de; border-radius: clamp(20px, 1.8vw, 26px); background: #fff; box-shadow: 0 6px 18px rgba(25, 25, 22, .035); transition: border-color .2s ease, box-shadow .2s ease; }
.plan:hover { border-color: #d6d5cf; box-shadow: 0 14px 34px rgba(25, 25, 22, .07); }
.plan-pro { border-color: #d3d2cb; box-shadow: 0 16px 40px rgba(25, 25, 22, .09); }
/* Cody peeks over the Pro card: the drawn edge sits exactly on the card's top border, fingers over it. */
.plan-peek { position: absolute; z-index: 3; top: 0; right: 13%; width: clamp(128px, 11vw, 176px); aspect-ratio: 811 / 725; transform: translateY(-91.59%); pointer-events: none; animation: tech-boil .5s steps(1) infinite; }
.plan-peek img { width: 100%; height: 100%; display: block; }
.peek-lid-l { left: 39.38%; top: 59.2%; width: 14.55%; height: 8.83%; rotate: -1.5deg; animation-duration: 4.9s; }
.peek-lid-r { left: 62.74%; top: 59.07%; width: 14.6%; height: 8.97%; rotate: -2.0deg; animation-duration: 4.9s; }
.plans:not(.is-playing) .plan-peek, .plans:not(.is-playing) .plan-peek * { animation-play-state: paused; }
.plan-heading { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plan-name { margin: 0; color: var(--ink); font-size: 18px; font-weight: 520; letter-spacing: -.035em; }
.plan-price { margin: 24px 0 0; font-family: "Source Serif 4 Hero", Georgia, serif; font-size: clamp(42px, 3.7vw, 54px); font-style: italic; line-height: 1; font-weight: 600; letter-spacing: -.055em; }
.plan-price span { color: var(--muted); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-weight: 450; letter-spacing: 0; }
.plan-description { max-width: 360px; margin: 18px 0 22px; color: #6f6f6a; font-size: 14px; line-height: 1.5; }
.plan ul { margin: 0 0 32px; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; padding: 7px 0; font-size: 14px; line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #8f8e89; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan a { width: 100%; margin-top: auto; padding: 14px 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 11px; color: white; background: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.plan a:hover { border-color: #343432; background: #343432; }
.plan-base a, .plan-trial a { border-color: #d4d3ce; color: var(--ink); background: #fff; }
.plan-base a:hover, .plan-trial a:hover { border-color: #b7b6b0; background: #fafaf8; }
.plan-pay { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; row-gap: 10px; color: var(--ink); font-size: 14px; }
.plan-pay-label { margin-right: 14px; color: var(--muted); }
.pay-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pay-item + .pay-item::before { content: "·"; margin: 0 8px 0 6px; color: var(--muted); }
.pay-item img { width: 20px; height: 20px; display: block; object-fit: contain; }

.closing { min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-content: center; text-align: center; }
.closing h2 { grid-column: 2 / 12; margin-bottom: 30px; }
.closing > p { max-width: none; grid-column: 4 / 10; margin: 0 0 36px; color: var(--text); font-size: 17px; line-height: 1.5; }
/* The page ends the way it starts: the button is as big as the hero's, and Cody waves under it. */
.closing-cody { position: relative; grid-column: 1 / -1; justify-self: center; width: clamp(96px, 8vw, 118px); aspect-ratio: 633 / 894; margin-top: 40px; transform-origin: 50% 100%; animation: tech-boil .5s steps(1) infinite, closing-wave 2.6s ease-in-out infinite; }
.closing-cody img { display: block; width: 100%; height: 100%; }
.closing-cody .closing-fx { position: absolute; inset: 0; opacity: 0; animation: tech-pop 2.6s cubic-bezier(.2, .8, .2, 1) infinite; }
.closing-lid-l { left: 26.78%; top: 34.62%; width: 14.85%; height: 5.59%; animation-duration: 5.4s; }
.closing-lid-r { left: 49.61%; top: 34.4%; width: 14.38%; height: 5.59%; animation-duration: 5.4s; }
@keyframes closing-wave { 0%, 40%, 100% { rotate: 0deg; } 10% { rotate: 3deg; } 20% { rotate: -1.5deg; } 30% { rotate: 1.5deg; } }
.closing:not(.is-playing) .closing-cody, .closing:not(.is-playing) .closing-cody * { animation-play-state: paused; }
.closing-cta { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.closing-cta p { margin: 0; color: var(--muted); font-size: 12.5px; }
footer { min-height: 78px; padding: 18px var(--page-gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-grid { width: min(100%, var(--grid-max)); min-height: 42px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: center; }
footer nav { grid-column: 4 / span 6; text-align: center; line-height: 1.8; }
footer a { color: inherit; text-underline-offset: 3px; }

@keyframes pulse { 50% { opacity: .42; } }
@keyframes transfer-sheen { to { transform: translateX(120%); } }
@keyframes transfer-complete { 50% { transform: scale(1.025); } }

@media (max-width: 900px) {
  .plan-list { grid-template-columns: minmax(0, 1fr); margin-top: 56px; gap: 24px; }
  .plan-pro { margin-top: 118px; }
}
@media (max-width: 560px) {
  /* The three payment methods in one even row, each logo over its name; no dots, nothing left alone on a line. */
  .plan-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .plan-pay-label { grid-column: 1 / -1; margin: 0; text-align: center; }
  .pay-item { flex-direction: column; gap: 6px; white-space: normal; text-align: center; }
  .pay-item + .pay-item::before { content: none; }
}

@media (max-width: 720px) {
  :root { --grid-gap: 12px; --page-gutter: 16px; --page-inset: 32px; --section-space: 88px; }
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .hero { padding: 0 var(--page-gutter) 30px; }
  .topbar { min-height: 62px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wordmark { grid-column: 1 / span 2; }
  .topbar nav { display: none; }
  .topbar .nav-action { display: none; }
  .hero-content { padding-top: clamp(40px, 6vh, 58px); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; align-content: stretch; row-gap: 0; }
  .hero-presentation { grid-column: 1 / -1; grid-row: 1; }
  .hero-title-desktop { display: none; }
  .hero h1.hero-title-mobile { width: 100%; max-width: none; margin: 0 auto; display: block; font-size: 42px; letter-spacing: -.05em; }
  .hero h1 .hero-cody-inline { display: none; }
  .hero-copy { max-width: 300px; font-size: 13px; }
  .hero-cody-mobile { margin: 0 0 24px; display: block; font-family: "Cody Glyph Thin"; font-size: 112px; }
  .hero-cta-wrap { width: 100%; grid-column: 1 / -1; grid-row: 3; margin-top: 0; padding: 48px 0 clamp(10px, 3vh, 26px); }
  .hero-cta { min-width: min(100%, 270px); min-height: 58px; }
  .projects-cta { width: calc(100% - var(--page-inset)); padding: var(--section-space) 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .projects-cta h2 { font-size: 48px; }
  .projects-cta p { grid-column: 1 / -1; margin: 20px 0 32px; font-size: 16px; }
  .projects-cta > a { grid-column: 1 / -1; }
  .technical { grid-template-columns: minmax(0, 1fr); row-gap: 64px; padding-top: 0; }
  .technical-heading h2 { font-size: 30px; }
  .technical-copy p { font-size: 16px; }
  .section-intro, .closing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .closing { width: calc(100% - var(--page-inset)); padding: var(--section-space) 0; }
  .closing h2, .closing > p { grid-column: 1 / -1; }
  .section-intro h2 { font-size: var(--heading-section); }
  .closing h2 { font-size: var(--heading-accent); }
  .plans .section-intro h2 { font-size: var(--heading-section); }
  .plan { padding: 24px; }
  .closing > p { max-width: 340px; font-size: 16px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  /* Two even rows of links: no dot left dangling at a line end. */
  footer nav { width: 100%; grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(2, auto); justify-content: center; column-gap: 20px; }
  .footer-sep { display: none; }
  footer nav > a:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
