/* ============================================================
   MTD Master — Slate theme (Elevated Editorial)
   Parchment canvas · warm ink · slate navy accent · sage cue
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F4ED;        /* ivory parchment canvas */
  --paper-deep: #EFE9DC;   /* warm beige section */
  --card: #FFFDFA;         /* warm white card */
  --ink: #1E1B16;          /* warm near-black */
  --ink-soft: #6E665B;     /* muted warm gray */
  --ink-faint: #9C9384;    /* faint gray */
  --accent: #3A4A63;       /* slate navy */
  --accent-deep: #2B3850;
  --accent-soft: #DCE3EC;  /* slate wash */
  --done: #4A7A5C;         /* muted sage */
  --line: rgba(30,27,22,.08);
  --line-soft: rgba(30,27,22,.05);

  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-soft: 0 10px 44px rgba(44,51,61,.06);
  --shadow-btn: 0 8px 22px -8px rgba(58,74,99,.5);

  --container: 1200px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* faint parchment texture */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(30,27,22,.03) 1px, transparent 1px);
  background-size: 3px 3px; opacity: .5;
}
main, .site-nav, .footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow i { width: 22px; height: 2px; background: var(--accent); }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--accent-soft); }
.eyebrow.light i { background: var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; padding: 13px 22px; border-radius: 12px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #FFF9F2; box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(58,74,99,.6); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(30,27,22,.14);
}
.btn-ghost:hover { border-color: rgba(30,27,22,.3); background: rgba(30,27,22,.03); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,237,.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.brand-mark img { object-fit: cover; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.2px; color: var(--ink); }
.brand-name span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
  text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; transition: .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 42px; height: 42px; border-radius: 11px;
  background: var(--card); border: 1px solid var(--line); cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section shells ---------- */
.section { padding: 96px 0; position: relative; }
.section-tint { background: var(--paper-deep); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: 40px; }
.section-head .sub { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--paper-deep);
  padding: 72px 0 68px; overflow: hidden;
}
.hero-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-deco-a { right: -140px; top: -160px; width: 420px; height: 420px; background: var(--accent); opacity: .09; }
.hero-deco-b { right: 40px; bottom: -180px; width: 300px; height: 300px; border: 1.5px solid var(--accent); opacity: .18; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 { font-size: 52px; line-height: 1.08; letter-spacing: -.6px; margin-bottom: 20px; }
.hero-copy h1 .accent-underline { color: var(--accent); }
.hero-copy .lead { color: var(--ink-soft); font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; }
.hero-meta li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.hero-meta li svg { color: var(--done); }

/* Product mock */
.hero-mock { position: relative; }
.mock-window {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
}
.mock-titlebar .dots { display: flex; gap: 6px; }
.mock-titlebar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-titlebar .dots i:first-child { background: #E4A79A; }
.mock-titlebar .dots i:nth-child(2) { background: #E6C98A; }
.mock-titlebar .dots i:nth-child(3) { background: #A9C4A9; }
.mock-title { font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--ink-soft); flex: 1; }
.mock-pill { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--done); background: #E4EDE6; padding: 4px 10px; border-radius: 999px; }
.mock-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 18px; }
.mock-main, .mock-side { display: flex; flex-direction: column; gap: 14px; }
.mock-card { background: var(--paper); border-radius: 14px; padding: 18px; }
.mock-card-h { font-family: var(--serif); font-weight: 650; font-size: 14px; margin-bottom: 14px; }
.mock-step { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 11px; background: var(--card); margin-bottom: 10px; }
.mock-badge {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep);
}
.mock-step.done .mock-badge { background: #E4EDE6; color: var(--done); }
.mock-step-txt { flex: 1; min-width: 0; }
.mock-step-txt b { display: block; font-size: 13px; font-weight: 650; }
.mock-step-txt span { color: var(--ink-soft); font-size: 11.5px; }
.mock-flag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--done); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.mock-stats > div { background: var(--card); border-radius: 10px; padding: 12px; }
.mock-stats span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.mock-stats b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 700; margin-top: 4px; }

