/*
 * VINLAND / ROSETTA UI SYSTEM 2.0
 * Dark-industrial interface: precise grid, restrained red signal light, zero stock glow.
 */

.rosetta-v2 {
  --ink: #0b0b0d;
  --ink-soft: #101012;
  --surface: #121214;
  --surface-strong: #18181b;
  --paper: #f4f1ef;
  --paper-soft: #c4bebc;
  --muted: #777274;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 42, 42, 0.32);
  --red: #e60000;
  --red-bright: #ff2a2a;
  --red-dark: #65000a;
  --cyan: #ff2a2a;
  --blue: #e60000;
  --violet: #880414;
  --night: #0b0b0d;
  --display: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "Plus Jakarta Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 9%, rgba(255, 42, 42, 0.09), transparent 30rem),
    radial-gradient(circle at 8% 45%, rgba(230, 0, 0, 0.045), transparent 28rem),
    linear-gradient(180deg, #0b0b0d 0%, #101012 56%, #09090b 100%);
  font-family: var(--body);
}

.rosetta-v2::selection {
  color: #03111b;
  background: var(--cyan);
}

.rosetta-v2 .grain {
  opacity: 0.035;
}

.rosetta-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.rosetta-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.rosetta-ambient i {
  position: absolute;
  width: 1px;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(255, 42, 42, 0.42), transparent);
  opacity: 0.3;
  animation: rosetta-signal 8s linear infinite;
}

.rosetta-ambient i:nth-child(1) { left: 18%; top: -20%; }
.rosetta-ambient i:nth-child(2) { left: 62%; top: -35%; animation-delay: -3s; }
.rosetta-ambient i:nth-child(3) { left: 87%; top: -12%; animation-delay: -6s; }

@keyframes rosetta-signal {
  to { transform: translateY(calc(100vh + 260px)); }
}

.rosetta-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.84);
  box-shadow: 0 12px 50px rgba(2, 9, 17, 0.3);
  backdrop-filter: blur(18px) saturate(125%);
}

.rosetta-header.is-scrolled {
  min-height: 68px;
  background: rgba(8, 8, 10, 0.94);
}

.rosetta-v2 .brand img {
  filter: drop-shadow(0 0 12px rgba(255, 42, 42, 0.15));
}

.rosetta-v2 .brand strong,
.rosetta-v2 .brand small,
.rosetta-v2 .main-nav a,
.rosetta-v2 .store-pill strong,
.rosetta-v2 .account-copy strong,
.rosetta-v2 .account-login,
.rosetta-v2 .account-dropdown > a,
.rosetta-v2 .account-dropdown > button {
  font-family: var(--display);
}

.rosetta-v2 .main-nav a {
  color: #9fb1c4;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.rosetta-v2 .main-nav a::after {
  bottom: -11px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.rosetta-v2 .store-pill,
.rosetta-v2 .account-login,
.rosetta-v2 .account-trigger {
  border-color: var(--line);
  background: rgba(18, 18, 20, 0.78);
}

.rosetta-v2 .store-pill.is-ready i {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.09), 0 0 16px rgba(255, 42, 42, 0.25);
}

.rosetta-v2 .account-login-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.09);
}

.rosetta-v2 .account-login:hover,
.rosetta-v2 .account-trigger:hover,
.rosetta-v2 .account-widget.is-open .account-trigger {
  border-color: var(--line-strong);
  background: rgba(27, 18, 20, 0.96);
}

.rosetta-v2 .account-avatar {
  background: linear-gradient(135deg, #5b070d, #b20b16);
}

.rosetta-v2 .account-dropdown {
  border-color: var(--line-strong);
  background: rgba(13, 12, 14, 0.98);
}

.rosetta-v2 .account-dropdown > a:hover,
.rosetta-v2 .account-dropdown > button:hover {
  background: rgba(255, 42, 42, 0.11);
}

.rosetta-header .header-actions { gap: 10px; }

.language-switcher { position: relative; flex: 0 0 auto; }

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 54px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: #ddd7d5;
  background: rgba(19, 17, 19, 0.8);
  font: 700 12px/1 var(--display);
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.language-trigger i {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease);
}

.language-trigger:hover,
.language-switcher.is-open .language-trigger { border-color: var(--line-strong); background: rgba(33, 18, 21, 0.96); }
.language-switcher.is-open .language-trigger i { transform: translateY(2px) rotate(225deg); }

.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 80;
  display: grid;
  width: 176px;
  padding: 5px;
  visibility: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(13, 12, 14, 0.985);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(-5px);
  transition: visibility 180ms var(--ease), opacity 180ms var(--ease), transform 180ms var(--ease);
}

.language-switcher.is-open .language-menu { visibility: visible; opacity: 1; transform: translateY(0); }

