@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

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

:root {
  /* Brand palette extracted from logo */
  --blue:        #1E63B5;
  --blue-dark:   #154E96;
  --blue-mid:    #2A74C8;
  --blue-light:  #E8F1FB;
  --green:       #28A96E;
  --green-light: #E5F7EF;
  --orange:      #F0A52A;
  --orange-light:#FEF3DC;

  --bg:          #F2F4F8;
  --surface:     #FFFFFF;
  --text:        #1A2535;
  --muted:       #6B7A8D;
  --border:      #DDE3ED;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 2px 12px rgba(30,99,181,.08);
  --shadow-md:   0 4px 24px rgba(30,99,181,.12);
  --shadow-lg:   0 8px 48px rgba(30,99,181,.16);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  min-height: 130px;
  height: auto;
  display: flex;
  align-items: center;
  padding: .75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: .75rem; }

.nav-logo { height: 228px; }

.nav-divider { display: none; }

.nav-tagline { display: none; }

/* ════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .2rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  padding: .3rem .55rem;
  border-radius: calc(var(--radius-sm) - 3px);
  transition: background .15s, color .15s;
  letter-spacing: .5px;
  line-height: 1;
}

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

.lang-btn.lang-active {
  background: var(--blue);
  color: #fff;
}

.nav-actions { display: flex; gap: .5rem; align-items: center; }

.btn-support {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: .78rem;
  padding: .3rem .7rem;
  transition: color .15s, border-color .15s;
}
.btn-support:hover { color: var(--blue); border-color: var(--blue); }

/* ════════════════════════════════════════
   BRAND STRIPE ACCENT
════════════════════════════════════════ */
.stripe-accent {
  display: flex;
  gap: 5px;
  margin-bottom: 2.25rem;
  justify-content: center;
}
.stripe-accent span {
  height: 5px;
  width: 72px;
  border-radius: 999px;
}
.s-blue   { background: var(--blue); }
.s-green  { background: var(--green); }
.s-orange { background: var(--orange); }

/* ════════════════════════════════════════
   HERO (upload page)
════════════════════════════════════════ */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.5rem 1.5rem 3rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(30,99,181,.07) 0%, transparent 70%);
}

.hero-content {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  color: var(--muted);
  font-size: .975rem;
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

/* ── Upload card ── */
.upload-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* ── Drop zone ── */
.drop-zone {
  border: 2.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.75rem 1.5rem;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .15s;
  background: var(--bg);
  position: relative;
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: scale(1.005);
}

.drop-zone.has-file {
  border-style: solid;
  border-color: var(--green);
  background: var(--green-light);
}

.drop-icon {
  font-size: 3.2rem;
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
}

.drop-primary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}

.drop-secondary {
  font-size: .88rem;
  color: var(--muted);
}

.drop-secondary strong {
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  padding: .35rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Sweep button ── */
.btn-sweep {
  width: 100%;
  margin-top: 1.2rem;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(30,99,181,.38);
}

.btn-sweep:hover:not(:disabled) {
  opacity: .93;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,99,181,.46);
}

.btn-sweep:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-sweep .arr {
  display: inline-block;
  transition: transform .2s;
  font-size: 1.15rem;
}

.btn-sweep:hover:not(:disabled) .arr { transform: translateX(5px); }

/* ── Progress ── */
.progress-wrap { margin-top: 1.25rem; }

.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .55rem;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

