/* ============================================================
   SnapSave – Design System & Custom CSS
   Mirrors the Tailwind v4 @theme + :root from the React build.
   Tailwind v3 Play CDN handles generic utilities; this file
   provides the semantic-color layer and opacity variants.
   ============================================================ */

/* Override Tailwind's max-w-6xl (1152px) to 1200px site-wide */
.max-w-6xl { max-width: 1200px !important; }

/* ---------- CSS Custom Properties (design tokens) ---------- */
:root {
  --radius: 0.625rem;
  --background:          oklch(0.99 0.01 200);
  --foreground:          oklch(0.18 0.03 240);
  --card:                oklch(1 0 0);
  --card-foreground:     oklch(0.18 0.03 240);
  --popover:             oklch(1 0 0);
  --popover-foreground:  oklch(0.18 0.03 240);
  --primary:             oklch(0.93 0.18 95);
  --primary-foreground:  oklch(0.15 0.05 240);
  --secondary:           oklch(0.96 0.02 195);
  --secondary-foreground:oklch(0.25 0.05 220);
  --muted:               oklch(0.96 0.015 220);
  --muted-foreground:    oklch(0.5 0.03 240);
  --accent:              oklch(0.97 0.06 95);
  --accent-foreground:   oklch(0.15 0.05 240);
  --destructive:         oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border:              oklch(0.9 0.03 195);
  --input:               oklch(0.9 0.03 195);
  --ring:                oklch(0.93 0.18 95);
  --gradient-bg:         linear-gradient(135deg, oklch(0.99 0.01 100) 0%, oklch(0.98 0.02 95) 50%, oklch(0.97 0.03 90) 100%);
  --gradient-primary:    linear-gradient(135deg, oklch(0.828 0.189 84.429), oklch(0.769 0.188 70.08));
}

/* ---------- Base ---------- */
*, *::before, *::after { border-color: var(--border); box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

/* ---------- Semantic colour utilities (used by Tailwind class names in markup) ---------- */
.bg-background        { background-color: var(--background); }
.text-foreground      { color: var(--foreground); }
.bg-card              { background-color: var(--card); }
.text-card-foreground { color: var(--card-foreground); }
.bg-primary           { background-color: var(--primary); }
.text-primary         { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.border-primary       { border-color: var(--primary); }
.bg-secondary         { background-color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.bg-muted             { background-color: var(--muted); }
.text-muted-foreground{ color: var(--muted-foreground); }
.bg-accent            { background-color: var(--accent); }
.text-accent-foreground { color: var(--accent-foreground); }
.bg-destructive       { background-color: var(--destructive); }
.text-destructive     { color: var(--destructive); }
.border-destructive   { border-color: var(--destructive); }
.bg-input             { background-color: var(--input); }
.border-border        { border-color: var(--border); }
.border-input         { border-color: var(--input); }
.ring-ring            { outline-color: var(--ring); }

/* ---------- Opacity / alpha variants ---------- */
/* Header border */
.border-border\/40 { border-color: oklch(0.9 0.03 195 / 40%); }
/* Header bg backdrop */
.bg-background\/60 { background-color: oklch(0.99 0.01 200 / 60%); }
/* Hero icon border */
.border-primary\/20 { border-color: oklch(0.93 0.18 95 / 20%); }
/* Card bg */
.bg-card\/70  { background-color: oklch(1 0 0 / 70%); }
.bg-card\/80  { background-color: oklch(1 0 0 / 80%); }
/* Gradient bg */
.bg-gradient  { background: var(--gradient-bg); }
/* Step-card + FAQ borders */
.border-primary\/15 { border-color: oklch(0.93 0.18 95 / 15%); }
/* Copy button border */
.border-primary\/30 { border-color: oklch(0.93 0.18 95 / 30%); }
/* Result card border */
.border-primary\/20 { border-color: oklch(0.93 0.18 95 / 20%); }
/* Error states */
.bg-destructive\/10  { background-color: oklch(0.577 0.245 27.325 / 10%); }
.border-destructive\/40 { border-color: oklch(0.577 0.245 27.325 / 40%); }
/* FAQ divider */
.divide-border\/60 > * + * { border-color: oklch(0.9 0.03 195 / 60%); }
/* FAQ open bg */
.details-open-accent { background-color: oklch(0.97 0.06 95 / 30%); }

/* ---------- Gradient utility ---------- */
.bg-gradient-primary   { background: var(--gradient-primary); }
.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Border-radius utilities (Tailwind v4 extras) ---------- */
.rounded-sm  { border-radius: calc(var(--radius) - 4px); }
.rounded-md  { border-radius: calc(var(--radius) - 2px); }
.rounded-lg  { border-radius: var(--radius); }
.rounded-xl  { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: calc(var(--radius) + 8px); }
.rounded-3xl { border-radius: calc(var(--radius) + 12px); }

/* ---------- Logo icon wrap ---------- */
.logo-icon-wrap {
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px -3px oklch(0.769 0.188 70.08 / 50%);
}
.logo-icon-wrap:hover { transform: scale(1.08); box-shadow: 0 6px 18px -4px oklch(0.769 0.188 70.08 / 65%); }

/* ---------- Header Download CTA — high style ---------- */
@keyframes hd-beam {
  0%   { transform: translateX(-120%) skewX(-20deg); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateX(220%)  skewX(-20deg); opacity: 0; }
}
@keyframes hd-nudge {
  0%,55%,100% { transform: translateY(0); }
  70%          { transform: translateY(3px); }
  85%          { transform: translateY(1px); }
}
.header-dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: .75rem;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429) 0%, oklch(0.75 0.19 65) 100%);
  box-shadow: 0 4px 14px -4px oklch(0.769 0.188 70.08 / 60%),
              inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.header-dl-btn:hover  {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px oklch(0.769 0.188 70.08 / 70%),
              inset 0 1px 0 rgba(255,255,255,.25);
}
.header-dl-btn:active { transform: translateY(0); }

/* Icon pill on the left */
.header-dl-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: .28rem;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  transition: background .2s;
}
.header-dl-btn:hover .header-dl-icon-wrap { background: rgba(255,255,255,.26); }

