/* OSRSAHK V30/V33 — responsive layout correction for 100% browser zoom
   Goal: balanced hero/sections across 1366x768, 1440p, 1080p, ultrawide and mobile without relying on browser zoom. */
:root {
  --container: 1420px;
  --measure: 68ch;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 28px 80px rgba(0,0,0,.28);
  --shadow-md: 0 14px 38px rgba(0,0,0,.22);
  --bg-solid: #071424;
  --bg-image: url('/assets/backgrounds/theme-dark-bg.webp');
  --header-bg: rgba(6, 16, 30, .78);
  --surface: rgba(11, 27, 46, .68);
  --surface-strong: rgba(8, 18, 32, .88);
  --surface-soft: rgba(11, 27, 46, .48);
  --text: #f5f9ff;
  --muted: #d9e6f5;
  --soft: #adc3dc;
  --line: rgba(167,210,255,.18);
  --line-strong: rgba(167,210,255,.32);
  --badge-bg: rgba(125,184,255,.10);
  --badge-border: rgba(167,210,255,.28);
  --accent: #eaf4ff;
  --brand: #8bc0ff;
  --brand-strong: #5ca4ff;
  --btn-text: #06111f;
  --zoom-chip-bg: rgba(6,16,30,.82);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.56;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(6, 16, 30, .22), rgba(6, 16, 30, .28)),
    var(--bg-image) center top / cover fixed no-repeat,
    linear-gradient(180deg, #081629 0%, #10233e 52%, #071424 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }

.container {
  width: min(calc(100% - clamp(32px, 5.6vw, 96px)), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
}
.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  gap: clamp(14px, 2.2vw, 30px);
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}
.brand-mark {
  width: 44px;
  height: 40px;
  object-fit: contain;
  content: url('/assets/branding/cross-emblem-dark.webp');
  flex: 0 0 auto;
}
.brand-wordmark {
  font-weight: 900;
  font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  letter-spacing: -.035em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desktop-nav,
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.desktop-nav { justify-content: center; }
.lang-switcher { justify-content: flex-end; }
.desktop-nav a,
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  font-size: clamp(.82rem, .82vw, .94rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.is-active,
.lang-switcher a:hover,
.lang-switcher a[aria-current="page"] {
  background: var(--badge-bg);
  border-color: var(--badge-border);
}

.eyebrow,
.section-label,
.plan-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .065em;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.05;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(125,184,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(6,16,30,.20), rgba(6,16,30,.38)),
    var(--bg-image) center top / cover no-repeat;
  opacity: .98;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(34px, 4.5vw, 70px);
  align-items: center;
  padding-block: clamp(54px, 7vh, 88px);
  min-height: min(920px, calc(100svh - 74px));
}
.hero-copy { min-width: 0; max-width: 780px; }
h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 4.1vw, 5.05rem);
  line-height: .965;
  max-width: 760px;
  text-wrap: balance;
}
.lede {
  margin-top: 20px;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.04vw, 1.12rem);
  line-height: 1.58;
}
.hero-actions,
.section-actions,
.plan-buttons,
.voucher-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions { margin: 26px 0 18px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: var(--shadow-md);
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: var(--btn-text); }
.btn-secondary { background: rgba(255,255,255,.055); color: var(--text); border-color: var(--line); }
.btn:hover { transform: translateY(-1px); }

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 66ch;
}
.benefit-list li { color: var(--muted); font-size: .96rem; }
.benefit-list li::before { content: "•"; color: var(--brand); margin-right: 9px; }
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  max-width: 74ch;
}
.stat-row span,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.15;
}

