/*
 * Privacy policy, in the Triton Electric brand: near-black ground, warm
 * off-white text, Bebas Neue for the title, DM Sans for reading, DM Mono for
 * small labels. Tokens mirror web/themes/custom/tec/css/base/styles.css.
 */

.tec-policy-page {
  --tp-black: #0a0a0a;
  --tp-ink: #f5f0e8;
  --tp-ink-dim: #a8a39b;
  --tp-line: #2e2e2e;
  --tp-highlight: #ffffff;

  min-height: 100vh;
  background: var(--tp-black);
  color: var(--tp-ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  hyphens: manual;
}

/* The page shell is Olivero's; take the whole viewport dark. */
body:has(.tec-policy-page) {
  margin: 0;
  background: #0a0a0a;
}

.tec-policy-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--tp-line);
}

.tec-policy-page__logo img {
  display: block;
  width: 72px;
  height: 72px;
}

.tec-policy-page a.tec-policy-page__home {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tp-ink);
}

.tec-policy-page a.tec-policy-page__home:hover,
.tec-policy-page a.tec-policy-page__home:focus-visible {
  color: var(--tp-highlight);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tec-policy-page__main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.tec-policy-page__footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--tp-line);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--tp-ink-dim);
}

.tec-policy__eyebrow {
  margin: 0 0 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tp-ink-dim);
}

.tec-policy-page h1.tec-policy__title {
  margin: 0;
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--tp-ink);
}

.tec-policy__date {
  margin: 0.75rem 0 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--tp-ink-dim);
}

.tec-policy-page .tec-policy h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--tp-ink);
}

.tec-policy p,
.tec-policy ul {
  margin: 0 0 1rem;
}

.tec-policy ul {
  padding-left: 1.2rem;
}

.tec-policy li {
  margin-bottom: 0.6rem;
}

.tec-policy strong {
  font-weight: 500;
  color: var(--tp-highlight);
}

.tec-policy-page .tec-policy a {
  color: var(--tp-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tec-policy-page .tec-policy a:hover,
.tec-policy-page .tec-policy a:focus-visible {
  color: var(--tp-highlight);
}

/* The brand's slanted white button, as on the home page. */
.tec-policy-page .tec-policy a.tec-policy__button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--tp-highlight);
  color: var(--tp-black);
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.tec-policy-page .tec-policy a.tec-policy__button:hover,
.tec-policy-page .tec-policy a.tec-policy__button:focus-visible {
  background: #e8e8e8;
  color: var(--tp-black);
}