.header-dl-arrow {
  width: 1rem; height: 1rem;
  animation: hd-nudge 2.2s ease-in-out infinite;
}
.header-dl-btn:hover .header-dl-arrow { animation: none; transform: translateY(2px); }

/* Label */
.header-dl-label {
  padding: 0 1rem 0 .6rem;
  line-height: 1;
}

/* Beam sweep (runs once on load, repeats every ~4 s) */
.header-dl-beam {
  position: absolute;
  inset-block: 0;
  left: 0; width: 45%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  animation: hd-beam 1s ease-out 0.6s forwards,
             hd-beam 1s ease-out 4.6s infinite;
}

/* ---------- Animation (shimmer on Download button) ---------- */
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.btn-download .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
  pointer-events: none;
}
.btn-download:hover .shimmer  { transform: translateX(100%); }
.btn-download:hover            { transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04); }
.btn-download:active           { transform: translateY(0); }
.btn-download:disabled         { opacity: 0.6; }

/* Download icon nudge on hover */
.btn-download:hover .dl-icon   { transform: translateY(2px); }
.dl-icon                        { transition: transform 0.3s; }

/* ---------- Spinner ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 1rem; height: 1rem;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 9999px;
  animation: spin 0.75s linear infinite;
}

/* ---------- FAQ details chevron ---------- */
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { display: inline-block; transition: transform 0.2s; margin-right: 0.5rem; }
.faq-item[open] .faq-chevron { transform: rotate(90deg); }
.faq-item[open] { background-color: oklch(0.97 0.06 95 / 30%); }

/* ---------- Backdrop blur (Tailwind v3 has it but let's be safe) ---------- */
.backdrop-blur   { -webkit-backdrop-filter: blur(8px);  backdrop-filter: blur(8px); }
.backdrop-blur-sm{ -webkit-backdrop-filter: blur(4px);  backdrop-filter: blur(4px); }

/* ============================================================
   Navigation – desktop links + mobile drawer
   ============================================================ */

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: .875rem;
  font-weight: 500;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover       { color: var(--foreground); background: var(--accent); }
.nav-link--active     { color: var(--foreground); background: oklch(0.828 0.189 84.429 / 10%); }
.nav-icon             { width: .9rem; height: .9rem; flex-shrink: 0; }

/* Hamburger button */
.nav-hamburger {
  background: none;
  border: 1px solid oklch(0.9 0.03 195);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
}

/* Mobile nav drawer */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid transparent;
}
.mobile-nav.open {
  max-height: 300px;
  border-color: oklch(0.9 0.03 195 / 40%);
}
.mobile-nav-link {
  display: block;
  padding: .75rem 1.25rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color .15s, background .15s;
}
.mobile-nav-link:hover      { color: var(--foreground); background: var(--accent); }
.mobile-nav-link--active    { color: var(--foreground); }

/* ============================================================
   DP result card
   ============================================================ */

.dp-card {
  background: #fff;
  border: 1px solid oklch(0.93 0.18 95 / 20%);
  border-radius: calc(0.625rem + 8px);
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.12);
  text-align: center;
}

