/* DailyReport apex site — paper / ink / teal (mockup-aligned) */
:root {
  --paper: #f8f7f2;
  --paper-deep: #efece4;
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --rule: #d4d0c8;
  --teal: #005f61;
  --teal-soft: #e6f2f2;
  --white: #ffffff;
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal);
}

/* —— Landing hero —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  min-height: min(88vh, 720px);
}

.hero-copy .wordmark {
  font-size: 1.75rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.hero-rule {
  width: 3.5rem;
  height: 2px;
  background: var(--ink);
  border: 0;
  margin: 0 0 1.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero .lede {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 28rem;
  margin: 0 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.2s ease;
}

.btn:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 40%, #e8e4d8 0%, transparent 55%),
    linear-gradient(165deg, var(--paper-deep), #e2ddd2);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.phone {
  width: min(100%, 280px);
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.08);
}

.phone .mast {
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.phone .lane {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

.phone article {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  line-height: 1.35;
}

.phone article:last-child {
  border-bottom: 1px solid var(--rule);
}

.phone .meta {
  font-size: 0.65rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

.phone .thumb {
  background: var(--paper-deep);
  aspect-ratio: 1;
}

/* —— Sections —— */
.band {
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.lanes {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.lane-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lane-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.lane-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.lane-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.lane-list p {
  margin: 0;
  color: var(--ink-muted);
}

.trust {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.trust h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.trust h2::before,
.trust h2::after {
  content: "";
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: var(--rule);
}

.trust p {
  color: var(--ink-muted);
  margin: 0;
}

.trust .accent {
  color: var(--teal);
  font-weight: 600;
}

.plus-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.plus-grid ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.plus-grid h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.plus-grid h3.plus {
  color: var(--teal);
}

.link-arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal);
}

/* —— Privacy (Termly-style) —— */
body.privacy-page {
  background: var(--white);
}

.privacy-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.privacy-top .title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
}

.privacy-top .updated {
  text-align: right;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 1.5rem;
}

.toc .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.15rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
}

.toc a::before {
  content: counter(toc) ". ";
  font-variant-numeric: tabular-nums;
}

.toc a:hover,
.toc a.active {
  background: var(--teal-soft);
  color: var(--teal);
  border-left-color: var(--teal);
}

.policy h2 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  scroll-margin-top: 1.5rem;
}

.policy section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.policy section:last-child {
  border-bottom: 0;
}

.policy p,
.policy li {
  color: #333;
}

.policy ul {
  padding-left: 1.25rem;
}

.policy code {
  font-size: 0.9em;
  background: #f4f4f4;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .hero,
  .lanes,
  .plus-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 2.5rem;
  }

  .hero-visual::after {
    display: none;
  }

  .privacy-top {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .privacy-top .updated {
    text-align: left;
  }

  .toc {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
