/*
  FormPower.com
  The billion-dollar submit button.
  Editorial / sarcastic internet-history stylesheet
*/

:root {
  --ink: #111116;
  --ink-2: #20202a;
  --paper: #fbf7ee;
  --paper-2: #f0eadc;
  --paper-3: #e2d8c4;
  --white: #ffffff;
  --muted: #68645d;
  --line: rgba(17, 17, 22, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --gold: #d99b2b;
  --gold-2: #f4c46c;
  --red: #c54135;
  --blue: #233f8f;
  --green: #1f7a57;
  --shadow: 0 28px 80px rgba(17, 17, 22, 0.18);
  --shadow-soft: 0 18px 48px rgba(17, 17, 22, 0.11);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(217, 155, 43, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 0%, rgba(35, 63, 143, 0.14), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 42%, #f4ecdc 100%);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(197, 65, 53, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: color 160ms ease, text-decoration-color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

p {
  margin: 0 0 1.15rem;
}

strong {
  font-weight: 850;
}

em {
  font-family: var(--font-display);
}

::selection {
  color: var(--ink);
  background: var(--gold-2);
}

/* Layout */

.wrap,
.site-header-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(58px, 8vw, 112px) 0;
}

.section-tight {
  padding: clamp(38px, 5vw, 72px) 0;
}

.section-dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 155, 43, 0.24), transparent 30rem),
    radial-gradient(circle at 85% 15%, rgba(197, 65, 53, 0.18), transparent 34rem),
    linear-gradient(135deg, #111116 0%, #1a1a24 56%, #0c0c10 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.section-dark .kicker {
  color: var(--gold-2);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: rgba(251, 247, 238, 0.7);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(4rem, 12vw, 11rem);
}

h2 {
  font-size: clamp(2.7rem, 6.2vw, 6.35rem);
}

h3 {
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}

h4 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 820px;
  color: var(--ink-2);
  font-size: clamp(1.16rem, 2.1vw, 1.55rem);
  line-height: 1.48;
}

.section-dark .lede {
  color: rgba(251, 247, 238, 0.82);
}

.muted {
  color: var(--muted);
}

.section-dark .muted {
  color: rgba(251, 247, 238, 0.66);
}

.center {
  text-align: center;
}

.center .lede,
.center .section-intro {
  margin-inline: auto;
}

.section-intro {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.section-intro h2 + p,
.section-intro h1 + p {
  margin-top: 1.15rem;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--paper);
  background: rgba(17, 17, 22, 0.9);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--gold-2);
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-tag {
  color: rgba(251, 247, 238, 0.7);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.72rem 0.86rem;
  color: rgba(251, 247, 238, 0.82);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-dark);
}

