/* OmniSales AI landing – additions on top of TemplateMo 622 Clearwave */

:root { --shot: 340px; }

/* Safe areas (notched phones) */
.nav-inner { padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right)); }
.footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }

/* Focus and skip link */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 100px;
  font-size: .875rem; font-weight: 600; transition: top .3s var(--silk);
}
.skip-link:focus { top: 16px; }

/* Nav: language switch */
@media (min-width: 769px) { .nav-cta { display: flex; align-items: center; gap: 12px; } }
.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--accent-border); border-radius: 100px;
}
.lang-switch a {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--text-3);
  padding: 5px 10px; border-radius: 100px; transition: color .3s, background .3s;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="page"] { background: var(--accent); color: #fff; }
.lang-switch--mobile { margin: 8px 0 4px; align-self: flex-start; }
.mobile-menu .lang-switch--mobile a { font-size: .875rem; padding: 8px 16px; border: 0; }

/* Hero: quiz widget mock */
.hero-visual { width: 100%; }
.quiz-mock { width: 100%; }
.hero-float-badge { bottom: -34px; }
.hero-float-badge-2 { top: -26px; right: 28px; }
.hero-actions a { justify-content: center; }
.quiz-mock .dashboard-body { padding: 24px 24px 22px; }
.qm-progress { height: 4px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; margin-bottom: 22px; }
.qm-progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.qm-question {
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600;
  font-size: 1.6rem; line-height: 1.25; letter-spacing: -.01em; color: var(--text-1);
  margin-bottom: 18px;
}
.qm-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qm-option {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 14px; font-size: .875rem; font-weight: 600; color: var(--text-2);
}
.qm-option.is-selected {
  background: var(--accent-ghost); border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 4px rgba(26,122,110,.08);
}
.qm-icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--accent-border); color: var(--accent);
}
.qm-option.is-selected .qm-icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.qm-footer { display: flex; justify-content: flex-end; margin-top: 18px; }
.qm-next {
  font-size: .8125rem; font-weight: 600; color: #fff; background: var(--accent);
  padding: 9px 22px; border-radius: 100px;
}
.float-badge-2-val { font-variant-numeric: tabular-nums; }

/* Ticker: text only items read better with icons */
.ticker-item-icon svg { width: 16px; height: 16px; }

/* Video */
.video-section { padding: 120px 0; }
.video-section .section-sub { margin: 16px auto 0; text-align: center; }
.video-frame {
  max-width: 980px; margin: 56px auto 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--text-1); }
.video-frame p { padding: 24px; color: var(--text-2); }
.video-frame p a { color: var(--accent); text-decoration: underline; }

