/* ════════════════════════════════════════════════════════════════════
   linq — marketing homepage layer (design handoff: "Linq Homepage v2").
   Verbatim from the design project's home.css, with three integration
   edits for the live site (marked EDIT): body drops overflow-x (it would
   break the repo's sticky header), .hero pulls up under the sticky 72px
   header, and the hero backdrop points at the repo asset path. Loads on
   marketing_public/home.html ONLY, after linq-kit.css + linq-marketing.css.
   The site header + footer come from _base.html and are NOT restyled here.
   ════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* EDIT: no overflow-x on body — it breaks the repo's sticky header. */
body { line-height: 1.5; }
:root { --font-display: 'PT Sans', system-ui, sans-serif; --font-head: 'Open Sans', system-ui, sans-serif; --font-mono: 'PT Sans', sans-serif; }
img { max-width: 100%; display: block; }

/* shared shell */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; width: 100%; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 84px) 0; }

/* dashed hairline divider, like the app's row rules */
.hairline { border: 0; border-top: 1px dashed var(--border); margin: 0; }

/* eyebrow override for marketing scale */
.eyebrow {
  display: inline-flex; align-items: center; font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--text-muted);
}
.eyebrow.on-dark { color: var(--on-dark-muted); }

/* the brand period — a true round Signal dot */
.dot {
  display: inline-block; width: 0.17em; height: 0.17em; border-radius: 50%;
  background: var(--signal); vertical-align: 0.04em; margin-left: 0.06em;
  text-indent: -9999px; overflow: hidden; line-height: 0;
}
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

/* display type */
.display {
  font-family: var(--font-head); font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.02; color: var(--ink);
  text-wrap: balance;
}
.h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--text-muted); line-height: 1.65; max-width: 56ch; }

/* buttons — marketing sizes layered on .btn */
.btn.lg { padding: 13px 24px; font-size: 0.98rem; font-weight: 700; }
.btn.lg.signal { box-shadow: 0 10px 26px -12px rgba(234,106,44,.7); }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ondark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.btn.ondark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

/* mono meta strip */
.meta-strip {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.meta-strip.center { justify-content: center; }
.meta-strip .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }

/* section header (two-column: title left, lead right) */
.sec-head2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px 56px; align-items: end; margin-bottom: 52px; }
.sec-head2 .eyebrow { margin-bottom: 16px; }
.sec-head2 .lead { margin-bottom: 4px; }
@media (max-width: 900px){ .sec-head2 { grid-template-columns: 1fr; gap: 18px; margin-bottom: 38px; } }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; padding: calc(70px + clamp(52px, 7vw, 92px)) 0 clamp(64px, 8vw, 104px); }
/* EDIT: pull the ink hero up under the repo's sticky 72px header. */
.hero { margin-top: -72px; }
/* EDIT: hero backdrop points at the repo's asset path. */
.hero::before { content: ''; position: absolute; inset: 0; background: url(../img/linq-hero-tower.jpg) center 20% / cover no-repeat; opacity: .18; -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 35%, transparent 80%); mask-image: radial-gradient(130% 100% at 50% 0%, #000 35%, transparent 80%); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,22,35,0) 62%, rgba(15,22,35,.55)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .eyebrow { color: rgba(242,237,226,.5); margin-bottom: 26px; }
.hero .display { color: #fff; max-width: 17ch; margin-bottom: 24px; }
.hero .lead { color: rgba(242,237,226,.66); max-width: 58ch; text-align: center; margin-bottom: 36px; }
.hero .hero-sub { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.05rem, 1.9vw, 1.4rem); line-height: 1.25; color: rgba(242,237,226,.9); max-width: 26ch; margin-bottom: 20px; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(44px, 6vw, 64px); }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
.hero-stats > div { padding: 0 clamp(24px, 4vw, 46px); border-left: 1px solid rgba(242,237,226,.16); }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats i { display: block; font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,237,226,.45); margin-top: 7px; }

/* ══════════════════════════════════════════════════════════════════
   TRUST BAND (legacy static row — v2 uses .trust2 marquee)
   ══════════════════════════════════════════════════════════════════ */
