/* D.I.G. Deeper LLC site. Mobile first, no framework, no external fonts. */

:root {
  --ink: #17201f;
  --ink-soft: #4a5654;
  --paper: #fbf9f4;
  --paper-alt: #f1ede3;
  --card: #ffffff;
  --line: #ddd6c6;
  --teal: #0f3d3e;
  --teal-deep: #0a2c2d;
  --gold: #c9a24a;
  --gold-soft: #f3e6c4;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--teal);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.75rem;
  color: var(--teal-deep);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.small {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.brand-llc {
  font-weight: 500;
  color: var(--ink-soft);
}

.header-phone {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Hero */

.hero {
  background: var(--teal);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 1.9rem;
  color: #fff;
  max-width: 34ch;
}

.lede {
  font-size: 1.125rem;
  color: #e6eeed;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
  color: #d5e2e0;
}

.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold);
  color: var(--teal-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d9b45e;
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.hero .btn-secondary {
  color: #fff;
}

.section .btn-secondary {
  color: var(--teal);
}

/* Section nav */

.section-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section-nav .wrap {
  display: flex;
  gap: 1.25rem;
  white-space: nowrap;
}

.section-nav a {
  display: inline-block;
  padding: 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}

.section-nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--gold);
}

/* Sections */

.section {
  padding: 2.75rem 0;
  scroll-margin-top: 7rem;
}

.section-alt {
  background: var(--paper-alt);
}

.callout {
  background: var(--card);
  border-left: 4px solid var(--gold);
  border-radius: 0.5rem;
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}

.callout h3 {
  margin-bottom: 0.35em;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout-plain {
  border-left-color: var(--teal);
}

/* Steps */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.1rem 1.25rem 1.1rem 3.6rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.steps p:last-child {
  margin-bottom: 0;
}

/* Fee */

.fee-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.fee-points li {
  padding-left: 1.75rem;
  position: relative;
}

.fee-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid var(--gold);
}

/* Verify */

.facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.9rem 1.1rem;
}

.fact dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.fact dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#verify .btn {
  margin-bottom: 1rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.1rem 1.25rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-big {
  font-size: 1.2rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  margin-bottom: 0.25rem;
}

.contact-big a {
  text-decoration: none;
}

.download {
  background: var(--teal);
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
}

.download h3 {
  color: var(--gold);
}

.download p {
  color: #e6eeed;
}

.download .btn-secondary {
  color: #fff;
}

/* Footer */

.site-footer {
  background: var(--teal-deep);
  color: #b9cbc9;
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-links span {
  margin: 0 0.4rem;
}

/* Larger screens */

@media (min-width: 40em) {
  .hero {
    padding: 4.5rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .steps,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
  }

  .download p {
    margin: 0;
  }

  .download h3 {
    margin-bottom: 0.35em;
  }

  .download .btn {
    white-space: nowrap;
  }
}

@media (min-width: 64em) {
  .hero h1 {
    font-size: 3rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps li {
    padding: 3.4rem 1.25rem 1.25rem;
  }

  .steps li::before {
    top: 1.1rem;
    left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
