* {
  box-sizing: border-box;
}

/* =========================
   COLOR VARIABLES
========================= */

:root {
  --bg: #ffffff;
  --text: #171717;
  --text-light: #444444;
  --muted: #666666;
  --border: #eeeeee;
  --card: #ffffff;
  --input: #ffffff;

  --hero: linear-gradient(135deg, #ffffff, #f5f3ff);

  --purple: #6d28d9;
  --purple-hover: #5b21b6;
  --purple-light: #d8b4fe;

  --ghost: #f3f4f6;
  --dark: #171717;
}

/* =========================
   DARK MODE
========================= */

body.dark-mode {
  --bg: #0d0d12;
  --text: #f5f5f5;
  --text-light: #d1d1d1;
  --muted: #b5b5bd;
  --border: #2d2d35;
  --card: #17171f;
  --input: #18181f;

  --hero: linear-gradient(135deg, #0d0d12, #171225);

  --purple: #9b6cff;
  --purple-hover: #7c3aed;
  --purple-light: #c4a7ff;

  --ghost: #24242d;
  --dark: #0a0a0d;
}

/* =========================
   GENERAL
========================= */

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

/* =========================
   HEADER
========================= */

header {
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 7%;

  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;

  background: var(--bg);

  z-index: 5;

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;

  text-decoration: none;
  color: var(--text);

  font-weight: 800;
  font-size: 22px;
}

.brand small {
  display: block;

  font-size: 8px;
  letter-spacing: 3px;

  color: var(--purple);
}

.mark {
  color: var(--purple);
  font-size: 30px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;

  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--purple);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;

  background: var(--purple);
  color: #ffffff;

  border: 0;
  border-radius: 10px;

  padding: 12px 18px;

  text-decoration: none;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
}

.ghost {
  background: var(--ghost);
  color: var(--text);

  margin-left: 8px;
}

.ghost:hover {
  background: var(--border);
}

/* =========================
   DARK MODE BUTTON
========================= */

.dark-toggle {
  border: 3px solid var(--border);

  background: var(--card);
  color: var(--text);

  padding: 4px 8px;

  border-radius: 7px;

  cursor: pointer;

  font-weight: 700;
  font-size: 14px;

  transition: all 0.3s ease;
}

.dark-toggle:hover {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 620px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;

  padding: 80px 9%;

  background: var(--hero);

  transition: background 0.3s ease;
}

.eyebrow {
  letter-spacing: 3px;

  color: var(--purple);

  font-weight: 800;
  font-size: 12px;
}

.hero h1 {
  font-size: 70px;
  line-height: 0.95;

  margin: 15px 0;
}

.hero em {
  color: var(--purple);
  font-style: normal;
}

.lead {
  font-size: 20px;

  color: var(--muted);

  max-width: 520px;

  margin-bottom: 30px;
}

/* =========================
   MOUNTAIN
========================= */

.mountain {
  height: 380px;

  border-radius: 28px;

  background: linear-gradient(160deg, #171717, #31204c);

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  color: #ffffff;

  box-shadow: 0 25px 60px #0002;
}

.mountain:before {
  content: "";

  width: 0;
  height: 0;

  border-left: 150px solid transparent;
  border-right: 150px solid transparent;

  border-bottom: 210px solid var(--purple);
}

.nj {
  font-size: 48px;
  font-weight: 900;

  margin-top: -120px;
}

.mountain p {
  letter-spacing: 5px;

  color: var(--purple-light);

  margin-top: 80px;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 85px 9%;
}

h2 {
  font-size: 38px;
  margin-top: 0;
}

/* =========================
   HOMEPAGE SERVICE CARDS
========================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.cards a {
  text-decoration: none;
  color: inherit;
}

.cards article,
.steps div {
  padding: 28px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--card);

  box-shadow: 0 10px 30px #00000008;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

.cards article {
  cursor: pointer;
}

.cards article:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
}

.cards b {
  font-size: 20px;
}

.cards p {
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   HOW IT WORKS
========================= */

.steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.steps b {
  color: var(--purple);

  font-size: 28px;
}

/* =========================
   ABOUT
========================= */

.about {
  background: var(--dark);
  color: #ffffff;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;
}

.about p {
  color: #dddddd;

  font-size: 20px;

  line-height: 1.6;
}

.quote {
  font-size: 24px;

  color: var(--purple-light);

  align-self: center;
}

/* =========================
   CONTACT FORM
========================= */

form {
  max-width: 650px;

  display: grid;

  gap: 12px;
}

input,
textarea {
  padding: 15px;

  border: 1px solid var(--border);

  border-radius: 10px;

  font: inherit;

  background: var(--input);

  color: var(--text);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--purple);

  border-color: var(--purple);
}

textarea {
  min-height: 130px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 30px;

  padding: 50px 7% 20px;

  background: var(--dark);

  color: var(--muted);
}

.footer-content {
  display: flex;

  justify-content: space-between;
  align-items: center;

  max-width: 1200px;

  margin: 0 auto;
}

.footer-brand h2 {
  margin: 0 0 10px;

  font-size: 24px;

  color: #ffffff;
}

.footer-brand p {
  margin: 0;

  color: var(--muted);
}

.footer-social {
  display: flex;

  gap: 25px;
}

.footer-social a {
  color: #ffffff;

  text-decoration: none;

  font-size: 15px;
}

.footer-social a:hover {
  color: var(--purple);
}

.footer-bottom {
  max-width: 1200px;

  margin: 40px auto 0;

  padding-top: 20px;

  border-top: 1px solid var(--border);

  text-align: center;
}

.footer-bottom p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}