.language-menu button {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  color: #918a8c;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.language-menu button + button { border-top: 1px solid var(--line); }
.language-menu button:hover,
.language-menu button.is-active { color: #f4f1ef; background: rgba(255, 42, 42, 0.09); }
.language-menu b { color: var(--red-bright); font: 700 11px/1 var(--display); letter-spacing: 0.08em; }
.language-menu span { font: 600 11px/1 var(--body); }

.hero-meta i,
.scroll-cue i,
.wb-trust-row b,
.rosetta-cta i { color: inherit; font: inherit; font-style: normal; }

.rosetta-product {
  overflow: clip;
}

.wb-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: clamp(50px, 6vw, 106px);
  align-items: center;
  min-height: min(960px, 100svh);
  padding: 145px max(4vw, calc((100vw - 1540px) / 2)) 92px;
  isolation: isolate;
}

.wb-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(255, 42, 42, 0.045) 50%, transparent 50.08%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}

.wb-hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 2vw, 32px);
}

.rosetta-breadcrumb,
.wb-status-line,
.rosetta-section-head > div > span,
.wb-showcase-copy > span,
.wb-purchase-copy > span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #7f95aa;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.rosetta-breadcrumb a {
  color: #a9bbcb;
}

.rosetta-breadcrumb b {
  color: var(--cyan);
}

.wb-status-line {
  margin-top: 48px;
  color: #a8b8c8;
}

.wb-status-line i {
  width: 34px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(255, 42, 42, 0.26);
}

.wb-hero h1 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(86px, 9.1vw, 156px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.72;
}

.wb-hero h1 em,
.rosetta-section-head h2 em,
.wb-showcase-copy h2 em,
.wb-purchase-copy h2 em {
  color: transparent;
  background: linear-gradient(94deg, #ff4545, #e60000 58%, #7d0712);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.wb-kicker {
  margin: 34px 0 0;
  color: #dbe9f3;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.08;
}

.wb-intro {
  max-width: 610px;
  margin: 18px 0 0;
  color: #92a5b8;
  font-size: 14px;
  line-height: 1.85;
}

.wb-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.wb-frameworks span {
  padding: 8px 11px 7px;
  border: 1px solid var(--line);
  color: #a9bbcb;
  background: rgba(20, 18, 20, 0.72);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.wb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}

.rosetta-cta,
.rosetta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 21px;
  border: 1px solid transparent;
  color: #f5fbff;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.rosetta-cta {
  position: relative;
  overflow: hidden;
  min-width: 202px;
  background: linear-gradient(108deg, #b40000, #e60000 58%, );
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.14);
}

.rosetta-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(255, 87, 87, 0.28), transparent 58%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.rosetta-cta > * {
  position: relative;
  z-index: 1;
}

.rosetta-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(230, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.17);
}

.rosetta-cta:hover::before {
  opacity: 1;
}

.rosetta-cta:active,
.rosetta-ghost:active {
  transform: translateY(0) scale(0.985);
}

.rosetta-cta svg,
.rosetta-ghost svg,
.wb-account-note svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.rosetta-ghost {
  border-color: var(--line);
  color: #c5d3df;
  background: rgba(20, 18, 20, 0.74);
  backdrop-filter: blur(12px);
}

.rosetta-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: #fff;
  background: rgba(34, 19, 22, 0.9);
}

.wb-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.wb-trust-row span {
  display: grid;
  gap: 7px;
  padding: 16px 14px 0 0;
  color: #72879c;
  font-size: 9px;
  line-height: 1.45;
}

.wb-trust-row i {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.wb-hero-stage {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(15, 14, 16, 0.8);
  box-shadow: 0 34px 90px rgba(0, 6, 14, 0.38);
  backdrop-filter: blur(18px);
  transform: perspective(1200px) rotateY(var(--stage-ry, 0deg)) rotateX(var(--stage-rx, 0deg));
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}

.wb-hero-stage:hover {
  border-color: rgba(255, 42, 42, 0.44);
}

.wb-stage-head,
.wb-price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #8fa4b7;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.wb-stage-head b,
.wb-price-card-head b {
  color: var(--cyan);
}

.wb-stage-media {
  position: relative;
  aspect-ratio: 16 / 10.3;
  min-height: 430px;
  overflow: hidden;
  background: #0b0b0d;
}

.wb-stage-media::after,
.wb-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 24, 0.05), rgba(5, 13, 24, 0.72));
  pointer-events: none;
}

.wb-stage-media img,
.wb-model-preview img,
.wb-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.76) hue-rotate(3deg);
}

.wb-stage-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 4px, rgba(255, 42, 42, 0.03) 5px);
  pointer-events: none;
}

.wb-focus-frame {
  position: absolute;
  inset: 12%;
  z-index: 3;
  pointer-events: none;
}

