/* ============================================
   Seal My Record Now — v4.0 Marketing CSS
   Loaded only on marketing pages (services, about, etc.)
   Uses the same design tokens as styles.css for consistency.
   ============================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   TOP NAV
   ============================================ */

.mk-topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  /* allow logo to overflow vertically without clipping or scrolling */
  overflow: visible;
}

.mk-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Lock the bar's content box at 76px so the bar itself stays the
     same height regardless of how big the logo overflows. */
  height: 76px;
  box-sizing: content-box;
  overflow: visible;
}

.mk-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  /* The brand element is anchored to the bar's content height, but
     the image inside it can overflow above/below freely. */
  height: 76px;
  overflow: visible;
}

.mk-brand img {
  height: 120px;           /* much bigger logo for stronger branding */
  width: auto;
  display: block;
  max-width: none;
}

@media (max-width: 900px) {
  /* Mobile header — bar stays at 64px, logo is allowed to overflow
     vertically up to 140px so it fills nearly the entire visual space.
     The logo image's natural aspect ratio (3:2) gives it ~210px wide
     at 140px tall, which dominates the header without crowding the
     hamburger button on the right. */
  .mk-topbar-inner { height: 64px; padding: 14px 20px; }
  .mk-brand { height: 64px; }
  .mk-brand img { height: 140px; }
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mk-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 120ms ease;
  white-space: nowrap;
}

.mk-nav a:hover { color: var(--accent); }
.mk-nav a.active { color: var(--accent); }

/* Services dropdown */
.mk-dropdown {
  position: relative;
}

.mk-dropdown-trigger {
  background: none;
  border: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 120ms ease;
}

.mk-dropdown-trigger:hover { color: var(--accent); }
.mk-dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: 0.6;
}

.mk-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 8px;
  min-width: 360px;
  box-shadow: 0 12px 32px rgba(13, 17, 23, 0.08);
  display: none;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;  /* visual gap from trigger */
}

/* Invisible bridge between trigger and menu so the mouse can cross
   the gap without the dropdown closing. ::before sits in the
   12px space and counts as part of the dropdown for hover purposes. */
.mk-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Expand the trigger's hover area downward so hovering anywhere
   between the trigger and menu keeps the dropdown open. */
.mk-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
}
.mk-dropdown:hover::after,
.mk-dropdown.open::after {
  pointer-events: auto;
}

.mk-dropdown:hover .mk-dropdown-menu,
.mk-dropdown.open .mk-dropdown-menu {
  display: flex;
}

.mk-dropdown-item {
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 120ms ease;
}

.mk-dropdown-item:hover { background: var(--accent-light); }

.mk-dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
}

.mk-dropdown-item-meta {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
}

.mk-dropdown-divider {
  height: 1px;
  background: var(--rule);
  margin: 6px 4px;
}

/* Specificity bumped to .mk-nav a.mk-cta-btn so it wins over .mk-nav a */
.mk-cta-btn,
.mk-nav a.mk-cta-btn {
  background: var(--accent);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 120ms ease;
  white-space: nowrap;
}

.mk-cta-btn:hover,
.mk-nav a.mk-cta-btn:hover { background: var(--accent-deep); color: var(--paper); }

.mk-cta-btn-outline,
.mk-nav a.mk-cta-btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--rule);
  padding: 8.5px 16px;
}

.mk-cta-btn-outline:hover,
.mk-nav a.mk-cta-btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* Mobile menu toggle */
.mk-menu-toggle {
  display: none;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  cursor: pointer;
  padding: 10px;
  margin: 0;
  border-radius: 8px;
  color: var(--ink);   /* explicit dark color so SVG strokes are visible */
  line-height: 0;       /* tight box around the SVG */
  transition: background 120ms ease, border-color 120ms ease;
}
.mk-menu-toggle:hover {
  background: var(--paper-deep);
  border-color: var(--ink-mute);
}
.mk-menu-toggle:active {
  background: var(--rule);
}

.mk-menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Mobile drawer */
.mk-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.4);
  z-index: 100;
  opacity: 0;
  transition: opacity 200ms ease;
}

.mk-drawer.open { display: block; opacity: 1; }

.mk-drawer-inner {
  background: var(--paper);
  width: 80%;
  max-width: 320px;
  height: 100%;
  margin-left: auto;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.mk-drawer.open .mk-drawer-inner { transform: translateX(0); }

.mk-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px 0 16px auto;
  display: block;
}

.mk-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.mk-drawer nav a, .mk-drawer-section-title {
  padding: 12px 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
}
.mk-drawer nav a:hover { background: var(--accent-light); color: var(--accent); }

/* The CTA button inside the drawer needs to override the generic
   drawer-link rule above (specificity 0,2,1). Use 0,3,1 specificity
   so the CTA button's white-on-navy styling wins. */
.mk-drawer nav a.mk-cta-btn {
  background: var(--accent);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}
.mk-drawer nav a.mk-cta-btn:hover {
  background: var(--accent-deep);
  color: var(--paper);
}
.mk-drawer-section-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.mk-drawer-sub {
  padding-left: 16px !important;
  font-size: 14px !important;
  color: var(--ink-soft) !important;
}

@media (max-width: 900px) {
  .mk-nav { display: none; }
  .mk-menu-toggle { display: block; }
  .mk-topbar-inner { padding: 14px 20px; }
  .mk-brand img { height: 44px; }
}

/* ============================================
   PAGE LAYOUT
   ============================================ */

.mk-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.mk-page--narrow { max-width: 820px; }

.mk-breadcrumbs {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 24px;
}

.mk-breadcrumbs a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 120ms ease;
}

