/* Shared palette. Components use the same roles in both themes. */
:root {
  color-scheme: light dark;
  --widget-color-scheme: light dark;
  --ui-accent: light-dark(rgb(37, 99, 235), #fb923c);
  --ui-accent-hover: light-dark(#1d4ed8, #fdba74);
  --ui-accent-ink: light-dark(#1d4ed8, #fdba74);
  --ui-accent-rgb: 37 99 235;
  --ui-on-accent: light-dark(#fff, #231305);
  --ui-heading: light-dark(#111827, #f1f5f9);
  --ui-text: light-dark(#334155, #cbd5e1);
  --ui-muted: light-dark(#475569, #a8b8c9);
  --ui-ink-rgb: 15 23 42;
  --ui-bg: light-dark(#fff, #101720);
  --ui-panel: light-dark(#fff, #151f2b);
  --ui-tint: light-dark(#f4f7fc, #1a2532);
  --ui-raised: light-dark(#edf2f9, #253343);
  --ui-line: light-dark(#dce4ee, #2b3a4b);
  --ui-strong-line: light-dark(#bccadc, #415369);
  --ui-top: #152131;
  --ui-success: light-dark(#166534, #86efac);
  --ui-danger: light-dark(#b42318, #fca5a5);
  --ui-warning: light-dark(#854d0e, #fcd34d);
  --ui-success-soft: color-mix(in srgb, var(--ui-success) 11%, var(--ui-panel));
  --ui-warning-soft: color-mix(in srgb, var(--ui-warning) 11%, var(--ui-panel));
  --ui-danger-soft: color-mix(in srgb, var(--ui-danger) 10%, var(--ui-panel));
  --ui-success-line: color-mix(in srgb, var(--ui-success) 35%, var(--ui-line));
  --ui-warning-line: color-mix(in srgb, var(--ui-warning) 35%, var(--ui-line));
  --ui-danger-line: color-mix(in srgb, var(--ui-danger) 35%, var(--ui-line));
  --ui-accent-soft: color-mix(in srgb, var(--ui-accent) 9%, var(--ui-panel));
  --ui-accent-line: color-mix(in srgb, var(--ui-accent) 45%, var(--ui-line));
  --ui-toolbar-height: 72px;
  --ui-logo-filter: none;
}

:root[data-theme="light"] { color-scheme: light; --widget-color-scheme: light; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --widget-color-scheme: dark;
  --ui-accent-rgb: 251 146 60;
  --ui-ink-rgb: 241 245 249;
  --ui-logo-filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --ui-accent-rgb: 251 146 60;
    --ui-ink-rgb: 241 245 249;
    --ui-logo-filter: brightness(0) invert(1);
  }
}

html {
  --header-height: var(--ui-toolbar-height);
  scroll-padding-top: calc(var(--ui-toolbar-height) + 1rem);
  scrollbar-color: var(--ui-strong-line) var(--ui-bg);
}

body {
  background: var(--ui-bg);
  color: var(--ui-text);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ui-accent);
  outline-offset: 3px;
}

.btn { border-radius: 8px; }

.btn--primary,
.btn--accent,
.site-header .header-cta,
.home-service-button,
.server-page .server-button:not(.server-button--outline) {
  --btn-bg: var(--ui-accent);
  --btn-fg: var(--ui-on-accent);
  --btn-border: transparent;
  border-color: transparent;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  box-shadow: none;
}

.btn--primary:hover,
.btn--accent:hover,
.site-header .header-cta:hover,
.home-service-button:hover,
.server-page .server-button:not(.server-button--outline):hover {
  background: var(--ui-accent-hover);
  color: var(--ui-on-accent);
}

.btn--secondary,
.home-service-button--quiet,
.server-page .server-button--outline {
  --btn-bg: var(--ui-panel);
  --btn-fg: var(--ui-heading);
  --btn-border: var(--ui-strong-line);
  border-color: var(--ui-strong-line);
  background: var(--ui-panel);
  color: var(--ui-heading);
}

.btn--secondary:hover,
.home-service-button--quiet:hover,
.server-page .server-button--outline:hover {
  border-color: var(--ui-accent-line);
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}

/* Header and utility bar use solid surfaces and a consistent grid. */
.topbar {
  border-color: #26374c;
  background: var(--ui-top);
  color: #dce5ef;
}

.topbar > .container,
.site-header > .container {
  max-width: var(--container);
  padding-inline: clamp(18px, 4vw, 40px);
}

.topbar a,
.topbar .topbar__locale,
.topbar .topbar__offer,
.topbar .topbar__offer i,
.topbar .topbar__offer strong,
.topbar .topbar__utilities a i {
  color: #e2e8f0;
}

.topbar .topbar__offer {
  padding-block: 0;
  border: 0;
  background: transparent;
}

.topbar .topbar__offer strong { background: #2c3d51; }
.topbar a:hover { color: #fff; }

.site-header,
.site-header.is-scrolled {
  padding: 0;
  border-bottom: 1px solid var(--ui-line);
  background: var(--ui-panel);
  box-shadow: none;
}

.site-header .site-header__inner,
.site-header.is-scrolled .site-header__inner {
  min-height: calc(var(--ui-toolbar-height) - 1px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header .brand img,
.site-footer .foot__logo img {
  filter: var(--ui-logo-filter);
}

/* VDS price summary strip */
#main-content.vds-catalog .stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  min-height: 0;
  padding: .55rem;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: var(--ui-panel);
}

#main-content.vds-catalog .stats-strip__inner .stat,
#main-content.vds-catalog .stats-strip__inner .stat:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  padding: .75rem clamp(.7rem, 1.7vw, 1.35rem);
  border: 0;
  border-radius: 9px;
  background: var(--ui-tint);
}

#main-content.vds-catalog .stats-strip__inner .stat__value {
  overflow-wrap: anywhere;
  color: var(--ui-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

#main-content.vds-catalog .stats-strip__inner .stat__label {
  margin-top: .35rem;
  color: var(--ui-muted);
  font-size: .78rem;
  line-height: 1.35;
}

@media (max-width: 700px) {
  #main-content.vds-catalog .stats-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.site-header .brand img { width: clamp(130px, 13vw, 165px); }

/* Partner and infrastructure marks */
#main-content .logo-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: .7rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-color: var(--ui-line);
  border-radius: 16px;
  background: var(--ui-panel);
}

#main-content .logo-strip__item {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 76px;
  padding: .8rem;
  border: 1px solid var(--ui-line);
  border-radius: 11px;
  background: var(--ui-bg);
}

#main-content .logo-strip img,
#main-content .logo-strip img.is-matte,
#main-content .logo-strip img.is-fill {
  display: block;
  width: auto;
  max-width: min(100%, 150px);
  height: 36px;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
}

#main-content .logo-strip img.is-fill { max-width: 112px; height: 54px; }
#main-content .logo-strip img[src*="iyzico"] { filter: brightness(0); }
#main-content .logo-strip__item:has(img[src*="ryzen-black"]) { display: flex; align-items: center; justify-content: center; padding: .25rem; }
#main-content .logo-strip img[src*="ryzen-black"] { display: block; flex: 0 1 auto; justify-self: center; align-self: center; width: 82px; max-width: 100%; height: 50px; margin: 0 auto; object-fit: contain; object-position: center; }
#main-content .logo-strip img[src*="pletx-light"] { width: min(100%, 150px); max-width: 100%; height: auto; max-height: 48px; }

:root[data-theme="dark"] #main-content .logo-strip img,
:root[data-theme="dark"] #main-content .logo-strip img.is-matte,
:root[data-theme="dark"] #main-content .logo-strip img.is-fill {
  filter: grayscale(1) brightness(0) invert(1);
}

@media (max-width: 980px) {
  #main-content .logo-strip { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  #main-content .logo-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; padding: .75rem; }
  #main-content .logo-strip__item { height: 68px; padding: .55rem; }
  #main-content .logo-strip img[src*="ryzen-black"] { width: 76px; height: 46px; }
  #main-content .logo-strip img,
  #main-content .logo-strip img.is-matte { max-width: 100%; height: 29px; }
  #main-content .logo-strip img.is-fill { max-width: 100%; height: 42px; }
}

.site-header .nav__link,
.site-header .header-login {
  border-radius: 8px;
  color: var(--ui-text);
}

.site-header .nav__link .nav__icon { display: none; }

.site-header .nav__link:hover,
.site-header .nav__link[aria-current="page"],
.site-header .nav__link.is-current,
.site-header .nav__item.is-open > .nav__link,
.site-header .header-login:hover {
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}

.site-header .header-cta { border-radius: 8px; }

.site-header :is(.mega--stage, .mega--panel) {
  border: 1px solid var(--ui-line);
  background: var(--ui-panel);
  box-shadow: 0 16px 34px #0002;
}

.site-header .theme-toggle,
.site-header .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: var(--ui-panel);
  color: var(--ui-heading);
}

.site-header .theme-toggle:hover,
.site-header .nav-toggle:hover {
  border-color: var(--ui-accent-line);
  color: var(--ui-accent-ink);
}

.theme-toggle__glyph {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  font-family: "Segoe UI Symbol", "Apple Symbols", system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

.theme-toggle__glyph::before { content: "☾"; }
[data-theme="dark"] .theme-toggle__glyph::before { content: "☀︎"; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle__glyph::before { content: "☀︎"; }
}

@media (width >= 1100px) {
  .site-header #nav-toggle { display: none; }
  .site-header .site-header__inner .mega--stage { width: min(1080px, calc(100vw - 80px)); }
}

@media (width < 1100px) {
  :root { --ui-toolbar-height: 64px; }
  .site-header #main-nav.is-open {
    border-color: var(--ui-line);
    background: var(--ui-panel);
  }
}

/* Product intros use quiet surfaces instead of full-bleed art. */
#site-header + #main-content > :first-child:is(.page-hero, .blog-hero, .article-header, .server-hero, .status-page, .section) {
  margin-top: 0;
  padding-top: var(--page-intro-padding, var(--section-y));
}

#site-header + #main-content > :first-child:is(.page-hero, .blog-hero, .article-header, .server-hero, .status-page, .section)::before {
  background: linear-gradient(180deg, var(--ui-tint), var(--ui-bg));
  filter: none;
  opacity: 1;
}

#site-header + #main-content > .page-hero:first-child::after { background: none; }

#main-content > .page-hero:first-child {
  background: var(--ui-bg);
  border-bottom: 1px solid var(--ui-line);
}

#main-content > .page-hero:first-child h1,
.server-page .server-hero h1,
.blog-page .blog-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -.046em;
}

.server-page,
.blog-page,
.blog-article {
  --server-bg: var(--ui-bg);
  --server-panel: var(--ui-panel);
  --server-border: var(--ui-line);
  --server-text: var(--ui-heading);
  --server-muted: var(--ui-muted);
  --server-accent: var(--ui-accent-ink);
  --editorial-bg: var(--ui-bg);
  --editorial-panel: var(--ui-panel);
  --editorial-border: var(--ui-line);
  --editorial-muted: var(--ui-muted);
}

.plan-grid .plan :is(.btn--primary, .btn--accent),
.hosting-plan .server-button:not(.server-button--outline) { color: var(--ui-on-accent); }

.server-page .server-hero-photo img {
  border-radius: 14px;
  mask-image: none;
}

/* Cool down legacy violet-lit photography while retaining color and contrast. */
:is(main, .mega) img:is(
  [src*="/use-case-"],
  [src*="/vds-build."],
  [src*="/vds-render."],
  [src*="/vds-realtime."],
  [src*="/hosting-migration."],
  [src*="/hosting-storage."],
  [src*="/ipv6-web-sunucusu-dogrulama"],
  [src*="/nginx-ters-proxy-zaman-asimi"],
  [src*="/wordpress-redis-nesne-onbellek"],
  [src*="/postgresql-explain-yavas-sorgu"],
  [src*="/systemd-timer-zamanlanmis-gorevler"],
  [src*="/sli-slo-hata-butcesi"],
  [src*="/http-cache-control-cdn-onbellek"]
) {
  filter: hue-rotate(-48deg) saturate(.9);
}

.server-hero-photo figcaption,
.home-datacenter__media figcaption {
  padding: .25rem .5rem;
  border-radius: 5px;
  background: #101720e8;
  color: #f1f5f9;
}

.site-footer {
  border-top: 1px solid var(--ui-line);
  background: var(--ui-tint);
  color: var(--ui-muted);
}

.site-footer .foot__cols h3 { font-size: .86rem; }
.site-footer h3::after { display: none; }

.site-footer :is(.foot__chip, .foot__seal) {
  border-color: var(--ui-line);
  border-radius: 10px;
  background: var(--ui-panel);
}

.site-footer__pay { flex-wrap: wrap; }

.site-footer__pay img {
  max-width: 100%;
  height: 36px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

/* Header menus */
.topbar .utility-bar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 38px;
  padding-block: 0;
}

.utility-bar__support {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 1.15rem;
  white-space: nowrap;
}

.utility-bar .topbar__offer { grid-area: auto; }
.utility-bar a:focus-visible { outline-color: #e2e8f0; }

.site-header .nav {
  gap: clamp(0px, .45vw, 6px);
}

.site-header .nav__link { font-weight: 620; }

.site-header .menu-panel {
  width: min(720px, calc(100vw - 64px));
  padding: .65rem;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: var(--ui-panel);
  box-shadow: 0 18px 36px -16px #0006;
}

.menu-panel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-panel__link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 15px;
  align-items: center;
  gap: .7rem;
  min-height: 65px;
  padding: .6rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ui-text);
}

.menu-panel__link:hover,
.menu-panel__link[aria-current="page"] {
  border-color: var(--ui-line);
  background: var(--ui-tint);
  color: var(--ui-heading);
}

.menu-panel__link strong,
.menu-panel__link small {
  display: block;
}

.menu-panel__link strong { font-size: .86rem; }

.menu-panel__link small {
  margin-top: .15rem;
  color: var(--ui-muted);
  font-size: .75rem;
  line-height: 1.4;
}

.menu-panel__icon,
.catalog-service__icon,
.footer-support__icon {
  display: grid;
  place-items: center;
  align-self: start;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
  font-size: .85rem;
}

.menu-panel__arrow {
  color: var(--ui-accent-ink);
  font-size: .75rem;
  text-align: center;
}

.menu-panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.2rem;
  margin-top: .55rem;
  padding: .75rem .6rem .2rem;
  border-top: 1px solid var(--ui-line);
}

.catalog-text-link,
.menu-panel__foot a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ui-accent-ink);
  font-size: .85rem;
  font-weight: 650;
}

.catalog-text-link:hover,
.menu-panel__foot a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (width >= 1100px) {
  .site-header .nav__item:has(.menu-panel) { position: static; }
  .site-header .menu-panel { top: 100%; }
}

@media (width < 1100px) {
  .site-header #main-nav .menu-panel {
    width: 100%;
    margin-top: .25rem;
    padding: .4rem;
    border-radius: 10px;
    transform: none;
    box-shadow: none;
  }

  .menu-panel__list { grid-template-columns: minmax(0, 1fr); }
}

@media (width < 850px) {
  .topbar .utility-bar { grid-template-columns: 1fr; min-height: 32px; }
  .utility-bar .utility-bar__location,
  .utility-bar .utility-bar__support { display: none; }
}

/* Home catalogue */
.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.4rem, 4.2vw, 4.2rem) 0;
  border-bottom: 1px solid var(--ui-line);
  background:
    radial-gradient(ellipse at 24% 0, var(--ui-accent-soft), transparent 70%),
    var(--ui-bg);
}

.catalog-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, var(--ui-line) 1px, transparent 1px),
    linear-gradient(var(--ui-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 49% 30%, transparent 34%, #0008 68%, transparent 96%);
  pointer-events: none;
}

.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.6rem);
}