.progress-label {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

/* ── Error ── */
.alert-error {
  margin-top: .9rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  background: #FEE2E2;
  color: #DC2626;
  font-size: .85rem;
  font-weight: 500;
  border-left: 3px solid #DC2626;
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.hiw {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.hiw-inner {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hiw-step {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
}

.hiw-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto .75rem;
}

.hiw-icon.green { background: var(--green-light); }
.hiw-icon.orange { background: var(--orange-light); }

.hiw-step h3 {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.hiw-step p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

.hiw-arrow {
  font-size: 1.4rem;
  color: var(--border);
  align-self: center;
  flex-shrink: 0;
  padding-top: .5rem;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--text);
  padding: 3rem 2rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img {
  height: 130px;
  opacity: .55;
  filter: brightness(3);
  display: block;
  margin-bottom: .5rem;
}

.footer-brand p {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 240px;
  margin-top: .5rem;
}

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .9rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .85rem;
  margin-bottom: .45rem;
  transition: color .2s;
}

.footer-col a:hover { color: rgba(255,255,255,.95); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom > p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ════════════════════════════════════════
   PRIVACY BADGE (upload page)
════════════════════════════════════════ */
.privacy-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .6rem;
  margin-top: 1.1rem;
  padding: .6rem 1.1rem;
  background: var(--green-light);
  border: 1.5px solid rgba(40,169,110,.3);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-size: .8rem;
}

.privacy-badge:hover {
  background: #d0f0e4;
  border-color: var(--green);
}

.pb-item { color: var(--green); font-weight: 600; }
.pb-sep  { color: var(--muted); }
.pb-more { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ════════════════════════════════════════
   EXPIRY STRIP (results hero)
════════════════════════════════════════ */
.expiry-strip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: .82rem;
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}

.expiry-icon { font-size: 1rem; }

.expiry-link {
  color: rgba(255,255,255,.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  white-space: nowrap;
}

/* ════════════════════════════════════════
   RESULTS PAGE
════════════════════════════════════════ */
.results-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 2.5rem 2rem;
  color: #fff;
}

.results-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.results-hero img { height: 32px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 1.5rem; }

.results-hero h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: .35rem;
  letter-spacing: -.3px;
}

.results-hero .filename {
  font-size: .88rem;
  opacity: .7;
}

/* ── Main container ── */
.results-body {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ── Loading state ── */
.loading-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 3.5rem 2rem;
  text-align: center;
}

.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-card h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.loading-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ── Download bar ── */
.dl-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: .55rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}

.btn-dl:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.btn-back {
  border-color: var(--border);
  color: var(--muted);
}

.btn-back:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--muted);
}

/* ── Results table card ── */
.table-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.table-card th {
  background: var(--blue);
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.table-card td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table-card tr:last-child td { border-bottom: none; }
.table-card tr:hover td { background: var(--blue-light); }

/* ── Category badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-blue   { background: var(--blue-light);   color: var(--blue); }
.badge-green  { background: var(--green-light);  color: var(--green); }
.badge-orange { background: var(--orange-light); color: #A86010; }
.badge-purple { background: #F3E8FF;             color: #7C3AED; }
.badge-grey   { background: var(--bg);           color: var(--muted); border: 1px solid var(--border); }
.badge-warn   { background: #FFF7ED;             color: #92400E;      border: 1px solid #FDE68A; }

/* ── Confidence mini-bar ── */
.conf-wrap {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.conf-track {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.conf-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
}

.conf-pct {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── OCR preview ── */
.ocr-preview {
  color: var(--muted);
  font-size: .78rem;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggested-cat {
  margin-top: .3rem;
  font-size: .72rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Doc title ── */
.doc-title {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .1rem;
}
.doc-pages { font-size: .75rem; color: var(--muted); }

/* ── Empty / error state ── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.empty-state .icon { font-size: 3rem; margin-bottom: .75rem; }

/* ════════════════════════════════════════
   PRIVACY PAGE
════════════════════════════════════════ */
.priv-hero {
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.priv-hero-inner { max-width: 640px; margin: 0 auto; }

.priv-hero-icon {
  font-size: 4rem;
  line-height: 1;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}

.priv-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}

.priv-hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,.75);
}

.priv-hero p {
  font-size: 1rem;
  opacity: .85;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Section wrappers ── */
.priv-section { padding: 4rem 1.5rem; }
.priv-section-alt { background: var(--surface); }

.priv-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.3px;
  text-align: center;
  margin-bottom: .6rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}

/* ── Data flow diagram ── */
.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-node {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.node-safe   { border-top: 4px solid var(--green); }
.node-ps     { border-top: 4px solid var(--blue);  }
.node-third  { border-top: 4px solid var(--orange); }

.flow-node-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: .25rem;
}

.flow-node h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.flow-node p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.flow-facts {
  list-style: none;
  font-size: .78rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.flow-facts a { color: var(--blue); }

/* ── Connectors ── */
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
  min-width: 80px;
  flex-shrink: 0;
}

.conn-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: var(--border);
}

.conn-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  background: var(--blue-light);
  border: 1.5px solid rgba(30,99,181,.2);
  border-radius: var(--radius-sm);
  padding: .4rem .6rem;
  font-size: .7rem;
  text-align: center;
  color: var(--blue);
  white-space: nowrap;
}

.conn-badge strong { font-weight: 700; font-size: .8rem; }

.conn-badge-warn {
  background: var(--orange-light);
  border-color: rgba(240,165,42,.35);
  color: #A86010;
}

/* ── Timeline ── */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tl-dot-blue   { background: var(--blue-light);   }
.tl-dot-green  { background: var(--green-light);  }
.tl-dot-orange { background: var(--orange-light); }
.tl-dot-red    { background: #FEE2E2;             }

.tl-body {
  padding-top: .6rem;
  padding-bottom: 1.25rem;
}

.tl-body strong {
  display: block;
  font-weight: 700;
  margin-bottom: .2rem;
}

.tl-body span {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

.tl-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin-left: 21px; /* center under 44px dot */
}

/* ── Promises grid ── */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.promise-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.promise-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.promise-green { border-left: 4px solid var(--green); }

.promise-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .75rem;
  display: block;
}

.promise-card h3 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.promise-card p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Third-party disclosure ── */
.third-party-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tp-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.tp-logo {
  font-size: 2.2rem;
  line-height: 1;
}

.tp-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .1rem; }
.tp-role { font-size: .8rem; color: var(--muted); }

