:root {
  --bg: #eee6dc;
  --bg-deep: #d9ccbc;
  --panel: rgba(252, 249, 244, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.88);
  --line-soft: rgba(52, 40, 30, 0.08);
  --text: #171613;
  --muted: #6d655d;
  --chip: rgba(255, 255, 255, 0.72);
  --shadow: 0 26px 60px rgba(102, 82, 61, 0.12);
  --shadow-soft: 0 14px 32px rgba(102, 82, 61, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --content-width: 1460px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.92), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(224, 210, 194, 0.7), transparent 20%),
    linear-gradient(180deg, #f5efe7 0%, #ece3d9 50%, #e8ddd1 100%);
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

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

.page-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
}

.page-glow-one {
  top: -8rem;
  left: -8rem;
  background: rgba(255, 255, 255, 0.9);
}

.page-glow-two {
  right: -10rem;
  bottom: -12rem;
  background: rgba(204, 187, 167, 0.68);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), var(--content-width));
  margin: 18px auto 28px;
}

.compatibility-modal[hidden] {
  display: none;
}

.compatibility-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.compatibility-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(23, 22, 19, 0.34);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.compatibility-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 26px;
}

.compatibility-dialog h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.compatibility-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.compatibility-meta {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: rgba(23, 22, 19, 0.72);
  line-height: 1.6;
}

.compatibility-inline-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.compatibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 14px 22px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0;
}

.brand-logo {
  display: block;
  width: clamp(180px, 20vw, 250px);
  height: auto;
}

.topbar-link,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  color: rgba(23, 22, 19, 0.72);
  white-space: nowrap;
}

.pill-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.topbar-link:hover,
.topbar-link:focus-visible,
.pill-link:hover,
.pill-link:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  color: #faf8f4;
  background: #1c1b19;
  box-shadow: 0 18px 32px rgba(28, 27, 25, 0.18);
}

.button-soft {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.button-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button-dark .button-icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.12);
  transform-origin: center;
}

.button-scroll .button-icon {
  width: 28px;
  height: 28px;
}

.button-scroll .button-icon svg {
  animation: button-arrow-bounce 0.95s ease-in-out infinite;
}

.main-layout {
  margin-top: 18px;
}

.hero-section {
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.9), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 239, 231, 0.84));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 368px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.viewer-panel,
.native-panel {
  min-width: 0;
  overflow: hidden;
}

.intro-panel {
  overflow: visible;
  min-width: 0;
  padding: 18px 32px 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: 100%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.72), transparent 30%);
}

.intro-copy {
  max-width: 20.25rem;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(23, 22, 19, 0.52);
}

.intro-panel h1,
.native-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.intro-panel h1 {
  max-width: 100%;
  font-size: clamp(2.65rem, 3.8vw, 3.5rem);
  line-height: 0.92;
}

.hero-title-line {
  display: block;
}

.lead,
.native-copy p,
.download-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  margin-top: 22px;
  max-width: 20.25rem;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding: 4px 0 0;
}

.intro-actions .button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  width: 188px;
  min-width: 188px;
  column-gap: 12px;
  justify-content: start;
  padding: 0 26px;
}

.intro-actions .button .button-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: visible;
}

.intro-actions .button .button-icon img,
.intro-actions .button .button-icon svg {
  width: 24px;
  height: 24px;
}

.intro-actions .button .button-icon img {
  transform: none;
}

.intro-actions .button .button-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  justify-self: start;
  white-space: nowrap;
}

.viewer-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.viewer-shell {
  position: relative;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.46), transparent 24%),
    linear-gradient(140deg, rgba(227, 217, 206, 0.98), rgba(190, 175, 159, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.84);
}

.viewer-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.viewer-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding-left: 8px;
  width: fit-content;
}

.viewer-meta-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.viewer-meta-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.viewer-meta-title,
.viewer-meta-note {
  margin: 0;
}

.viewer-meta-title {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0;
}