/* Square image area with avatar circle */
.dp-img-wrap {
  background: linear-gradient(135deg, oklch(0.97 0.04 95) 0%, oklch(0.98 0.02 85) 100%);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  justify-content: center;
}

.dp-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 30px -8px rgba(0,0,0,.25),
              0 0 0 3px oklch(0.828 0.189 84.429 / 30%);
}

/* Meta (username + badge) */
.dp-meta {
  padding: 0.75rem 1.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dp-username-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.dp-ghost { font-size: 1.1rem; flex-shrink: 0; }
.dp-username-text {
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-public-badge {
  flex-shrink: 0;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: oklch(0.828 0.189 84.429);
  border: 1.5px solid oklch(0.828 0.189 84.429 / 50%);
  border-radius: 4px;
  padding: 2px 7px;
  background: oklch(0.828 0.189 84.429 / 8%);
  white-space: nowrap;
}

/* ============================================================
   Story page – chips, format cards
   ============================================================ */

.story-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  background: oklch(0.828 0.189 84.429 / 12%);
  color: oklch(0.769 0.188 70.08);
  border: 1px solid oklch(0.828 0.189 84.429 / 30%);
  white-space: nowrap;
}

.story-format-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: calc(0.625rem + 4px);
  border: 1px solid oklch(0.93 0.18 95 / 15%);
  background: oklch(1 0 0 / 80%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.06);
}
.story-format-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: oklch(0.828 0.189 84.429);
}
.story-format-label {
  margin: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--foreground);
}
.story-format-example {
  margin: 2px 0 0;
  font-size: .72rem;
  color: var(--muted-foreground);
  font-family: monospace;
  word-break: break-all;
}

/* ============================================================
   Photo page – preview, feature cards
   ============================================================ */

/* Full-width photo preview inside result card */
.photo-preview-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 520px;
  overflow: hidden;
}
.photo-preview-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 14px 14px 0 0;
  display: block;
}

/* Feature cards grid */
.photo-feature-card {
  padding: 1.25rem;
  border-radius: calc(0.625rem + 8px);
  border: 1px solid oklch(0.93 0.18 95 / 15%);
  background: oklch(1 0 0 / 80%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.06);
  text-align: left;
}
.photo-feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: oklch(0.828 0.189 84.429 / 12%);
  color: oklch(0.828 0.189 84.429);
  margin-bottom: .75rem;
}
.photo-feature-title {
  margin: 0 0 .3rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--foreground);
}
.photo-feature-desc {
  margin: 0;
  font-size: .8rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ============================================================
   Reels page – vertical video player
   ============================================================ */

/* Centered vertical-video player area */
.reels-player-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

/* Vertical (9:16) reel video — centred, letterboxed */
.reels-video-el {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 600px;
  border-radius: 14px 14px 0 0;
  background: #000;
  /* Constrain to roughly a phone-screen aspect ratio */
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

/* Fallback thumbnail (photo-only Reel) */
.reels-thumb-img {
  width: auto;
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  border-radius: 14px 14px 0 0;
}

/* ---------- Line-clamp (Tailwind v3 plugin – replicate here) ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Hover: bg-accent ---------- */
.hover\:bg-accent:hover { background-color: var(--accent); }

/* ---------- Input outline reset ---------- */
.outline-none { outline: none; }

/* ---------- Aspect-ratio (for older Safari) ---------- */
.aspect-video { aspect-ratio: 16 / 9; }

/* ---------- Video result visibility ---------- */
#result-card { display: none; }
#result-card.visible { display: block; }
#error-box   { display: none; }
#error-box.visible   { display: block; }
#loading-state{ display: none; }

/* ============================================================
   Result card – reference-style redesign (amber, not pink)
   ============================================================ */

.result-card-wrap {
  background: #fff;
  border: 1px solid oklch(0.93 0.18 95 / 20%);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.12);
}

/* Media wrapper – no aspect-ratio lock so portrait/landscape both look good */
.result-media-wrap {
  background: #000;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-media-wrap video,
.result-media-wrap img {
  max-height: 420px;
}

/* Info body */
.result-info-body {
  padding: 1rem 1.25rem 1.25rem;
}

/* Title row */
.result-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.result-title-left  { flex: 1; min-width: 0; }
.result-title-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-top: 2px;
}

/* Title text */
.result-title-text {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* HD badge */
.result-hd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
  color: oklch(0.828 0.189 84.429);
  font-size: .78rem;
  font-weight: 600;
}

/* VIDEO tag */
.result-video-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: oklch(0.828 0.189 84.429);
  border: 1.5px solid oklch(0.828 0.189 84.429 / 50%);
  border-radius: 4px;
  padding: 1px 6px;
  background: oklch(0.828 0.189 84.429 / 8%);
  white-space: nowrap;
}

