/* ============================================================
   The Merchant Arc — landing page styles
   Design language: MERCHANT ARC
   Arc Navy + Warm Stone + Digital Mono Blue.
   Trajan-style display caps (Cinzel) + Montserrat body.
   Architectural, premium, trustworthy. Blueprint linework.
   ============================================================ */

:root {
  --navy:     #081034;   /* Arc Navy — primary dark            */
  --navy-2:   #0c1842;   /* lighter navy surface              */
  --blue:     #0066FF;   /* Digital Mono Blue — accent        */
  --blue-dk:  #0050d6;   /* accent hover                      */
  --stone:    #EFE7D6;   /* Warm Stone — page background      */
  --stone-2:  #E6DCC6;   /* deeper stone — alt sections       */
  --paper:    #FBF8F1;   /* light warm — cards                */
  --slate:    #687280;   /* Slate — muted text                */
  --ink:      #1B2238;   /* body text (soft navy-black)       */
  --line:     #D9CFBB;   /* warm hairline                     */
  --line-dk:  #28335c;   /* hairline on navy                  */

  --maxw: 1120px;
  --radius: 4px;         /* architectural precision           */
  --shadow: 0 22px 48px -28px rgba(8, 16, 52, 0.55);
  --font-display: 'Cinzel', 'Trajan Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

/* signature label — Montserrat caps, blue */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); border-color: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 10px 18px; font-size: 0.74rem; }
.btn--lg { padding: 18px 36px; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 231, 214, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand__mark { width: 30px; height: 30px; color: var(--navy); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.nav__links a:hover { color: var(--navy); }
.nav__links .btn { color: var(--navy); }
.nav__links .btn:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 120px;
  background:
    linear-gradient(180deg, rgba(8,16,52,.32), rgba(8,16,52,.62)),
    url('assets/hero-arc-v2.png') left 70%/cover no-repeat;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.hero .accent { color: var(--blue); }
.hero__lede { font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: #d7dce6; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero__trust {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #aeb5c7;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
  display: inline-block;
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--alt { background: var(--stone-2); }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 44px;
}
.section__sub { color: var(--slate); font-size: 1.06rem; max-width: 640px; margin-top: -24px; margin-bottom: 50px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-top-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--blue); }
.card__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 12px; color: var(--navy); line-height: 1.3; }
.card p { color: var(--slate); font-size: 0.96rem; }

/* quiet cards = merchant quotes */
.card--quiet { background: transparent; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-top: 1px solid var(--line); }
.card--quiet p { color: var(--navy); font-size: 1.04rem; font-style: italic; }
.card--quiet:hover { transform: none; box-shadow: none; background: var(--paper); border-top-color: var(--line); }

/* ---------- Statement review offer ---------- */
.offer__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.offer__copy p { color: var(--ink); font-size: 1.06rem; margin: 18px 0 30px; }
.offer__list {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--blue);
  padding: 40px;
}
.offer__list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #fff;
}
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  color: #cdd3e0;
  font-size: 0.98rem;
}
.checklist li strong { color: #fff; font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- Why (navy) ---------- */
.section--dark { background: var(--navy); color: #d7dbe6; }
.section--dark .section__title { color: #fff; }
.why { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.why__lede { font-family: var(--font-display); font-size: 1.1rem; color: var(--blue); margin: 20px 0 20px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.4; }
.why__copy p { color: #aeb5c7; font-size: 1.03rem; }
.why__copy strong { color: #fff; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badges li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  color: #9aa2ba;
}
.why__metaphor svg { width: 100%; height: auto; }

/* ---------- Tags ---------- */
.tags {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}
.tags li {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  min-height: 52px;
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(8, 16, 52, 0.14);
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tags li:nth-child(odd) { color: var(--blue-dk); border-color: var(--blue); }
.tags li:nth-child(even) { color: var(--navy); border-color: var(--slate); }
.tags li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 5-step services (Consult/Design/Implement/Protect/Grow) ---------- */
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-left: 1px solid var(--line); }
.step5 { position: relative; padding: 0 22px; border-right: 1px solid var(--line); text-align: center; }
.step5__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  margin-bottom: 18px;
}
.step5__icon svg { width: 24px; height: 24px; }
.step5 h3 { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; color: var(--navy); }
.step5 p { color: var(--slate); font-size: 0.9rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8,16,52,.55), rgba(8,16,52,.75)),
    url('assets/hero-arc-v2.png') right 50%/105% no-repeat;
  color: #fff;
  text-align: center;
}
.cta__inner { position: relative; max-width: 660px; margin-inline: auto; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.cta__sub { color: #aeb5c7; font-size: 1.1rem; margin: 20px 0 34px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.cta .btn--primary:hover { background: #fff; color: var(--navy); border-color: #fff; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9aa2ba; padding: 56px 0; border-top: 1px solid var(--line-dk); }
.footer__inner { display: flex; flex-direction: column; gap: 16px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.footer__brand span { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.footer__brand .brand__mark { color: #fff; }
.footer__tag { font-family: var(--font-display); font-size: 0.95rem; color: #cdd3e0; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__legal { font-size: 0.85rem; line-height: 1.9; }
.footer__legal a { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .offer__inner, .why { grid-template-columns: 1fr; gap: 36px; }
  .why__metaphor { order: -1; max-width: 360px; }
  .steps5 { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .step5 { border: 1px solid var(--line); padding: 24px 22px; margin: -1px 0 0 -1px; }
  .tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .cards--3 { grid-template-columns: 1fr; }
  .steps5 { grid-template-columns: 1fr; }
  .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 80px; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
}
