/* ============================================================
   PasswordSafe.app — landing page styles
   Brand: teal #008C7C (app icon bg), warm orange FAB #FF5722
   Type:  Manrope (UI) + Space Mono (credentials/code accents)
   ============================================================ */

:root {
  --teal:        #008C7C;
  --teal-dark:   #006B5F;
  --teal-darker: #034D46;
  --teal-tint:   #E6F2F0;
  --teal-tint-2: #F1F8F6;
  --accent:      #FF5722; /* FAB orange, used sparingly */
  --accent-dark: #E64A19;

  --ink:    #11201D;
  --ink-2:  #2C3A37;
  --muted:  #5C6E6A;
  --faint:  #8A9A96;
  --line:   #E4EBE9;
  --line-2: #EEF3F1;

  --bg:      #FFFFFF;
  --bg-soft: #F4F8F6;
  --bg-card: #FFFFFF;

  --dark:      #0C1513;
  --dark-2:    #13201D;
  --dark-line: #213430;
  --dark-text: #C9D6D2;

  --shadow-sm: 0 1px 2px rgba(11,32,29,.06), 0 2px 6px rgba(11,32,29,.05);
  --shadow-md: 0 4px 12px rgba(11,32,29,.07), 0 12px 32px rgba(11,32,29,.08);
  --shadow-lg: 0 18px 50px rgba(11,32,29,.14), 0 6px 18px rgba(11,32,29,.08);
  --shadow-teal: 0 14px 40px rgba(0,107,95,.28);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1180px;
  --gut: 24px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-dark);
  background: var(--teal-tint); border: 1px solid #D2E7E2;
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 18px 0 16px; }
.section-head p { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 18px 46px rgba(0,107,95,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #CBD9D5; background: var(--bg-soft); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }

/* ============================== HEADER ============================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(11,32,29,.03); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand .logo { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-toggle button {
  font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: .03em;
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.lang-toggle button.active { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm); }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

/* ============================== HERO ============================== */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--teal-tint) 0%, transparent 60%),
    radial-gradient(800px 460px at 8% 4%, var(--teal-tint-2) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; margin: 22px 0 0; }