/* Copy icon button */
.result-copy-icon {
  background: none;
  border: 1px solid oklch(0.9 0.03 195);
  border-radius: 6px;
  padding: 5px 7px;
  cursor: pointer;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1;
}
.result-copy-icon:hover:not(:disabled) {
  color: oklch(0.828 0.189 84.429);
  border-color: oklch(0.828 0.189 84.429 / 60%);
  background: oklch(0.828 0.189 84.429 / 6%);
}
.result-copy-icon:disabled { opacity: .4; cursor: default; }
.result-copy-icon.copied {
  color: oklch(0.55 0.15 145);
  border-color: oklch(0.55 0.15 145 / 50%);
  background: oklch(0.55 0.15 145 / 8%);
}

/* Description */
.result-desc-text {
  margin: .45rem 0 0;
  font-size: .8125rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Download options section */
.result-dl-section { margin-top: 1.1rem; }

.result-dl-label {
  margin: 0 0 .55rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted-foreground);
}

.result-dl-btns {
  display: flex;
  gap: .625rem;
}

/* Shared button base */
.result-dl-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.result-dl-btn:hover  { opacity: .9; transform: translateY(-1px); }
.result-dl-btn:active { transform: translateY(0); opacity: 1; }

/* Dark – thumbnail */
.result-dl-btn--dark {
  background: oklch(0.18 0.03 240);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.35);
}
.result-dl-btn--dark:hover { box-shadow: 0 6px 18px -4px rgba(0,0,0,.45); }

/* Amber gradient – video HD */
.result-dl-btn--amber {
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429) 0%, oklch(0.769 0.188 70.08) 100%);
  color: oklch(0.15 0.05 240);
  box-shadow: 0 4px 18px -4px oklch(0.769 0.188 70.08 / 55%);
}
.result-dl-btn--amber:hover { box-shadow: 0 6px 22px -4px oklch(0.769 0.188 70.08 / 65%); }

