:root {
  color-scheme: dark;
  --bg: oklch(18% 0.025 253);
  --bg-deep: oklch(14% 0.022 253);
  --surface: oklch(22% 0.03 253);
  --surface-raised: oklch(26% 0.035 253);
  --surface-soft: oklch(31% 0.04 253);
  --text: oklch(96% 0.012 250);
  --muted: oklch(74% 0.025 250);
  --line: oklch(40% 0.035 250 / 0.7);
  --accent: oklch(80% 0.17 78);
  --accent-strong: oklch(73% 0.18 70);
  --accent-ink: oklch(20% 0.04 62);
  --signal: oklch(78% 0.13 198);
  --success: oklch(78% 0.18 145);
  --header-bg: oklch(16% 0.025 253 / 0.9);
  --shadow: 0 28px 70px oklch(7% 0.03 253 / 0.38);
  --shadow-soft: 0 18px 42px oklch(7% 0.03 253 / 0.22);
  --radius-sm: 0.45rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --container: 76rem;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: oklch(97% 0.012 86);
  --bg-deep: oklch(93% 0.018 86);
  --surface: oklch(99% 0.006 86);
  --surface-raised: oklch(100% 0 0);
  --surface-soft: oklch(91% 0.02 86);
  --text: oklch(23% 0.035 253);
  --muted: oklch(46% 0.03 253);
  --line: oklch(76% 0.025 250 / 0.8);
  --accent: oklch(71% 0.17 70);
  --accent-strong: oklch(62% 0.18 63);
  --accent-ink: oklch(17% 0.035 58);
  --signal: oklch(57% 0.13 210);
  --success: oklch(55% 0.16 145);
  --header-bg: oklch(98% 0.01 86 / 0.92);
  --shadow: 0 28px 70px oklch(32% 0.04 253 / 0.16);
  --shadow-soft: 0 18px 42px oklch(32% 0.04 253 / 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 5rem;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 2.55rem;
  height: 2.55rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 2.55rem;
  text-align: center;
}

.brand-mark span:last-child {
  background: var(--accent);
  color: var(--accent-ink);
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.brand-name strong {
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.main-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.language-switch button {
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
}

.language-switch button + button {
  border-left: 1px solid var(--line);
}

.language-switch button[aria-pressed="true"] {
  background: var(--surface-soft);
  color: var(--text);
}

.theme-toggle,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--surface-soft);
}

.theme-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  gap: 0.22rem;
  padding: 0.55rem;
}