.tp-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.tp-col {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
}

.tp-col:last-child { border-right: none; }

.tp-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: .75rem;
}

.tp-sent    h4 { color: var(--orange); }
.tp-notsent h4 { color: var(--green);  }

.tp-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.tp-col li {
  font-size: .83rem;
  color: var(--text);
  line-height: 1.4;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 800px) {
  .flow-diagram { flex-direction: column; align-items: center; }
  .flow-connector { flex-direction: row; width: 100%; min-width: unset; padding: .4rem 0; }
  .conn-line { height: 2px; width: auto; flex: 1; min-height: unset; }
  .flow-node { max-width: 100%; width: 100%; }
  .tp-body { grid-template-columns: 1fr; }
  .tp-col { border-right: none; border-bottom: 1px solid var(--border); }
  .tp-col:last-child { border-bottom: none; }
  /* trust section */
  .mini-flow { flex-direction: column; align-items: center; }
  .mf-connector { flex-direction: row; width: 100%; }
  .mf-connector .mf-line { flex: 1; height: 2px; width: auto; min-height: unset; }
  .mf-node { max-width: 100%; width: 100%; }
  .trust-pillars { flex-direction: column; }
  .tp-divider { width: 60px; height: 1px; }
}

@media (max-width: 600px) {
  .nav { min-height: 80px; padding: .5rem 1rem; }
  .nav-logo { height: 128px; }
  .hero h1 { font-size: 1.9rem; }
  .priv-hero h1 { font-size: 1.9rem; }
  .hiw-arrow { display: none; }
  .table-card td:nth-child(5),
  .table-card th:nth-child(5) { display: none; }
  .privacy-badge { font-size: .75rem; }
  .trust-heading h2 { font-size: 1.6rem; }
  .tp-num { font-size: 2.5rem; }
}

/* ════════════════════════════════════════
   LANDING PAGE — TRUST / DATA-FLOW SECTION
════════════════════════════════════════ */
.trust-section {
  background: var(--blue-dark);
  padding: 5rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* subtle decorative sweep behind the content */
.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(40,169,110,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(240,165,42,.08) 0%, transparent 55%);
  pointer-events: none;
}

.trust-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.trust-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.trust-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.85);
}

.trust-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: .75rem;
}

.trust-heading p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Mini data-flow diagram ── */
.mini-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.mf-node {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  min-width: 130px;
  flex: 1;
  max-width: 180px;
  transition: background .2s;
}

.mf-node:hover { background: rgba(255,255,255,.12); }

.mf-yours { border-top: 3px solid var(--green); }
.mf-ours  { border-top: 3px solid var(--blue-mid); }
.mf-third { border-top: 3px solid var(--orange); }

.mf-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .2rem;
}

.mf-node strong {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}

.mf-node span {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}

.mf-tag {
  margin-top: .4rem;
  padding: .2rem .6rem;
  background: rgba(40,169,110,.2);
  border: 1px solid rgba(40,169,110,.35);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  color: #6ee7b7;
}

.mf-tag-warn {
  background: rgba(240,165,42,.15);
  border-color: rgba(240,165,42,.3);
  color: #fcd34d;
}