.catalog-hero__location {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.25rem;
  padding: .32rem .7rem;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: var(--ui-panel);
  color: var(--ui-muted);
  font-size: .8rem;
  font-weight: 650;
}

.catalog-hero__location i { color: var(--ui-accent-ink); }

.catalog-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--ui-heading);
  font-size: clamp(2.2rem, 4.15vw, 3.8rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.catalog-hero h1 span { display: block; color: var(--ui-accent-ink); }

.catalog-hero__copy > p:not(.catalog-hero__location) {
  max-width: 49ch;
  margin: 1.2rem 0 0;
  color: var(--ui-muted);
  font-size: clamp(.99rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.catalog-hero__actions,
.footer-support__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}

.catalog-hero__actions {
  margin-top: 1.5rem;
}

.catalog-hero__actions i {
  width: .8rem;
  text-align: center;
}

.catalog-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ui-panel);
}

.catalog-hero__photo {
  border: 1px solid var(--ui-line);
  box-shadow: 0 18px 40px -28px #0008;
}

.catalog-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.catalog-photo figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .7rem;
  padding: .7rem .95rem;
  color: var(--ui-text);
  font-size: .78rem;
  font-weight: 640;
}

.catalog-photo figcaption span { color: var(--ui-muted); font-weight: 500; }