/* Stack buttons vertically on very small screens */
@media (max-width: 420px) {
  .result-dl-btns { flex-direction: column; }
  .result-dl-btn  { width: 100%; }
}

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.wc-section {
  padding: 4rem 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.wc-header { text-align: center; margin-bottom: 2.5rem; }
.wc-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: oklch(0.769 0.188 70.08);
  background: oklch(0.828 0.189 84.429 / 12%);
  border: 1px solid oklch(0.828 0.189 84.429 / 30%);
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: .85rem;
}
.wc-badge svg { flex-shrink: 0; }
.wc-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
  margin: 0 0 .75rem;
}
@media (min-width: 640px) { .wc-title { font-size: 2.4rem; } }
.wc-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.wc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .wc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wc-grid { grid-template-columns: 1fr; }
}
.wc-card {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem 1.1rem;
  transition: transform .22s, box-shadow .22s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 1.2rem 1.2rem 0 0;
}
.wc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(0,0,0,.12); }
.wc-icon-wrap {
  width: 2.8rem; height: 2.8rem;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.wc-icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.wc-icon--amber { background: linear-gradient(135deg,oklch(0.828 0.189 84.429),oklch(0.769 0.188 70.08)); color:#fff; }
.wc-icon--amber ~ * + .wc-card::before,
.wc-card:has(.wc-icon--amber)::before { background: linear-gradient(90deg,oklch(0.828 0.189 84.429),oklch(0.769 0.188 70.08)); }
.wc-icon--green  { background: linear-gradient(135deg,#34d399,#059669); color:#fff; }
.wc-icon--blue   { background: linear-gradient(135deg,#60a5fa,#2563eb); color:#fff; }
.wc-icon--purple { background: linear-gradient(135deg,#a78bfa,#7c3aed); color:#fff; }
.wc-icon--rose   { background: linear-gradient(135deg,#fb7185,#e11d48); color:#fff; }
.wc-card-title { font-size: .97rem; font-weight: 700; color: var(--foreground); margin: 0 0 .4rem; }
.wc-card-desc  { font-size: .84rem; line-height: 1.65; color: var(--muted-foreground); margin: 0 0 .85rem; flex: 1; }
.wc-card-stat  {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 700;
  color: oklch(0.769 0.188 70.08);
  background: oklch(0.828 0.189 84.429 / 10%);
  padding: .2rem .6rem;
  border-radius: 2rem;
}
.wc-card-stat svg { flex-shrink: 0; }

/* ============================================================
   SEO ARTICLE
   ============================================================ */
.seo-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}
.sa-section { margin-bottom: 3.5rem; }

/* H2 */
.sa-h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid oklch(0.828 0.189 84.429 / 22%);
}
@media (min-width: 640px) { .sa-h2 { font-size: 1.75rem; } }
.sa-h2-icon {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: .55rem;
  background: var(--gradient-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sa-h2-icon svg { width: 1rem; height: 1rem; }

/* Paragraph */
.sa-p { font-size: .96rem; line-height: 1.82; color: var(--muted-foreground); margin: 0 0 .9rem; }
.sa-p strong { color: var(--foreground); }

/* Info strip */
.sa-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .7rem;
  margin-top: 1.4rem;
}
.sa-info-item {
  display: flex; align-items: center; gap: .55rem;
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: .75rem;
  padding: .6rem .9rem;
  font-size: .83rem;
  color: var(--muted-foreground);
}
.sa-info-item strong { color: var(--foreground); }
.sa-info-icon {
  flex-shrink: 0;
  width: 1.4rem; height: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  color: oklch(0.769 0.188 70.08);
}
.sa-info-icon svg { width: 1rem; height: 1rem; }

/* Steps row */
.sa-steps-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.sa-step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: oklch(0.828 0.189 84.429);
  font-weight: 700;
  padding: 0 .25rem;
  flex-shrink: 0;
}
@media (max-width: 700px) { .sa-step-arrow { display: none; } }
.sa-step-card {
  flex: 1;
  min-width: 180px;
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 1.2rem 1.1rem;
  text-align: center;
  position: relative;
}
.sa-step-num {
  position: absolute;
  top: -1px; left: -1px;
  width: 2rem; height: 2rem;
  border-radius: 1.1rem 0 .6rem 0;
  background: var(--gradient-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sa-step-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 15%), oklch(0.769 0.188 70.08 / 10%));
  color: oklch(0.769 0.188 70.08);
  display: flex; align-items: center; justify-content: center;
  margin: .85rem auto .5rem;
}
.sa-step-icon svg { width: 1.25rem; height: 1.25rem; }
.sa-step-title { font-size: .95rem; font-weight: 700; color: var(--foreground); margin: 0 0 .4rem; }
.sa-step-desc  { font-size: .83rem; line-height: 1.65; color: var(--muted-foreground); margin: 0; }
.sa-step-img {
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  margin-top: 1rem;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  border: 1px solid oklch(0.9 0.03 195 / 60%);
}
.sa-step-img-wrap {
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: .6rem;
  aspect-ratio: 9/16;
  background: oklch(0.96 0.015 220);
}
.sa-step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Tip box */
.sa-tip-box {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: oklch(0.828 0.189 84.429 / 8%);
  border: 1px solid oklch(0.828 0.189 84.429 / 30%);
  border-radius: .85rem;
  padding: .9rem 1.1rem;
  margin-top: 1.25rem;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.sa-tip-box p { margin: 0; }
.sa-tip-box strong { color: var(--foreground); }
.sa-tip-label {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .35rem;
  font-weight: 700;
  color: oklch(0.769 0.188 70.08);
  white-space: nowrap;
}

/* Feature grid */
.sa-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 900px) { .sa-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sa-feature-grid { grid-template-columns: 1fr; } }
.sa-feature-box {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 2.5rem;
  transition: transform .2s, box-shadow .2s;
}
.sa-feature-box:hover { transform: translateY(-3px); box-shadow: 0 8px 24px -6px rgba(0,0,0,.1); }
.sa-fb-top { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.sa-fb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  color: oklch(0.769 0.188 70.08);
}
.sa-fb-icon svg { width: 1.4rem; height: 1.4rem; }
.sa-fb-title { font-size: 1rem; font-weight: 700; color: var(--foreground); }
.sa-fb-desc { font-size: .88rem; line-height: 1.72; color: var(--muted-foreground); margin: 0; }

/* Content type cards */
.sa-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 900px) { .sa-type-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sa-type-cards { grid-template-columns: 1fr; } }
.sa-type-card {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  transition: transform .2s, box-shadow .2s;
}
.sa-type-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -4px rgba(0,0,0,.09); }
.sa-tc-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: .1rem; }
.sa-tc-body { flex: 1; }
.sa-tc-title { font-size: .92rem; font-weight: 700; color: var(--foreground); margin: 0 0 .3rem; }
.sa-tc-desc  { font-size: .82rem; line-height: 1.6; color: var(--muted-foreground); margin: 0 0 .5rem; }
.sa-tc-link  {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 700;
  color: oklch(0.769 0.188 70.08);
  text-decoration: none;
}
.sa-tc-link svg { flex-shrink: 0; }
.sa-tc-link:hover { text-decoration: underline; }

/* Device row */
.sa-device-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 768px) {
  .sa-device-row { grid-template-columns: 1fr; }
}
.sa-device-box {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  overflow: hidden;
}
.sa-db-header {
  display: flex; align-items: center; gap: .6rem;
  background: oklch(0.97 0.01 200);
  padding: .7rem 1rem;
  font-size: .87rem;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: 1px solid oklch(0.9 0.03 195 / 70%);
}
.sa-db-os-icon { font-size: 1.1rem; }
.sa-db-steps {
  margin: 0;
  padding: .85rem 1rem .85rem 1.8rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.sa-db-steps li { font-size: .84rem; line-height: 1.6; color: var(--muted-foreground); }
.sa-db-steps li strong { color: var(--foreground); }
.sa-db-alt {
  padding: .55rem 1rem .75rem;
  font-size: .78rem;
  font-style: italic;
  color: oklch(0.769 0.188 70.08);
  border-top: 1px dashed oklch(0.828 0.189 84.429 / 30%);
}

/* FAQ */
.sa-faq-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.25rem; }
.sa-faq-item {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  overflow: hidden;
}
.sa-faq-q {
  display: flex; align-items: center; gap: .55rem;
  padding: .85rem 1.1rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--foreground);
  background: oklch(0.975 0.008 100);
  border-bottom: 1px solid oklch(0.9 0.03 195 / 60%);
}
.sa-faq-q svg { flex-shrink: 0; color: oklch(0.769 0.188 70.08); }
.sa-faq-a {
  padding: .8rem 1.1rem;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

/* Tips */
.sa-tips-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.sa-tip-card {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem;
  position: relative;
}
.sa-tip-num {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: oklch(0.769 0.188 70.08);
  background: oklch(0.828 0.189 84.429 / 12%);
  padding: .15rem .5rem;
  border-radius: .35rem;
  margin-bottom: .55rem;
}
.sa-tip-title { font-size: .93rem; font-weight: 700; color: var(--foreground); margin: 0 0 .4rem; }
.sa-tip-desc  { font-size: .84rem; line-height: 1.68; color: var(--muted-foreground); margin: 0; }
.sa-tip-desc code {
  background: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .82em;
}

/* Closing CTA */
.sa-closing-box {
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 10%), oklch(0.769 0.188 70.08 / 7%));
  border: 1.5px solid oklch(0.828 0.189 84.429 / 35%);
  border-radius: 1.4rem;
  padding: 2.5rem 2rem;
  text-align: center;
}
.sa-closing-icon { display: none; }
.sa-closing-svg {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.sa-closing-svg svg { width: 1.6rem; height: 1.6rem; }
.sa-closing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 .75rem;
}
@media (min-width: 640px) { .sa-closing-title { font-size: 1.8rem; } }
.sa-closing-desc {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto 1.4rem;
}
.sa-closing-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.sa-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem;
  font-weight: 700;
  color: oklch(0.769 0.188 70.08);
  background: oklch(0.828 0.189 84.429 / 13%);
  border: 1px solid oklch(0.828 0.189 84.429 / 30%);
  padding: .3rem .85rem;
  border-radius: 2rem;
}