.wb-focus-frame i {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 42, 42, 0.48);
  border-style: solid;
}

.wb-focus-frame i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.wb-focus-frame i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.wb-focus-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.wb-focus-frame i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }

.wb-callout {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border-left: 2px solid var(--cyan);
  color: #e4f4fb;
  background: rgba(12, 11, 13, 0.8);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  letter-spacing: 0.08em;
}

.wb-callout b { font-size: 10px; }
.wb-callout small { color: #7d93a8; font-size: 8px; }
.wb-callout-a { top: 25%; right: 6%; }
.wb-callout-b { bottom: 19%; left: 6%; border-left-color: var(--blue); }

.wb-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.wb-stage-metrics > div {
  min-height: 84px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.wb-stage-metrics > div:last-child { border-right: 0; }
.wb-stage-metrics span { display: block; color: #647b91; font: 700 8px/1 var(--display); letter-spacing: 0.12em; }
.wb-stage-metrics strong { display: block; margin-top: 10px; font: 700 25px/1 var(--display); letter-spacing: -0.02em; }
.wb-stage-metrics strong small { margin-left: 4px; color: var(--cyan); font-size: 9px; letter-spacing: 0.06em; }

.wb-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1540px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
}

.wb-proof-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 15px;
  min-height: 116px;
  padding: 29px 28px;
  border-right: 1px solid var(--line);
}

.wb-proof-strip > div:last-child { border-right: 0; }
.wb-proof-strip span { grid-row: 1 / 3; color: var(--cyan); font: 700 10px/1.3 var(--display); }
.wb-proof-strip strong { color: #dce9f2; font: 700 15px/1.2 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.wb-proof-strip small { margin-top: 7px; color: #667d92; font-size: 9px; line-height: 1.5; }

.wb-features,
.wb-showcase,
.wb-purchase {
  max-width: 1540px;
  margin: 0 auto;
  padding-inline: clamp(24px, 4vw, 62px);
}

.wb-features { padding-top: 150px; padding-bottom: 160px; }

.rosetta-section-head {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.48fr);
  gap: 80px;
  align-items: end;
}

.rosetta-section-head h2,
.wb-showcase-copy h2,
.wb-purchase-copy h2 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-transform: uppercase;
}

.rosetta-section-head > p,
.wb-showcase-copy > p,
.wb-purchase-copy > p {
  margin: 0;
  color: #8297ab;
  font-size: 13px;
  line-height: 1.85;
}

.wb-inspector {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 650px;
  margin-top: 70px;
  border: 1px solid var(--line-strong);
  background: rgba(15, 14, 16, 0.82);
  box-shadow: 0 28px 80px rgba(0, 8, 18, 0.24);
  backdrop-filter: blur(14px);
}

.wb-inspector-nav {
  border-right: 1px solid var(--line);
  background: rgba(13, 12, 14, 0.54);
}

.wb-inspector-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  width: 100%;
  min-height: 118px;
  padding: 27px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #758b9f;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 220ms var(--ease), background-color 220ms var(--ease);
}

.wb-inspector-nav button::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--blue));
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.wb-inspector-nav button:hover,
.wb-inspector-nav button.is-active {
  color: #dcecf7;
  background: linear-gradient(90deg, rgba(255, 42, 42, 0.12), rgba(230, 0, 0, 0.025));
}

.wb-inspector-nav button.is-active::after { opacity: 1; transform: scaleY(1); }
.wb-inspector-nav button > i { color: var(--cyan); font: 700 10px/1.4 var(--display); font-style: normal; }
.wb-inspector-nav button > span { display: grid; gap: 7px; }
.wb-inspector-nav button b { font: 700 15px/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.wb-inspector-nav button small { color: #647b90; font-size: 9px; line-height: 1.45; }

.wb-inspector-panels { min-width: 0; }

.wb-inspector-panel {
  height: 100%;
  animation: rosetta-panel-in 280ms var(--ease);
}

.wb-inspector-panel[hidden] { display: none; }

@keyframes rosetta-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wb-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid var(--line);
  color: #7d93a8;
  font: 700 9px/1 var(--display);
  letter-spacing: 0.13em;
}

.wb-preview-toolbar > div { display: flex; gap: 4px; }
.wb-preview-toolbar button { min-width: 50px; height: 28px; border: 1px solid var(--line); color: #8e8789; background: rgba(18, 16, 18, 0.74); font: 700 8px/1 var(--display); cursor: pointer; }
.wb-preview-toolbar button:hover { border-color: var(--line-strong); color: #fff; }

.wb-model-preview {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #0b0b0d;
}

.wb-model-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 42, 42, 0.2) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(255, 42, 42, 0.14) 50%, transparent 50.1%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(11, 10, 12, 0.8) 80%);
  pointer-events: none;
}