/* Screenshot carousel (square 1000×1000 screens) */
.carousel-stage { height: auto; }
.shot-card {
  position: absolute; padding: 0; background: none; border: 0;
  transition: transform .6s var(--silk), opacity .6s var(--silk);
  cursor: pointer; will-change: transform;
}
.shot-frame {
  display: block; padding: 6px; border-radius: 22px;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(150,175,170,.45), 0 24px 56px rgba(13,30,28,.16);
  transition: box-shadow .6s var(--silk);
}
.shot-frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 16px; background: var(--bg-alt);
}
.shot-card[data-pos="center"] { z-index: 10; cursor: zoom-in; }
.shot-card[data-pos="center"] .shot-frame {
  box-shadow: 0 0 0 1px rgba(150,175,170,.6), 0 40px 80px rgba(13,30,28,.22), 0 0 48px rgba(26,122,110,.14);
}
.shot-card[data-pos="left1"], .shot-card[data-pos="right1"] { z-index: 8; }
.shot-card[data-pos="left2"], .shot-card[data-pos="right2"] { z-index: 6; }
.shot-card[data-pos^="hidden"] { z-index: 4; pointer-events: none; }
.shot-card:focus-visible { outline: none; }
.shot-card:focus-visible .shot-frame { box-shadow: 0 0 0 3px var(--accent), 0 24px 56px rgba(13,30,28,.16); }
.carousel-controls { margin-top: 40px; }
.carousel-dot { border: 0; padding: 0; }
.carousel-counter {
  text-align: center; margin-top: 16px; font-size: .8125rem; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* Feature visuals */
.fv-add {
  border: 1.5px dashed var(--accent-border); border-radius: 10px;
  padding: 7px 10px; font-size: .78rem; font-weight: 600; color: var(--accent); text-align: center;
}
.fv-swatches { display: flex; gap: 6px; margin-top: 10px; }
.fv-swatches span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface-2); box-shadow: 0 0 0 1px var(--border); }
.fv-swatches span:nth-child(1) { background: var(--accent); }
.fv-swatches span:nth-child(2) { background: var(--accent-light); }
.fv-swatches span:nth-child(3) { background: #0D1E1C; }
.fv-swatches span:nth-child(4) { background: #E8C9A0; }
.fv-list-name { display: inline-flex; align-items: center; gap: 8px; }
.fv-thumb { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; }
.fv-thumb--1 { background: linear-gradient(135deg, #5BBFB5, #1A7A6E); }
.fv-thumb--2 { background: linear-gradient(135deg, #E8C9A0, #C9965B); }
.fv-thumb--3 { background: linear-gradient(135deg, #5A6B66, #0D1E1C); }

/* Stats: three columns */
.stats-grid.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat-value { font-variant-numeric: tabular-nums; }

/* "Also in the module" */
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.more-tile {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
  transition: border-color .4s var(--silk);
}
.more-tile:hover { border-color: var(--accent-border); }
.more-title { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: var(--text-1); margin-bottom: 8px; }
.more-desc { font-size: .875rem; line-height: 1.6; color: var(--text-2); }

/* How it works */
.steps-section { padding: 100px 0; border-top: 1px solid var(--border); }
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step-card { position: relative; padding-top: 8px; }
.step-card:not(:last-child)::after {
  content: ''; position: absolute; top: 30px; left: 64px; right: -12px;
  height: 1px; background: linear-gradient(90deg, var(--accent-border), transparent);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: 1.25rem;
  color: var(--accent); background: var(--surface-2); border: 1.5px solid var(--accent-border);
  margin-bottom: 20px;
}
.step-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.step-desc { font-size: .9rem; line-height: 1.7; color: var(--text-2); max-width: 32ch; }

/* FAQ question text wraps nicely */
.faq-question { gap: 16px; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(13,30,28,.86); backdrop-filter: blur(6px); }
.lb-figure { margin: 0; max-width: min(92vw, 92vh); text-align: center; }
.lb-figure img {
  display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain;
  border-radius: 14px; background: var(--surface-2); box-shadow: var(--shadow-lg);
}
.lb-figure figcaption { margin-top: 12px; color: rgba(255,255,255,.7); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1;
  border: 1px solid rgba(255,255,255,.2); transition: background .3s;
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { top: max(20px, env(safe-area-inset-top)); right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Footer: three link columns */
.footer-bottom { justify-content: flex-start; }

/* Responsive */
@media (max-width: 1024px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step-card::after { display: none; }
  .stats-grid.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid.stats-grid--3 .stat-card { border-bottom: none; }
}
@media (max-width: 768px) {
  .nav-inner { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .video-section { padding: 88px 0; }
  .feature-visual { aspect-ratio: auto; padding: 24px 0; }
  .feature-visual-inner { width: calc(100% - 32px); }
  .video-frame { margin-top: 40px; }
  .hero-float-badge { left: 8px; }
  .hero-float-badge-2 { right: 12px; }
  .qm-question { font-size: 1.3rem; }
  .qm-option { padding: 11px; font-size: .8125rem; }
  .stats-grid.stats-grid--3 { grid-template-columns: 1fr; }
  .stats-grid.stats-grid--3 .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid.stats-grid--3 .stat-card:last-child { border-bottom: none; }
  .lb-prev, .lb-next { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); transform: none; }
}
@media (max-width: 560px) {
  .more-grid, .steps-grid { grid-template-columns: 1fr; }
  .qm-options { grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 20px; padding: 0 20px; }
  .ticker-track > [aria-hidden="true"], .ticker-dot { display: none; }
  .hero-float-badge, .hero-float-badge-2 { animation: none; }
  .shot-card, .shot-frame { transition: none; }
}
.fv-mono { font-variant-numeric: tabular-nums; }

/* ── Problem → solution ── */
.why-section { padding: 110px 0 90px; }
.why-header { text-align: center; margin-bottom: 52px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.why-card { border-radius: var(--radius-lg); padding: 36px 34px; }
.why-card--problem { background: var(--bg-alt); border: 1px solid var(--border); }
.why-card--solution { background: var(--surface-2); border: 1px solid var(--accent-border); box-shadow: var(--shadow-md); }
.why-head { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; }
.why-card--solution .why-head { color: var(--accent); }
.why-problems { display: grid; gap: 18px; }
.why-problems li { display: flex; gap: 14px; font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.why-x {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; line-height: 1; color: #A4553F; background: rgba(164,85,63,.1);
}
.why-flow { list-style: none; display: grid; gap: 20px; }
.why-flow li { display: flex; gap: 16px; position: relative; }
.why-flow li:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 36px; bottom: -16px; width: 1px; background: var(--accent-border);
}
.why-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700;
  color: #fff; background: var(--accent);
}
.why-flow strong { display: block; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--text-1); margin-bottom: 2px; }
.why-flow p { font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.why-proof {
  margin: 28px auto 0; max-width: 760px; text-align: center;
  font-size: .9375rem; line-height: 1.7; color: var(--text-2);
}
.why-proof strong { color: var(--accent); }

/* ── Presets ── */
.presets-section { padding: 100px 0 120px; border-top: 1px solid var(--border); }
.presets-header { text-align: center; margin-bottom: 56px; }
.presets-header .section-sub { margin: 16px auto 0; }
.presets-group {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 20px;
}
.presets-group:not(:first-of-type) { margin-top: 64px; }
.q4-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: #A4553F; padding: 4px 9px; border-radius: 100px;
}
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card {
  display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px 20px; transition: border-color .4s var(--silk), transform .4s var(--silk);
}
.ind-card:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.ind-top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.ind-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-ghost); color: var(--accent);
}
.ind-icon svg { width: 22px; height: 22px; }
.ind-name { font-size: .75rem; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.ind-preset { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; color: var(--text-1); line-height: 1.25; }
.ind-label {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
}
.ind-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ind-chips li {
  font-size: .78rem; font-weight: 500; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px;
}
.ind-bundle {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--accent-border);
  font-size: .875rem; font-weight: 600; line-height: 1.5; color: var(--accent);
}
.ind-bundle .ind-label { margin-bottom: 4px; }
.ind-also { margin-top: 10px; font-size: .78rem; color: var(--text-3); line-height: 1.5; }

.season-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.season-card {
  display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.season-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.season-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.season-disc {
  flex-shrink: 0; font-size: .8125rem; font-weight: 700; color: #A4553F;
  background: rgba(164,85,63,.1); padding: 4px 10px; border-radius: 100px; font-variant-numeric: tabular-nums;
}
.season-for { font-size: .875rem; color: var(--text-3); margin: 6px 0 20px; }
.season-qs { list-style: none; counter-reset: q; display: grid; gap: 8px; margin-bottom: 22px; }
.season-qs li {
  counter-increment: q; position: relative; padding: 9px 12px 9px 40px;
  font-size: .875rem; color: var(--text-1); background: var(--bg); border-radius: 10px;
}
.season-qs li::before {
  content: 'Q' counter(q); position: absolute; left: 12px; top: 9px;
  font-size: .72rem; font-weight: 700; color: var(--accent);
}
.season-result {
  margin-top: auto; padding: 16px; border-radius: 12px;
  background: var(--accent-ghost); border: 1px solid var(--accent-border);
  font-size: .875rem; line-height: 1.6; color: var(--text-1);
}
.season-result .ind-label { color: var(--accent); margin-bottom: 4px; }
.presets-note { margin-top: 24px; text-align: center; font-size: .8125rem; color: var(--text-3); }

@media (max-width: 1024px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .season-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .why-section { padding: 80px 0 64px; }
  .presets-section { padding: 80px 0 88px; }
  .why-card { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; }
  .season-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-card { transition: none; }
  .ind-card:hover { transform: none; }
}

/* ── Presets: three ways to start ── */
.start-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.start-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
}
.start-card--ai { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.start-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.start-card--ai .ind-icon { background: rgba(255,255,255,.16); color: #fff; }
.start-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #fff; color: var(--accent); padding: 4px 10px; border-radius: 100px;
}
.start-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.start-desc { font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.start-card--ai .start-desc { color: rgba(255,255,255,.88); }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } }

/* ── Bigger cart: three levers ── */
.aov-section { padding: 100px 0 110px; border-top: 1px solid var(--border); background: var(--surface); }
.aov-header { text-align: center; margin-bottom: 56px; }
.aov-header .section-sub { margin: 16px auto 0; }
.aov-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.aov-levers { list-style: none; display: grid; gap: 30px; }
.aov-lever { display: flex; gap: 18px; }
.aov-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: 1.25rem;
  color: #fff; background: var(--accent);
}
.aov-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 6px; }
.aov-desc { font-size: .95rem; line-height: 1.7; color: var(--text-2); }
.aov-points { display: grid; gap: 6px; margin-top: 12px; }
.aov-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--text-1); }
.aov-points .check-icon { flex-shrink: 0; }
.aov-shot { margin: 0; }
.aov-shot img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--surface-2);
}
.aov-shot figcaption { margin-top: 12px; text-align: center; font-size: .8125rem; color: var(--text-3); }
@media (max-width: 960px) {
  .aov-grid { grid-template-columns: 1fr; gap: 40px; }
  .aov-shot { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) { .aov-section { padding: 80px 0 88px; } }

/* Nav: no wrapping; links go to the hamburger menu before they run out of room */
.nav-links a, .nav-cta .btn-primary { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { margin-left: auto; margin-right: 20px; }
}

/* Hero: quiz result (bundle) mock */
.rm-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--text-1); margin-bottom: 16px; }
.rm-title em { font-family: 'Playfair Display', serif; font-style: italic; color: var(--accent); }
.rm-list { display: grid; gap: 8px; margin-bottom: 16px; }
.rm-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: .875rem;
}
.rm-list .fv-thumb { width: 34px; height: 34px; border-radius: 8px; }
.rm-name { flex: 1; color: var(--text-1); font-weight: 500; }
.rm-price { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rm-total { display: flex; align-items: baseline; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.rm-old { font-size: .875rem; color: var(--text-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.rm-new { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--text-1); font-variant-numeric: tabular-nums; }
.rm-disc { font-size: .75rem; font-weight: 700; color: #A4553F; background: rgba(164,85,63,.1); padding: 3px 9px; border-radius: 100px; }
.rm-btn {
  text-align: center; padding: 13px 16px; border-radius: 100px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .9375rem;
}
@media (max-width: 768px) { .rm-title { font-size: 1.15rem; } .rm-list li { padding: 8px 10px; } .rm-btn { margin-bottom: 30px; } }

/* ── Display modes: pop-up / side panel / mobile ── */
.display-section { padding: 100px 0 110px; border-top: 1px solid var(--border); background: var(--surface); }
.display-header { text-align: center; margin-bottom: 56px; }
.display-header .section-sub { margin: 16px auto 0; }
.display-grid { display: grid; grid-template-columns: 1fr 1fr 0.62fr; gap: 24px; align-items: end; }
.dm-card { margin: 0; }
.dm-card figcaption { margin-top: 18px; font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.dm-card figcaption strong { display: block; font-size: 1.0625rem; color: var(--text-1); letter-spacing: -.02em; margin-bottom: 2px; }
.dm-screen {
  border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.dm-stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.dm-page { position: absolute; inset: 0; padding: 10px 12px; background: #fff; }
.dm-nav { height: 10px; border-radius: 4px; background: var(--bg-alt); margin-bottom: 12px; }
.dm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dm-grid span { aspect-ratio: 1 / 1.1; border-radius: 6px; background: var(--bg); }
.dm-dim { position: absolute; inset: 0; background: rgba(13,30,28,.42); }
.dm-quiz {
  position: absolute; background: #FBF9F4; display: flex; flex-direction: column;
  box-shadow: 0 18px 40px rgba(13,30,28,.28); overflow: hidden;
}
.dm-screen--popup .dm-quiz { left: 50%; top: 50%; width: 56%; height: 78%; transform: translate(-50%, -50%); border-radius: 10px; }
.dm-screen--side .dm-quiz { right: 0; top: 0; bottom: 0; width: 40%; border-radius: 10px 0 0 10px; }
.dm-qhead { height: 24%; background: linear-gradient(135deg, #1F4A3F, #0F2A23); }
.dm-qbody { padding: 9px 10px; flex: 1; display: flex; flex-direction: column; }
.dm-qline { width: 34%; height: 3px; border-radius: 2px; background: #8A2E3B; margin-bottom: 8px; }
.dm-qtitle { font-family: 'Playfair Display', serif; font-size: .78rem; line-height: 1.2; color: #14201D; margin-bottom: 8px; }
.dm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; flex: 1; }
.dm-screen--side .dm-opts { grid-template-columns: 1fr; }
.dm-opts span { border-radius: 5px; background: #fff; border: 1px solid rgba(13,30,28,.08); min-height: 14px; }
.dm-opts span.is-sel { border-color: #B8955A; box-shadow: 0 0 0 1px #B8955A inset; }
.dm-phone { display: flex; justify-content: center; }
.dm-phone img {
  width: 100%; max-width: 230px; height: auto; border-radius: 30px; background: #111;
  box-shadow: var(--shadow-lg);
}
.dm-card--phone figcaption { text-align: center; }
@media (max-width: 960px) {
  .display-grid { grid-template-columns: 1fr 1fr; }
  .dm-card--phone { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .display-grid { grid-template-columns: 1fr; }
  .display-section { padding: 80px 0 88px; }
}