/* ── Reason grid */
.sa-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 900px) { .sa-reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sa-reason-grid { grid-template-columns: 1fr; } }
.sa-reason-item {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem;
  transition: transform .2s, box-shadow .2s;
}
.sa-reason-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -6px rgba(0,0,0,.09); }
.sa-ri-icon {
  flex-shrink: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: .6rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 15%), oklch(0.769 0.188 70.08 / 10%));
  display: flex; align-items: center; justify-content: center;
  color: oklch(0.769 0.188 70.08);
}
.sa-ri-icon svg { width: 1rem; height: 1rem; }
.sa-ri-title { font-size: .92rem; font-weight: 700; color: var(--foreground); margin: 0 0 .3rem; }
.sa-ri-desc  { font-size: .83rem; line-height: 1.65; color: var(--muted-foreground); margin: 0; }

/* ── Privacy grid */
.sa-privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 640px) {
  .sa-privacy-grid { grid-template-columns: 1fr; }
}
.sa-privacy-col {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1.1rem;
  padding: 1.2rem 1.25rem;
}
.sa-privacy-sub {
  display: flex; align-items: center; gap: .5rem;
  font-size: .92rem; font-weight: 700;
  color: var(--foreground);
  margin: 0 0 .9rem;
}
.sa-privacy-list { display: flex; flex-direction: column; gap: .65rem; }
.sa-pli {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .855rem; line-height: 1.65;
  color: var(--muted-foreground);
}