/* ── Connectors ── */
.mf-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: 0 .25rem;
  flex-shrink: 0;
}

.mf-line {
  width: 2px;
  flex: 1;
  min-height: 28px;
  background: rgba(255,255,255,.2);
}

.mf-label {
  font-size: .68rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  padding: .25rem .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: rgba(255,255,255,.75);
}

.mf-label-secure { border-color: rgba(40,169,110,.4); color: #6ee7b7; }
.mf-label-third  { border-color: rgba(240,165,42,.4);  color: #fcd34d; }

.mf-arrow-head {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1;
}

/* ── Trust pillars ── */
.trust-pillars {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tp-item {
  flex: 1;
  min-width: 160px;
  max-width: 230px;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}

.tp-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  letter-spacing: -2px;
}

.tp-item strong {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}

.tp-item span {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.tp-divider {
  width: 1px;
  height: 100px;
  background: rgba(255,255,255,.1);
  align-self: center;
  flex-shrink: 0;
}

.trust-cta {
  display: block;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}

.trust-cta:hover { color: rgba(255,255,255,.95); }

/* ════════════════════════════════════════
   FOOTER — legal links bar
════════════════════════════════════════ */
.footer-links {
  display: flex;
  align-items: center;
  gap: .5rem .75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .78rem;
  transition: color .2s;
}

.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-links span { color: rgba(255,255,255,.2); }

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   LEGAL PAGES (Privacy Policy, Imprint)
════════════════════════════════════════ */
.legal-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  padding: 3.5rem 2rem 3rem;
}

.legal-hero-inner { max-width: 800px; margin: 0 auto; }

.legal-hero .breadcrumb {
  font-size: .78rem;
  opacity: .6;
  margin-bottom: 1rem;
}

.legal-hero .breadcrumb a { color: inherit; text-decoration: underline; }

.legal-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: .5rem;
}

.legal-hero .legal-meta {
  font-size: .82rem;
  opacity: .65;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
  color: var(--text);
}

.legal-body p, .legal-body li {
  font-size: .92rem;
  color: #3a4558;
  line-height: 1.75;
  margin-bottom: .75rem;
}

.legal-body ul, .legal-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body li { margin-bottom: .35rem; }

.legal-body a { color: var(--blue); }

.legal-placeholder {
  background: #FFFBEB;
  border: 2px dashed #F59E0B;
  border-radius: 6px;
  padding: .4rem .8rem;
  font-weight: 700;
  color: #92400E;
  font-size: .88rem;
  display: inline-block;
}

.legal-body .info-card {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .88rem;
}

.legal-body .info-card p { color: var(--blue-dark); margin: 0; }

.legal-body .contact-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-size: .9rem;
  line-height: 1.8;
}

