/* ==========================================================================
   Sayvio website: design system
   Structure, spacing, type scale and component names follow the BanglaKB
   template (banglakb-website/index.html). Colours are Sayvio's.
   System fonts only. No external requests.
   ========================================================================== */

/* ===== TOKENS: light (default) ===== */
:root {
  color-scheme: light dark;

  --bg:            #F6F7FB;
  --surface:       #FFFFFF;
  --surface-2:     #FFFFFF;
  --border:        rgba(17, 24, 39, 0.08);
  --border-strong: rgba(17, 24, 39, 0.16);
  --shadow:        0 1px 2px rgba(17, 24, 39, 0.04), 0 4px 16px rgba(17, 24, 39, 0.04);

  --text:   #111827;
  --text-2: #4B5563;            /* secondary, 7.0:1 on --bg */
  --text-3: #5F6673;            /* tertiary,  5.4:1 on --bg */

  --accent:      #2563EB;       /* links, icons, highlights */
  --btn:         #2563EB;       /* button fill (white text 5.2:1) */
  --btn-hover:   #1D4ED8;
  --on-btn:      #FFFFFF;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --hero-glow:   rgba(37, 99, 235, 0.10);

  --nav-bg:      rgba(246, 247, 251, 0.82);
  --pill-bg:     rgba(17, 24, 39, 0.04);
  --pill-border: rgba(17, 24, 39, 0.10);

  --bezel:       #111827;       /* phone frame */
  --bezel-ring:  rgba(17, 24, 39, 0.10);

  /* Mode colours (light) */
  --c-ingredients: #0F766E;
  --c-menu:        #C2410C;
  --c-event:       #7C3AED;
  --c-flyer:       #BE185D;
  --c-card:        #2563EB;
  --c-translate:   #15803D;
  --c-quick:       #4B5563;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== TOKENS: dark (BanglaKB look on Sayvio colours) ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0B0F17;
    --surface:       #111722;
    --surface-2:     #151B26;
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --shadow:        none;

    --text:   #F3F4F6;
    --text-2: rgba(255, 255, 255, 0.68);
    --text-3: rgba(255, 255, 255, 0.55);

    --accent:      #60A5FA;
    --btn:         #2563EB;
    --btn-hover:   #1D4ED8;
    --accent-glow: rgba(96, 165, 250, 0.15);
    --hero-glow:   rgba(37, 99, 235, 0.14);

    --nav-bg:      rgba(11, 15, 23, 0.8);
    --pill-bg:     rgba(255, 255, 255, 0.05);
    --pill-border: rgba(255, 255, 255, 0.12);

    --bezel:       #000000;
    --bezel-ring:  rgba(255, 255, 255, 0.14);

    /* Mode colours (lighter tints for contrast on dark) */
    --c-ingredients: #2DD4BF;
    --c-menu:        #FB923C;
    --c-event:       #A78BFA;
    --c-flyer:       #F472B6;
    --c-card:        #60A5FA;
    --c-translate:   #4ADE80;
    --c-quick:       #CBD5E1;
  }
}

/* Mode helpers: set --mode, used by icons and accents */
.mode-ingredients { --mode: var(--c-ingredients); }
.mode-menu        { --mode: var(--c-menu); }
.mode-event       { --mode: var(--c-event); }
.mode-flyer       { --mode: var(--c-flyer); }
.mode-card        { --mode: var(--c-card); }
.mode-translate   { --mode: var(--c-translate); }
.mode-quick       { --mode: var(--c-quick); }
.mode-accent      { --mode: var(--accent); }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--btn);
  color: var(--on-btn);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ===== TYPE ===== */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

.headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
  text-wrap: balance;
}

.subheadline {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.6;
  margin: 0 0 40px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subheadline { margin-left: auto; margin-right: auto; }

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-cta {
  background: var(--btn);
  color: var(--on-btn);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
a.nav-cta:hover { background: var(--btn-hover); transform: translateY(-1px); }
@media (max-width: 600px) {
  .nav-cta { padding: 7px 14px; font-size: 13px; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn);
  color: var(--on-btn);
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.2s ease, transform 0.2s ease;
}
a.btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); }
.btn-primary svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Official "Download on the App Store" badge (unmodified SVG, 48px tall) */
.appstore-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.appstore-badge img { height: 48px; width: auto; }
a.appstore-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.final-cta .appstore-badge { margin-top: 8px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, var(--hero-glow) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
}
.hero-pill svg { width: 14px; height: 14px; color: var(--accent); }
.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-req {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-3);
}
.hero-req + .trust-pills { margin-top: 28px; }

.trust-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  font-size: 13px;
  color: var(--text-2);
}
.trust-pill svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.trust-pills.start { justify-content: flex-start; margin-top: 8px; }
.subheadline + .trust-pills.start { margin-top: -16px; }
.hero .phone { margin-top: 60px; }

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

/* ===== PHONE FRAME (raw screenshots) ===== */
.phone {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 40px;
  background: var(--bezel);
  box-shadow:
    0 0 0 1px var(--bezel-ring),
    0 24px 60px -20px rgba(0, 0, 0, 0.35);
}
/* Screenshots have the status bar cropped off (tools/optimize-images.sh),
   so the ratio comes from each image's width/height attributes. */