.hero h1 .hl { color: var(--teal); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-trust .stars { color: #F5A623; letter-spacing: 1px; font-size: 15px; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #11201D; color: #fff; border-radius: 13px; padding: 10px 18px 10px 16px;
  transition: transform .15s ease, box-shadow .2s ease; box-shadow: var(--shadow-md);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .sb-txt small { font-size: 11px; opacity: .8; font-weight: 600; letter-spacing: .02em; }
.store-badge .sb-txt strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }

/* ============================== PHONE MOCKUP ============================== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .blob {
  position: absolute; width: 118%; aspect-ratio: 1; left: -9%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(0,140,124,.16), transparent 72%); z-index: -1;
}
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 44px;
  background: #0C1513; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone.sm { width: 250px; height: 516px; border-radius: 38px; }
.phone .screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.phone .notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; background: #0C1513; border-radius: 999px; z-index: 6;
}

/* recreated Material app screen */
.app-bar {
  background: var(--teal); color: #fff; padding: 38px 18px 16px;
  display: flex; align-items: center; gap: 14px;
}
.app-bar .ab-title { font-weight: 800; font-size: 18px; letter-spacing: -.01em; flex: 1; }
.app-bar .ab-ico { width: 22px; height: 22px; opacity: .95; }
.app-search {
  margin: -8px 14px 0; background: #fff; border-radius: 999px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md);
  color: var(--faint); font-size: 13.5px; font-weight: 600; position: relative; z-index: 4;
  white-space: nowrap; overflow: hidden;
}
.app-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-list { flex: 1; overflow: hidden; padding: 14px 8px 8px; background: var(--bg-soft); }
.entry { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 14px; background: #fff; margin-bottom: 9px; box-shadow: var(--shadow-sm); }
.entry .av { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; }
.entry .et { flex: 1; min-width: 0; }
.entry .et b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.entry .et span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry .fav { color: #F5A623; font-size: 14px; }
.fab {
  position: absolute; right: 18px; bottom: 22px; width: 56px; height: 56px; border-radius: 18px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(255,87,34,.4); z-index: 5; font-size: 26px; font-weight: 400;
}

/* generator screen */
.gen-wrap { flex: 1; background: var(--bg-soft); padding: 18px 16px; }
.gen-card { background: #fff; border-radius: 18px; padding: 20px 16px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.gen-pass { font-family: var(--mono); font-size: 17px; color: var(--ink); word-break: break-all; line-height: 1.5; letter-spacing: .5px; }
.gen-pass .sym { color: var(--accent); }
.gen-pass .num { color: var(--teal); }
.gen-strength { display: flex; gap: 5px; margin-top: 16px; }
.gen-strength i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.gen-strength i.on { background: var(--teal); }
.gen-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gen-row:last-child { border-bottom: 0; }
.gen-row .pill { font-family: var(--mono); font-weight: 700; color: var(--teal-dark); background: var(--teal-tint); padding: 3px 11px; border-radius: 999px; font-size: 13px; }
.tog { width: 38px; height: 22px; border-radius: 999px; background: var(--teal); position: relative; }
.tog::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; right: 3px; }
.tog.off { background: var(--line); }
.tog.off::after { right: auto; left: 3px; }

/* ============================== STATS BAR ============================== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(30px, 4vw, 42px); font-weight: 800; color: var(--teal-dark); letter-spacing: -.03em; }
.stat .lbl { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 4px; }

/* ============================== FEATURES ============================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D6E4E0; }
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-dark); margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ============================== SECURITY (dark) ============================== */
.security { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.security::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 85% 0%, rgba(0,140,124,.22), transparent 60%);
}
.security .wrap { position: relative; }
.security .section-head h2 { color: #fff; }
.security .section-head p { color: var(--dark-text); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.sec-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 30px 26px; }
.sec-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,140,124,.16); color: #2EC8B4; margin-bottom: 18px; }
.sec-card .ico svg { width: 27px; height: 27px; }
.sec-card h3 { font-size: 20px; margin-bottom: 9px; }
.sec-card p { font-size: 15px; color: var(--dark-text); }

.flow {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg);
  padding: 34px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px;
}
.flow-node { text-align: center; }
.flow-node .nbox { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: rgba(0,140,124,.14); color: #2EC8B4; }
.flow-node .nbox svg { width: 36px; height: 36px; }
.flow-node h4 { font-size: 16px; margin-bottom: 5px; }
.flow-node p { font-size: 13.5px; color: var(--faint); }
.flow-link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #2EC8B4; }
.flow-link svg { width: 34px; height: 16px; }
.flow-link span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dark-text); }
.flow-none { color: #6A7C78; }
.flow-none .nbox { background: rgba(255,255,255,.04); color: #6A7C78; border: 1px dashed var(--dark-line); }

/* ============================== SCREENSHOTS ============================== */
.shots { background: var(--bg-soft); }
.shot-row { display: flex; justify-content: center; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.shot .cap { text-align: center; max-width: 250px; }
.shot .cap h4 { font-size: 17px; margin-bottom: 5px; }
.shot .cap p { font-size: 14px; color: var(--muted); }
.shot:nth-child(2) { transform: translateY(-26px); }

/* ============================== PRICING ============================== */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; }
.plan { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 34px; background: #fff; position: relative; }
.plan.pro { border-color: var(--teal); box-shadow: var(--shadow-md); }
.plan .tag { position: absolute; top: -13px; right: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-dark); }
.plan .price { font-size: 40px; font-weight: 800; margin: 12px 0 4px; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan .psub { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.plan ul { display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; font-size: 15px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--teal); }
.plan .btn { width: 100%; margin-top: 28px; }

/* ============================== FAQ ============================== */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 18px; color: var(--ink);
  padding: 24px 44px 24px 4px; position: relative; display: flex;
}
.faq-q .pm { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--teal); transition: transform .25s ease; }
.faq-item.open .faq-q .pm { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 44px 24px 4px; color: var(--muted); font-size: 16px; }
.faq-item.open .faq-a { max-height: 420px; }

/* ============================== CTA ============================== */
.cta-band { text-align: center; }
.cta-card {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
  border-radius: var(--r-xl); padding: clamp(48px, 7vw, 84px) 28px; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(255,255,255,.12), transparent 60%); }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 16px; }