/* ════════════════════════════════════════
   Credits bar
════════════════════════════════════════ */
.credits-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  padding: .5rem .75rem;
  background: var(--blue-light, #eff6ff);
  border: 1px solid var(--blue, #3b82f6);
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--blue-dark, #1e40af);
}

.credits-bar.credits-success {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #15803d;
}

.credits-icon { font-size: .7rem; opacity: .7; }

#credits-label { flex: 1; }

.credits-topup-btn {
  background: var(--blue, #3b82f6);
  color: #fff;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  padding: .25rem .6rem;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.credits-topup-btn:hover { opacity: .85; }

.credits-recovery-btn {
  background: none;
  border: 1px solid var(--blue, #3b82f6);
  border-radius: calc(var(--radius) - 2px);
  color: var(--blue-dark, #1e40af);
  width: 1.8rem;
  height: 1.8rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .85rem;
  transition: background .15s;
  padding: 0;
}
.credits-recovery-btn:hover { background: var(--blue-light, #eff6ff); }

/* ────────────────── Recovery panel ── */
.recovery-panel {
  margin-top: .5rem;
  padding: .75rem 1rem;
  background: var(--blue-light, #eff6ff);
  border: 1px solid var(--blue, #3b82f6);
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--blue-dark, #1e40af);
}
.recovery-desc { margin-bottom: .5rem; line-height: 1.4; }
.recovery-url-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.recovery-url-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .3rem .6rem;
  font-size: .78rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}
.recovery-copy-btn {
  background: var(--green, #28a96e);
  color: #fff;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  padding: .3rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
  flex-shrink: 0;
}
.recovery-copy-btn:hover { opacity: .85; }
.recovery-copy-btn.copied { background: var(--blue-mid, #2a74c8); }

/* ════════════════════════════════════════
   Payment modal
════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-card {
  background: var(--surface, #fff);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: .25rem .4rem;
  border-radius: .25rem;
  transition: background .15s;
}
.modal-close:hover { background: var(--bg); }

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}

.modal-sub {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.bundle-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem .75rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color .15s, transform .1s;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.bundle-card:hover {
  border-color: var(--blue, #3b82f6);
  transform: translateY(-2px);
}
.bundle-card.bundle-loading {
  opacity: .6;
  cursor: wait;
}
.bundle-card.bundle-selected {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(30,99,181,.15);
}

.bundle-badge {
  position: absolute;
  top: -.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue, #3b82f6);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 99px;
  white-space: nowrap;
}

.bundle-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  margin-top: .5rem;
}

.bundle-mb {
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-dark, #1e40af);
}

.bundle-desc {
  font-size: .72rem;
  color: var(--muted);
}

.btn-checkout {
  display: block;
  width: 100%;
  margin-bottom: .9rem;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(30,99,181,.35);
}
.btn-checkout:hover { opacity: .92; transform: translateY(-1px); }
.btn-checkout:disabled { opacity: .4; cursor: wait; transform: none; box-shadow: none; }

.modal-note {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

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

/* ════════════════════════════════════════
   FAQ SECTION (index.html + faq.html)
════════════════════════════════════════ */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 1.5rem;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.faq-heading h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--text);
  margin-bottom: .6rem;
}

.faq-heading p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.faq-q::before {
  content: 'Q  ';
  color: var(--blue);
  font-weight: 800;
}

.faq-a {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 1.5rem;
}

.faq-more-link {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .9rem;
}

.faq-more-link a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}

.faq-more-link a:hover { color: var(--blue-dark); }

/* ── Standalone faq.html hero ── */
.faq-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.faq-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.faq-hero-icon {
  font-size: 4rem;
  line-height: 1;
  display: block;
  margin-bottom: 1.25rem;
}

.faq-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}

.faq-hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,.75);
}

.faq-hero p {
  font-size: 1rem;
  opacity: .85;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-page-section {
  padding: 4rem 1.5rem 5rem;
  background: var(--bg);
}

.faq-page-inner {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .faq-section { padding: 3.5rem 1rem; }
  .faq-heading h2 { font-size: 1.5rem; }
  .faq-hero h1 { font-size: 1.9rem; }
  .faq-hero { padding: 3.5rem 1rem 3rem; }
}

/* ════════════════════════════════════════
   ABOUT / BLOG / STORIES / CAREERS pages
════════════════════════════════════════ */
.about-section {
  background: var(--bg);
  padding: 4rem 1.5rem 5rem;
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-story {
  margin-bottom: 3.5rem;
}

.about-story h2,
.about-values h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-story p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
}

.about-vals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-val {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-val-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .75rem;
}

.about-val h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.about-val p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
}

.about-cta-block {
  background: var(--blue-light);
  border: 1px solid rgba(30,99,181,.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.about-cta-block h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
}

.about-cta-block p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

/* Help Center section headings */
.help-section {
  margin-bottom: 3rem;
}

.help-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-light);
}

/* ════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════ */
.contact-section {
  background: var(--bg);
  padding: 4rem 1.5rem 5rem;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}

.form-input {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,99,181,.12);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-response-note {
  font-size: .78rem;
  color: var(--muted);
}

.contact-submit {
  align-self: flex-start;
  margin-top: .25rem;
}

.contact-success {
  background: var(--green-light);
  border: 1px solid rgba(40,169,110,.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-success-icon {
  width: 2rem;
  height: 2rem;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-success p {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}

.contact-error {
  background: #FEF2F2;
  border: 1px solid rgba(220,38,38,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
}

.contact-error p {
  color: #991B1B;
  font-size: .85rem;
}

@media (max-width: 700px) {
  .about-vals-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .about-section { padding: 3rem 1rem 4rem; }
  .contact-section { padding: 3rem 1rem 4rem; }
}

/* ════════════════════════════════════════
   TTL SELECTOR (upload page)
════════════════════════════════════════ */
.ttl-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ttl-row > span {
  font-size: .8rem;
  color: var(--muted);
  white-space: nowrap;
}

.ttl-toggle {
  display: flex;
  gap: .25rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .2rem;
}

.ttl-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}

.ttl-btn:hover { color: var(--text); }

.ttl-btn.ttl-active {
  background: var(--blue);
  color: #fff;
}

/* ════════════════════════════════════════
   DELETE ZONE (results page)
════════════════════════════════════════ */
.delete-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 0 .25rem;
}

.btn-delete {
  background: transparent;
  border: 1.5px solid #DC2626;
  color: #DC2626;
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-size: .82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, opacity .15s;
}

.btn-delete:hover { background: #FEF2F2; }
.btn-delete:disabled { opacity: .5; cursor: wait; }

.deleted-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--green-light);
  border: 1px solid rgba(40,169,110,.25);
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  width: 100%;
  max-width: 500px;
}

.deleted-banner span { font-size: 1.3rem; flex-shrink: 0; }

.deleted-banner p {
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
}

/* ════════════════════════════════════════
   SOCIAL / REVIEW PANEL (results page)
════════════════════════════════════════ */
.social-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.social-label {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .9rem;
}

.social-links {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
  border: 1.5px solid transparent;
}

.social-btn:hover { opacity: .8; }

.social-trustpilot {
  background: #00B67A;
  color: #fff;
}

.social-instagram {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  color: #fff;
}

.social-tiktok {
  background: #010101;
  color: #fff;
}

/* ════════════════════════════════════════
   CUSTOMER STORIES PAGE
════════════════════════════════════════ */
.stories-section {
  padding: 3rem 1.5rem 4rem;
  max-width: 860px;
  margin: 0 auto;
}

.stories-inner {
  display: grid;
  gap: 1.75rem;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  position: relative;
}

.story-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-light);
  font-family: Georgia, serif;
  position: absolute;
  top: .75rem;
  left: 1.5rem;
  pointer-events: none;
  user-select: none;
}

.story-quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin: 1.5rem 0 1.5rem;
  padding: 0;
  border: none;
  font-style: italic;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-author-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.story-company {
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue);
  text-decoration: none;
}
.story-company:hover { text-decoration: underline; }

.story-role {
  font-size: .8rem;
  color: var(--muted);
}

.stories-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stories-cta p {
  color: var(--muted);
  font-size: .95rem;
}

/* ════════════════════════════════════════
   BLOG LISTING PAGE
════════════════════════════════════════ */
.blog-listing {
  padding: 2.5rem 1.5rem 4rem;
  max-width: 780px;
  margin: 0 auto;
}

.blog-listing-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}

.blog-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: .5rem;
}