/* ========================================
   SERVICE PAGES
======================================== */

/* =========================
   SERVICE HERO
========================= */

.service-hero {
  text-align: center;

  padding: 90px 7% 80px;

  background: var(--hero);

  border-bottom: 1px solid var(--border);
}

.service-hero h1 {
  margin: 15px 0;

  font-size: 64px;

  line-height: 1;
}

.service-hero h1 em {
  color: var(--purple);

  font-style: normal;
}

.service-hero > p:last-child {
  max-width: 650px;

  margin: 25px auto 0;

  color: var(--muted);

  font-size: 19px;

  line-height: 1.6;
}

/* =========================
   SERVICE INTRO
========================= */

.service-intro {
  max-width: 750px;

  margin: 0 auto;

  text-align: center;

  padding-bottom: 45px;
}

.service-intro h2 {
  margin-bottom: 15px;
}

.service-intro p {
  color: var(--muted);

  line-height: 1.7;

  font-size: 17px;
}

/* =========================
   PRICING
========================= */

.pricing-section {
  padding-top: 20px;
}

.pricing-cards {
  max-width: 1000px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.price-card {
  padding: 30px;

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 18px;

  box-shadow: 0 10px 30px #00000008;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);

  border-color: var(--purple);
}

.price-card h3 {
  margin: 0 0 12px;

  font-size: 21px;
}

.price-card p {
  margin: 0;

  color: var(--muted);

  line-height: 1.6;
}

.price-card strong {
  display: block;

  margin-top: 22px;

  color: var(--purple);

  font-size: 19px;
}

.price-card ul {
  padding-left: 20px;

  margin: 20px 0;

  color: var(--muted);

  line-height: 1.7;
}

.price-card li {
  margin-bottom: 5px;
}

.price-card small {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-size: 12px;
}

/* =========================
   MOBILE NOTARY
========================= */

.mobile-pricing {
  max-width: 1000px;

  margin: 30px auto 0;

  padding: 40px;

  background: var(--dark);

  color: #ffffff;

  border-radius: 22px;
}

.mobile-pricing h2 {
  margin: 10px 0 15px;

  font-size: 32px;
}

.mobile-pricing > div {
  max-width: 700px;
}

.mobile-pricing p:not(.eyebrow) {
  color: #dddddd;

  line-height: 1.7;

  font-size: 17px;
}

.mobile-pricing strong,
.mobile-price {
  display: block;

  margin-top: 25px;

  color: var(--purple-light);

  font-size: 22px;
}

.mobile-pricing .eyebrow {
  color: var(--purple-light);
}

.small-note {
  font-size: 14px !important;

  margin-top: 12px;
}

/* =========================
   BUSINESS DOCUMENTS
========================= */

.business-info {
  max-width: 1000px;

  margin: 0 auto;
}

.business-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.business-list > div {
  padding: 25px;

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 18px;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

.business-list > div:hover {
  transform: translateY(-2px);

  border-color: var(--purple);
}

.business-list b {
  font-size: 18px;
}

.business-list p {
  color: var(--muted);

  line-height: 1.6;

  margin-bottom: 0;
}

/* =========================
   IMPORTANT INFORMATION
========================= */

.important-info {
  max-width: 1000px;

  margin: 0 auto;
}

.important-info h2 {
  margin-bottom: 20px;
}

.important-info ul {
  padding-left: 22px;

  max-width: 850px;
}

.important-info li {
  margin-bottom: 12px;

  color: var(--muted);

  line-height: 1.6;
}

/* =========================
   CALL TO ACTION
========================= */

.service-cta {
  text-align: center;

  background: var(--hero);
}

.service-cta h2 {
  margin-bottom: 10px;
}

.service-cta p {
  color: var(--muted);

  margin-bottom: 25px;
}

.service-cta .ghost {
  margin-left: 8px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {
  /* HEADER */

  header {
    padding: 0 5%;
  }

  nav {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .mark {
    font-size: 26px;
  }

  .dark-toggle {
    padding: 8px 10px;
    font-size: 12px;
  }

  /* HOMEPAGE HERO */

  .hero {
    grid-template-columns: 1fr;

    padding: 60px 7%;
  }

  .hero h1 {
    font-size: 52px;
  }

  .mountain {
    margin-top: 40px;
  }

  /* HOMEPAGE SERVICE CARDS */

  .cards {
    grid-template-columns: 1fr;
  }

  /* HOW IT WORKS */

  .steps {
    grid-template-columns: 1fr;
  }

  /* ABOUT */

  .about {
    grid-template-columns: 1fr;
  }

  /* SERVICE HERO */

  .service-hero {
    padding: 65px 7% 60px;
  }

  .service-hero h1 {
    font-size: 48px;
  }

  .service-hero > p:last-child {
    font-size: 17px;
  }

  /* PRICING */

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  /* MOBILE NOTARY */

  .mobile-pricing {
    padding: 30px;
  }

  .mobile-pricing h2 {
    font-size: 27px;
  }

  /* BUSINESS DOCUMENTS */

  .business-list {
    grid-template-columns: 1fr;
  }

  /* BUTTONS */

  .service-cta .btn {
    margin: 5px;
  }

  .ghost {
    margin-left: 0;
  }

  /* FOOTER */

  .footer-content {
    flex-direction: column;

    gap: 25px;

    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
