/* Free trademark-check landing page. Matches Markhaven Brands colors, type, and spacing. */
:root {
  --navy: #101826;
  --ink: #2A3854;
  --muted: #4A5163;
  --soft: #5E6472;
  --gold: #C8A25A;
  --gold-hover: #D4B36F;
  --gold-deep: #7D5F27;
  --ivory: #F5F1E8;
  --card: #FCFAF5;
  --line: #E2DACA;
  --line-dark: #D9CFBC;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { margin: 0; background: var(--ivory); color: var(--navy); }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

.mh-top {
  padding: 22px max(24px, env(safe-area-inset-left, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.mh-top a.wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  color: #F5F1E8;
  text-decoration: none;
}
.mh-top a.wordmark span {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.mh-top .talk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #2A3854;
  background: #172238;
  color: #F5F1E8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.mh-top .talk:hover { color: #F5F1E8; border-color: var(--gold); }

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px max(24px, env(safe-area-inset-left, 0px)) 24px;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 7vw, 58px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
}
.lede {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 40em;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.field label .opt {
  font-weight: 400;
  color: var(--soft);
}
.field input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1.5px solid var(--line-dark);
  background: #fff;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  outline-color: var(--gold);
}
.field input::placeholder { color: #8A93A3; }
.cta {
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta:hover { background: var(--gold-hover); color: var(--navy); }
.note {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
}

main.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px max(24px, env(safe-area-inset-left, 0px)) 72px;
}
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  margin: 48px 0 16px;
}
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
p, li { color: var(--ink); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.steps .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}
.steps p { margin: 0; }

.callout {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.callout h2 { margin-top: 0; }
.callout .cta { margin-top: 8px; }

.faq { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.faq div p { margin: 0; }

.legal-note {
  margin-top: 40px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

.mh-foot {
  padding: 20px 24px 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #B8C0CE;
  background: var(--navy);
}
.mh-foot a { color: #F5F1E8; }

html.mh-check-run,
html.mh-check-run body { background: #101826; }
html.mh-check-run #landing { display: none; }
html:not(.mh-check-run) #app { display: none; }

@media (max-width: 560px) {
  .mh-top { padding: 18px 16px; }
  .mh-top a.wordmark span { font-size: 9px; letter-spacing: .16em; }
  .hero { padding-top: 36px; }
  .card { padding: 18px; }
}

.cta:focus-visible,
.field input:focus-visible,
.mh-top .talk:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* MOCKUP: BBB rating in the footer — report-card grade tile of our own design (no BBB artwork) */
.mh-foot .mh-bbb{display:inline-flex;align-items:center;gap:10px;margin:10px 0 6px;text-decoration:none}
.mh-foot .mh-bbb-a{flex:none;width:30px;height:33px;box-sizing:border-box;border:1.5px solid #C8A25A;border-radius:6px;background:linear-gradient(180deg,rgba(200,162,90,.16),rgba(200,162,90,.05));box-shadow:inset 0 0 0 2px #101826,inset 0 0 0 3px rgba(200,162,90,.45);display:inline-flex;align-items:center;justify-content:center;padding-top:2px;font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:22px;line-height:1;color:#E2C27F}
.mh-foot .mh-bbb-t{font-family:'DM Sans',system-ui,sans-serif;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#B8C0CE}
.mh-foot .mh-bbb:hover .mh-bbb-t{color:#F5F1E8}
.mh-foot .mh-bbb:focus-visible{outline:2px solid #C8A25A;outline-offset:4px}