.blog-card-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: .9rem;
}

.blog-card-read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── Shared tag + meta styles ── */
.blog-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 999px;
}

.blog-tag-personal {
  background: var(--orange-light);
  color: #92600A;
}

.blog-tag-technical {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.blog-date {
  font-size: .8rem;
  color: var(--muted);
}

.blog-read-time {
  font-size: .8rem;
  color: var(--muted);
}

/* ════════════════════════════════════════
   BLOG ARTICLE (individual post pages)
════════════════════════════════════════ */
.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.blog-article-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
}

.blog-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-article-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: var(--text);
  margin-bottom: 1rem;
}

.blog-article-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.blog-article-body {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-article-body p {
  margin-bottom: 1.25rem;
}

.blog-article-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 .75rem;
  padding-top: .25rem;
}

.blog-article-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 .6rem;
}

.blog-tldr {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-tldr h2 {
  margin-top: 0;
  padding-top: 0;
}

.blog-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: .9rem;
}

.blog-comparison-table th,
.blog-comparison-table td {
  border: 1px solid var(--border);
  padding: .65rem .85rem;
  text-align: left;
  vertical-align: top;
}

.blog-comparison-table th {
  background: var(--blue-light);
  font-weight: 700;
}

.blog-comparison-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, .02);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}

.blog-article-body li {
  margin-bottom: .4rem;
}

.blog-article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-body em {
  font-style: italic;
  color: inherit;
}

.blog-article-body strong {
  font-weight: 700;
}

.blog-article-footer {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .blog-article-inner { padding: 1.5rem 1.25rem; }
  .blog-article-header h1 { font-size: 1.4rem; }
}