.menu-toggle > span:not(.sr-only) {
  width: 1.12rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(0.34rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.66rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px oklch(65% 0.17 70 / 0.16);
}

.button-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-quiet:hover {
  border-color: var(--muted);
  background: var(--surface-soft);
}

.button-large {
  min-height: 3.25rem;
  padding-inline: 1.35rem;
  font-size: 0.94rem;
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.hero::after {
  position: absolute;
  top: 12%;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  border: 3rem solid var(--accent);
  opacity: 0.06;
  content: "";
  transform: rotate(18deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.eyebrow,
.card-kicker,
.plan-label,
.stack-band p {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.hero h1,
.section-heading h2,
.support-panel h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.65rem, 6vw, 5.85rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin: 3.2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-points li {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-height: 7.6rem;
  padding: 1.1rem 1rem;
}

.hero-points li + li {
  border-left: 1px solid var(--line);
}

.hero-points span,
.card-index,
.steps > li > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-points strong {
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  padding: 0 2.4rem 2.4rem 0;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: oklch(14% 0.03 253 / 0.18);
  content: "";
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-status {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid oklch(85% 0.03 250 / 0.24);
  border-radius: var(--radius-md);
  background: oklch(17% 0.028 253 / 0.88);
  color: oklch(97% 0.01 250);
  backdrop-filter: blur(14px);
}

.hero-status span:last-child {
  display: grid;
  gap: 0.16rem;
}

.hero-status small {
  color: oklch(77% 0.02 250);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.hero-status strong {
  font-size: 0.82rem;
}

.live-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px oklch(70% 0.16 145 / 0.12);
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  min-width: 9rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-soft);
}

.hero-note > span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note strong {
  margin-block: 0.1rem;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.signal-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
}

.signal-grid > div,
.status-link {
  display: grid;
  align-content: center;
  min-height: 6rem;
  padding: 1rem 1.25rem;
}

.signal-grid > div + div,
.status-link {
  border-left: 1px solid var(--line);
}

.signal-grid strong {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.76rem;
}

.status-link {
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
}

.status-link:hover {
  background: var(--surface-soft);
}

.stack-band {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.stack-band .container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.stack-band p {
  margin: 0;
  color: var(--muted);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.support-panel h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.04;
}

.section-heading > p:last-child,
.support-panel > div > p:last-child {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered h2,
.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-card {
  position: relative;
  grid-column: span 4;
  min-height: 21rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 180ms ease, transform 180ms ease;
}

.benefit-card:hover {
  z-index: 2;
  background: var(--surface-raised);
  transform: translateY(-4px);
}

.benefit-card-wide {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  grid-column: span 8;
}

.benefit-card .card-index {
  display: block;
  margin-bottom: 3.5rem;
}

.benefit-card h3 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.benefit-card p:not(.card-kicker) {
  max-width: 39rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.7rem;
}

.inline-actions a,
.text-link {
  color: var(--signal);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.3rem;
}

.plans-section {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.plan-featured {
  border-color: var(--accent);
  background: var(--surface-raised);
  transform: translateY(-0.9rem);
}

.featured-flag {
  position: absolute;
  top: 0;
  right: 1.4rem;
  padding: 0.44rem 0.72rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

.plan-card header > p:last-child {
  min-height: 4.9rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 1.7rem 0;
  margin-top: 1.2rem;
  border-block: 1px solid var(--line);
}

.price > span {
  align-self: flex-start;
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.price strong {
  font-size: 3.35rem;
  letter-spacing: -0.075em;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.plan-card ul {
  display: grid;
  gap: 0.72rem;
  padding: 0;
  margin: 1.7rem 0 2rem;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-card li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--accent);
  content: "";
  transform: rotate(45deg);
}

.plan-card .button {
  margin-top: auto;
}

.plan-note {
  max-width: 46rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(24rem, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.how-layout .section-heading {
  align-content: start;
  margin-bottom: 0;
}

.how-layout .section-heading .button {
  width: fit-content;
  margin-top: 2rem;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.steps h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.steps p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.support-section {
  padding: 0 0 clamp(5rem, 9vw, 8.5rem);
}

.support-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: end;
  gap: 3rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.support-panel::after {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border: 2rem solid var(--accent);
  opacity: 0.12;
  content: "";
  transform: rotate(14deg);
}

.support-panel > * {
  position: relative;
  z-index: 1;
}

.support-actions {
  display: grid;
  gap: 0.75rem;
  min-width: 13rem;
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(24rem, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span:last-child {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span:last-child {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 42rem;
  padding: 0 3rem 1.5rem 0;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 4.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-brand p {
  max-width: 22rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-bottom a {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 72rem) {
  .nav-shell {
    gap: 1rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .nav-login,
  .main-nav a[href="/serverstatus.php"] {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 6.2vw, 4.7rem);
  }
}

@media (max-width: 58rem) {
  .nav-shell {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-grid;
    order: 2;
  }

  .nav-actions {
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .how-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-visual {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .hero-image-frame {
    aspect-ratio: 5 / 4;
  }

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

  .signal-grid > div,
  .status-link {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .status-link {
    grid-column: 1 / -1;
  }

  .benefit-card,
  .benefit-card-wide {
    grid-column: span 6;
  }

  .benefit-card-wide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 38rem;
    margin-inline: auto;
  }

  .plan-featured {
    transform: none;
  }

  .plan-card {
    min-height: 0;
  }

  .plan-card header > p:last-child {
    min-height: 0;
  }

  .support-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 42rem) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .site-header {
    position: relative;
  }

  .nav-shell {
    min-height: 4.5rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-buy {
    display: none;
  }

  .theme-toggle,
  .menu-toggle {
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-points li {
    grid-template-columns: 2.2rem 1fr;
    min-height: 0;
    padding: 0.95rem 0.75rem;
  }

  .hero-points li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-visual {
    padding: 0 0.9rem 1rem 0;
  }

  .hero-image-frame {
    aspect-ratio: 4 / 5;
  }

  .hero-note {
    min-width: 7.5rem;
    padding: 0.85rem 1rem;
  }

  .hero-note strong {
    font-size: 1.55rem;
  }

  .signal-grid > div,
  .status-link {
    min-height: 5rem;
    padding: 0.85rem;
  }

  .stack-band .container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .stack-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding-block: 4.5rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .benefit-card-wide {
    grid-column: auto;
    min-height: 0;
  }

  .benefit-card .card-index {
    margin-bottom: 2.2rem;
  }

  .steps li {
    grid-template-columns: 2.6rem 1fr;
  }

  .support-section {
    padding-bottom: 4.5rem;
  }

  .support-panel {
    padding: 1.6rem;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 22rem) {
  .brand-name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