.trust { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-in { padding: 34px 0; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.trust .eyebrow { color: var(--text-muted); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 38px; }
.logo-row .lg { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text-muted); opacity: .72; transition: opacity .2s; white-space: nowrap; }
.logo-row .lg:hover { opacity: 1; }
.logo-row .lg .om { color: var(--text-faint); font-weight: 600; }
.trust-stat { font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-muted); letter-spacing: 0.02em; }
.trust-stat b { color: var(--ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   COMPARISON BAND
   ══════════════════════════════════════════════════════════════════ */
.cmp { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp thead th { text-align: left; padding: 22px 24px 18px; border-bottom: 1px solid var(--border); vertical-align: bottom; }
.cmp thead th .ch-lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.cmp thead th .ch-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; }
.cmp thead th.col-linq { background: var(--surface-dark); }
.cmp thead th.col-linq .ch-lbl { color: var(--on-dark-muted); }
.cmp thead th.col-linq .ch-name { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.cmp thead th.col-linq .ch-name .wmm { font-weight: 600; letter-spacing: -0.03em; }
.cmp tbody td { padding: 16px 24px; font-size: 0.92rem; border-bottom: 1px dashed var(--border); vertical-align: top; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody td.row-key { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.cmp tbody td.col-linq { background: var(--surface-dark); color: var(--on-dark); font-weight: 600; }
.cmp tbody td .other { color: var(--text-muted); }
.cmp tbody td.col-linq .ok { color: var(--signal); margin-right: 7px; }
.cmp-foot { padding: 18px 24px; border-top: 1px solid var(--border); background: var(--bg-warm); }
.cmp-foot a { font-size: 0.92rem; font-weight: 600; color: var(--ocean); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cmp-foot a:hover { color: var(--ocean-deep); }
@media (max-width: 760px){
  .cmp { border: 0; background: transparent; }
  .cmp table, .cmp thead, .cmp tbody, .cmp tr, .cmp td, .cmp th { display: block; }
  .cmp thead { position: absolute; left: -9999px; }
  .cmp tbody tr { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; }
  .cmp tbody td { border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 16px; }
  .cmp tbody td.row-key { background: var(--bg-warm); }
  .cmp tbody td.col-linq::before { content: 'lınq'; font-family: var(--font-display); }
  .cmp tbody td::before { content: attr(data-h); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
  .cmp-foot { background: transparent; border: 0; padding: 6px 0; }
}

/* ══════════════════════════════════════════════════════════════════
   BUILT BY LINQ — 2 customer cards
   ══════════════════════════════════════════════════════════════════ */
.built { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px){ .built { grid-template-columns: 1fr; } }
.built-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.built-card .bc-eye { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.built-card .bc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.built-card h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.built-card .bc-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.built-card .bc-link { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ocean); text-decoration: none; white-space: nowrap; }
.built-card .bc-link:hover { color: var(--ocean-deep); }
.built-card .bc-stack { display: flex; flex-direction: column; gap: 0; }
.built-card .bc-stack li { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; list-style: none; }
.built-card .bc-stack li:last-child { border-bottom: 0; }
.built-card .bc-stack li i { color: var(--sage); font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.built-card .bc-cta { margin-top: 6px; }
.built-card .bc-cta a { font-size: 0.92rem; font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.built-card .bc-cta a:hover { color: var(--signal-deep); }
.built-card .bc-cta a .arr { transition: transform .18s; }
.built-card .bc-cta a:hover .arr { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════════════════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 880px){ .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .stats { grid-template-columns: 1fr; } }
.stat { background: var(--panel); padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; }
.stat .st-num { font-family: var(--font-head); font-variant-numeric: tabular-nums; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.9; color: var(--ink); }
.stat .st-num .u { color: var(--signal); }
.stat .st-src { font-size: 0.84rem; color: var(--text-muted); line-height: 1.45; }

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIAL (legacy light — v2 uses .quote2 dark)
   ══════════════════════════════════════════════════════════════════ */
.result-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.result-chips .rc { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--ink); background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 16px; }
.result-chips .rc .ar { color: var(--sage); }

/* ══════════════════════════════════════════════════════════════════
   DARK BANDS (payments promo + final CTA)
   ══════════════════════════════════════════════════════════════════ */
.dark-band { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.dark-band .h2, .dark-band h3 { color: #fff; }
.pay-rate { display: flex; flex-direction: column; gap: 4px; }
.pay-rate .pr-big { font-family: var(--font-head); font-variant-numeric: tabular-nums; font-size: clamp(4.5rem, 11vw, 8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.82; color: var(--signal); }
.pay-rate .pr-lock { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 14px; }
.pay-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.pay-copy p { color: var(--on-dark-muted); font-size: 1.04rem; line-height: 1.6; margin-bottom: 24px; max-width: 54ch; }
.pay-fine { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,237,226,.4); margin-top: 22px; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════════
   INQUIRY / BOOKING CARD (shared shell reused by the 2-step inquiry demo)
   ══════════════════════════════════════════════════════════════════ */
.book-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px){ .book-grid { grid-template-columns: 1fr; } }
.book-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--e-2); }
.book-card .bk-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.book-card .bk-head .bk-logo { width: 34px; height: 34px; }
.book-card .bk-head .bk-biz { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; }
.book-card .bk-head .bk-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.bk-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.bk-windows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bk-win { font-family: var(--font-mono); font-size: 0.8rem; border: 1px solid var(--border); background: var(--bg); color: var(--text-muted); border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; transition: all .15s; }
.bk-win:hover { border-color: var(--border-strong); color: var(--ink); }
.bk-win.sel { background: var(--signal-soft); border-color: rgba(234,106,44,.4); color: var(--signal-deep); font-weight: 600; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.bk-fields .span2 { grid-column: 1 / -1; }
.bk-fields input, .bk-fields textarea { width: 100%; font-family: var(--font-display); font-size: 0.92rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.bk-fields input:focus, .bk-fields textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px var(--ocean-soft); }
.bk-fields input::placeholder, .bk-fields textarea::placeholder { color: var(--text-faint); }
.bk-submit { width: 100%; justify-content: center; }
.bk-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 10px; }
.bk-success.show { display: flex; }
.bk-success .bs-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; font-size: 1.6rem; }
.bk-success h4 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.bk-success p { font-size: 0.9rem; color: var(--text-muted); max-width: 38ch; line-height: 1.5; }
.bk-success .bs-again { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ocean); background: none; border: 0; cursor: pointer; letter-spacing: 0.04em; }

/* ══════════════════════════════════════════════════════════════════
   PRICING TEASER
   ══════════════════════════════════════════════════════════════════ */
.price-teaser { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.price-teaser .lead { text-align: center; }
.price-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.price-chips .pc { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 32px; min-width: 150px; }
.price-chips .pc .pc-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.price-chips .pc .pc-price { font-family: var(--font-head); font-variant-numeric: tabular-nums; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.price-chips .pc .pc-price .per { font-size: 0.86rem; color: var(--text-faint); }
.price-chips .pc.feature { background: var(--surface-dark); border-color: var(--surface-dark); }
.price-chips .pc.feature .pc-name { color: var(--on-dark-muted); }
.price-chips .pc.feature .pc-price { color: #fff; }
.price-chips .pc.feature .pc-price .per { color: var(--on-dark-muted); }
.price-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ══════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════ */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left; }
.faq-q h3 { font-family: var(--font-head); font-size: clamp(1.05rem, 1.7vw, 1.22rem); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); flex: 1; }
.faq-q .faq-ico { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); flex-shrink: 0; transition: transform .25s, background .2s, color .2s, border-color .2s; }
.faq-item.open .faq-q .faq-ico { transform: rotate(45deg); background: var(--signal); color: #fff; border-color: var(--signal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .faq-a-in { padding: 0 50px 24px 4px; font-size: 1rem; color: var(--text-muted); line-height: 1.6; max-width: 64ch; }

/* ══════════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════════ */
.final-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; z-index: 1; }
.final-cta .display { color: #fff; }
.final-cta .lead { color: var(--on-dark-muted); text-align: center; max-width: 50ch; }
.final-cta .fc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