.catalog-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
  border: 1px solid var(--ui-line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--ui-panel);
}

.catalog-facts a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 67px;
  padding: .8rem .7rem;
  color: var(--ui-muted);
  font-size: .84rem;
}

.catalog-facts a + a { border-inline-start: 1px solid var(--ui-line); }
.catalog-facts a:hover { background: var(--ui-accent-soft); }
.catalog-facts i { width: 1.05rem; color: var(--ui-accent-ink); text-align: center; }
.catalog-facts strong { color: var(--ui-heading); }

.catalog-services,
.catalog-guides,
.catalog-editorial {
  padding-block: clamp(2.3rem, 4vw, 3.75rem);
  background: var(--ui-bg);
}

.catalog-editorial {
  border-block: 1px solid var(--ui-line);
  background: var(--ui-tint);
}

.catalog-editorial__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.95rem, 2vw, 1.5rem);
}

.catalog-editorial__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: var(--ui-panel);
}

.catalog-editorial__card .catalog-photo { border-radius: 0; }
.catalog-editorial__card .catalog-photo img { aspect-ratio: 2 / 1; }
.catalog-editorial__card .catalog-photo figcaption { border-bottom: 1px solid var(--ui-line); }

.catalog-editorial__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  padding: clamp(1rem, 2.2vw, 1.55rem);
}