.hero-media { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-media-stack { width: min(100%, 620px); display: grid; gap: 16px; }
.hero-banner-pair { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.media-card,
.feature-card,
.plan-card,
.note-card,
details,
.final-cta {
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.media-card { overflow: hidden; }
.media-card--hero { padding: 10px; }
.media-card--mini { border-radius: 18px; }
.media-card img { width: 100%; object-fit: cover; }
.media-card--mini img { aspect-ratio: 1672 / 941; }

.section { padding-block: clamp(56px, 6.4vw, 92px); }
.section + .section { border-top: 1px solid rgba(255,255,255,.05); }
.section--soft { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)); }
.section--accent { background: linear-gradient(180deg, rgba(125,184,255,.045), rgba(255,255,255,0)); }
.section--boxed { padding-block: clamp(28px, 3.2vw, 46px); }
.section--boxed > .container,
.section--boxed .faq-wrap {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,27,46,.72), rgba(8,18,32,.88));
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 36px);
  backdrop-filter: blur(6px);
}
.section--boxed-featured > .container,
.section--boxed-featured .final-cta {
  border-color: rgba(134,187,255,.35);
  background:
    radial-gradient(circle at top right, rgba(134,187,255,.11), transparent 40%),
    linear-gradient(180deg, rgba(13,31,52,.80), rgba(8,18,32,.92));
}
.section-shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: center;
}
.section-shell.reverse { grid-template-columns: minmax(360px, 1.08fr) minmax(0, .92fr); }
.section-shell.reverse .section-copy { order: 2; }
.section-shell.reverse .section-visual { order: 1; }
.section-copy { min-width: 0; }
.section-copy > * { max-width: var(--measure); }
h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 2.85vw, 3.25rem);
  line-height: 1.04;
  max-width: 16ch;
  text-wrap: balance;
}
h3 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 1.22vw, 1.32rem);
  line-height: 1.18;
}
.tight,
.section-intro,
.feature-card p,
.plan-card p,
.note-card p,
details p,
.footer-row p,
.mini-note {
  color: var(--muted);
}
.tight,
.section-intro { font-size: clamp(1rem, 1.02vw, 1.08rem); line-height: 1.62; }
.section-intro { max-width: 76ch; margin: 0 0 22px; }
.section-visual { min-width: 0; display: grid; gap: 14px; }
.visual-caption { color: var(--soft); font-size: .92rem; }

.feature-grid,
.notes-grid,
.plans-grid { display: grid; gap: 16px; margin-top: 24px; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.notes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card,
.plan-card,
.note-card { padding: 20px; border-radius: 22px; }
.plan-card--featured { border-color: var(--badge-border); }
.plan-eyebrow { margin-bottom: 14px; }
.plan-buttons,
.voucher-buttons { margin: 16px 0 12px; }
.mini-note { font-size: .9rem; }

.value-banner,
.value-banner--active {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(22px, 3.6vw, 42px);
  align-items: center;
  width: 100%;
}
.value-banner__copy,
.value-banner__visual { min-width: 0; }
.value-banner__copy > * { max-width: 72ch; }
.value-banner__chips { display: flex !important; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.value-banner .media-card { border-color: var(--line-strong); }

.final-section { padding-top: 40px; }
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
}
.final-copy h2 { max-width: 17ch; }
.section-actions { margin-top: 20px; }

.faq-wrap { max-width: none; }
.faq-list { display: grid; gap: 10px; margin-top: 22px; }
details { padding: 0 18px; transition: border-color 160ms ease, background 160ms ease; }
details:hover { border-color: rgba(134,187,255,.30); background: linear-gradient(180deg, rgba(11,27,46,.78), rgba(8,18,32,.92)); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 900; }
summary::-webkit-details-marker { display: none; }
details p { padding-bottom: 18px; max-width: 78ch; }

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  background: rgba(11,27,46,.48);
}
.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}
.footer-row p { margin-top: 4px; max-width: 78ch; color: var(--soft); }

.media-card--zoomable,
.media-card.is-zoomable { position: relative; }
.media-card--zoomable .media-zoom-link { display: block; position: relative; overflow: hidden; border-radius: inherit; }
.media-card--zoomable img,
.media-card.is-zoomable img { transition: transform 220ms ease, filter 220ms ease; }
.media-card--zoomable:hover img,
.media-card.is-zoomable:hover img { transform: scale(1.018); filter: brightness(1.03); }
.media-card.is-zoomable::after {
  content: var(--zoom-label, "Click to enlarge");
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: .84rem;
  font-weight: 800;
  color: var(--text);
  background: var(--zoom-chip-bg);
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: 999px;
  pointer-events: none;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(4, 10, 18, .78);
  backdrop-filter: blur(8px);
}
.image-lightbox.is-open { display: grid; }
.image-lightbox__dialog {
  width: min(1200px, 100%);
  max-height: calc(100vh - 52px);
  overflow: auto;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
}
.image-lightbox__frame { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.image-lightbox__frame img { width: 100%; height: auto; object-fit: contain; }
.image-lightbox__meta { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 14px; }
.image-lightbox__caption { color: var(--muted); font-size: .95rem; }
.image-lightbox__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.image-lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.04);
}
body.has-lightbox { overflow: hidden; }

