:root {
  --navy-950: #00213d;
  --navy-900: #062d4d;
  --navy-800: #154c6d;
  --navy-700: #1d6788;
  --ice-100: #fbfdfc;
  --ice-200: #edf5f7;
  --ice-300: #dfeef4;
  --ice-400: #a0e1ea;
  --slate-600: #5f7f90;
  --slate-800: #18384d;
  --accent: #f5ae51;
  --accent-strong: #e7901b;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --border: rgba(24, 56, 77, 0.12);
  --shadow: 0 20px 60px rgba(0, 33, 61, 0.12);
  --shadow-soft: 0 10px 30px rgba(0, 33, 61, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 2rem));
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-800);
  background:
    radial-gradient(circle at top, rgba(160, 225, 234, 0.28), transparent 36%),
    linear-gradient(180deg, #f8fcfd 0%, #eef6f8 52%, #f7fbfc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/brand/ocean-pattern.png") top center/640px repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(245, 174, 81, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy-950);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.eyebrow,
.card-kicker,
.floating-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-heading h2,
.hero h1,
.deck-hero-copy h1,
.cta-download-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--navy-950);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 10ch;
}

.section-heading h2,
.cta-download-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-heading p,
.hero-lead,
.platform-note,
.surface-card p,
.feature-card p,
.step-card p,
.pricing-card p,
.faq-list p,
.deck-page section p,
.footer-copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(24, 56, 77, 0.84);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 252, 253, 0.78);
  border-bottom: 1px solid rgba(24, 56, 77, 0.08);
}

.header-shell,
.footer-shell,
.hero-shell,
.cta-download-mount,
.deck-hero-shell,
.detail-summary-grid,
.detail-grid,
.steps-grid,
.feature-grid,
.intro-grid,
.pricing-grid,
.mini-deck-grid {
  display: grid;
  gap: 1.25rem;
}

.header-shell {
  grid-template-columns: auto auto;
  align-items: center;
  padding: 1rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-lockup img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-switcher select {
  min-height: 2.75rem;
  border: 1px solid rgba(24, 56, 77, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--navy-900);
  padding: 0.55rem 2.15rem 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.46rem;
  height: 0.46rem;
  border-right: 2px solid rgba(24, 56, 77, 0.72);
  border-bottom: 2px solid rgba(24, 56, 77, 0.72);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-strong);
  padding: 0.7rem 1rem;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--navy-950);
  box-shadow: 0 16px 24px rgba(245, 174, 81, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(24, 56, 77, 0.14);
  color: var(--navy-900);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 2rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 45, 77, 0.06), transparent 34%),
    radial-gradient(circle at 15% 15%, rgba(160, 225, 234, 0.5), transparent 28%);
  pointer-events: none;
}

.hero-shell,
.deck-hero-shell {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy {
  padding: 2rem 0;
}

.hero-actions,
.cta-actions,
.back-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(24, 56, 77, 0.1);
  border-radius: 999px;
  font-size: 0.92rem;
}

.platform-note {
  margin-top: 1rem;
}

.hero-media,
.deck-hero-media {
  position: relative;
}

.hero-art-frame,
.deck-banner-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(237, 245, 247, 0.9));
}

.hero-art-frame {
  transform-origin: center center;
}

.hero-art-frame > img,
.deck-banner-frame > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-art-frame > img {
  transform: scale(1.01);
}