.viewer-meta-note {
  color: rgba(23, 22, 19, 0.56);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.viewer-meta-icon {
  width: 30px;
  height: 30px;
}

.viewer-meta-icon.platform-icon-web-icon {
  width: 40px;
  height: 40px;
}

.viewer-control {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(28, 27, 25, 0.9);
  color: #faf8f4;
  box-shadow: 0 18px 30px rgba(28, 27, 25, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    visibility 0.22s ease;
}

.viewer-control[hidden] {
  display: none !important;
}

.viewer-control[disabled] {
  cursor: default;
  pointer-events: none;
}

.viewer-control:hover,
.viewer-control:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 36px rgba(28, 27, 25, 0.22);
}

.viewer-control svg {
  width: 20px;
  height: 20px;
}

.viewer-panel.is-loaded .viewer-control {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.viewer-control.is-active {
  background: rgba(255, 255, 255, 0.94);
  color: #1c1b19;
  border-color: rgba(255, 255, 255, 0.94);
}

.viewer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
}

.viewer-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.viewer-frame iframe,
.viewer-shield,
.viewer-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viewer-frame iframe {
  border: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  background: transparent;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.viewer-shield {
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.viewer-shield[hidden] {
  display: none !important;
}

html:fullscreen body,
html:-webkit-full-screen body {
  overflow: hidden;
}

html:fullscreen #configurator,
html:-webkit-full-screen #configurator {
  overflow: visible;
  backdrop-filter: none;
}

html:fullscreen .viewer-panel,
html:-webkit-full-screen .viewer-panel {
  overflow: visible;
}

html:fullscreen .viewer-shell,
html:-webkit-full-screen .viewer-shell {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #000000;
  z-index: 90;
}

html:fullscreen .viewer-shell::before,
html:-webkit-full-screen .viewer-shell::before {
  display: none;
}

html:fullscreen .viewer-control,
html:-webkit-full-screen .viewer-control {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}

html:fullscreen .viewer-shield,
html:-webkit-full-screen .viewer-shield {
  display: none !important;
}

html:fullscreen .viewer-stage,
html:-webkit-full-screen .viewer-stage,
html:fullscreen .viewer-frame,
html:-webkit-full-screen .viewer-frame,
html:fullscreen .viewer-frame iframe,
html:-webkit-full-screen .viewer-frame iframe {
  width: 100%;
  height: 100%;
}

.viewer-overlay {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(213, 201, 189, 0.18), rgba(149, 130, 111, 0.24));
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.viewer-overlay[hidden] {
  display: none !important;
}

.launch-button {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1c1b19;
  color: #ffffff;
  box-shadow: 0 22px 34px rgba(47, 36, 27, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.launch-button:hover,
.launch-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 26px 40px rgba(47, 36, 27, 0.26);
}

.launch-button svg {
  width: 44px;
  height: 44px;
  transform: translateX(3px);
  overflow: visible;
}

.viewer-panel.is-loaded .viewer-overlay {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  pointer-events: none;
}

.viewer-panel.is-loaded .viewer-frame iframe {
  opacity: 1;
}

.native-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 24px 22px 22px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-top: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  flex: none;
  padding-left: 8px;
}

.footer-logo {
  width: auto;
  height: clamp(28px, 3vw, 38px);
  max-width: min(220px, 100%);
  flex: none;
  object-fit: contain;
  object-position: left center;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  color: rgba(23, 22, 19, 0.72);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.native-copy {
  padding: 2px 4px 0;
  max-width: 44rem;
}

.native-copy .eyebrow {
  margin-bottom: 10px;
}

.native-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.native-copy p:last-child {
  margin-top: 18px;
  max-width: 34rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.download-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 196px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.download-card.is-active {
  background: rgba(255, 255, 255, 0.82);
  border-color: #1c1b19;
  box-shadow:
    0 18px 36px rgba(102, 82, 61, 0.14),
    inset 0 0 0 2px #1c1b19;
}

.download-head {
  min-height: 82px;
}

.download-platform {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}

.download-platform > div {
  min-width: 0;
}

.platform-badge {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  align-self: start;
  color: #faf8f4;
  background: linear-gradient(180deg, rgba(28, 27, 25, 0.94), rgba(88, 75, 63, 0.86));
  box-shadow: 0 16px 24px rgba(28, 27, 25, 0.14);
}

.platform-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.download-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

.download-note {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.download-card .button {
  width: fit-content;
}

.download-card .button.is-disabled {
  pointer-events: none;
  cursor: default;
  box-shadow: none;
  opacity: 0.7;
}

.download-card .store-action-icon {
  width: 22px;
  height: 22px;
}

.install-trigger.is-active {
  color: #faf8f4;
  background: #1c1b19;
  border-color: transparent;
  box-shadow: 0 18px 32px rgba(28, 27, 25, 0.18);
}

.install-guide {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.install-guide-head h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.install-guide-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 48rem;
}

.install-guide-inline-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.install-guide-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text);
}

.install-guide-steps li {
  padding-left: 4px;
  line-height: 1.7;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes button-arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (min-width: 1241px) and (min-aspect-ratio: 16/9) {
  .hero-grid {
    gap: 64px;
  }

  .intro-panel {
    padding-right: 56px;
  }
}

@media (max-width: 1240px) {
  .hero-grid,
  .native-panel {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    margin-top: 10px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

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

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .viewer-panel {
    order: 1;
    padding: 0;
  }

  .intro-panel {
    order: 2;
  }
}

@media (min-width: 681px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-grid {
    gap: 24px;
  }

  .viewer-panel {
    gap: 12px;
  }

  .intro-panel {
    padding: 6px 6px 0;
  }

  .intro-copy {
    display: grid;
    gap: 18px;
    max-width: none;
  }

  .intro-panel h1 {
    max-width: none;
    font-size: clamp(2.9rem, 5.8vw, 4rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .hero-title-line {
    display: inline;
  }

  .hero-title-line + .hero-title-line::before {
    content: " ";
  }

  .lead {
    max-width: none;
    margin-top: 0;
  }

  .intro-actions {
    margin-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .viewer-panel {
    order: 1;
    padding: 0;
  }

  .intro-panel {
    order: 2;
  }

  .topbar {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .topbar-actions {
    width: auto;
    flex: none;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .intro-actions {
    width: 100%;
    flex-wrap: wrap;
  }

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

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    padding-left: 0;
  }

  .brand-logo {
    width: min(176px, 100%);
  }

  #top-dashboard,
  #top-download {
    width: 56px;
    min-width: 56px;
    padding: 0;
  }

  #top-dashboard-label,
  #top-download-label {
    display: none;
  }

  #top-dashboard .button-icon,
  #top-download .button-icon {
    width: 20px;
    height: 20px;
  }

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

  .viewer-control {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .site-footer {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .footer-brand,
  .footer-nav {
    width: auto;
    flex: none;
  }

  .footer-nav {
    margin-left: auto;
  }

  .footer-logo {
    height: 24px;
    max-width: 150px;
  }

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

  .launch-button {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(calc(100% - 14px), var(--content-width));
  }

  .topbar,
  .hero-section,
  .native-panel,
  .site-footer {
    border-radius: 26px;
  }

  .topbar,
  .hero-section,
  .native-panel,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo {
    width: min(156px, 100%);
  }

  .footer-mark {
    padding-left: 4px;
  }

  .footer-brand,
  .footer-nav {
    width: auto;
  }

  .footer-logo {
    height: 20px;
    max-width: 126px;
  }

  .viewer-overlay {
    padding: 20px;
  }

  .viewer-meta {
    gap: 8px;
    padding-left: 6px;
  }

  .viewer-meta-badge {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .viewer-meta-icon {
    width: 28px;
    height: 28px;
  }

  .viewer-meta-icon.platform-icon-web-icon {
    width: 36px;
    height: 36px;
  }

  .viewer-meta-note {
    font-size: 0.86rem;
  }
}

@media (max-width: 680px) and (orientation: portrait) {
  .hero-grid {
    gap: 20px;
  }

  .viewer-shell {
    aspect-ratio: 1920 / 1080;
  }

  .viewer-panel {
    gap: 10px;
  }

  .intro-panel {
    padding: 2px 0 0;
  }

  .intro-copy,
  .lead {
    max-width: none;
  }

  .intro-copy {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
  }

  .intro-panel h1 {
    max-width: none;
    line-height: 0.96;
    text-wrap: balance;
  }

  .hero-title-line {
    display: inline;
  }

  .hero-title-line + .hero-title-line::before {
    content: " ";
  }

  .lead {
    margin-top: 0;
  }

  .intro-actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .intro-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }
}

@media (max-width: 1240px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: minmax(232px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  .viewer-panel {
    order: 2;
    padding: 0;
    gap: 8px;
  }

  .intro-panel {
    order: 1;
    padding: 6px 4px 0 0;
    height: 100%;
  }

  .intro-copy,
  .lead {
    max-width: none;
  }

  .intro-panel h1 {
    font-size: clamp(2rem, 4.1vw, 2.9rem);
    line-height: 0.94;
  }

  .lead {
    margin-top: 14px;
    line-height: 1.55;
    font-size: 0.95rem;
  }

  .intro-actions {
    width: auto;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .intro-actions .button {
    width: 170px;
    min-width: 170px;
  }

  .viewer-shell {
    aspect-ratio: 16 / 10;
  }
}

@media (orientation: portrait) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .viewer-panel {
    order: 1;
    padding: 0;
  }

  .intro-panel {
    order: 2;
  }
}