.cta-card p { font-size: clamp(17px, 2vw, 20px); opacity: .92; max-width: 560px; margin: 0 auto 32px; }
.cta-card .store-badges { justify-content: center; }
.cta-card .store-badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.cta-card .store-badge:hover { background: rgba(255,255,255,.22); }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--dark-line); }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 14.5px; margin-top: 16px; max-width: 320px; color: var(--faint); }
.footer-col h5 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--dark-text); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #2EC8B4; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13.5px; color: var(--faint); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { font-size: 13.5px; color: var(--faint); }
.footer-bottom .fb-links a:hover { color: #2EC8B4; }

/* ============================== UTIL / RESPONSIVE ============================== */
[data-lang-en] [lang-de], [data-lang-de] [lang-en] { display: none; }

.mobile-nav { display: none; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .hero-trust, .store-badges { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .feature-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow-link { transform: rotate(90deg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-actions .btn-text { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .feature-grid, .sec-grid, .price-grid { grid-template-columns: 1fr; }
  .shot:nth-child(2) { transform: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .mobile-nav.open { display: block; position: fixed; inset: 72px 0 0; background: rgba(255,255,255,.98); backdrop-filter: blur(8px); z-index: 49; padding: 20px var(--gut); }
  .mobile-nav a { display: block; font-size: 20px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   LEGAL PAGES (privacy / terms / imprint)
   ============================================================ */
.legal-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 82% -20%, var(--teal-tint) 0%, transparent 60%),
    radial-gradient(620px 360px at 4% 0%, var(--teal-tint-2) 0%, transparent 55%);
}
.legal-hero .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--teal-dark);
  margin-bottom: 22px; transition: gap .15s ease, color .15s;
}
.legal-hero .back:hover { gap: 12px; color: var(--teal); }
.legal-hero .back svg { width: 18px; height: 18px; }
.legal-hero h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 16px 0 0; max-width: 16ch; }
.legal-hero .eff { font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 16px; }
.legal-hero .eff b { color: var(--ink-2); font-weight: 700; }

.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; max-width: 860px;
}
.legal-toc a {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; transition: all .15s;
}
.legal-toc a:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-tint-2); }

