/* LineHeist Support / Privacy — shared styles */

:root {
  --bg: #F6F4FC;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --text: #221B36;
  --text-muted: #6C6482;
  --text-faint: #9A93AE;
  --border: #E7E2F4;
  --accent: #C41E68;
  --accent-strong: #A5155A;
  --accent-soft: #FBE6EF;
  --blue: #3457D5;
  --blue-soft: #E8ECFC;
  --card-shadow: 0 1px 2px rgba(34, 27, 54, 0.04), 0 8px 24px -12px rgba(34, 27, 54, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15121F;
    --surface: #1D1830;
    --surface-raised: #221C38;
    --text: #F1EEFA;
    --text-muted: #B0A8C6;
    --text-faint: #8983A0;
    --border: #322A4A;
    --accent: #FF6FA8;
    --accent-strong: #FF8DBB;
    --accent-soft: rgba(255, 111, 168, 0.14);
    --blue: #7C93FF;
    --blue-soft: rgba(124, 147, 255, 0.14);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 9px);
  grid-template-rows: repeat(3, 9px);
  gap: 3px;
  flex-shrink: 0;
}
.brand-mark span { border-radius: 3px; }
.brand-mark span:nth-child(1) { background: var(--accent); }
.brand-mark span:nth-child(2) { background: var(--accent); }
.brand-mark span:nth-child(3) { background: transparent; }
.brand-mark span:nth-child(4) { background: transparent; }
.brand-mark span:nth-child(5) { background: var(--blue); }
.brand-mark span:nth-child(6) { background: var(--blue); }
.brand-mark span:nth-child(7) { background: transparent; }
.brand-mark span:nth-child(8) { background: var(--blue); }
.brand-mark span:nth-child(9) { background: transparent; }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.brand-word a { color: var(--text); }
.brand-word a:hover { text-decoration: none; opacity: 0.85; }
.brand-tag { font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }

.nav {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav a:hover { text-decoration: none; color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 32px clamp(20px, 5vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 6px;
}
.subtitle { color: var(--text-muted); font-size: 14.5px; margin: 0 0 28px; }

h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.005em;
}
h2:first-of-type { border-top: none; padding-top: 0; margin-top: 26px; }

h3 { font-size: 14.5px; font-weight: 800; margin: 20px 0 6px; color: var(--text); }

p { margin: 0 0 12px; font-size: 15px; max-width: 66ch; color: var(--text); }
p.muted { color: var(--text-muted); font-size: 13.5px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { font-size: 15px; margin-bottom: 6px; max-width: 62ch; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.hero-line { font-size: 15.5px; color: var(--text-muted); margin-bottom: 24px; max-width: 58ch; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 8px 0 8px;
}
.contact-item {
  border: 1px solid var(--border);
  background: var(--surface-raised);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.contact-item .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.contact-item .value { font-size: 14.5px; font-weight: 600; }

.trouble-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.trouble-item:first-of-type { border-top: none; }
.trouble-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.trouble-body h3 { margin: 0 0 4px; }
.trouble-body p { margin: 0; font-size: 14px; color: var(--text-muted); }

footer.page-foot { text-align: center; color: var(--text-faint); font-size: 12.5px; margin-top: 36px; }

/* Privacy language toggle */
.lang-toggle {
  display: flex;
  gap: 6px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
  width: fit-content;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle button[aria-selected="true"] { background: var(--accent); color: #fff; }
.lang-panel { display: none; }
.lang-panel.active { display: block; }