.mock-deadline { background: linear-gradient(135deg, #EDF1F6, #DAE2EC); }
.mock-deadline .mock-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px; display: block; }
.mock-date { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--ink); }
.mock-date small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-top: 5px; }
.mock-chip { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: rgba(58,74,99,.1); color: var(--accent-deep); }
.mock-chip.hot { background: var(--accent); color: #FFF9F2; }
.mock-bal { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.mock-bal + .mock-bal { border-top: 1px solid var(--line-soft); }
.mock-logo { width: 32px; height: 32px; border-radius: 9px; color: #FFF9F2; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.mock-bal > div { flex: 1; min-width: 0; }
.mock-bal b { display: block; font-size: 12.5px; font-weight: 650; }
.mock-bal span { color: var(--ink-soft); font-size: 11px; }
.mock-bal em { font-family: var(--serif); font-style: normal; font-weight: 700; font-size: 13px; }

/* floating chips */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-size: 12.5px; font-weight: 650; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.float-chip .fc-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--accent-soft); }
.float-chip .fc-ico.done { background: #E4EDE6; }
.float-top { top: -18px; left: -22px; }
.float-bot { bottom: -18px; left: 34px; }
.float-right { top: 40%; right: -32px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--paper); padding: 40px 0; border-bottom: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.trust-item svg { flex-shrink: 0; }
.trust-item b { display: block; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.trust-item span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Cards (problem) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- How it works ---------- */
.steps-flow {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #FFF9F2; font-family: var(--serif); font-weight: 700; font-size: 19px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.compare-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
}
.compare-win { background: linear-gradient(160deg, #FFFDFA, #F3F6FA); border-color: rgba(58,74,99,.18); }
.compare-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cp-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.cp-ico.lose { background: #F0E7E0; color: #8A6B55; }
.cp-ico.win { background: var(--accent-soft); color: var(--accent-deep); }
.compare-head b { display: block; font-size: 18px; font-family: var(--serif); font-weight: 700; }
.compare-head span { color: var(--ink-soft); font-size: 13px; }
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); }
.ci { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 700; }
.ci.lose { background: #F0E7E0; color: #8A6B55; }
.ci.win { background: #E4EDE6; color: var(--done); }

/* ---------- Security ---------- */
.security { background: var(--accent-deep); color: #FFF9F2; }
.security-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.security h2 { font-size: 40px; margin-bottom: 16px; }
.security p { color: #D5DCE8; font-size: 17px; max-width: 540px; margin-bottom: 30px; }
.sec-points { display: grid; gap: 20px; }
.sec-point { display: flex; gap: 16px; align-items: flex-start; }
.sec-badge {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 16px;
  background: rgba(220,227,236,.14); color: var(--accent-soft);
}
.sec-point b { display: block; font-size: 16px; font-weight: 650; color: #FFF9F2; margin-bottom: 2px; }
.sec-point span { color: #B9C2D4; font-size: 14px; }

.security-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.shield {
  width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(220,227,236,.08); border: 1px solid rgba(220,227,236,.16);
  color: var(--accent-soft); position: relative; z-index: 1;
}
.shield::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 1px dashed rgba(220,227,236,.2); }
.sec-tag {
  position: absolute; background: rgba(30,27,22,.4); border: 1px solid rgba(220,227,236,.2);
  color: var(--accent-soft); font-size: 12.5px; font-weight: 650;
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.sec-tag-2 { top: 18px; right: 24px; }
.sec-tag-3 { bottom: 22px; left: 20px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.stars { color: #D9A94A; letter-spacing: 2px; font-size: 15px; margin-bottom: 16px; }
.quote blockquote { font-size: 16px; line-height: 1.55; color: var(--ink); margin-bottom: 22px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.q-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: 14px; }
.quote figcaption b { display: block; font-size: 14.5px; font-weight: 650; }
.quote figcaption span { color: var(--ink-soft); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 26px; font-size: 16.5px; font-weight: 650; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: .2s;
}
.faq-plus::before { top: 9px; left: 3px; width: 14px; height: 2px; }
.faq-plus::after { top: 3px; left: 9px; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { padding: 0 26px 24px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta { background: var(--paper-deep); }
.cta-inner { text-align: center; max-width: 720px; }
.cta-inner h2 { font-size: 44px; margin-bottom: 16px; }
.cta-inner p { color: var(--ink-soft); font-size: 18px; margin-bottom: 32px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-note { font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line-soft); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-soft); font-size: 14px; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.footer-bottom p { color: var(--ink-faint); font-size: 12.5px; }
.footer-bottom .disclaimer { max-width: 640px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-copy h1 { font-size: 44px; }
  .features-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-meta { justify-content: center; }
  .hero-mock { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-chip { display: none; }

  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0; z-index: 40;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    display: none; box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-links a:hover { background: var(--paper); }
  .menu-toggle { display: flex; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; }
  .section, .hero { padding: 72px 0; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .hero-copy h1 { font-size: 36px; }
  .section-head h2, .security h2, .cta-inner h2 { font-size: 31px; }
  .features-grid, .cards-3, .steps-flow { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
