/* ==========================================================================
   Truelot — by Dual Digital Network
   Stylesheet
   Palette derived from the agreed design direction.
   ========================================================================== */

:root {
  /* Core palette */
  --navy:        #0D2A36;  /* primary dark  */
  --navy-deep:   #141F34;  /* secondary dark */
  --panel:       #C7E8F8;  /* light blue panel tint */
  --panel-soft:  #EAF6FD;  /* lighter wash */
  --green:       #49AE54;  /* SELL accent  */
  --green-dark:  #3B9145;
  --teal:        #255874;  /* BUY accent   */
  --teal-dark:   #1C455C;
  --ink:         #030303;  /* body text    */
  --muted:       #7E7E7E;  /* captions     */
  --line:        #DCE4E8;
  --neutral:     #F4F4F4;
  --white:       #FFFFFF;

  /* Type scale */
  --f-h1: 52px;  --lh-h1: 60px;
  --f-h2: 34px;  --lh-h2: 42px;
  --f-h3: 20px;  --lh-h3: 28px;
  --f-body: 17px; --lh-body: 28px;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 860px;
  --gutter: 24px;
  --radius: 10px;
  --header-h: 76px;
  --subnav-h: 52px;

  --shadow-sm: 0 1px 2px rgba(13,42,54,.06), 0 2px 8px rgba(13,42,54,.06);
  --shadow-md: 0 2px 6px rgba(13,42,54,.07), 0 12px 32px rgba(13,42,54,.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: rgba(13,42,54,.07);
  padding: .12em .4em;
  border-radius: 4px;
  white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding: 84px 0; scroll-margin-top: calc(var(--header-h) + var(--subnav-h)); }
.section--panel  { background: var(--panel-soft); }
.section--sell   { background: var(--white); }
.section--source { background: var(--panel); }
.section--dark   { background: var(--navy); color: #E6EEF2; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--f-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--f-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--f-h3); line-height: var(--lh-h3); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--teal  { color: var(--teal); }
.eyebrow--green { color: var(--green); }
.eyebrow--light { color: #8FD39A; }

.section__title { max-width: 22ch; }
.section__title--light { color: #fff; }
.section__lead {
  max-width: 68ch;
  color: #44555E;
  margin-bottom: 40px;
}
.section--dark .section__lead { color: #B9CBD4; }

/* Placeholder markers */
.ph {
  background: #FFF3C4;
  border-bottom: 1px dashed #C9A227;
  color: #6B5200;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: .92em;
  font-weight: 500;
}
.section--dark .ph { background: rgba(255,243,196,.16); color: #FFE9A3; border-bottom-color: #B9942A; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

.btn--teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--neutral); color: var(--navy); border-color: #C3D0D6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.brand { text-decoration: none; display: block; line-height: 1.1; flex-shrink: 0; }
.brand__mark {
  display: block;
  font-size: 24px; font-weight: 700; letter-spacing: .13em;
  color: var(--navy);
}
.brand__endorse {
  display: block;
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--green); }

.site-header__cta { display: flex; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,42,54,.90) 0%, rgba(13,42,54,.96) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.028) 0 1px, transparent 1px 26px),
    var(--navy-deep);
  color: #fff;
  padding: 92px 0 72px;
  /* Hermes: to use real equipment photography, add it as the FIRST background layer:
     url('../img/hero.jpg') center/cover no-repeat, ...the gradients above... */
}
.hero__inner { max-width: 820px; }
.hero__title {
  font-size: var(--f-h1); line-height: var(--lh-h1);
  color: #fff; margin-bottom: 20px;
}
.hero__sub {
  font-size: 19px; line-height: 31px;
  color: #C5D6DE;
  max-width: 68ch;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.trust-strip {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 22px;
  gap: 0;
}
.trust-strip li {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: #DCE9EF;
  padding: 0 22px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.trust-strip li:first-child { padding-left: 0; border-left: 0; }
.trust-strip li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  margin-right: 10px;
  vertical-align: 1px;
}

/* ---------- Subnav ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 90;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  height: var(--subnav-h);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav__inner { display: flex; gap: 30px; height: var(--subnav-h); align-items: center; white-space: nowrap; }
.subnav a {
  color: #BBD0D9; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.subnav a:hover { color: #fff; }
.subnav a.is-current { color: #fff; border-bottom-color: var(--green); }

/* ---------- Two doors ---------- */
.doors { margin-top: 36px; }
.door {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.door--buy { border-top-color: var(--teal); }
.door__title { margin-bottom: 6px; }
.door__lead { color: var(--muted); margin-bottom: 20px; }
.door .btn { align-self: flex-start; margin-top: auto; }

/* Tick / cross lists */
.ticks li, .crosses li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px; line-height: 26px;
}
.ticks li::before {
  content: "";
  position: absolute; left: 4px; top: 8px;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
.ticks--teal li::before { border-color: var(--teal); }
.ticks { margin-bottom: 24px; }

.crosses li::before,
.crosses li::after {
  content: "";
  position: absolute; left: 5px; top: 11px;
  width: 12px; height: 2.5px; background: #B4473F; border-radius: 2px;
}
.crosses li::before { transform: rotate(45deg); }
.crosses li::after  { transform: rotate(-45deg); }

/* ---------- Pillars ---------- */
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.pillar__title { color: var(--navy); }
.pillar p { color: #3E4F57; font-size: 16px; line-height: 27px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 8px; }
.step {
  display: flex; gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px;
}
.step:nth-child(-n+3) .step__num { background: var(--green); }
.step__body { flex: 1; }
.step__title { margin-bottom: 4px; }
.step__body p { color: #44555E; font-size: 16px; line-height: 26px; margin-bottom: 10px; }
.step__party {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal);
  background: rgba(37,88,116,.1);
  padding: 4px 11px; border-radius: 999px;
}
.step__party--us { color: var(--green-dark); background: rgba(73,174,84,.12); }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--green);
  background: rgba(73,174,84,.07);
  padding: 26px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 44px;
}
.callout__title { margin-bottom: 8px; color: var(--navy); }
.callout p { color: #3E4F57; max-width: 76ch; }

/* ---------- Value props ---------- */
.valueprops { margin-bottom: 48px; }
.vp__title { font-size: 18px; line-height: 26px; color: var(--navy); }
.vp p { color: #44555E; font-size: 16px; line-height: 26px; }

/* ---------- Scope ---------- */
.scope { margin-top: 32px; }
.scope__col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.scope__title { color: var(--navy); margin-bottom: 18px; }
.scope__note { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---------- Verification cards ---------- */
.vcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.vcard__title { color: var(--navy); }
.vcard p { color: #3E4F57; font-size: 16px; line-height: 27px; }
.vcard .ticks { margin-bottom: 0; }

/* ---------- Placeholder cards ---------- */
.placeholder-card {
  border: 2px dashed #C9A227;
  background: #FFFBEF;
  border-radius: var(--radius);
  padding: 26px 24px;
}
.ph-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #6B5200; background: #FFF3C4;
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.placeholder-card p { color: #6B5200; font-size: 15px; line-height: 24px; }

/* ---------- Forms ---------- */
.formwrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.formwrap--source { background: var(--white); }
.formwrap__title { color: var(--navy); margin-bottom: 6px; }
.formwrap__lead { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 14px; font-weight: 600; color: var(--navy);
  margin-bottom: 7px;
}
.req { color: var(--green); }
.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }

.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C6D2D8;
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; line-height: 24px; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(73,174,84,.18);
}
.field input[type="file"] { padding: 9px 12px; background: var(--neutral); }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #B4473F;
  box-shadow: 0 0 0 3px rgba(180,71,63,.14);
}
.field .error-msg { color: #B4473F; font-size: 13px; margin-top: 6px; }

.form__fineprint { font-size: 14px; color: var(--muted); margin: 24px 0 20px; }
.form__status { margin-top: 16px; font-size: 15px; font-weight: 500; }
.form__status.is-ok   { color: var(--green-dark); }
.form__status.is-warn { color: #8A6D1F; }
.form__status.is-err  { color: #B4473F; }

/* Source section forms use the teal focus ring */
.formwrap--source .field input:focus,
.formwrap--source .field select:focus,
.formwrap--source .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37,88,116,.18);
}
.formwrap--source .req { color: var(--teal); }

/* ---------- Tabs + FAQ ---------- */
.tabs { display: flex; gap: 8px; margin: 28px 0 24px; }
.tab {
  font: inherit; font-size: 15px; font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.faq.is-hidden { display: none; }
.faq__item { border-bottom: 1px solid #CFE2EC; }
.faq__item h3 { margin: 0; font-size: inherit; line-height: inherit; }
.faq__q {
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 17px; font-weight: 600; line-height: 26px;
  color: var(--navy);
  background: transparent;
  border: 0;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { display: none; padding: 0 44px 22px 0; }
.faq__a.is-open { display: block; }
.faq__a p { color: #3E4F57; font-size: 16px; line-height: 27px; }

/* ---------- About ---------- */
.about__lead { font-size: 19px; line-height: 31px; color: #2C3A41; margin-bottom: 18px; }
.about__sub { margin-top: 40px; color: var(--navy); }

.details { margin: 0; }
.details > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-weight: 600; color: var(--navy); font-size: 15px; }
.details dd { margin: 0; color: #44555E; font-size: 16px; }
.details--light > div { border-color: rgba(255,255,255,.16); }
.details--light dt { color: #fff; }
.details--light dd { color: #C5D6DE; }

/* ---------- Contact ---------- */
.contact__lead { color: #B9CBD4; max-width: 62ch; margin-bottom: 32px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9FB4BE; padding: 56px 0 40px; }
.footer__top {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand__mark--footer { color: #fff; font-size: 22px; }
.footer__brand .brand__endorse { color: #8296A0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { color: #B8CAD3; text-decoration: none; font-size: 15px; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }

.footer__legal { padding-top: 28px; }
.footer__legal p { font-size: 13.5px; line-height: 22px; color: #8296A0; max-width: 90ch; margin-bottom: 12px; }
.footer__legal strong { color: #CBD9E0; }
.footer__copy { margin-top: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle { display: block; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .site-nav.is-open a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open a:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  :root { --f-h1: 38px; --lh-h1: 46px; --f-h2: 28px; --lh-h2: 36px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .details > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 720px) {
  :root { --f-h1: 32px; --lh-h1: 40px; --f-h2: 25px; --lh-h2: 33px; --gutter: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 48px; }
  .hero__sub { font-size: 17px; line-height: 28px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .formwrap { padding: 28px 20px; }
  .door, .pillar, .scope__col, .vcard { padding: 24px 20px; }

  .trust-strip { flex-direction: column; gap: 10px; }
  .trust-strip li { padding: 0; border-left: 0; }

  .hero__actions .btn,
  .contact__actions .btn { width: 100%; text-align: center; }

  .step { gap: 14px; }
  .step__num { width: 34px; height: 34px; font-size: 14px; }

  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .subnav, .nav-toggle, .hero__actions, .contact__actions { display: none !important; }
  .faq__a { display: block !important; }
  body { color: #000; }
}

/* Links inside the dark contact block */
.details--light a { color: #fff; text-decoration-color: rgba(255,255,255,.45); }
.details--light a:hover { color: var(--green); }

/* Contact email — the main action in the dark block */
.contact__email { margin: 4px 0 30px; }
.contact__email a { font-size: 28px; font-weight: 600; color: #fff; text-decoration-color: rgba(255,255,255,.45); }
.contact__email a:hover { color: var(--green); }
@media (max-width: 720px) {
  .contact__email a { font-size: 20px; word-break: break-word; }
}