.catalog-editorial__copy h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.catalog-editorial__copy p { margin: 0; color: var(--ui-muted); font-size: .93rem; line-height: 1.65; }
.catalog-editorial__copy > a { margin-top: auto; }

.catalog-guides { border-block: 1px solid var(--ui-line); }

.catalog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.catalog-section-head h2 {
  color: var(--ui-heading);
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  letter-spacing: -.045em;
}

.catalog-section-head p {
  margin: .45rem 0 0;
  color: var(--ui-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.catalog-section-head > a { flex: none; }

.catalog-services__grid,
.catalog-guides__grid {
  display: grid;
  gap: .85rem;
}

.catalog-services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-guides__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.catalog-service,
.catalog-guides__grid a {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ui-line);
  border-radius: 13px;
  background: var(--ui-panel);
  color: var(--ui-heading);
}

.catalog-service:hover,
.catalog-guides__grid a:hover {
  border-color: var(--ui-accent-line);
  color: var(--ui-heading);
  box-shadow: 0 6px 18px -13px #0004;
}

.catalog-service__icon {
  width: 43px;
  height: 43px;
  margin: 1.1rem 1rem .85rem;
  font-size: 1rem;
}

.catalog-service h3 { margin: 0 1rem; font-size: 1.1rem; }

.catalog-service p {
  margin: .5rem 1rem 1rem;
  color: var(--ui-muted);
  font-size: .85rem;
  line-height: 1.55;
}

.catalog-service__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 54px;
  margin-top: auto;
  padding: .65rem 1rem;
  border-top: 1px solid var(--ui-line);
  border-radius: 0 0 12px 12px;
  background: var(--ui-tint);
  color: var(--ui-accent-ink);
}

.catalog-service__foot strong { color: inherit; font-size: .96rem; }
.catalog-service__foot small { color: var(--ui-muted); font-size: .72rem; }
.catalog-service__foot i { flex: 0 0 .8rem; font-size: .75rem; }

.catalog-services__note {
  margin: .7rem 0 0;
  color: var(--ui-muted);
  font-size: .76rem;
}

.catalog-guides__grid a { gap: .55rem; padding: 1.15rem; }

.catalog-guides__grid a > span,
.catalog-guides__grid a > i {
  color: var(--ui-accent-ink);
  font-size: .8rem;
}

.catalog-guides__grid a > i { margin-top: auto; }

.footer-support {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: .95rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(.95rem, 2.5vw, 1.6rem);
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: var(--ui-panel);
}

.footer-support__icon { width: 42px; height: 42px; align-self: center; }
.footer-support h2 { margin: 0 0 .2rem; color: var(--ui-heading); font-size: clamp(1.15rem, 2.1vw, 1.55rem); }
.footer-support p { margin: 0; color: var(--ui-muted); }

.server-section-nav { background: var(--ui-tint); border-color: var(--ui-line); }
.server-section-nav a { color: var(--ui-text); }
.server-section-nav a:hover { color: var(--ui-accent-ink); }

@media (width < 970px) {
  .catalog-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-support { grid-template-columns: 42px minmax(0, 1fr); }
  .footer-support__actions { grid-column: 2; }
}

@media (width < 801px) {
  .catalog-hero__grid { grid-template-columns: 1fr; }
  .catalog-hero h1 { max-width: 18ch; }
  .catalog-hero__photo img { aspect-ratio: 16 / 10; }
}