.hero-iceberg-layer {
  position: absolute;
  inset: 0;
  background: url("../img/brand/home-iceberg-wide.png") center center / cover no-repeat;
  clip-path: inset(15% 0 0 0);
  transform: translate3d(0, 0, 0) scale(1.02);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.hero-art-overlay {
  position: absolute;
  inset: 0;
}

.floating-card {
  position: absolute;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 56, 77, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.floating-card img {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.floating-card h2,
.surface-card h3,
.feature-card h3,
.step-card h3,
.pricing-card h3,
.deck-card h3,
.mini-deck-card h3,
.detail-card h2,
.detail-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy-950);
}

.floating-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.floating-card-main {
  right: 1.25rem;
  bottom: 1.25rem;
  transform: scale(0.7);
  transform-origin: right bottom;
}

.floating-card-side {
  width: min(360px, calc(100% - 2.5rem));
  top: 1.25rem;
  right: 1.25rem;
  transform: scale(0.7);
  transform-origin: right top;
}

.surface-card,
.feature-card,
.step-card,
.pricing-card,
.detail-card,
.detail-panel,
.mini-deck-card a {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.intro-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.4rem;
  align-items: start;
}

.proof-list,
.proof-modes {
  display: grid;
  gap: 1rem;
}

.proof-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.proof-point,
.mode-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(24, 56, 77, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.proof-point h3,
.mode-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--navy-950);
}

.proof-point p,
.mode-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(24, 56, 77, 0.82);
}

.proof-panel {
  display: grid;
  gap: 1rem;
}

.proof-summary-card {
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(160, 225, 234, 0.22), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 247, 0.9));
  border: 1px solid rgba(24, 56, 77, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.proof-summary-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy-950);
}

.proof-summary-card p {
  margin: 0;
  line-height: 1.65;
  color: rgba(24, 56, 77, 0.84);
}

.proof-summary-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.proof-summary-list li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.55;
  color: rgba(24, 56, 77, 0.84);
}

.proof-summary-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal-500);
}

.mode-label {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.feature-section {
  position: relative;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(160, 225, 234, 0.28), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(24, 56, 77, 0.08);
  color: var(--navy-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-icon i {
  font-size: 1.35rem;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 56, 77, 0.08);
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--navy-900);
}

.download-heading-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-heading-brand img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}

.download-heading-brand .eyebrow {
  margin-bottom: 0.45rem;
}

.download-heading-brand h2 {
  margin-bottom: 0;
}

.feature-section::before,
.final-cta-section::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 5%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(160, 225, 234, 0.26), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem 1.2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  border: 1px solid rgba(24, 56, 77, 0.12);
  box-shadow: var(--shadow-soft);
}

.store-badge-live {
  background: #000;
  color: #fff;
}

.store-badge-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.55rem;
}

.store-badge-live .store-badge-icon {
  background: rgba(255, 255, 255, 0.12);
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
}

.store-badge-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.82;
}

.store-badge-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.deck-grid,
.pricing-grid,
.mini-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.deck-card {
  min-width: 0;
}

.mini-deck-card {
  min-width: 0;
}

.deck-card-link,
.mini-deck-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.deck-card-link-static {
  cursor: default;
}

.deck-card-art {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.deck-card-art-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(160, 225, 234, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(223, 238, 244, 0.95));
  color: var(--navy-700);
  border: 1px dashed rgba(24, 56, 77, 0.14);
}

.deck-card-art-placeholder i {
  font-size: 2rem;
}

.deck-card-art img,
.mini-deck-card img,
.pricing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-700);
}

.depth-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.8rem, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.depth-breakdown-card {
  min-width: 0;
  padding: 0.72rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 56, 77, 0.1);
  background:
    radial-gradient(circle at top right, rgba(160, 225, 234, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 26px rgba(0, 33, 61, 0.06);
}

.depth-breakdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.depth-breakdown-level {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.depth-breakdown-count {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.depth-breakdown-card h2 {
  margin: 0 0 0.28rem;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--navy-950);
}

.depth-breakdown-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(24, 56, 77, 0.76);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--navy-900);
  font-weight: 700;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding-top: 4.4rem;
}

.step-number {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(21, 76, 109, 0.12);
  color: var(--navy-900);
  font-weight: 700;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(245, 174, 81, 0.12));
}

.pricing-art {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}

.inline-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.inline-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.9rem 0 0;
}

.final-cta-section {
  padding-top: 0;
}

.deck-page .final-cta-section {
  padding-top: 2.5rem;
}