.legal-body { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal-prose { max-width: 760px; }
.legal-prose > section { scroll-margin-top: 96px; padding-top: 12px; }
.legal-prose > section + section {
  margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line-2);
}
.legal-prose h2 {
  font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 12px;
}
.legal-prose h2 .n {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--teal); letter-spacing: 0; flex: none;
}
.legal-prose h3 {
  font-size: 18px; font-weight: 800; color: var(--ink);
  margin: 28px 0 10px; letter-spacing: -.01em;
}
.legal-prose p { font-size: 16.5px; color: var(--ink-2); margin: 0 0 16px; text-wrap: pretty; }
.legal-prose p:last-child { margin-bottom: 0; }
.legal-prose a:not(.back) { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-decoration-color: #BBDCD6; text-underline-offset: 2px; }
.legal-prose a:not(.back):hover { color: var(--teal); }
.legal-prose ul { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.legal-prose ul li { position: relative; padding-left: 26px; font-size: 16.5px; color: var(--ink-2); }
.legal-prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.legal-prose ul li b { color: var(--ink); font-weight: 700; }
.legal-prose .addr { font-style: normal; line-height: 1.8; font-size: 16.5px; color: var(--ink); }
.legal-prose .note {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--r-sm); padding: 16px 20px; margin: 4px 0 18px;
  font-size: 15px; color: var(--muted);
}
.legal-prose .ver { font-size: 14.5px; color: var(--faint); font-weight: 600; margin-top: 8px; }

@media (max-width: 720px) {
  .legal-prose h2 { flex-direction: column; gap: 4px; }
}

/* reveal on scroll — progressive enhancement.
   Hidden state only applies once JS confirms it's active (html.js),
   so crawlers and no-JS users always see content. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HELP & SUPPORT PAGE
   ============================================================ */
.help-toc a .ico { width: 15px; height: 15px; margin-right: 7px; color: var(--teal); flex: none; }
.help-toc a { display: inline-flex; align-items: center; }

/* platform pills in hero */
.help-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.help-platforms .pf {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.help-platforms .pf svg { width: 15px; height: 15px; color: var(--teal); }

/* quick category cards */
.help-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); }
.help-cat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md, 16px);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.help-cat:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,140,124,.45); }
.help-cat .badge {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--teal-tint-2); color: var(--teal-dark);
}
.help-cat .badge svg { width: 21px; height: 21px; }
.help-cat h4 { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.help-cat p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* guide section headings reuse .legal-prose styling.
   ordered step lists */
.help-prose .guide + .guide { margin-top: 32px; }
.help-prose .guide h3 { margin: 0 0 12px; }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin: 0 0 4px; padding: 0; list-style: none; }
.steps li {
  position: relative; counter-increment: step;
  padding: 3px 0 3px 44px; min-height: 30px;
  font-size: 16.5px; line-height: 1.55; color: var(--ink-2);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal-tint-2); color: var(--teal-dark);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.steps li b { color: var(--ink); font-weight: 700; }
.steps li code, .help-prose code {
  font-family: var(--mono); font-size: 13.5px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink);
}

/* video link row */
.help-vids { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 4px; }
.help-vid {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-size: 15px; font-weight: 600; color: var(--teal-dark);
  text-decoration: none !important;
}
.help-vid svg { width: 20px; height: 20px; flex: none; color: var(--teal); }
.help-vid:hover { color: var(--teal); }

/* contact card */
.help-contact {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--teal); color: #fff;
  border-radius: var(--r-md, 18px); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.help-contact h3 { font-size: clamp(20px, 2.4vw, 26px); color: #fff; margin: 0 0 6px; letter-spacing: -.01em; }
.help-contact p { color: rgba(255,255,255,.85); font-size: 16px; margin: 0; max-width: 44ch; }
.help-contact .btn-light {
  background: #fff; color: var(--teal-dark); font-weight: 700;
  padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px; transition: transform .15s, box-shadow .15s;
}
.help-contact .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0,0,0,.45); }
.help-contact .btn-light svg { width: 18px; height: 18px; }

@media (max-width: 860px) { .help-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .help-cats { grid-template-columns: 1fr; } }

/* collapsible help sections */
.help-acc > .help-acc-head { cursor: pointer; user-select: none; align-items: center; margin-bottom: 0; transition: color .15s; }
.help-acc.open > .help-acc-head { margin-bottom: 18px; }
.help-acc > .help-acc-head:hover { color: var(--teal-dark); }
.help-acc > .help-acc-head .chev { width: 22px; height: 22px; color: var(--teal); margin-left: auto; flex: none; transition: transform .25s ease; }
.help-acc.open > .help-acc-head .chev { transform: rotate(90deg); }
.help-acc > .help-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.help-acc.open > .help-acc-body { grid-template-rows: 1fr; }
.help-acc > .help-acc-body > .help-acc-inner { overflow: hidden; min-height: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