@media (width < 761px) {
  .catalog-editorial__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (width < 630px) {
  .catalog-section-head { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .catalog-guides__grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-facts a { flex-direction: column; gap: .3rem; padding-inline: .35rem; font-size: .76rem; text-align: center; }
  .catalog-facts strong { display: block; }
  .catalog-hero__actions .btn,
  .footer-support__actions .btn { padding-inline: .7rem; }
}

@media (width < 420px) {
  .catalog-services__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-support__actions { grid-column: 1 / -1; }
}

.home-services {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--ui-bg);
}

.home-services__head h2,
.home-datacenter h2,
.home-start h2 {
  color: var(--ui-heading);
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  letter-spacing: -.047em;
}

.home-services :is(.home-overline, h2 span, .home-plan-group__head a),
.home-datacenter :is(.home-overline, h2 span, .home-module-link),
.home-start h2 span {
  color: var(--ui-accent-ink);
}

.home-services__switch button[aria-pressed="true"] {
  border-color: var(--ui-accent-line);
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}

.home-plan,
.home-plan-group {
  border-color: var(--ui-line);
  background: var(--ui-panel);
}

.home-plan-group {
  padding: clamp(.7rem, 2vw, 1.2rem);
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-tint);
}

.home-plan:focus-within,
.home-plan:hover { border-color: var(--ui-accent-line); }
.home-plan__protection { display: inline-flex; align-items: center; gap: .32rem; width: fit-content; margin-top: .38rem; padding: .2rem .42rem; border: 1px solid color-mix(in srgb,#e35c18 28%,var(--ui-line)); border-radius: 999px; background: color-mix(in srgb,#e35c18 8%,var(--ui-panel)); color: #b9430b; font-size: .66rem; font-weight: 700; line-height: 1.3; }
.home-plan__protection i { font-size: .64rem; }
:root[data-theme="dark"] .home-plan__protection { color: #ffad78; border-color: color-mix(in srgb,#fb923c 34%,var(--ui-line)); }

.home-start__panel {
  border-color: var(--ui-line);
  background: var(--ui-tint);
}



@media print {
  .theme-toggle { display: none; }
}

.page-hero::before,
.help-band::before,
.help-band::after {
  background-image: none;
}

.help-band {
  background: var(--ui-tint);
  border-color: var(--ui-line);
}

.plan__badge,
.plan--featured .plan__badge {
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}

.topbar .topbar__utilities a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.home-services__head > p,
.home-datacenter__copy > p:not(.home-overline),
.home-start__copy > p {
  color: var(--ui-muted);
}

.reasons__board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reasons__board .reason,
.uses__list .use {
  grid-column: auto;
  min-height: 0;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-panel);
}

.reasons__board .reason h3,
.uses__list .use h3 {
  margin: 0;
  color: var(--ui-heading);
}

.reasons__board .reason p,
.uses__list .use p {
  margin: .35rem 0 0;
  color: var(--ui-muted);
}

.home-feature-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-bottom: .45rem;
  border-radius: 8px;
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}

.home-start__panel {
  grid-template-columns: 1fr;
}

@media (width < 850px) {
  .reasons__board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width < 520px) {
  .reasons__board {
    grid-template-columns: minmax(0, 1fr);
  }
}
html:not([data-theme]) .site-header .theme-toggle {
  display: none;
}

.why-node {
  animation: none;
}

.versus__or,
.blog-page .chip.is-active .chip__count {
  background: var(--ui-accent-soft);
  color: var(--ui-accent-ink);
}
#main-content.vds-page > .page-hero:first-child {
  --page-intro-padding: clamp(2.1rem, 4.5vw, 3.9rem);
  padding-bottom: clamp(2rem, 4.2vw, 3.7rem);
}

.page-hero__actions {
  margin-top: 1.35rem;
}

/* Games share the site layout while retaining their own palette. */
:root {
  --game-fill: var(--ui-accent);
  --game-ink: var(--ui-accent-ink);
  --game-on: var(--ui-on-accent);
}