.nav a.cta-link {
  margin-left: 0.25rem;
  color: var(--ink);
  background: var(--gold-2);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav a.cta-link:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 99px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(680px, 92vh, 980px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(17, 17, 22, 0.92), rgba(17, 17, 22, 0.58) 52%, rgba(17, 17, 22, 0.35)),
    radial-gradient(circle at 75% 18%, rgba(217, 155, 43, 0.32), transparent 34rem),
    linear-gradient(135deg, #111116 0%, #242433 52%, #0b0b0f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(251, 247, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 238, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
}

.hero::after {
  content: "SUBMIT";
  position: absolute;
  right: -0.12em;
  bottom: -0.2em;
  color: rgba(251, 247, 238, 0.055);
  font-family: var(--font-mono);
  font-size: clamp(7rem, 21vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(clamp(680px, 92vh, 980px) - 76px);
  margin-inline: auto;
  padding: clamp(74px, 10vw, 132px) 0;
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
}

.hero-copy {
  max-width: 920px;
}

.hero .kicker {
  color: var(--gold-2);
}

.hero-title {
  max-width: 980px;
  text-wrap: balance;
}

.hero-title .small {
  display: block;
  color: rgba(251, 247, 238, 0.66);
  font-size: 0.34em;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 760px;
  margin: 1.55rem 0 0;
  color: rgba(251, 247, 238, 0.83);
  font-size: clamp(1.24rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-note {
  max-width: 620px;
  margin-top: 1.35rem;
  color: rgba(251, 247, 238, 0.58);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.55;
}

.mock-form {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.mock-form::before {
  content: "BILLION DOLLAR GENIUS MACHINE";
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.mock-window {
  overflow: hidden;
  background: #fdf8ed;
  border: 1px solid rgba(17, 17, 22, 0.22);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.mock-window-bar {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 44px;
  padding: 0 1rem;
  background: #181821;
}

.mock-dot {
  width: 11px;
  height: 11px;
  background: var(--gold-2);
  border-radius: 999px;
  opacity: 0.9;
}

.mock-dot:nth-child(2) {
  background: var(--red);
}

.mock-dot:nth-child(3) {
  background: var(--green);
}

.mock-window-body {
  padding: 1.2rem;
  color: var(--ink);
}

.form-label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field {
  width: 100%;
  min-height: 52px;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(17, 17, 22, 0.14);
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
}

.big-submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--gold-2);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(217, 155, 43, 0.28);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mock-caption {
  margin: 1rem 0 0;
  color: rgba(251, 247, 238, 0.7);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Buttons */

.button,
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.18rem;
  color: var(--ink);
  background: var(--gold-2);
  border: 2px solid rgba(17, 17, 22, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(17, 17, 22, 0.12);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.button:hover,
.btn:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.button.secondary,
.btn.secondary {
  color: var(--paper);
  background: transparent;
  border-color: var(--line-dark);
  box-shadow: none;
}

.button.secondary:hover,
.btn.secondary:hover {
  color: var(--ink);
  background: var(--paper);
}

/* Cards / Grids */

.grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card.dark {
  color: var(--paper);
  background: linear-gradient(145deg, #171720, #262633);
  border-color: var(--line-dark);
}

.card h3,
.card h4 {
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ink);
  background: var(--gold-2);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-weight: 950;
}

.satire-card {
  min-height: 290px;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(17, 17, 22, 0.1), rgba(17, 17, 22, 0.86)),
    linear-gradient(135deg, #20202b, #101015);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.satire-card .label {
  display: inline-flex;
  margin-bottom: 4.5rem;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: var(--gold-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Pull quotes */

.pullquote {
  position: relative;
  margin: clamp(36px, 6vw, 84px) 0;
  padding: clamp(30px, 5vw, 64px);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 5%, rgba(217, 155, 43, 0.22), transparent 28rem),
    linear-gradient(135deg, #111116, #222232);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.pullquote::before {
  content: "“";
  position: absolute;
  top: 0.05em;
  left: 0.12em;
  color: rgba(244, 196, 108, 0.26);
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 0.8;
}

.pullquote blockquote {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.pullquote cite {
  display: block;
  margin-top: 1.25rem;
  color: rgba(251, 247, 238, 0.65);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Feature strips */

.split {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.panel {
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.panel.dark {
  color: var(--paper);
  background: linear-gradient(145deg, #15151c, #252532);
  border-color: var(--line-dark);
}

.big-stat {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.stat-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-dark .stat-label,
.panel.dark .stat-label {
  color: rgba(251, 247, 238, 0.64);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.timeline-item {
  display: grid;
  gap: 1rem;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.timeline-date {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3,
.timeline-item h4 {
  margin-bottom: 0.35rem;
}

.timeline-item p {
  margin-bottom: 0;
}

/* Article pages */

.article-hero {
  padding: clamp(72px, 11vw, 145px) 0 clamp(44px, 7vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 155, 43, 0.26), transparent 30rem),
    linear-gradient(135deg, #111116, #222230 62%, #0c0c10);
}

.article-hero h1 {
  max-width: 1050px;
  font-size: clamp(3.4rem, 8.2vw, 8rem);
}

.article-hero .lede {
  margin-top: 1.35rem;
}

.article-body {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) 0;
}

.article-body h2 {
  margin: 2.6rem 0 1rem;
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
}

.article-body h3 {
  margin: 2rem 0 0.7rem;
}

.article-body p,
.article-body li {
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
}

.article-body ul,
.article-body ol {
  padding-left: 1.35rem;
}

.article-body li + li {
  margin-top: 0.55rem;
}

.article-body .callout {
  margin: 2rem 0;
}

.callout {
  padding: clamp(22px, 3.5vw, 38px);
  background: #fff4d9;
  border: 2px solid rgba(217, 155, 43, 0.36);
  border-radius: var(--radius-lg);
}

.callout h3,
.callout h4 {
  margin-bottom: 0.65rem;
}

.warning {
  background: #ffe8e4;
  border-color: rgba(197, 65, 53, 0.32);
}

/* Lists */

.clean-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.65rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.clean-list li::before {
  content: "↵";
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-weight: 950;
}

/* Footer */

.site-footer {
  color: rgba(251, 247, 238, 0.78);
  background: #101014;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(44px, 6vw, 80px) 0;
  grid-template-columns: 1.15fr 0.85fr;
}

.footer-title {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.footer-tag {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(251, 247, 238, 0.68);
  font-size: 1.08rem;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  justify-items: end;
}

.footer-nav a {
  color: rgba(251, 247, 238, 0.78);
  font-weight: 800;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 1.15rem 0 1.45rem;
  color: rgba(251, 247, 238, 0.48);
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Utility */

.mono {
  font-family: var(--font-mono);
}

.display {
  font-family: var(--font-display);
}

.no-margin {
  margin: 0 !important;
}

.mt-sm {
  margin-top: 1rem;
}

.mt-md {
  margin-top: 2rem;
}

.mt-lg {
  margin-top: 3rem;
}

.rounded {
  border-radius: var(--radius-lg);
}

.shadow {
  box-shadow: var(--shadow);
}

.text-red {
  color: var(--red);
}

.text-gold {
  color: var(--gold);
}

/* Mobile */

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .mock-form {
    max-width: 620px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav {
    justify-items: start;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 1rem 20px 1.35rem;
    background: rgba(17, 17, 22, 0.98);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  }

  body.nav-open .nav,
  .nav.is-open {
    display: grid;
    gap: 0.45rem;
  }

  .nav a {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 1rem;
    border-color: var(--line-dark);
    border-radius: 14px;
  }

  .nav a.cta-link {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 70px 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .btn {
    width: 100%;
  }

  .brand-tag {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap,
  .site-header-inner,
  .footer-inner,
  .footer-bottom,
  .hero-inner,
  .article-body {
    width: min(100% - 28px, var(--max));
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title .small {
    font-size: 0.4em;
  }

  .mock-form {
    padding: 18px;
    border-radius: 24px;
  }

  .mock-window-body {
    padding: 1rem;
  }

  .card,
  .panel,
  .pullquote {
    border-radius: 22px;
  }

  .pullquote blockquote {
    font-size: clamp(2.15rem, 13vw, 4rem);
  }

  .footer-title {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }
}

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