.cta-download-mount {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-download-card {
  width: min(100%, 52rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 1.2rem 1.1rem 1.1rem;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background:
    radial-gradient(circle at top right, rgba(160, 225, 234, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 247, 0.9));
  border: 1px solid rgba(24, 56, 77, 0.1);
  box-shadow: 0 18px 40px rgba(0, 33, 61, 0.1);
}

.cta-download-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.cta-download-brand img {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  box-shadow: 0 14px 24px rgba(0, 33, 61, 0.14);
}

.cta-copy {
  min-width: 0;
}

.cta-copy .eyebrow {
  margin-bottom: 0.45rem;
}

.cta-copy h2 {
  margin-bottom: 0.35rem;
}

.cta-copy p {
  margin: 0;
}

.cta-copy p:last-child {
  margin-bottom: 0;
}

.button-download-deepdeck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  white-space: nowrap;
}

.site-footer {
  padding: 0 0 3rem;
}

.footer-shell {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(24, 56, 77, 0.1);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.95rem;
  text-decoration: none;
}

.deck-page main {
  padding-bottom: 3rem;
}

.deck-hero {
  padding: 2rem 0 1rem;
}

.back-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--navy-900);
}

.deck-hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  margin-top: 0.5rem;
}

.deck-subtitle {
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(24, 56, 77, 0.86);
}

.detail-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.detail-card p,
.detail-panel p,
.mini-deck-card p {
  margin: 0;
  line-height: 1.7;
  color: rgba(24, 56, 77, 0.82);
}

.detail-grid {
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 1.5rem;
}

.detail-stack {
  display: grid;
  gap: 1.2rem;
}