.wb-model-preview img { position: absolute; inset: 0; }
.wb-axis { position: absolute; z-index: 2; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid currentColor; border-radius: 50%; font: 700 9px/1 var(--display); }
.wb-axis-x { right: 18px; bottom: 18px; color: #ff4545; }
.wb-axis-y { right: 47px; bottom: 18px; color: #d2cccc; }
.wb-axis-z { right: 76px; bottom: 18px; color: #9b202c; }

.wb-bone-marker {
  position: absolute;
  top: 35%;
  left: 54%;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 140px;
  padding: 8px 10px 8px 28px;
  border: 1px solid rgba(255, 42, 42, 0.3);
  color: #daf8f6;
  background: rgba(14, 12, 14, 0.82);
  font-family: var(--display);
  letter-spacing: 0.06em;
}

.wb-bone-marker i { position: absolute; top: 50%; left: -38px; width: 52px; height: 1px; background: var(--cyan); }
.wb-bone-marker i::before { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border: 1px solid var(--cyan); border-radius: 50%; background: #121214; }
.wb-bone-marker b { font-size: 10px; }
.wb-bone-marker small { color: #7890a4; font-size: 8px; }

.wb-inspector-panel > footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 68px;
  border-top: 1px solid var(--line);
}

.wb-inspector-panel > footer > div { display: grid; gap: 5px; padding: 14px 18px; border-right: 1px solid var(--line); }
.wb-inspector-panel > footer > div:last-child { border-right: 0; }
.wb-inspector-panel > footer span { color: #60778c; font: 700 8px/1 var(--display); letter-spacing: 0.12em; }
.wb-inspector-panel > footer code { color: #b9d9e9; font-size: 10px; }

.wb-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 395px;
}

.wb-slot-grid > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-right: 1px solid var(--line);
  color: #71879b;
  text-align: center;
  transition: color 220ms var(--ease), background-color 220ms var(--ease);
}

.wb-slot-grid > div:last-child { border-right: 0; }
.wb-slot-grid > div:hover,
.wb-slot-grid > div.is-linked { color: var(--cyan); background: radial-gradient(circle at 50% 50%, rgba(255, 42, 42, 0.11), transparent 63%); }
.wb-slot-grid span { position: absolute; top: 18px; left: 18px; font: 700 9px/1 var(--display); }
.wb-slot-grid svg { width: 120px; height: 32px; margin-bottom: 34px; fill: currentColor; filter: drop-shadow(0 0 12px rgba(255, 42, 42, 0.14)); }
.wb-slot-grid strong { color: #d9e8f2; font: 700 13px/1.2 var(--display); letter-spacing: 0.06em; }
.wb-slot-grid small { margin-top: 8px; color: #657b90; font-size: 8px; }

.wb-config-sample { padding: 25px 28px; border-top: 1px solid var(--line); background: rgba(4, 15, 27, 0.58); }
.wb-config-sample > span { color: #698096; font: 700 8px/1 var(--display); letter-spacing: 0.14em; }
.wb-config-sample pre { margin: 14px 0 0; color: #9bc9da; font-size: 11px; line-height: 1.65; white-space: pre-wrap; }

.wb-performance-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 520px; }
.wb-resmon { display: flex; flex-direction: column; justify-content: center; padding: 50px; border-right: 1px solid var(--line); }
.wb-resmon > span,
.wb-runtime-list > span { color: #698097; font: 700 9px/1 var(--display); letter-spacing: 0.13em; }
.wb-resmon > strong { margin-top: 26px; color: #ecfbff; font: 700 clamp(72px, 8vw, 126px)/0.8 var(--display); letter-spacing: -0.06em; }
.wb-resmon > strong small { margin-left: 9px; color: var(--cyan); font-size: 15px; letter-spacing: 0; }
.wb-resmon > i { width: 100%; height: 3px; margin-top: 40px; background: rgba(255, 255, 255, 0.08); }
.wb-resmon > i b { display: block; width: 8%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 15px rgba(255, 42, 42, 0.28); }
.wb-resmon > small { margin-top: 12px; color: #63798e; font: 700 8px/1 var(--display); letter-spacing: 0.12em; }
.wb-runtime-list { padding: 50px 38px; }
.wb-runtime-list p { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); }
.wb-runtime-list p:first-of-type { margin-top: 19px; }
.wb-runtime-list p b { color: #aebfcd; font-size: 11px; letter-spacing: 0.03em; }
.wb-runtime-list p i { color: var(--cyan); font-size: 10px; font-style: normal; }
.wb-performance-note { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 14px; min-height: 76px !important; padding: 0 27px; border-top: 1px solid var(--line); }
.wb-performance-note > i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(255, 42, 42, 0.08); }
.wb-performance-note p { margin: 0; color: #748ba0; font-size: 10px; line-height: 1.6; }
.wb-performance-note strong { color: #c2d4e1; }

.wb-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding-top: 40px;
  padding-bottom: 160px;
}

.wb-showcase-copy h2,
.wb-purchase-copy h2 { font-size: clamp(44px, 4.8vw, 72px); }
.wb-showcase-copy > p { max-width: 430px; margin-top: 27px; }

.rosetta-text-button {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: #d6e6f1;
  background: transparent;
  font: 700 12px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.rosetta-text-button span { color: var(--cyan); transition: transform 180ms var(--ease); }
.rosetta-text-button:hover span { transform: translate(3px, -2px); }

.wb-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  color: #fff;
  background: #0b0b0d;
  cursor: pointer;
  box-shadow: 0 28px 70px rgba(0, 7, 16, 0.32);
}

.wb-video-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.wb-video-frame img { position: absolute; inset: 0; transition: transform 600ms var(--ease), filter 600ms var(--ease); }
.wb-video-frame:hover img { transform: scale(1.025); filter: saturate(0.95) contrast(1.08) brightness(0.82); }
.wb-video-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; }
.wb-video-overlay i { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid rgba(255, 42, 42, 0.34); color: #fff; background: rgba(12, 11, 13, 0.72); backdrop-filter: blur(12px); transition: transform 220ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease); }
.wb-video-frame:hover .wb-video-overlay i { transform: scale(1.06); border-color: var(--cyan); background: rgba(86, 5, 12, 0.72); }
.wb-video-overlay svg { width: 26px; height: 26px; fill: currentColor; }
.wb-video-overlay b { margin-top: 16px; font: 700 14px/1 var(--display); letter-spacing: 0.1em; }
.wb-video-overlay small { margin-top: 8px; color: #8da3b7; font: 700 8px/1 var(--display); letter-spacing: 0.12em; }
.wb-video-corner { position: absolute; right: 22px; bottom: 19px; z-index: 4; color: #859caf; font: 700 8px/1 var(--display); letter-spacing: 0.13em; }

.wb-purchase {
  display: grid;
  grid-template-columns: 1fr minmax(390px, 0.52fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
  padding-top: 135px;
  padding-bottom: 145px;
  border-top: 1px solid var(--line);
}

.wb-purchase-copy > p { max-width: 600px; margin-top: 26px; }
.wb-purchase-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 680px; margin: 38px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.wb-purchase-copy li { position: relative; padding: 17px 15px 17px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #91a7ba; font: 600 10px/1.5 var(--body); }
.wb-purchase-copy li:nth-child(even) { border-right: 0; }
.wb-purchase-copy li::before { content: ""; position: absolute; top: 23px; left: 0; width: 6px; height: 1px; background: var(--cyan); }

.wb-price-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(29, 20, 22, 0.9), rgba(12, 11, 13, 0.96));
  box-shadow: 0 30px 80px rgba(0, 7, 16, 0.34);
  backdrop-filter: blur(20px);
}

.wb-price { padding: 35px 28px 29px; border-bottom: 1px solid var(--line); }
.wb-price > small { display: block; color: #71889c; font: 700 8px/1 var(--display); letter-spacing: 0.13em; }
.wb-price > strong { display: block; margin-top: 12px; color: #f2fbff; font: 700 56px/0.95 var(--display); letter-spacing: -0.05em; }
.wb-price > span { display: block; margin-top: 13px; color: #687f93; font-size: 9px; }

.wb-account-note { display: flex; gap: 14px; align-items: flex-start; margin: 20px 22px 0; padding: 15px; border: 1px solid var(--line); background: rgba(12, 11, 13, 0.52); }
.wb-account-note svg { flex: 0 0 auto; color: var(--cyan); }
.wb-account-note p { display: grid; gap: 5px; margin: 0; }
.wb-account-note strong { color: #c7d9e6; font-size: 10px; }
.wb-account-note span { color: #6f859a; font-size: 8px; line-height: 1.55; }
.rosetta-cta-wide { width: calc(100% - 44px); margin: 18px 22px 0; }
.wb-secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 20px 20px; color: #637b90; font: 700 7px/1 var(--display); letter-spacing: 0.12em; }
.wb-secure-line i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(255, 42, 42, 0.36); }

.rosetta-footer { border-top-color: var(--line); background: rgba(9, 9, 11, 0.76); }

/* Shared Rosetta treatment for the home, catalog and system pages. */
.rosetta-v2 .hero-backdrop {
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.98) 0%, rgba(13, 11, 13, 0.92) 43%, rgba(22, 12, 14, 0.7) 100%),
    linear-gradient(0deg, #0b0b0d 0%, transparent 30%),
    url("../images/vinland-atmosphere.png") center 35% / cover no-repeat;
  filter: saturate(0.76) contrast(1.06) hue-rotate(7deg);
}

.rosetta-v2 .art-panel {
  border-color: var(--line-strong);
  background: radial-gradient(circle at 68% 32%, rgba(255, 42, 42, 0.17), transparent 34%), linear-gradient(155deg, rgba(34, 21, 23, 0.96), rgba(11, 11, 13, 0.98));
  box-shadow: -28px 28px 0 rgba(230, 0, 0, 0.11);
}

.rosetta-v2 .primary-button {
  border-color: rgba(255, 42, 42, 0.44);
  background: linear-gradient(108deg, #b40000, #e60000 58%, );
  box-shadow: 8px 8px 0 rgba(110, 0, 10, 0.26);
}

.rosetta-v2 .package-card { border-color: var(--line); background: rgba(13, 12, 14, 0.94); }
.rosetta-v2 .package-card:hover { border-color: var(--line-strong); box-shadow: 12px 12px 0 rgba(230, 0, 0, 0.11); }
.rosetta-v2 .catalog-hero {
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.98), rgba(24, 12, 14, 0.76)), url("../images/vinland-atmosphere.png") center 38% / cover no-repeat;
}
.rosetta-v2 .catalog-search,
.rosetta-v2 .catalog-filters button { background: rgba(20, 17, 19, 0.68); }
.rosetta-v2 .catalog-filters button:hover,
.rosetta-v2 .catalog-filters button.is-active { background: rgba(255, 42, 42, 0.18); }
.rosetta-v2 .catalog-note { background: linear-gradient(110deg, rgba(255, 42, 42, 0.14), rgba(14, 13, 15, 0.92)); }

.rosetta-v2 .payment-page { background: radial-gradient(circle at 50% 0%, rgba(255, 42, 42, 0.14), transparent 35rem), #0b0b0d; }
.rosetta-v2 .payment-card { border-color: var(--line-strong); background: rgba(15, 13, 15, 0.97); }
.rosetta-v2 .payment-card::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.error-card { width: min(900px, 100%); padding: clamp(34px, 7vw, 80px); border: 1px solid var(--line-strong); background: rgba(17, 15, 17, 0.9); box-shadow: 24px 24px 0 rgba(230, 0, 0, 0.1); }
.error-card .brand { color: var(--paper); }
.error-code { display: block; margin-top: 80px; color: var(--cyan); font: 700 12px/1 var(--display); letter-spacing: 0.2em; }
.error-card h1 { max-width: 650px; margin: 15px 0 18px; font: 700 clamp(58px, 10vw, 112px)/0.82 var(--display); letter-spacing: -0.035em; text-transform: uppercase; }
.error-card p { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.error-home { display: inline-flex; margin-top: 36px; padding: 16px 22px; border: 1px solid var(--line-strong); color: #fff; background: linear-gradient(108deg, #b40000, #e60000 58%, ); font: 700 13px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }

.rosetta-v2 .video-dialog {
  border-color: var(--line-strong);
  background: #111113;
}

.rosetta-v2 .release-toast {
  border-color: var(--line-strong);
  background: rgba(15, 13, 15, 0.98);
}

/* Cart */
.cart-widget { position: relative; flex: 0 0 auto; }

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: #ddd7d5;
  background: rgba(19, 17, 19, 0.8);
  font: 700 12px/1 var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease);
}

.cart-trigger:hover { transform: translateY(-1px); border-color: var(--line-strong); background: rgba(33, 18, 21, 0.96); }
.cart-trigger svg { width: 18px; height: 18px; fill: currentColor; }
.cart-badge { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; color: #fff; background: var(--cyan); font: 700 10px/1 var(--display); box-shadow: none; }
.cart-badge[data-empty="true"] { color: #8b8587; background: rgba(255, 255, 255, 0.09); box-shadow: none; }

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 108;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: visibility 260ms var(--ease), opacity 260ms var(--ease);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 109;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(470px, 100%);
  visibility: hidden;
  border-left: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(24, 17, 19, 0.99), rgba(10, 10, 12, 0.995)),
    #0b0b0d;
  box-shadow: -30px 0 90px rgba(0, 5, 12, 0.5);
  transform: translateX(100%);
  transition: visibility 300ms var(--ease), transform 300ms var(--ease);
}

body.is-cart-open { overflow: hidden; }
body.is-cart-open .cart-overlay { visibility: visible; opacity: 1; }
body.is-cart-open .cart-drawer { visibility: visible; transform: translateX(0); }

.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 83px; padding: 0 25px; border-bottom: 1px solid var(--line); }
.cart-drawer-head > div { display: grid; gap: 5px; }
.cart-drawer-head span { color: var(--cyan); font: 700 8px/1 var(--display); letter-spacing: 0.14em; }
.cart-drawer-head strong { font: 700 21px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.cart-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); color: #8f888a; background: rgba(15, 13, 15, 0.62); cursor: pointer; transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.cart-close:hover { color: #fff; border-color: var(--line-strong); }
.cart-close svg { width: 18px; height: 18px; fill: currentColor; }

.cart-items { overflow-y: auto; padding: 15px 20px 30px; scrollbar-width: thin; scrollbar-color: rgba(255, 42, 42, 0.26) transparent; }
.cart-empty { display: grid; place-items: center; align-content: center; min-height: 100%; padding: 60px 30px; color: #71889d; text-align: center; }
.cart-empty svg { width: 42px; height: 42px; margin-bottom: 18px; fill: #43627c; }
.cart-empty strong { color: #c2d4e0; font: 700 20px/1.1 var(--display); text-transform: uppercase; }
.cart-empty span { max-width: 260px; margin-top: 10px; font-size: 10px; line-height: 1.7; }

.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line-media { position: relative; height: 76px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0d; }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) brightness(0.75); }
.cart-line-copy { min-width: 0; }
.cart-line-copy > span { color: var(--cyan); font: 700 8px/1 var(--display); letter-spacing: 0.12em; }
.cart-line-copy > strong { display: block; margin-top: 7px; overflow: hidden; color: #e0ebf3; font: 700 16px/1 var(--display); text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.cart-line-copy > small { display: block; margin-top: 6px; color: #6f869a; font-size: 9px; }
.cart-line-actions { display: flex; align-items: center; gap: 4px; margin-top: 9px; }
.cart-line-actions button { display: grid; place-items: center; width: 25px; height: 24px; border: 1px solid var(--line); color: #a49c9e; background: rgba(16, 14, 16, 0.66); font: 700 13px/1 var(--display); cursor: pointer; }
.cart-line-actions button:hover { border-color: var(--line-strong); color: #fff; }
.cart-line-actions span { min-width: 26px; color: #dceaf3; font: 700 11px/1 var(--display); text-align: center; }
.cart-remove { align-self: start; display: grid; place-items: center; width: 29px; height: 29px; border: 0; color: #668197; background: transparent; cursor: pointer; }
.cart-remove:hover { color: #ff7787; }
.cart-remove svg { width: 16px; height: 16px; fill: currentColor; }

.cart-summary { padding: 22px 24px 24px; border-top: 1px solid var(--line-strong); background: rgba(10, 9, 11, 0.82); }
.cart-summary-row { display: flex; align-items: center; justify-content: space-between; }
.cart-summary-row span { color: #788ea2; font: 700 10px/1 var(--display); letter-spacing: 0.1em; }
.cart-summary-row strong { font: 700 28px/1 var(--display); }
.cart-summary-note { margin: 10px 0 17px; color: #61798e; font-size: 8px; line-height: 1.55; }
.cart-checkout { width: 100%; }
.cart-checkout:disabled { cursor: not-allowed; filter: grayscale(0.65); opacity: 0.5; transform: none; }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; color: #60788d; font: 700 7px/1 var(--display); letter-spacing: 0.12em; }
.cart-secure i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.cart-add-feedback { animation: cart-added 420ms var(--ease); }
@keyframes cart-added { 0%,100% { transform: scale(1); } 45% { transform: scale(1.08); } }

.package-cart-add {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  color: #d9eef8;
  background: rgba(230, 0, 0, 0.14);
  font: 700 10px/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.package-cart-add:hover { transform: translateY(-1px); border-color: var(--cyan); background: rgba(255, 42, 42, 0.22); }

@media (max-width: 1350px) {
  .rosetta-header .header-actions > :not(.account-widget):not(.cart-widget):not(.language-switcher) { display: none; }
}

@media (max-width: 1260px) {
  .wb-hero { grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr); gap: 48px; }
  .wb-hero h1 { font-size: clamp(82px, 8.7vw, 122px); }
  .wb-stage-media { min-height: 380px; }
}

@media (max-width: 1120px) {
  .rosetta-header { grid-template-columns: 1fr auto auto; }
  .rosetta-header .header-actions { display: flex; grid-column: 3; grid-row: 1; }
  .rosetta-header .cart-widget { display: block; }
  .rosetta-header .language-switcher { display: block; }
  .rosetta-header .header-actions > :not(.account-widget):not(.cart-widget):not(.language-switcher) { display: none; }
  .wb-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .wb-hero-copy { max-width: 780px; }
  .wb-hero-stage { width: 100%; }
  .wb-proof-strip { grid-template-columns: 1fr 1fr; }
  .wb-proof-strip > div:nth-child(2) { border-right: 0; }
  .wb-proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rosetta-section-head { grid-template-columns: 1fr; gap: 28px; }
  .rosetta-section-head > p { max-width: 650px; }
  .wb-inspector { grid-template-columns: 250px 1fr; }
  .wb-showcase { grid-template-columns: 1fr; }
  .wb-showcase-copy { max-width: 680px; }
  .wb-purchase { grid-template-columns: 1fr minmax(360px, 0.65fr); gap: 55px; }
}

@media (max-width: 820px) {
  .rosetta-header { padding-inline: 18px; }
  .rosetta-header .brand span { display: none; }
  .cart-trigger > span:not(.cart-badge) { display: none; }
  .cart-trigger { gap: 6px; min-height: 36px; padding: 0 8px; }
  .cart-trigger svg { width: 17px; height: 17px; }
  .wb-hero { padding: 125px 20px 70px; }
  .wb-status-line { margin-top: 34px; }
  .wb-hero h1 { font-size: clamp(72px, 24vw, 108px); }
  .wb-kicker { font-size: 23px; }
  .wb-trust-row { grid-template-columns: 1fr; }
  .wb-trust-row span { grid-template-columns: 30px 1fr; padding-top: 11px; border-bottom: 1px solid var(--line); }
  .wb-stage-media { min-height: 290px; }
  .wb-stage-metrics { grid-template-columns: 1fr; }
  .wb-stage-metrics > div { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-stage-metrics > div:last-child { border-bottom: 0; }
  .wb-callout { display: none; }
  .wb-proof-strip { grid-template-columns: 1fr; }
  .wb-proof-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-proof-strip > div:last-child { border-bottom: 0; }
  .wb-features, .wb-showcase, .wb-purchase { padding-inline: 20px; }
  .wb-features { padding-top: 100px; padding-bottom: 110px; }
  .wb-inspector { grid-template-columns: 1fr; margin-top: 45px; }
  .wb-inspector-nav { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-inspector-nav button { grid-template-columns: 1fr; gap: 6px; min-height: 92px; padding: 16px 13px; border-right: 1px solid var(--line); border-bottom: 0; }
  .wb-inspector-nav button:last-child { border-right: 0; }
  .wb-inspector-nav button::after { top: auto; right: 0; bottom: -1px; left: 0; width: auto; height: 2px; transform: scaleX(0.45); }
  .wb-inspector-nav button.is-active::after { transform: scaleX(1); }
  .wb-inspector-nav button small { display: none; }
  .wb-model-preview { min-height: 360px; }
  .wb-inspector-panel > footer { grid-template-columns: 1fr; }
  .wb-inspector-panel > footer > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-slot-grid { grid-template-columns: 1fr; }
  .wb-slot-grid > div { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-performance-grid { grid-template-columns: 1fr; }
  .wb-resmon { padding: 42px 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-runtime-list { padding: 35px 25px; }
  .wb-showcase { padding-bottom: 110px; }
  .wb-purchase { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 100px; }
  .wb-purchase-copy ul { grid-template-columns: 1fr; }
  .wb-purchase-copy li { border-right: 0; }
}

@media (max-width: 520px) {
  .rosetta-header .header-actions { gap: 5px; }
  .language-trigger { min-width: 42px; min-height: 36px; padding: 0 8px; }
  .language-trigger i { display: none; }
  .language-menu { right: -82px; }
  .rosetta-header .account-login { width: 36px; padding: 0; border-radius: 50%; font-size: 0; }
  .rosetta-header .account-login-dot { display: block; }
  .rosetta-header .account-widget { order: 1; }
  .rosetta-header .cart-widget { order: 2; }
  .wb-hero-actions { display: grid; }
  .rosetta-cta, .rosetta-ghost { width: 100%; }
  .wb-hero-stage { margin-top: 10px; }
  .wb-stage-head { padding-inline: 13px; }
  .wb-stage-media { min-height: 230px; }
  .wb-focus-frame { inset: 8%; }
  .rosetta-section-head h2, .wb-showcase-copy h2, .wb-purchase-copy h2 { font-size: 43px; }
  .wb-inspector-nav button b { font-size: 11px; }
  .wb-bone-marker { left: 44%; transform: scale(0.82); transform-origin: left center; }
  .wb-slot-grid svg { margin-bottom: 22px; }
  .wb-video-overlay i { width: 54px; height: 54px; }
  .wb-price > strong { font-size: 48px; }
  .cart-line { grid-template-columns: 78px 1fr auto; }
  .cart-line-media { height: 68px; }
  .error-code { margin-top: 55px; }
  .error-card { box-shadow: 12px 12px 0 rgba(230, 0, 0, 0.1); }
}

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

  .wb-hero-stage { transform: none !important; }
}