.mk-breadcrumbs a:hover { color: var(--accent); }

.mk-breadcrumbs-sep {
  margin: 0 8px;
  color: var(--ink-faint);
}

.mk-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
}

h1.mk-h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}

.mk-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 720px;
}

h2.mk-h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
}

h3.mk-h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin: 28px 0 10px;
}

p.mk-p { margin: 0 0 16px; line-height: 1.7; color: var(--ink-soft); }
p.mk-p strong { color: var(--ink); font-weight: 600; }

ul.mk-list, ol.mk-list { margin: 0 0 24px; padding-left: 22px; }
ul.mk-list li, ol.mk-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--ink-soft);
}

ul.mk-list strong, ol.mk-list strong { color: var(--ink); font-weight: 600; }

.mk-statute-cite {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================
   HERO CTA BOX
   ============================================ */

.mk-hero-cta {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0 0;
  max-width: 560px;
}

.mk-hero-cta-points {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-hero-cta-points li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}

.mk-hero-cta-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mk-btn-primary {
  background: var(--accent);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 120ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mk-btn-primary:hover { background: var(--accent-deep); }

.mk-btn-tel {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
}

.mk-btn-tel:hover { color: var(--accent); }

/* ============================================
   COMPARISON & FEATURE TABLES
   ============================================ */

.mk-table-wrap { overflow-x: auto; margin: 24px 0; }

table.mk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}

table.mk-table th, table.mk-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

table.mk-table th {
  background: var(--paper-deep);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.mk-table tbody tr:hover { background: var(--paper-light); }

.mk-table-emphasis {
  background: var(--accent-light) !important;
  font-weight: 600;
}

/* ============================================
   SERVICE CARDS GRID
   ============================================ */

.mk-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.mk-service-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: all 160ms ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-service-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.mk-service-card-statute {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.mk-service-card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.mk-service-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.mk-service-card-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-service-card-meta::after {
  content: "→";
  margin-left: auto;
  font-size: 16px;
}

/* ============================================
   FAQ
   ============================================ */

.mk-faq-section { margin: 32px 0; }

.mk-faq-q {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
  line-height: 1.4;
}

.mk-faq-a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.mk-faq-a strong { color: var(--ink); font-weight: 600; }
.mk-faq-a code {
  background: var(--paper-deep);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--mono);
}

/* ============================================
   AWARDS BAR
   ============================================ */

.mk-awards {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
  margin: 48px 0;
}

.mk-awards-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.mk-awards-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-align: center;
  margin: 0 0 20px;
}

.mk-awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.mk-awards-grid div {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  width: 100%;
  background: var(--paper);
}

/* ============================================
   BOTTOM CTA
   ============================================ */

.mk-bottom-cta {
  background: var(--accent);
  color: var(--paper);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  margin: 64px 0 0;
}

.mk-bottom-cta h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--paper);
}

.mk-bottom-cta p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px;
  opacity: 0.85;
}

.mk-bottom-cta .mk-btn-primary {
  background: var(--paper);
  color: var(--accent);
}

.mk-bottom-cta .mk-btn-primary:hover {
  background: var(--paper-deep);
}

/* ============================================
   COMPLIANCE / DISCLOSURE BOX
   ============================================ */

.mk-disclosure {
  background: var(--amber-bg);
  border: 1px solid var(--amber);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}

.mk-disclosure-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin: 0 0 8px;
}

.mk-disclosure-body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ============================================
   FOOTER
   ============================================ */

.mk-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  padding: 56px 0 32px;
  margin-top: 80px;
}

.mk-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.mk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.mk-footer-brand img {
  height: 120px;           /* v4.0.13 — bumped from 64px for stronger footer branding */
  width: auto;
  max-width: 100%;
  margin-bottom: 12px;
  display: block;
}

.mk-footer-tagline {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 280px;
  margin: 0;
}

.mk-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin: 0 0 16px;
}

.mk-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 120ms ease;
}

.mk-footer-col a:hover { color: var(--accent); }

.mk-footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.mk-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.5;
}

.mk-footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mk-footer-legal a {
  font-size: 12px;
  color: var(--ink-mute);
  text-decoration: none;
}

.mk-footer-legal a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .mk-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mk-footer-grid .mk-footer-brand { grid-column: 1 / -1; }
  .mk-page { padding: 48px 20px 64px; }
}

/* ============================================
   HOMEPAGE LAYERS (above/below screening)
   ============================================ */

.mk-home-hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  border-bottom: 1px solid var(--rule);
  padding: 72px 32px 64px;
}

.mk-home-hero-inner { max-width: 1100px; margin: 0 auto; }

.mk-home-trust {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 24px 0 0;
  line-height: 1.7;
}

.mk-home-trust strong { color: var(--ink-soft); font-weight: 600; }

.mk-home-trust a { color: var(--accent); text-decoration: none; }
.mk-home-trust a:hover { text-decoration: underline; }

.mk-home-below {
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 32px;
}

.mk-home-below h2 { margin-top: 64px; }
.mk-home-below h2:first-child { margin-top: 0; }

@media (max-width: 800px) {
  .mk-home-hero { padding: 48px 20px 40px; }
  .mk-home-below { padding: 0 20px; margin: 40px auto; }
}

/* ============================================
   PRICING TIER CALLOUT
   ============================================ */

.mk-pricing-row-emphasis td {
  background: var(--accent-light);
  font-weight: 600;
}

/* ============================================
   PROSE LINKS
   ============================================ */
.mk-page p a, .mk-page li a, .mk-faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.mk-page p a:hover { text-decoration-thickness: 2px; }