.phone img,
.phone .screenshot-placeholder {
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: var(--surface-2);
}
.phone .screenshot-placeholder { aspect-ratio: 780 / 1600; }
.screenshot-placeholder {
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (min-width: 901px) {
  .two-col.flip .two-col-media { order: -1; }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 50px; }
}

/* ===== ICON BOXES ===== */
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mode, var(--accent));
  background: color-mix(in srgb, var(--mode, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--mode, var(--accent)) 25%, transparent);
}
.icon-box svg { width: 22px; height: 22px; }

/* ===== FEATURE ROWS ===== */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}
.feature-row-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.feature-row-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Highlight row (tinted) */
.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  margin-top: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--mode, var(--accent)) 8%, transparent);
}
.feature-pill .icon-box { width: 40px; height: 40px; }
.feature-pill h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.feature-pill p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ===== FEATURE CARDS (six ways to scan) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.feature-card .icon-box { margin-bottom: 14px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
/* Full-width row card (Quick Scan) */
.feature-card.wide {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.feature-card.wide .icon-box { margin-bottom: 0; }
.feature-card.wide h3 { margin-bottom: 2px; }

/* ===== STEP CARDS ===== */
.icon-sprite { display: none; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.step-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}
.step-card .icon-box { margin-bottom: 16px; }
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text);
}
.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===== PRIVACY / PLAN CARDS ===== */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.privacy-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .privacy-grid,
  .privacy-grid.grid-2 { grid-template-columns: 1fr; }
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.privacy-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.privacy-card.is-highlight {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background:
    radial-gradient(circle at 100% 0%, var(--accent-glow) 0%, transparent 55%),
    var(--surface);
}
.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--mode, var(--accent));
  background: color-mix(in srgb, var(--mode, var(--accent)) 14%, transparent);
}
.privacy-icon svg { width: 24px; height: 24px; }
.privacy-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text);
}
.privacy-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}
.note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ===== GALLERY (App Store images) ===== */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* full-bleed strip whose first item lines up with .container */
  padding: 4px max(20px, calc((100% - 1100px) / 2 + 20px)) 24px;
  scroll-padding-inline: max(20px, calc((100% - 1100px) / 2 + 20px));
  scrollbar-width: thin;
}
.gallery-item {
  flex: 0 0 auto;
  width: min(220px, 62vw);
  margin: 0;
  scroll-snap-align: start;
}
.gallery-item img,
.gallery-item .screenshot-placeholder {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.gallery-item .screenshot-placeholder { aspect-ratio: 660 / 1434; }

/* ===== FINAL CTA ===== */
.final-cta {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--hero-glow) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 680px; }
.final-cta .headline { font-size: clamp(32px, 4.5vw, 48px); }
.final-cta .subheadline { margin-left: auto; margin-right: auto; }
.final-cta .req {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-3);
}

/* 404 page: final-CTA layout filling the screen under the fixed nav */
.not-found { min-height: calc(100vh - 160px); padding-top: 140px; }
.not-found .step-num { font-size: 96px; margin-bottom: 12px; }
.not-found .req a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.not-found .req a:hover { color: var(--text); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 20px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}
.footer-bottom p { margin: 0; max-width: 620px; }
.footer-bottom a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--border-strong);
}
.footer-bottom a:hover { color: var(--text); }

/* ===== FADE-UP ANIMATION (only when JS runs) ===== */
.js .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.card-grid .fade-up:nth-child(2),
.steps-grid .fade-up:nth-child(2),
.privacy-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.card-grid .fade-up:nth-child(3),
.steps-grid .fade-up:nth-child(3),
.privacy-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.card-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }
.card-grid .fade-up:nth-child(5) { transition-delay: 0.4s; }
.card-grid .fade-up:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-up { opacity: 1; transform: none; transition: none; }
  .feature-card, .step-card, .privacy-card, .btn-primary, .nav-cta, .appstore-badge { transition: none; }
  .feature-card:hover, .step-card:hover, .privacy-card:hover,
  a.btn-primary:hover, a.nav-cta:hover, a.appstore-badge:hover { transform: none; }
}

/* ===== LEGAL / SUPPORT PAGES (BanglaKB privacy.html layout) ===== */
.legal-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 40px;            /* clears the fixed nav */
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--hero-glow) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.headline-section {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}
.legal-hero .hero-sub {
  font-size: 16px;
  margin: 0 auto;
}
.legal-hero .hero-sub a,
.policy-card a,
.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.legal-hero .hero-sub a:hover,
.policy-card a:hover,
.faq-item a:hover { text-decoration-color: currentColor; }

.content {
  padding: 40px 20px 100px;
}
@media (max-width: 768px) {
  .content { padding: 30px 20px 60px; }
}
.content-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .policy-card { padding: 24px; }
}
.policy-card.is-summary {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background:
    radial-gradient(circle at 100% 0%, var(--accent-glow) 0%, transparent 60%),
    var(--surface);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
.policy-card h2,
.content-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}
.content-title { margin: 16px 0 0; }
.policy-card p,
.policy-card li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin: 0 0 12px;
}
.policy-card p:last-child,
.policy-card ul:last-child { margin-bottom: 0; }
.policy-card ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.policy-card li { margin-bottom: 6px; }
.policy-card strong { color: var(--text); font-weight: 600; }

/* FAQ (support.html): each <details> is a card */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}
.faq-item:hover,
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  border-radius: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}
@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-item summary::after { transition: none; }
}
