@font-face {
  font-family: "Paperlogy Deck";
  src: url("/fonts/paperlogy/Paperlogy-4Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy Deck";
  src: url("/fonts/paperlogy/Paperlogy-5Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.landing-deck {
  --deck-black: #000;
  --deck-ink: #0a0a0a;
  --deck-white: #fff;
  --deck-paper: #f3f3ee;
  --deck-muted: #969690;
  --deck-orange: #ff2b00;
  --deck-dark-line: rgba(255, 255, 255, 0.2);
  --deck-light-line: rgba(10, 10, 10, 0.2);
  --deck-grid-dark: rgba(255, 255, 255, 0.06);
  --deck-grid-light: rgba(10, 10, 10, 0.07);
  min-width: 320px;
  color: var(--deck-white);
  background: var(--deck-black);
  font-family: "Paperlogy Deck", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.landing-deck::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(var(--deck-grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--deck-grid-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

.landing-deck h1,
.landing-deck h2,
.landing-deck h3,
.landing-deck .screen-card strong,
.landing-deck .preview-card strong {
  font-family: "Paperlogy Deck", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
}

.landing-deck p {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -0.02em;
}

.landing-deck[data-lang="en"],
.landing-deck[data-lang="en"] p {
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.025em;
}

.landing-deck[data-lang="en"] h1,
.landing-deck[data-lang="en"] h2,
.landing-deck[data-lang="en"] h3 {
  font-family: "Paperlogy Deck", "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-weight: 400;
}

.landing-deck .wrap {
  width: min(1440px, calc(100% - 76px));
}

/* Fixed document bar */
.landing-deck .topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: auto;
  left: 50%;
  width: calc(100% - 28px);
  max-width: 1520px;
  border: 1px solid var(--deck-dark-line);
  border-top: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.landing-deck .nav-inner {
  width: 100%;
  height: 60px;
  padding: 0 18px;
}

.landing-deck .brand,
.landing-deck .mobile-brand {
  gap: 9px;
}

.landing-deck .brand-icon,
.landing-deck .mobile-brand .brand-icon,
.landing-deck .footer-icon,
.landing-deck .final-icon,
.landing-deck .final-brand img {
  border-radius: 0;
}

.landing-deck .brand-icon {
  width: 25px;
  height: 25px;
}

.landing-deck .brand-wordmark {
  width: 64px;
}

.landing-deck .nav-actions,
.landing-deck .topbar,
.landing-deck .kicker,
.landing-deck .eyebrow,
.landing-deck .floating-pill,
.landing-deck .pill,
.landing-deck .tag,
.landing-deck .num,
.landing-deck footer {
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
}

.landing-deck .nav-actions {
  gap: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.landing-deck .nav-link,
.landing-deck .resources-menu,
.landing-deck .lang-toggle,
.landing-deck .nav-actions > .btn,
.landing-deck .nav-actions > .download-menu {
  min-height: 34px;
  border-left: 1px solid var(--deck-dark-line);
}

.landing-deck .nav-link,
.landing-deck .resources-menu > summary {
  display: inline-flex;
  padding: 0 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.66);
}

.landing-deck .lang-toggle {
  padding: 0;
  border: 0;
  border-left: 1px solid var(--deck-dark-line);
  border-radius: 0;
}

.landing-deck .lang-btn {
  min-width: 39px;
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.landing-deck .lang-btn.active {
  color: var(--deck-black);
  background: var(--deck-white);
}

.landing-deck .btn,
.landing-deck .download-btn,
.landing-deck .primary-btn,
.landing-deck .web-start-btn,
.landing-deck .mobile-primary,
.landing-deck .mobile-download-links a {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 0;
  box-shadow: none;
  font-family: "Paperlogy Deck", "SFMono-Regular", "SF Mono", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.015em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.landing-deck .nav-actions > .btn,
.landing-deck .nav-actions .download-btn {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.landing-deck .btn.primary,
.landing-deck .primary-btn {
  color: var(--deck-black);
  border-color: var(--deck-white);
  background: var(--deck-white);
}

.landing-deck .btn.primary:hover,
.landing-deck .primary-btn:hover {
  color: var(--deck-white);
  background: var(--deck-orange);
  border-color: var(--deck-orange);
}

.landing-deck .btn.ghost,
.landing-deck .web-start-btn,
.landing-deck .download-btn {
  color: var(--deck-white);
  border-color: var(--deck-dark-line);
  background: transparent;
}

.landing-deck .btn.ghost:hover,
.landing-deck .web-start-btn:hover,
.landing-deck .download-btn:hover {
  color: var(--deck-black);
  border-color: var(--deck-white);
  background: var(--deck-white);
}

.landing-deck .download-panel,
.landing-deck .resources-panel {
  top: calc(100% + 8px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: none;
}

.landing-deck .download-panel a,
.landing-deck .resources-panel a {
  padding: 14px;
  border-bottom: 1px solid var(--deck-dark-line);
  border-radius: 0;
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.landing-deck .download-panel a:last-child,
.landing-deck .resources-panel a:last-child {
  border-bottom: 0;
}

.landing-deck .download-panel a:hover,
.landing-deck .resources-panel a:hover {
  color: var(--deck-black);
  background: var(--deck-white);
}

.landing-deck .download-panel i {
  color: currentColor;
}

/* Deck cover */
.landing-deck .hero {
  min-height: max(820px, 100svh);
  padding: 128px 0 0;
  overflow: hidden;
  text-align: left;
  background-color: var(--deck-black);
  background-image:
    linear-gradient(var(--deck-grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--deck-grid-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  isolation: isolate;
}

.landing-deck .hero::after {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: -16vw;
  width: 56vw;
  height: 56vw;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(255, 255, 255, 0.018),
    0 0 0 16vw rgba(255, 255, 255, 0.011);
  content: "";
}

.landing-deck .hero-copy {
  z-index: 5;
  display: flex;
  margin: 0 auto;
  align-items: flex-start;
  justify-items: initial;
  flex-direction: column;
}

.landing-deck .eyebrow {
  display: inline-flex;
  min-height: 36px;
  margin: 0 0 clamp(42px, 8vh, 90px);
  padding-right: 14px;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--deck-dark-line);
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.landing-deck .eyebrow img,
.landing-deck .eyebrow img:first-child {
  width: 28px;
  height: 28px;
  border-radius: 0;
  transform: none;
}

.landing-deck .eyebrow .eyebrow-wordmark,
.landing-deck .eyebrow img:nth-of-type(2) {
  width: 68px;
  height: auto;
}

.landing-deck .hero h1,
.landing-deck.waas-deck h1 {
  max-width: 970px;
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.98;
  white-space: normal;
}

.landing-deck .hero .lead,
.landing-deck .lead {
  max-width: 760px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  white-space: normal;
}

.landing-deck .hero-actions {
  margin-top: 34px;
  justify-content: flex-start;
  gap: 8px;
}

.landing-deck .phone-stage {
  right: clamp(14px, 5vw, 76px);
  bottom: -108px;
  left: auto;
  width: min(48vw, 720px);
  height: 650px;
  transform: none;
}

.landing-deck .floating-pill,
.landing-deck .pill {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: none;
  backdrop-filter: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.landing-deck .pill-blue,
.landing-deck .pill-green,
.landing-deck .pill-dark {
  background: rgba(0, 0, 0, 0.9);
}

.landing-deck .phone-mockup,
.landing-deck .device-frame,
.landing-deck .card-shot,
.landing-deck .cluster-phone {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.landing-deck .hero-glow,
.landing-deck .stage-shadow {
  display: none;
}

/* Editorial sections */
.landing-deck section {
  padding: 120px 0;
  border-top: 1px solid var(--deck-dark-line);
  background-color: var(--deck-black);
  background-image:
    linear-gradient(var(--deck-grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--deck-grid-dark) 1px, transparent 1px);
  background-size: 72px 72px;
}

.landing-deck section:nth-of-type(odd) {
  color: var(--deck-ink);
  border-top-color: var(--deck-light-line);
  background-color: var(--deck-paper);
  background-image:
    linear-gradient(var(--deck-grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--deck-grid-light) 1px, transparent 1px);
}

.landing-deck .section-head {
  display: grid;
  max-width: none;
  margin: 0 0 68px;
  padding-top: 18px;
  gap: 30px 54px;
  border-top: 1px solid currentColor;
  text-align: left;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
}

.landing-deck .section-head.left {
  max-width: none;
  margin: 0 0 68px;
  text-align: left;
}

.landing-deck .section-head .kicker {
  grid-column: 1;
}

.landing-deck .section-head .section-title,
.landing-deck .section-head > .section-title:first-child {
  grid-column: 2;
}

.landing-deck .section-head .section-subtitle {
  max-width: 700px;
  margin: -10px 0 0;
  grid-column: 2;
}

.landing-deck .kicker {
  margin: 0;
  padding-top: 4px;
  color: var(--deck-orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.landing-deck .section-title,
.landing-deck .split-copy h2,
.landing-deck .wide-band h2,
.landing-deck .studio-band h2 {
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.landing-deck .section-subtitle,
.landing-deck .split-copy p,
.landing-deck .wide-band p,
.landing-deck .studio-band p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.landing-deck section:nth-of-type(odd) .section-subtitle,
.landing-deck section:nth-of-type(odd) .card-copy p,
.landing-deck section:nth-of-type(odd) .copy p,
.landing-deck section:nth-of-type(odd) .split-copy p,
.landing-deck section:nth-of-type(odd) .waas-parent p,
.landing-deck section:nth-of-type(odd) .path-card p,
.landing-deck section:nth-of-type(odd) .path-note,
.landing-deck section:nth-of-type(odd) .arch-card p,
.landing-deck section:nth-of-type(odd) .flow-step p,
.landing-deck section:nth-of-type(odd) .preview-card p {
  color: rgba(10, 10, 10, 0.6);
}

.landing-deck .feature-strip,
.landing-deck .three-grid,
.landing-deck .two-grid,
.landing-deck .architecture,
.landing-deck .path-grid,
.landing-deck .flow {
  gap: 0;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.landing-deck .feature-strip.two-up {
  max-width: none;
}

.landing-deck .panel,
.landing-deck .okto-card,
.landing-deck .flow-step {
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.landing-deck .okto-card,
.landing-deck .screen-card {
  min-height: 720px;
}

.landing-deck .okto-card.center-card {
  min-height: 720px;
}

.landing-deck .card-copy,
.landing-deck .screen-card .copy {
  padding: 34px 30px 0;
  text-align: left;
}

.landing-deck .card-copy::before,
.landing-deck .screen-card .copy::before {
  display: block;
  margin-bottom: 32px;
  color: var(--deck-orange);
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.11em;
  content: "PRODUCT SURFACE / TOOK";
}

.landing-deck .card-copy h3,
.landing-deck .screen-card h3,
.landing-deck .icon-card h3,
.landing-deck .path-card h3,
.landing-deck .arch-card h3,
.landing-deck .flow-step h3,
.landing-deck .sdk-contact h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.landing-deck .card-copy p,
.landing-deck .screen-card p {
  max-width: 360px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.landing-deck .okto-card::after,
.landing-deck .screen-card::after {
  height: 24%;
  background: linear-gradient(180deg, transparent, var(--deck-black) 86%);
}

.landing-deck section:nth-of-type(odd) .okto-card::after,
.landing-deck section:nth-of-type(odd) .screen-card::after {
  background: linear-gradient(180deg, transparent, var(--deck-paper) 86%);
}

.landing-deck .icon-card {
  min-height: 330px;
  padding: 34px;
  align-items: flex-start;
  text-align: left;
}

.landing-deck .icon-badge,
.landing-deck .concept-card i,
.landing-deck .path-card .path-icon {
  width: 58px;
  height: 58px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

.landing-deck .icon-card p,
.landing-deck .concept-card p {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.landing-deck .split-showcase {
  min-height: 720px;
  gap: 0;
  border: 1px solid currentColor;
  grid-template-columns: 0.82fr 1.18fr;
}

.landing-deck .split-copy {
  display: flex;
  padding: 48px;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid currentColor;
}

.landing-deck .feature-list {
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid currentColor;
}

.landing-deck .feature-list > span {
  min-height: 52px;
  padding: 13px 0;
  border-bottom: 1px solid var(--deck-dark-line);
  color: rgba(255, 255, 255, 0.86);
  font-family: "Paperlogy Deck", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.landing-deck .feature-list > span > span {
  display: inline;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.landing-deck section:nth-of-type(odd) .feature-list > span {
  border-color: var(--deck-light-line);
  color: rgba(10, 10, 10, 0.86);
}

.landing-deck .feature-list i {
  flex: 0 0 26px;
  border-radius: 0;
  color: var(--deck-orange);
  background: transparent;
}

.landing-deck .wide-band,
.landing-deck .studio-band,
.landing-deck .sdk-contact {
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.landing-deck .wide-band {
  width: min(1440px, calc(100% - 76px));
  margin: 0 auto;
  padding: 64px;
}

.landing-deck .wide-band .btn,
.landing-deck section:nth-of-type(odd) .btn {
  color: var(--deck-ink);
  border-color: var(--deck-ink);
}

.landing-deck .wide-band .btn:hover,
.landing-deck section:nth-of-type(odd) .btn:hover {
  color: var(--deck-white);
  background: var(--deck-ink);
}

.landing-deck .final-cta {
  padding: 140px 0;
  text-align: left;
}

.landing-deck .final-cta .wrap {
  display: grid;
  align-items: end;
  gap: 24px 56px;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
}

.landing-deck .final-cta .final-icon,
.landing-deck .final-cta .final-brand {
  margin: 0;
  grid-column: 1 / -1;
}

.landing-deck .final-cta .section-title {
  grid-column: 1;
}

.landing-deck .final-cta .section-subtitle,
.landing-deck .final-cta .hero-actions {
  grid-column: 2;
}

.landing-deck .final-cta .section-subtitle {
  margin: 0;
}

.landing-deck .final-cta .hero-actions {
  margin-top: 0;
}

/* WaaS information architecture */
.waas-deck .waas-map {
  gap: 0;
}

.waas-deck .waas-parent {
  min-height: 300px;
  padding: 48px;
  border: 1px solid currentColor;
  background: transparent;
}

.waas-deck .waas-parent h3 {
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.waas-deck .waas-parent h3 .inline-note {
  color: var(--deck-orange);
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.waas-deck .waas-parent p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.waas-deck .path-grid {
  border-top: 0;
}

.waas-deck .path-card {
  min-height: 520px;
  padding: 38px;
}

.waas-deck .path-card .path-note {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
}

.waas-deck .tag-row {
  gap: 0;
}

.waas-deck .tag {
  height: 30px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-right: 0;
  border-radius: 0;
  color: inherit;
  font-size: 11px;
  font-weight: 500;
}

.waas-deck .tag:last-child {
  border-right: 1px solid currentColor;
}

.waas-deck .arch-card {
  min-height: 300px;
  padding: 36px;
}

.waas-deck .arch-card .num,
.waas-deck .flow-step strong,
.waas-deck .preview-card > span {
  color: var(--deck-orange);
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.waas-deck .flow-step {
  min-height: 310px;
  padding: 34px;
  background: transparent;
}

.waas-deck .studio-band {
  padding: 0;
  gap: 0;
}

.waas-deck .studio-band > div:first-child {
  padding: 54px;
  border-right: 1px solid currentColor;
}

.waas-deck .studio-preview {
  gap: 0;
}

.waas-deck .preview-card {
  min-height: 180px;
  padding: 26px;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

.waas-deck .preview-card:nth-child(even) {
  border-right: 0;
}

.waas-deck .preview-card:nth-child(n + 3) {
  border-bottom: 0;
}

.waas-deck .sdk-contact {
  margin-top: 0;
  padding: 36px;
  border-top: 0;
}

/* Footer as document colophon */
.landing-deck footer {
  padding: 52px 0;
  border-top: 1px solid var(--deck-dark-line);
  background: var(--deck-black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.landing-deck .footer-inner {
  grid-template-columns: minmax(220px, 1.7fr) repeat(5, minmax(100px, 1fr));
  gap: 0;
  border-top: 1px solid var(--deck-dark-line);
  border-left: 1px solid var(--deck-dark-line);
}

.landing-deck .footer-brand,
.landing-deck .footer-column {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--deck-dark-line);
  border-bottom: 1px solid var(--deck-dark-line);
}

.landing-deck .footer-column strong {
  color: var(--deck-orange);
  font-family: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-deck .footer-column a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
}

.landing-deck .reveal {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 22px, 0);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-deck .reveal.on {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 1100px) {
  .landing-deck .phone-stage {
    right: -4vw;
    width: 54vw;
    opacity: 0.62;
  }

  .landing-deck .hero-copy {
    text-shadow: 0 2px 24px #000;
  }

  .landing-deck .feature-strip,
  .landing-deck .three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-deck .feature-strip > :last-child,
  .landing-deck .three-grid > :last-child {
    grid-column: 1 / -1;
  }

  .landing-deck .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-deck .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 760px) {
  .landing-deck .wrap,
  .landing-deck .wide-band {
    width: min(100% - 28px, 1440px);
  }

  .landing-deck .topbar {
    width: 100%;
    border-right: 0;
    border-left: 0;
    background: rgba(0, 0, 0, 0.96);
  }

  .landing-deck .nav-inner {
    height: 62px;
    padding: 0 14px;
  }

  .landing-deck .mobile-menu-toggle,
  .landing-deck .mobile-menu-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--deck-dark-line);
    border-radius: 0;
    font-size: 21px;
  }

  .landing-deck .brand {
    margin-left: 0;
  }

  .landing-deck .mobile-menu {
    background-color: var(--deck-black);
    background-image:
      linear-gradient(var(--deck-grid-dark) 1px, transparent 1px),
      linear-gradient(90deg, var(--deck-grid-dark) 1px, transparent 1px);
    background-size: 72px 72px;
  }

  .landing-deck .mobile-menu-top {
    height: 62px;
    border-bottom-color: var(--deck-dark-line);
  }

  .landing-deck .mobile-menu-panel {
    gap: 0;
    padding: 42px 14px 28px;
  }

  .landing-deck .mobile-menu-panel > a,
  .landing-deck .mobile-resources {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--deck-dark-line);
    font-family: "Paperlogy Deck", sans-serif;
    font-size: 20px;
    font-weight: 400;
  }

  .landing-deck .mobile-menu-panel .lang-toggle {
    margin-top: 24px;
    border: 1px solid var(--deck-dark-line);
  }

  .landing-deck .mobile-download-links {
    gap: 0;
  }

  .landing-deck .hero {
    min-height: 850px;
    padding-top: 104px;
  }

  .landing-deck .hero::after {
    top: 22%;
    right: -45vw;
    width: 100vw;
    height: 100vw;
  }

  .landing-deck .eyebrow {
    margin-bottom: 58px;
  }

  .landing-deck .hero h1,
  .landing-deck.waas-deck h1 {
    max-width: 560px;
    font-size: clamp(44px, 13.2vw, 68px);
    line-height: 0.99;
  }

  .landing-deck .hero .lead,
  .landing-deck .lead {
    max-width: 480px;
    margin-top: 24px;
    font-size: 14px;
  }

  .landing-deck .phone-stage {
    right: -24vw;
    bottom: -148px;
    width: 100vw;
    height: 480px;
    opacity: 0.46;
  }

  .landing-deck .floating-pill,
  .landing-deck .pill {
    display: none;
  }

  .landing-deck section,
  .landing-deck .compact-section {
    padding: 86px 0;
  }

  .landing-deck .section-head,
  .landing-deck .section-head.left {
    margin-bottom: 42px;
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .landing-deck .section-head .kicker,
  .landing-deck .section-head .section-title,
  .landing-deck .section-head > .section-title:first-child,
  .landing-deck .section-head .section-subtitle {
    grid-column: 1;
  }

  .landing-deck .section-head .section-subtitle {
    margin-top: 2px;
  }

  .landing-deck .section-title,
  .landing-deck .compact-section .section-title,
  .landing-deck .split-copy h2,
  .landing-deck .wide-band h2,
  .landing-deck .studio-band h2 {
    font-size: clamp(36px, 10.5vw, 54px);
  }

  .landing-deck .feature-strip,
  .landing-deck .feature-strip.two-up,
  .landing-deck .three-grid,
  .landing-deck .two-grid,
  .landing-deck .architecture,
  .landing-deck .path-grid,
  .landing-deck .flow {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
    grid-template-columns: 1fr;
  }

  .landing-deck .feature-strip > :last-child,
  .landing-deck .three-grid > :last-child {
    grid-column: auto;
  }

  .landing-deck .okto-card,
  .landing-deck .okto-card.center-card,
  .landing-deck .screen-card {
    width: auto;
    min-width: 0;
    min-height: 650px;
  }

  .landing-deck .card-copy,
  .landing-deck .screen-card .copy {
    padding: 28px 24px 0;
  }

  .landing-deck .split-showcase,
  .waas-deck .waas-parent,
  .waas-deck .studio-band {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .landing-deck .split-copy,
  .waas-deck .studio-band > div:first-child {
    padding: 34px 24px;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .landing-deck .phone-cluster {
    min-height: 560px;
  }

  .landing-deck .wide-band {
    padding: 36px 24px;
  }

  .landing-deck .final-cta {
    padding: 92px 0;
  }

  .landing-deck .final-cta .wrap {
    display: block;
  }

  .landing-deck .final-cta .final-icon,
  .landing-deck .final-cta .final-brand {
    margin-bottom: 28px;
  }

  .landing-deck .final-cta .section-subtitle {
    margin-top: 22px;
  }

  .landing-deck .final-cta .hero-actions {
    margin-top: 28px;
  }

  .waas-deck .waas-parent {
    padding: 32px 24px;
  }

  .waas-deck .path-card,
  .waas-deck .arch-card,
  .waas-deck .flow-step,
  .waas-deck .sdk-contact {
    min-height: 0;
    padding: 28px 24px;
  }

  .waas-deck .preview-card {
    min-height: 150px;
    border-right: 0;
  }

  .waas-deck .preview-card:nth-child(n + 3) {
    border-bottom: 1px solid currentColor;
  }

  .waas-deck .preview-card:last-child {
    border-bottom: 0;
  }

  .landing-deck .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .landing-deck .footer-brand {
    min-height: 150px;
    grid-column: 1 / -1;
    align-items: flex-start;
    text-align: left;
  }

  .landing-deck .footer-column {
    min-height: 170px;
    align-items: flex-start;
    text-align: left;
  }
}

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

  .landing-deck .reveal,
  .landing-deck .phone-mockup {
    animation: none;
    transition: none;
  }
}