/* ── Trouble grid */
.sa-trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.sa-tg-item {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  overflow: hidden;
}
.sa-tg-q {
  display: flex; align-items: center; gap: .5rem;
  background: oklch(0.975 0.008 100);
  padding: .7rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: 1px solid oklch(0.9 0.03 195 / 60%);
}
.sa-tg-a {
  padding: .75rem 1rem;
  font-size: .84rem;
  line-height: 1.72;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================================
   CONTENT ARTICLE – Long-form styled content block
   ============================================================ */

.content-article { color: var(--foreground); }

/* Section spacing */
.ca-section { margin-bottom: 3.5rem; }

/* Headings */
.ca-h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--foreground);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid oklch(0.828 0.189 84.429 / 25%);
}
.ca-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 1.5rem 0 .4rem;
}

/* Body paragraphs */
.ca-p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--muted-foreground);
  margin: 0 0 .9rem;
}

/* ── Highlight banner ── */
.ca-highlight-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 12%), oklch(0.769 0.188 70.08 / 8%));
  border: 1px solid oklch(0.828 0.189 84.429 / 35%);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  margin-bottom: 3rem;
}
.ca-highlight-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .6rem;
  background: var(--gradient-primary);
  color: #fff;
  margin-top: .1rem;
}
.ca-highlight-title {
  font-size: .92rem;
  font-weight: 700;
  color: oklch(0.769 0.188 70.08);
  margin: 0 0 .25rem;
}
.ca-highlight-sub {
  font-size: .875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* ── Feature cards grid ── */
.ca-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.ca-card {
  background: var(--card);
  border: 1px solid oklch(0.828 0.189 84.429 / 20%);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  transition: box-shadow .2s, transform .2s;
}
.ca-card:hover {
  box-shadow: 0 8px 24px -6px oklch(0.828 0.189 84.429 / 20%);
  transform: translateY(-2px);
}
.ca-card-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.ca-card-title { font-size: .95rem; font-weight: 700; color: var(--foreground); margin: 0 0 .35rem; }
.ca-card-desc  { font-size: .84rem; line-height: 1.65; color: var(--muted-foreground); margin: 0; }

/* ── Feature list ── */
.ca-feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .85rem; }
.ca-feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.ca-feature-item strong { color: var(--foreground); }
.ca-feature-dot {
  flex-shrink: 0;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  margin-top: .55rem;
  background: var(--gradient-primary);
}

/* ── Steps ── */
.ca-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.ca-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
}
.ca-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}
.ca-step-body { flex: 1; }
.ca-step-title { font-size: .95rem; font-weight: 700; color: var(--foreground); margin: 0 0 .3rem; }
.ca-step-desc  { font-size: .875rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* ── Content type table ── */
.ca-type-table {
  margin-top: 1.25rem;
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  overflow: hidden;
}
.ca-type-row {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1.4fr;
  gap: 0;
}
.ca-type-row > span {
  padding: .7rem 1rem;
  font-size: .875rem;
  color: var(--muted-foreground);
  border-right: 1px solid oklch(0.9 0.03 195 / 60%);
  border-bottom: 1px solid oklch(0.9 0.03 195 / 60%);
}
.ca-type-row > span:last-child { border-right: none; }
.ca-type-row:last-child > span { border-bottom: none; }
.ca-type-header > span {
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 10%), oklch(0.769 0.188 70.08 / 7%));
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: oklch(0.769 0.188 70.08);
}

/* ── Device grid ── */
.ca-device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.ca-device-card {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
}
.ca-device-icon  { font-size: 1.8rem; margin-bottom: .5rem; }
.ca-device-title { font-size: .95rem; font-weight: 700; color: var(--foreground); margin: 0 0 .6rem; }
.ca-device-steps { margin: 0 0 .6rem; padding-left: 1.2rem; }
.ca-device-steps li { font-size: .84rem; line-height: 1.65; color: var(--muted-foreground); margin-bottom: .2rem; }
.ca-device-note  { font-size: .8rem; color: oklch(0.769 0.188 70.08); margin: 0; font-style: italic; }

/* ── Tips grid ── */
.ca-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.ca-tip {
  background: var(--card);
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.ca-tip strong { color: var(--foreground); }
.ca-tip-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: oklch(0.769 0.188 70.08);
  background: oklch(0.828 0.189 84.429 / 12%);
  padding: .15rem .45rem;
  border-radius: .3rem;
  margin-bottom: .5rem;
}