[data-game="minecraft"] {
  --game-fill: light-dark(#176242, #86e0ab);
  --game-ink: light-dark(#176242, #a1edbf);
  --game-on: light-dark(#fff, #12281e);
}

[data-game="mta"] {
  --game-fill: light-dark(#9b3c0c, #f4a367);
  --game-ink: light-dark(#9b3c0c, #ffc18e);
  --game-on: light-dark(#fff, #2e190a);
}

[data-game="fivem"] {
  --game-fill: light-dark(#08616b, #82dae0);
  --game-ink: light-dark(#08616b, #9de7eb);
  --game-on: light-dark(#fff, #0e272b);
}

[data-game="unturned"] {
  --game-fill: light-dark(#645918, #e4d281);
  --game-ink: light-dark(#645918, #eddf9a);
  --game-on: light-dark(#fff, #2a250b);
}

[data-game="ddnet"] {
  --game-fill: light-dark(#285397, #a5c8ff);
  --game-ink: light-dark(#285397, #b7d3ff);
  --game-on: light-dark(#fff, #152746);
}

/* Compact site navigation with full-size menu targets. */
.site-header .site-header__inner {
  grid-template-columns: minmax(155px, .8fr) auto minmax(190px, .8fr);
  gap: clamp(.65rem, 1.7vw, 1.6rem);
}

.site-header .nav { gap: clamp(.1rem, .45vw, .45rem); }

.site-header #main-nav > .nav__item > .nav__link,
.site-header #main-nav > .nav__link {
  padding-inline: clamp(.55rem, 1vw, .95rem);
  font-weight: 650;
  white-space: nowrap;
}

.site-header .nav__item > .nav__link > i {
  flex: 0 0 .75rem;
  text-align: center;
}

.site-header .menu-panel--oyun {
  width: min(610px, calc(100vw - 64px));
  padding: .8rem;
  border-top: 3px solid var(--ui-accent);
}

.game-menu__head { display: grid; gap: .2rem; margin: 0 0 .6rem; padding: .25rem .35rem .7rem; border-bottom: 1px solid var(--ui-line); }
.game-menu__eyebrow { color: var(--ui-accent-ink); font-size: .65rem; font-weight: 750; letter-spacing: .12em; }
.game-menu__head strong { color: var(--ui-heading); font-size: .98rem; }
.game-menu__head > span:last-child { color: var(--ui-muted); font-size: .77rem; }
.menu-panel--oyun .menu-panel__link { grid-template-columns: 42px minmax(0, 1fr) 15px; min-height: 70px; padding: .55rem; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.menu-panel--oyun .menu-panel__link:hover { transform: translateY(-1px); }
.menu-panel--oyun li[data-game] .menu-panel__link { border-left: 2px solid var(--game-fill); }
.menu-panel--oyun .menu-panel__game-image { display: block; width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--game-fill, var(--ui-line)) 24%, transparent); border-radius: 11px; background: var(--ui-tint); object-fit: contain; padding: 4px; }
.menu-panel--oyun [data-game="minecraft"] { --game-fill: #176242; --game-ink: #176242; }
.menu-panel--oyun [data-game="mta"] { --game-fill: #9b3c0c; --game-ink: #9b3c0c; }
.menu-panel--oyun [data-game="fivem"] { --game-fill: #08616b; --game-ink: #08616b; }
.menu-panel--oyun [data-game="unturned"] { --game-fill: #645918; --game-ink: #645918; }
.menu-panel--oyun [data-game="ddnet"] { --game-fill: #285397; --game-ink: #285397; }
[data-theme="dark"] .menu-panel--oyun [data-game="minecraft"] { --game-ink: #a1edbf; }
[data-theme="dark"] .menu-panel--oyun [data-game="mta"] { --game-ink: #ffc18e; }
[data-theme="dark"] .menu-panel--oyun [data-game="fivem"] { --game-ink: #9de7eb; }
[data-theme="dark"] .menu-panel--oyun [data-game="unturned"] { --game-ink: #eddf9a; }
[data-theme="dark"] .menu-panel--oyun [data-game="ddnet"] { --game-ink: #b7d3ff; }
.menu-panel--oyun [data-game] .menu-panel__indicator { color: var(--game-ink); }

.menu-panel__link .menu-panel__icon {
  color: var(--game-ink);
  background: color-mix(in srgb, var(--game-fill) 11%, var(--ui-panel));
}

@media (width >= 1100px) {
  .site-header .header-login,
  .site-header .header-cta { padding-inline: .8rem; }
}

@media (width < 1100px) {
  .site-header .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header #main-nav > .nav__item > .nav__link,
  .site-header #main-nav > .nav__link {
    padding-inline: .8rem;
  }
}

@media (width >= 1100px) {
  .site-footer .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Game catalogue and detail pages */
.game-section {
  padding-block: clamp(2.6rem, 5.5vw, 4.6rem);
  background: var(--ui-bg);
}

.game-section--home,
.game-section--tint {
  border-block: 1px solid var(--ui-line);
  background: var(--ui-tint);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-card {
  display: flex;
  min-width: 0;
}

.game-card a {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-panel);
  color: var(--ui-heading);
}

.game-card a:hover {
  border-color: var(--game-fill);
  color: var(--ui-heading);
}

.game-card__cover {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.game-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .48rem;
  padding: .88rem;
  border-top: 3px solid var(--game-fill);
}

.game-card h3 { font-size: 1.05rem; }
.game-card p { margin: 0; color: var(--ui-muted); font-size: .82rem; line-height: 1.55; }

.game-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin-top: auto;
  padding-top: .36rem;
  color: var(--game-ink);
  font-size: .78rem;
  font-weight: 700;
}

.game-card__action i { flex: 0 0 .8rem; text-align: center; }

.game-hero {
  padding-block: clamp(1.35rem, 3vw, 2.25rem) clamp(2.5rem, 7vw, 5rem);
  border-bottom: 1px solid var(--ui-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--game-fill) 10%, var(--ui-bg)), var(--ui-bg));
}

.game-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  margin-top: clamp(1.4rem, 4vw, 3.75rem);
}

.game-hero h1 {
  max-width: 14ch;
  color: var(--ui-heading);
  font-size: clamp(2.5rem, 5.15vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.game-hero__copy > p:not(.game-kicker) {
  max-width: 48ch;
  margin: .95rem 0 0;
  color: var(--ui-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.game-kicker {
  display: inline-block;
  margin: 0 0 .88rem;
  padding: .32rem .65rem;
  border: 1px solid color-mix(in srgb, var(--game-fill) 43%, var(--ui-line));
  border-radius: 999px;
  background: var(--ui-panel);
  color: var(--game-ink);
  font-size: .8rem;
  font-weight: 650;
}

.game-hero__media {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: var(--ui-panel);
}

.game-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.game-hero__media figcaption {
  padding: .55rem .92rem;
  color: var(--ui-muted);
  font-size: .75rem;
}

.game-hero__mosaic {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: .45rem;
  aspect-ratio: 1.52;
}

.game-hero__mosaic a {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-bottom: 3px solid var(--game-fill);
  border-radius: 9px;
}

.game-hero__mosaic a:first-child { grid-row: span 2; }
.game-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; }

.game-hero__mosaic span {
  position: absolute;
  inset: auto auto .45rem .45rem;
  padding: .2rem .4rem;
  border-radius: 4px;
  background: #101720e8;
  color: #fff;
  font-size: .76rem;
  font-weight: 650;
}

.game-hero__mosaic a:hover { border-color: var(--game-fill); }

.game-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.game-hero .game-actions { margin-top: 1.3rem; }
.game-actions .btn { white-space: normal; }

.game-page .game-primary {
  border-color: transparent;
  background: var(--game-fill);
  color: var(--game-on);
}

.game-page .game-primary:hover {
  background: color-mix(in srgb, var(--game-fill) 91%, var(--game-on));
  color: var(--game-on);
}

.game-page :is(.catalog-text-link, .link-arrow) { color: var(--game-ink); }

.game-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.game-detail {
  padding: clamp(1rem, 2.6vw, 1.5rem);
  border: 1px solid var(--ui-line);
  border-top: 3px solid var(--game-fill);
  border-radius: 11px;
  background: var(--ui-panel);
}

.game-detail h3 { font-size: 1.12rem; }
.game-detail p, .game-quote p { margin: .44rem 0 0; color: var(--ui-muted); line-height: 1.6; }

.game-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

@media (width < 1000px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (width < 801px) {
  .game-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .game-hero h1 { max-width: 19ch; }
  .game-quote { align-items: flex-start; flex-direction: column; }
}

@media (width < 601px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-detail-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (width < 381px) {
  .game-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Photographic mastheads and editorial section layouts. */
#main-content .catalog-hero__grid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 12px;
  background: #101c28;
}
#main-content .catalog-hero__copy {
  z-index: 1;
  width: min(100%, 46rem);
  padding: clamp(2rem, 5vw, 5rem);
}
#main-content .catalog-hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.01;
}
#main-content .catalog-hero h1 span { color: light-dark(#a8caff, #ffb877); }
#main-content .catalog-hero__copy > p:not(.catalog-hero__location) { color: #edf2f7; }
#main-content .catalog-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  border: 0;
  border-radius: 0;
}
#main-content .catalog-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
#main-content .catalog-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08121dfc 0%, #0a1723eb 32%, #10192395 61%, #0a16231a);
}
#main-content .catalog-hero__photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  background: #14202aeb;
  color: #fff;
}
#main-content .catalog-hero__photo figcaption span { color: #d5dfeb; }
#main-content .catalog-facts { margin-top: 1rem; border-radius: 0; }
#main-content .catalog-services__grid { gap: 1px; background: var(--ui-line); border: 1px solid var(--ui-line); }
#main-content .catalog-service { border: 0; border-radius: 0; padding: clamp(1rem, 2vw, 2rem); background: var(--ui-panel); }
#main-content .catalog-service:hover { background: var(--ui-accent-soft); }
#main-content :is(.server-section-nav,.game-section--tint,.server-band) { border-block: 1px solid var(--ui-line); }
#main-content :is(.server-heading,.catalog-section-head,.corp__head,.blog-explore__head) {
  border-block-start: 2px solid var(--ui-heading);
  padding-block-start: clamp(1rem, 2vw, 1.8rem);
}
#main-content :is(.game-card a,.server-hero-photo,.game-hero__media,.corp__visual,.article-cover) {
  border-radius: 6px;
  overflow: hidden;
}
#main-content .game-card a { border-bottom: 4px solid var(--game-fill, var(--ui-accent)); }
#main-content :is(.legal-body,.kb-topic,.article-header h1,.blog-search,.ds-order) {
  border-inline-start: 3px solid var(--ui-accent);
  padding-inline-start: clamp(1rem, 2.5vw, 2rem);
}
#main-content :is(.server-hero__grid,.game-hero__grid,.blog-intro) {
  padding-block: clamp(1.2rem, 3vw, 2.8rem);
  border-block-start: 1px solid var(--ui-strong-line);
}
#main-content .blog-search { background: var(--ui-panel); }
#site-header + #main-content > :first-child:is(.blog-hero,.server-hero,.article-header,.page-hero,.status-page)::before {
  background: repeating-linear-gradient(90deg, transparent 0 79px, var(--ui-line) 79px 80px), linear-gradient(0deg,var(--ui-bg),var(--ui-tint));
}
#main-content .page-hero > .container {
  text-align: start;
  border-inline-start: 4px solid var(--ui-accent);
  padding-inline-start: clamp(1rem, 3vw, 3rem);
}
#main-content .page-hero > .container > * { margin-inline-start: 0; justify-content: flex-start; }
@media (min-width: 901px) {
  #main-content .page-hero > .container {
    position: relative;
    padding-inline-end: min(34vw, 25rem);
  }
  #main-content .page-hero > .container::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 30%;
    border-radius: 6px;
    background: center / cover url("../img/homepage-fiber-panel-480.webp");
  }
  #main-content.vds-page .page-hero > .container::after {
    background-image: url("../img/homepage-rack-server-480.webp");
  }
  #main-content .server-hero__grid > :first-child,
  #main-content .game-hero__copy { border-inline-start: 4px solid var(--game-fill,var(--ui-accent)); padding-inline-start: clamp(1rem, 2.4vw, 2.5rem); }
}
@media (max-width: 800px) {
  #main-content .catalog-hero__copy { padding: 2rem 1.25rem 4rem; }
  #main-content .catalog-hero__photo::after { background: linear-gradient(90deg,#0a1524f7,#0a1524cf 65%,#0a152491); }
  #main-content .catalog-hero__photo figcaption { right: .75rem; bottom: .55rem; font-size: .68rem; }
}

#main-content :is(.hosting-plan,.plan-grid .plan) {
  border-radius: 6px;
  border-top: 3px solid var(--ui-strong-line);
}
#main-content :is(.hosting-plan--featured,.plan-grid .plan--featured) {
  border-top-color: var(--ui-accent);
}
#main-content :is(.hosting-plan__price,.plan__price,.hosting-table td,.server-facts dd,.stat__value) {
  font-variant-numeric: tabular-nums;
}
#main-content .hosting-plan__resources,
#main-content .plan__specs {
  border-block: 1px solid var(--ui-line);
  padding-block: .85rem;
}
#main-content .hosting-table tbody tr:nth-child(even) { background: var(--ui-tint); }
#main-content .legal-body { max-width: 80ch; }

/* Task selector and page-family layouts */
.solution-picker { position: relative; z-index: 1; margin: 0 1.25rem 3.2rem; padding: 1.3rem; border-radius: 8px; color: var(--ui-heading); background: var(--ui-panel); }
.solution-picker h2 { font-size: 1.18rem; margin: 0 0 .65rem; color: var(--ui-heading); }
.solution-picker a { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: .7rem; align-items: center; padding: .85rem .25rem; border-top: 1px solid var(--ui-line); color: var(--ui-heading); }
.solution-picker a:hover { background: var(--ui-tint); }
.solution-picker i,.solution-picker a > span:last-child { color: var(--ui-accent-ink); }
.solution-picker small { display: block; color: var(--ui-muted); }
#site-header .nav__link[aria-current="page"],#site-header .nav__link.is-current { box-shadow: inset 0 -3px var(--ui-accent); }
.product-chapters { min-width: 0; }
#main-content .status-page__inner { padding: clamp(1.5rem,5vw,4rem); background: var(--ui-panel); border: 1px solid var(--ui-line); border-top: 5px solid var(--ui-accent); }
#main-content.document-page .page-hero > .container::after { display: none; }
#main-content.document-page .page-hero > .container { padding-inline-end: 1rem; }
@media (min-width: 850px) {
  #main-content .catalog-hero__grid { grid-template-columns: 1.55fr 1fr; gap: 0; }
  .solution-picker { margin: 2.75rem clamp(1.5rem,4vw,4rem) 2.75rem 0; padding: clamp(1.2rem,2vw,2rem); }
  #main-content .company-page,.product-workspace { min-width: 0; }
  .company-page .corp > .container:has(> .corp__head) { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(0,1.9fr); align-items: start; gap: 2.5rem; }
  .company-page .corp > .container > .corp__head { text-align: start; grid-column: 1; margin: 0; }
  .company-page .corp > .container > .corp__head ~ * { grid-column: 2; }
  .company-page .corp__rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main-content .legal-layout { grid-template-columns: minmax(13rem,.35fr) minmax(0,1fr); }
  #main-content .legal-nav { grid-column: 1; grid-row: 1; }
  #main-content .legal-body { grid-column: 2; grid-row: 1; }
  #main-content .blog-explore > .container { display: grid; grid-template-columns: 12rem minmax(0,1fr); align-items: start; gap: 1.5rem; }
  #main-content .blog-explore__head { grid-column: 1/-1; }
  #main-content .blog-filter { flex-direction: column; align-items: stretch; position: sticky; top: 6rem; }
  #main-content .blog-explore .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main-content .blog-empty { grid-column: 2; }
  #main-content .article-layout:not(.article-layout--without-toc) { grid-template-columns: minmax(0,780px) 210px; }
  #main-content .article-toc { grid-column: 2; grid-row: 1; }
  #main-content .article-main { grid-column: 1; grid-row: 1; }
  #main-content .kb-layout { display: block; }
  #main-content .kb-topics { display: flex; position: static; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2rem; }
  #main-content .kb-results { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .game-page .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main-content.game-page .game-card a { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); }
  #main-content.game-page .game-card__cover { height: 100%; object-fit: cover; }
}
@media (min-width: 1200px) {
  .product-workspace { display: grid; grid-template-columns: 11rem minmax(0,1fr); align-items: start; gap: 1.2rem; max-width: 100rem; margin-inline: auto; padding: 2rem 1.5rem; }
  #main-content .product-workspace .server-section-nav { position: sticky; top: 6rem; padding: .75rem; border: 1px solid var(--ui-line); border-radius: 8px; }
  .product-workspace .server-section-nav > .container { display: grid; width: 100%; gap: .25rem; padding: 0; }
  .product-workspace .server-section-nav a { white-space: normal; display: block; padding: .65rem; }
  .product-chapters > :first-child { padding-top: 0; }
}
@media (max-width: 849px) {
  #main-content .catalog-hero__copy { padding-bottom: 1rem; }
  #main-content .product-workspace .server-section-nav > .container { display: flex; flex-wrap: wrap; gap: .35rem; padding-block: .65rem; }
  .product-workspace .server-section-nav a { padding: .45rem .65rem; border: 1px solid var(--ui-line); border-radius: 5px; background: var(--ui-panel); }
}
@media (max-width: 849px) {
  #main-content .game-card a { border-radius: 4px; }
  .company-page .corp__head { text-align: start; margin-inline-start: 0; }
  .company-page .corp__rail { gap: 0; }
  .company-page .corp__rail > :is(article,a) { border-radius: 0; border-width: 0 0 1px; padding-inline: .5rem; }
  .blog-page .blog-grid { grid-template-columns: minmax(0,1fr); }
  .blog-page .post-card:not([hidden]):not(.is-hidden) { display: grid; grid-template-columns: 30% minmax(0,1fr); }
  .blog-page .post-card__media img { height: 100%; object-fit: cover; }
  .blog-page .post-card__cat { position: static; display: block; border-radius: 0; }
  .blog-page .post-card__body { padding: .85rem; }
  .blog-page .post-card__media { display: flex; flex-direction: column; }
  .blog-page .post-card__media a { flex: 1; }
}
