/* ==========================================================================
   ywo.sk – Pre-launch & SEO microsite stylesheet
   Zero cookies, zero external font/tracker requests, light & dark themes.
   ========================================================================== */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-alt: #f3f0eb;
  --border: #e5e0d8;
  --border-strong: #d4cdc3;
  --text: #25282b;
  --text-muted: #596068;
  --accent: #c43d14;
  --accent-hover: #a6320f;
  --accent-soft: rgba(196, 61, 20, 0.09);
  --accent-ring: rgba(196, 61, 20, 0.22);
  --brand-grad: linear-gradient(135deg, #ff5a36 0%, #f0663a 100%);
  --ok: #1b7f4b;
  --ok-soft: rgba(27, 127, 75, 0.1);
  --shadow-sm: 0 1px 2px rgba(37, 40, 43, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(37, 40, 43, 0.12), 0 2px 6px rgba(37, 40, 43, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-w: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151719;
    --surface: #1e2124;
    --surface-alt: #25282b;
    --border: #31353a;
    --border-strong: #434950;
    --text: #f2f4f6;
    --text-muted: #a4acb5;
    --accent: #ff7b54;
    --accent-hover: #ff9575;
    --accent-soft: rgba(255, 123, 84, 0.14);
    --accent-ring: rgba(255, 123, 84, 0.28);
    --ok: #46c982;
    --ok-soft: rgba(70, 201, 130, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 14px 36px -12px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #151719;
  --surface: #1e2124;
  --surface-alt: #25282b;
  --border: #31353a;
  --border-strong: #434950;
  --text: #f2f4f6;
  --text-muted: #a4acb5;
  --accent: #ff7b54;
  --accent-hover: #ff9575;
  --accent-soft: rgba(255, 123, 84, 0.14);
  --accent-ring: rgba(255, 123, 84, 0.28);
  --ok: #46c982;
  --ok-soft: rgba(70, 201, 130, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 36px -12px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

code {
  overflow-wrap: anywhere;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1rem;
  z-index: 100;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 820px;
}

/* Logo light/dark switching */
.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light {
    display: none;
  }
  :root:not([data-theme="light"]) .logo-dark {
    display: block;
  }
}

:root[data-theme="dark"] .logo-light {
  display: none;
}

:root[data-theme="dark"] .logo-dark {
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-left: 1px solid var(--border-strong);
  padding-left: 0.75rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nowrap {
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-alt);
  text-decoration: none;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  margin-left: 0.35rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.theme-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

/* Main */
main {
  flex: 1;
}

/* Hero */
.hero {
  padding: 4rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.hero-grid > *,
.cards-3 > *,
.cards-2 > *,
.steps-grid > *,
.cat-grid > *,
.metrics-grid > *,
.callout > *,
.footer-grid > * {
  min-width: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}

h1 {
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0 0 1.15rem;
  font-weight: 800;
  overflow-wrap: break-word;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Preview Mockup Card */
.preview-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preview-dots {
  display: inline-flex;
  gap: 6px;
}

.preview-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  display: block;
}

.preview-body {
  padding: 1.25rem;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 1rem;
}

.mock-search-query {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}

.mock-search-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.mock-product {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--bg);
}

.mock-product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.mock-product-title {
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
}

.mock-ean {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mock-price-badge {
  text-align: right;
  white-space: nowrap;
}

.mock-price-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}

.mock-price-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.mock-offers {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.mock-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
}

.mock-offer > strong {
  white-space: nowrap;
  flex-shrink: 0;
}

.mock-offer-best {
  border-color: color-mix(in srgb, var(--ok) 45%, var(--border));
}

.mock-stock {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.mock-chart {
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.mock-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mock-chart svg {
  width: 100%;
  height: 54px;
  display: block;
}

/* Metrics strip */
.metrics-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.metric {
  padding: 0.35rem 0.5rem;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.metric-value em {
  font-style: normal;
  color: var(--accent);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 800;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.section-desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.02rem;
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--bg);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Timeline / Progress steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.step-badge.done {
  background: var(--ok-soft);
  color: var(--ok);
}

.step-badge.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.step-badge.next {
  background: var(--surface-alt);
  color: var(--text-muted);
}

/* Categories list */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.cat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.cat-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

/* Callout box (E-shops) */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.75rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.callout p {
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
}

.section-alt .faq-list details {
  background: var(--bg);
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Subpages prose */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prose {
  padding: 2.75rem 0 4rem;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose strong {
  color: var(--text);
}

.prose ul {
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.code-block {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  overflow-x: auto;
  color: var(--text);
  line-height: 1.55;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.25rem 0;
}

.info-table th,
.info-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 34%;
  color: var(--text);
  font-weight: 600;
  background: var(--surface-alt);
}

.info-table td {
  color: var(--text-muted);
}

/* Articles & guides */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.article-card h3 {
  margin-bottom: 0.5rem;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.article-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
}

.note-box strong {
  color: var(--text);
}

.note-box p {
  margin: 0.35rem 0 0;
}

.note-box p:first-child {
  margin-top: 0;
}

.related-box {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* 404 Error page */
.error-section {
  padding: 5.5rem 0;
}

.error-code {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  height: 24px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-title {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .cards-3,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand-tagline {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.7rem 0;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.2rem 0.25rem;
  }

  .site-nav a {
    font-size: 0.875rem;
    padding: 0.42rem 0.6rem;
  }

  .theme-btn {
    margin-left: auto;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }

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

  .hero-grid {
    gap: 1.75rem;
  }

  .lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }

  .prose {
    padding: 2rem 0 3rem;
  }

  .cards-2,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .status-pill {
    border-radius: 12px;
    align-items: flex-start;
    font-size: 0.8125rem;
    padding: 0.45rem 0.75rem;
  }

  .status-dot {
    margin-top: 0.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .callout .btn {
    width: 100%;
    min-height: 44px;
  }

  .preview-topbar {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
  }

  .preview-body {
    padding: 0.9rem;
  }

  .mock-search {
    flex-wrap: wrap;
    padding: 0.55rem 0.75rem;
    gap: 0.45rem;
  }

  .mock-search-query {
    font-size: 0.9rem;
  }

  .mock-product {
    padding: 0.8rem;
  }

  .mock-product-head {
    flex-direction: column;
    gap: 0.45rem;
  }

  .mock-price-badge {
    text-align: left;
  }

  .mock-offer {
    font-size: 0.8125rem;
    padding: 0.45rem 0.6rem;
  }

  .metrics-grid {
    gap: 0.9rem;
  }

  .metric {
    padding: 0.2rem 0;
  }

  .metric-value {
    font-size: 1.3rem;
  }

  .metric-label {
    font-size: 0.8rem;
  }

  .card,
  .step-card,
  .callout {
    padding: 1.15rem;
  }

  .faq-list details {
    padding: 0.95rem 1.05rem;
  }

  .note-box {
    padding: 1rem 1.1rem;
  }

  .code-block {
    padding: 0.85rem 0.95rem;
    font-size: 0.82rem;
  }

  .error-section {
    padding: 3.25rem 0;
  }
}

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

  .mock-offer {
    flex-wrap: wrap;
  }
}