/* ── Privacy block ── */
.ca-privacy-block {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.1rem;
}
.ca-privacy-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.ca-privacy-item strong { color: var(--foreground); }
.ca-privacy-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: .4rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 20%), oklch(0.769 0.188 70.08 / 15%));
  color: oklch(0.769 0.188 70.08);
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
}

/* ── Troubleshooting ── */
.ca-trouble-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.1rem; }
.ca-trouble-item {
  border: 1px solid oklch(0.9 0.03 195 / 70%);
  border-radius: 1rem;
  overflow: hidden;
}
.ca-trouble-q {
  background: oklch(0.97 0.01 200);
  padding: .75rem 1.1rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--foreground);
}
.ca-trouble-a {
  padding: .75rem 1.1rem;
  background: var(--card);
}
.ca-trouble-a p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

/* ── Comparison grid ── */
.ca-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 540px) { .ca-compare-grid { grid-template-columns: 1fr; } }
.ca-compare-col {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid oklch(0.9 0.03 195 / 70%);
}
.ca-compare-head {
  padding: .7rem 1.1rem;
  font-size: .875rem;
  font-weight: 700;
}
.ca-compare-head--bad  { background: oklch(0.97 0.01 200); color: var(--muted-foreground); }
.ca-compare-head--good { background: var(--gradient-primary); color: #fff; }
.ca-compare-list {
  list-style: none;
  padding: .75rem 1.1rem;
  margin: 0;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.ca-compare-list li {
  font-size: .855rem;
  color: var(--muted-foreground);
  padding-left: .1rem;
}
.ca-compare-us .ca-compare-list li { color: var(--foreground); }

/* ── CTA box ── */
.ca-cta-box {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429 / 12%), oklch(0.769 0.188 70.08 / 8%));
  border: 1px solid oklch(0.828 0.189 84.429 / 35%);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: center;
}
.ca-cta-text {
  font-size: .95rem;
  font-weight: 600;
  color: oklch(0.55 0.15 70);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
  .ca-h2 { font-size: 1.3rem; }
  .ca-type-row { grid-template-columns: 1fr 1fr; }
  .ca-type-row > span:nth-child(3) { display: none; }
  .ca-type-header > span:nth-child(3) { display: none; }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: #1a1d2e;
  color: rgba(255,255,255,.75);
  margin-top: 3rem;
}

/* ── Main grid ── */
.ft-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .ft-inner { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ft-inner { grid-template-columns: 1fr; }
}

/* ── Brand column ── */
.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.ft-logo-icon {
  width: 2.1rem; height: 2.1rem;
  background: linear-gradient(135deg, oklch(0.828 0.189 84.429), oklch(0.769 0.188 70.08));
  border-radius: .55rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ft-logo-icon svg { width: 1.1rem; height: 1.1rem; }
.ft-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.ft-tagline {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin: 0 0 1.5rem;
}
.ft-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.ft-site-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 2.1rem;
  padding: 0 .85rem;
  border-radius: .5rem;
  background: oklch(0.828 0.189 84.429 / 18%);
  border: 1px solid oklch(0.828 0.189 84.429 / 45%);
  font-size: .78rem;
  font-weight: 700;
  color: oklch(0.828 0.189 84.429);
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.ft-site-link:hover {
  background: oklch(0.828 0.189 84.429);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.ft-socials {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.ft-social-btn {
  width: 2.2rem; height: 2.2rem;
  border-radius: .55rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.ft-social-btn:hover {
  background: oklch(0.828 0.189 84.429);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.ft-social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 2.2rem;
  padding: 0 .75rem;
  border-radius: .55rem;
  background: oklch(0.828 0.189 84.429 / 20%);
  border: 1px solid oklch(0.828 0.189 84.429 / 40%);
  font-size: .72rem;
  font-weight: 700;
  color: oklch(0.828 0.189 84.429);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.ft-social-link-btn:hover {
  background: oklch(0.828 0.189 84.429);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ── Nav columns ── */
.ft-col-heading {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 1.1rem;
}
.ft-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.ft-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .18s;
}
.ft-links a:hover { color: oklch(0.828 0.189 84.429); }
.ft-email {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* ── Bottom bar ── */
.ft-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ── Download toast (shared across all pages) ── */
#snap-dl-toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: oklch(0.25 0.03 240);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 2rem;
  box-shadow: 0 8px 24px -4px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  white-space: nowrap;
  z-index: 9999;
}
#snap-dl-toast.snap-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