@media (min-width: 1680px) {
  :root { --container: 1500px; }
  h1 { font-size: clamp(4.1rem, 3.7vw, 5.35rem); max-width: 840px; }
  .hero-media-stack { width: min(100%, 660px); }
}

@media (max-width: 1180px) {
  .header-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .desktop-nav,
  .lang-switcher { justify-content: flex-start; }
  .hero-grid,
  .section-shell,
  .section-shell.reverse,
  .value-banner,
  .value-banner--active,
  .final-cta,
  .footer-row {
    grid-template-columns: 1fr;
  }
  .section-shell.reverse .section-copy,
  .section-shell.reverse .section-visual { order: initial; }
  .hero-grid { min-height: auto; }
  .hero-copy { max-width: 900px; }
  h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 4.75rem); }
  .hero-media { justify-content: flex-start; }
  .hero-media-stack { width: min(100%, 820px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { background-attachment: scroll; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-row { min-height: auto; }
  .brand-wordmark { font-size: 1.12rem; }
  .desktop-nav a,
  .lang-switcher a { font-size: .83rem; min-height: 34px; padding: 7px 9px; }
  .hero-grid { padding-block: 40px 44px; gap: 24px; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.85rem); line-height: .98; max-width: 11.5ch; }
  h2 { font-size: clamp(1.72rem, 7.5vw, 2.7rem); max-width: 14ch; }
  .lede { font-size: 1rem; }
  .benefit-list,
  .plans-grid,
  .notes-grid { grid-template-columns: 1fr; }
  .hero-banner-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section--boxed > .container,
  .section--boxed .faq-wrap,
  .final-cta { border-radius: 24px; padding: 22px 18px; }
  .image-lightbox { padding: 14px; }
  .image-lightbox__meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .brand-mark { width: 38px; height: 35px; }
  .desktop-nav,
  .lang-switcher { gap: 6px; }
  .desktop-nav a,
  .lang-switcher a { font-size: .78rem; padding: 7px 8px; }
  h1 { font-size: clamp(2.22rem, 12.4vw, 3.2rem); max-width: 10.6ch; }
  .hero-actions .btn,
  .section-actions .btn { width: 100%; }
  .hero-banner-pair { grid-template-columns: 1fr; }
  .stat-row span,
  .chip { font-size: .8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .media-card.is-zoomable::after { right: 10px; bottom: 10px; font-size: .76rem; padding: 6px 9px; }
}


/* V33_GGMAX_LINKS_COMPACT_LAYOUT_2026_05_08 — compact visual scaling correction
   Purpose: reduce oversized desktop content at normal 100% zoom while preserving responsive behavior. */
:root {
  --container: 1320px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}
html { scroll-padding-top: 78px; }
.container { width: min(calc(100% - clamp(28px, 5vw, 80px)), var(--container)); }
.header-row { min-height: 64px; gap: clamp(12px, 1.8vw, 24px); }
.brand-mark { width: 38px; height: 36px; }
.brand-wordmark { font-size: clamp(1rem, 1.08vw, 1.22rem); }
.desktop-nav a,
.lang-switcher a { min-height: 32px; padding: 7px 9px; font-size: clamp(.78rem, .72vw, .88rem); }
.eyebrow,
.section-label,
.plan-eyebrow { padding: 7px 11px; font-size: .68rem; }
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 540px);
  gap: clamp(28px, 3.3vw, 48px);
  padding-block: clamp(38px, 5.2vh, 66px);
  min-height: auto;
}
.hero-copy { max-width: 740px; }
h1 {
  margin-top: 15px;
  font-size: clamp(2.45rem, 2.85vw, 3.55rem);
  line-height: 1.035;
  max-width: 730px;
}
.lede { margin-top: 16px; max-width: 62ch; font-size: clamp(.94rem, .88vw, 1.02rem); line-height: 1.52; }
.hero-actions { margin: 22px 0 14px; }
.btn { min-height: 44px; padding: 0 15px; border-radius: 12px; }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: .86rem; }
.benefit-list { gap: 6px 13px; max-width: 60ch; }
.benefit-list li { font-size: .88rem; }
.stat-row { gap: 7px; margin-top: 15px; max-width: 64ch; }
.stat-row span,
.chip { padding: 7px 10px; font-size: .80rem; }
.hero-media-stack { width: min(100%, 540px); gap: 12px; }
.hero-banner-pair { gap: 12px; }
.media-card--hero { padding: 8px; }
.section { padding-block: clamp(38px, 4.4vw, 66px); }
.section--boxed { padding-block: clamp(20px, 2.5vw, 34px); }
.section--boxed > .container,
.section--boxed .faq-wrap { padding: clamp(20px, 2.4vw, 30px); border-radius: 26px; }
.section-shell { grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); gap: clamp(20px, 2.8vw, 38px); }
.section-shell.reverse { grid-template-columns: minmax(340px, 1.05fr) minmax(0, .95fr); }
h2 { margin: 12px 0 12px; font-size: clamp(1.68rem, 2.18vw, 2.65rem); line-height: 1.06; max-width: 19ch; }
h3 { margin-bottom: 8px; font-size: clamp(1rem, 1.02vw, 1.18rem); }
.tight,
.section-intro { font-size: clamp(.92rem, .88vw, 1rem); line-height: 1.54; }
.section-intro { margin-bottom: 18px; max-width: 68ch; }
.visual-caption { font-size: .84rem; }
.feature-grid,
.notes-grid,
.plans-grid { gap: 13px; margin-top: 18px; }
.feature-card,
.plan-card,
.note-card { padding: 16px; border-radius: 18px; }
.feature-card p,
.plan-card p,
.note-card p,
details p,
.footer-row p,
.mini-note { font-size: .9rem; line-height: 1.48; }
.plan-eyebrow { margin-bottom: 12px; }
.plan-buttons,
.voucher-buttons { margin: 12px 0 8px; gap: 9px; }
.mini-note { font-size: .82rem; }
.value-banner,
.value-banner--active { grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); gap: clamp(18px, 2.8vw, 34px); }
.value-banner__chips { gap: 8px; margin-top: 14px; }
.final-section { padding-top: 30px; }
.final-cta { grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr); gap: 20px; padding: clamp(20px, 2.4vw, 30px); border-radius: 26px; }
.section-actions { margin-top: 16px; }
.faq-list { gap: 8px; margin-top: 18px; }
details { padding: 0 15px; border-radius: 18px; }
summary { padding: 14px 0; }
details p { padding-bottom: 14px; max-width: 72ch; }
.site-footer { padding: 26px 0 34px; }
.media-card.is-zoomable::after { right: 10px; bottom: 10px; font-size: .76rem; padding: 6px 9px; }

@media (min-width: 1680px) {
  :root { --container: 1360px; }
  h1 { font-size: clamp(2.65rem, 2.55vw, 3.65rem); max-width: 760px; }
  .hero-media-stack { width: min(100%, 560px); }
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-shell,
  .section-shell.reverse,
  .value-banner,
  .value-banner--active,
  .final-cta,
  .footer-row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.35rem, 5.6vw, 3.65rem); max-width: 820px; }
  .hero-media-stack { width: min(100%, 760px); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .hero-grid { padding-block: 34px 38px; gap: 22px; }
  h1 { font-size: clamp(2.05rem, 9.6vw, 3.3rem); max-width: 12.5ch; }
  h2 { font-size: clamp(1.52rem, 6.8vw, 2.35rem); max-width: 16ch; }
  .section { padding-block: 34px; }
  .section--boxed > .container,
  .section--boxed .faq-wrap,
  .final-cta { padding: 20px 16px; border-radius: 22px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(1.95rem, 10.8vw, 2.85rem); max-width: 11ch; }
  .brand-wordmark { font-size: 1rem; }
}
