/* Net Studio LLC — styles for legal & pricing pages.
   Loaded in addition to styles.css. Does not modify any existing rule. */

/* The site header is absolutely positioned over a dark hero.
   Inner pages have no hero, so we give it a dark band of its own. */
.legal-top {
  background: var(--ink);
}
.legal-top .site-header {
  position: static;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 90px clamp(22px, 6vw, 40px) 110px;
}

.legal-lede {
  margin: 0 0 54px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.legal-lede h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.legal-lede p {
  max-width: 58ch;
  margin: 0;
  color: rgba(23, 21, 32, 0.7);
  font-size: 16px;
  line-height: 1.65;
}
.legal-meta {
  margin-top: 18px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(23, 21, 32, 0.5);
}

.legal h2 {
  margin: 54px 0 16px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.01em;
  scroll-margin-top: 24px;
}
.legal h2 .num {
  margin-right: 12px;
  color: var(--accent);
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 500;
}
.legal h3 {
  margin: 30px 0 10px;
  font-size: 16px;
  font-weight: 750;
}
.legal p,
.legal li {
  color: rgba(23, 21, 32, 0.82);
  font-size: 16px;
  line-height: 1.72;
}
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 750; }

.legal-note {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}
.legal-note p:last-child { margin-bottom: 0; }

.legal-table {
  width: 100%;
  margin: 22px 0 26px;
  border-collapse: collapse;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.legal-table th {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(23, 21, 32, 0.6);
}

/* TODO markers — remove once every placeholder is filled in. */
.todo {
  padding: 1px 7px;
  background: var(--lime);
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 500;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .legal { padding-top: 60px; }
  .legal-top .site-header { height: 72px; }
}

/* Email addresses are painted into a <canvas> by email.js so they never
   exist as harvestable text. The control must still read as a link. */
.email-mask {
  display: inline-block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  margin: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}

.email-mask:hover {
  opacity: 0.65;
}

.email-mask:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