.detail-panel {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.detail-panel ul,
.detail-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.detail-panel li,
.detail-card li {
  margin-bottom: 0.55rem;
  line-height: 1.65;
}

.mini-deck-grid {
  margin-top: 1.5rem;
}

.mini-deck-art {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.mini-deck-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-shell,
  .deck-hero-shell,
  .faq-shell,
  .detail-grid,
  .proof-shell {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .feature-grid,
  .steps-grid,
  .deck-grid,
  .pricing-grid,
  .detail-summary-grid,
  .mini-deck-grid,
  .footer-shell,
  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-panel {
    position: static;
  }

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

}

@media (max-width: 900px) {
  .header-shell {
    grid-template-columns: auto auto;
    padding: 0.85rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(248, 252, 253, 0.96);
    border: 1px solid rgba(24, 56, 77, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .language-switcher,
  .language-switcher select {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.5rem 0;
  }

  .shell {
    width: min(100vw - 1.25rem, 1180px);
  }

  .hero h1,
  .deck-hero-copy h1 {
    max-width: none;
  }

  .hero {
    padding: 1.25rem 0 2.5rem;
  }

  .hero-copy {
    padding: 0.75rem 0 0;
  }

  .hero-lead,
  .section-heading p,
  .surface-card p,
  .feature-card p,
  .step-card p,
  .pricing-card p,
  .faq-list p,
  .deck-page section p,
  .footer-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .meta-chip {
    font-size: 0.84rem;
    padding: 0.5rem 0.72rem;
  }

  .hero-art-frame {
    margin-top: 0.5rem;
  }

  .hero-art-frame > img,
  .deck-banner-frame > img {
    aspect-ratio: 16 / 10;
  }

  .floating-card {
    position: absolute;
    margin: 0;
    padding: 0.78rem;
    grid-template-columns: 56px 1fr;
    gap: 0.72rem;
  }

  .floating-card img {
    width: 56px;
  }

  .hero-art-overlay {
    position: absolute;
    inset: 0;
  }

  .floating-card-main {
    right: 0.7rem;
    bottom: 0.7rem;
    transform: scale(0.56);
    transform-origin: right bottom;
  }

  .floating-card-side {
    width: min(280px, calc(100% - 1.4rem));
    right: 0.7rem;
    top: 0.7rem;
    transform: scale(0.56);
    transform-origin: right top;
  }

  .intro-grid,
  .deck-grid,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .deck-card,
  .feature-card,
  .step-card,
  .pricing-card {
    padding: 1rem;
  }

  .pricing-card-featured {
    grid-column: 1 / -1;
  }

  .deck-card-art,
  .pricing-art {
    margin-bottom: 0.8rem;
  }

  .deck-card-art {
    aspect-ratio: 1 / 0.92;
  }

  .step-card {
    padding-top: 3.6rem;
  }

  .step-number {
    top: 0.95rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
  }

  .footer-shell,
  .cta-download-mount {
    grid-template-columns: 1fr;
  }

  .cta-download-card {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .button-download-deepdeck {
    width: 100%;
    min-width: 0;
  }

  .detail-summary-grid,
  .mini-deck-grid,
  .detail-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .detail-panel,
  .detail-stack > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .faq-shell {
    gap: 1rem;
  }

  .store-badge {
    min-height: 5rem;
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
  }

  .store-badge-icon {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1.35rem;
  }

  .store-badge-title {
    font-size: 1.25rem;
  }

  .pricing-art {
    aspect-ratio: 1.15 / 1;
  }

  .faq-list details {
    padding: 1rem;
  }

  .detail-summary-grid {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .section-heading h2,
  .cta-download-card h2,
  .deck-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .button {
    min-height: 3.1rem;
    padding: 0.85rem 1rem;
  }

  .deck-grid,
  .intro-grid,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .proof-list {
    gap: 0.75rem;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .detail-summary-grid,
  .mini-deck-grid,
  .detail-stack {
    gap: 0.75rem;
  }

  .floating-card {
    grid-template-columns: 50px 1fr;
    gap: 0.65rem;
  }

  .floating-card img {
    width: 50px;
  }

  .floating-card-main {
    right: 0.5rem;
    bottom: 0.5rem;
    transform: scale(0.5);
  }

  .floating-card-side {
    width: min(248px, calc(100% - 1rem));
    right: 0.5rem;
    top: 0.5rem;
    transform: scale(0.5);
  }

  .floating-card h2,
  .surface-card h3,
  .feature-card h3,
  .step-card h3,
  .pricing-card h3,
  .deck-card h3,
  .mini-deck-card h3,
  .detail-card h2,
  .detail-panel h2 {
    font-size: 1.1rem;
  }

  .detail-summary-grid,
  .mini-deck-grid,
  .detail-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-card p,
  .text-link,
  .deck-card-meta,
  .detail-meta {
    font-size: 0.82rem;
  }

  .depth-breakdown {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .depth-breakdown-card {
    padding: 0.68rem;
  }

  .language-list {
    gap: 0.38rem;
  }

  .language-chip {
    font-size: 0.76rem;
    padding: 0.34rem 0.56rem;
  }

  .store-badge {
    gap: 0.85rem;
  }

  .store-badge-label {
    font-size: 0.72rem;
  }

  .store-badge-title {
    font-size: 1.12rem;
  }

  .download-heading-brand {
    gap: 0.8rem;
    align-items: flex-start;
  }

  .download-heading-brand img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
  }

  .deck-card,
  .feature-card,
  .step-card,
  .pricing-card {
    padding: 0.9rem;
  }

  .deck-card-art {
    aspect-ratio: 1 / 0.88;
    margin-bottom: 0.7rem;
  }

  .pricing-art {
    margin-bottom: 0.7rem;
  }

  .pricing-card-featured .pricing-art {
    aspect-ratio: 2 / 1;
    max-width: 50%;
  }

  .cta-download-brand {
    gap: 0.85rem;
  }

  .cta-download-brand img {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.85rem;
  }

  .step-card {
    padding-top: 3.2rem;
  }

  .step-number {
    width: 1.85rem;
    height: 1.85rem;
    top: 0.85rem;
    left: 0.9rem;
    font-size: 0.82rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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