/* Lintel marketing site — construction-document aesthetic, fresh palette.
   Deep green ink on warm cream, butter-yellow + coral accents, pastel tints. */

:root {
  --paper: #fcfaf2;
  --paper-deep: #f4f0e2;
  --card-bg: #fffef9;
  --ink: #1e3512;
  --ink-soft: #5d6b50;
  --coral: #e4643b;
  --coral-deep: #cf5027;
  --butter: #ffe85c;
  --mint: #e2f3d2;
  --sky: #d9eef2;
  --cream-butter: #fff1bd;
  --line: rgba(30, 53, 18, 0.16);
  --line-soft: rgba(30, 53, 18, 0.09);
  --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "General Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--butter); color: var(--ink); }

/* ---------- type ---------- */

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h1 em, h2 em { font-style: normal; color: var(--coral); }

.hl {
  background: linear-gradient(to bottom, transparent 52%, var(--butter) 52%, var(--butter) 94%, transparent 94%);
  padding: 0 3px;
  margin: 0 -1px;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--coral);
  flex: none;
}

.scribble {
  font-family: var(--script);
  font-weight: 600;
  color: var(--coral-deep);
}

/* ---------- nav ---------- */

.nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--coral-deep); }

.nav-links .nav-cta {
  border: 1.5px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.nav-links .nav-cta:hover {
  background: var(--butter);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- hero ---------- */

.hero { border-bottom: 1px solid var(--line); }

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin: 22px 0 20px;
}

.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 36px;
}

.hero .lede strong { color: var(--ink); font-weight: 600; }

.hero-drawing { justify-self: end; width: 100%; max-width: 480px; }
.hero-drawing svg { width: 100%; height: auto; display: block; }

/* ---------- waitlist form ---------- */

.waitlist { max-width: 460px; }

.waitlist-row {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 3px 3px 0 var(--line);
}

.waitlist input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 15px 22px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.waitlist input::placeholder { color: var(--ink-soft); }

.waitlist button {
  border: 0;
  background: var(--ink);
  color: var(--butter);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 0 26px;
  margin: 4px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.waitlist button:hover { background: var(--coral); color: #fff8ec; }

.waitlist .fine {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 12px;
  padding-left: 4px;
}

.waitlist .form-note {
  font-size: 14px;
  margin-top: 12px;
  padding-left: 4px;
  color: var(--coral-deep);
  display: none;
}

/* ---------- positioning strip ---------- */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.strip .container {
  padding-top: 60px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: baseline;
}

.strip p.statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  max-width: 30em;
}

/* ---------- features ---------- */

.features .container { padding-top: 104px; padding-bottom: 104px; }

.section-head { max-width: 640px; margin-bottom: 60px; }

.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 20px; }

.section-head .sub { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }

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

.card {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  box-shadow: 4px 4px 0 var(--line);
}

.tint-mint { background: var(--mint); }
.tint-butter { background: var(--cream-butter); }
.tint-sky { background: var(--sky); }

.keynote {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.keynote .num {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex: none;
  background: var(--card-bg);
}

.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.12;
  margin-bottom: 14px;
  margin-top: auto;
}

.card p { font-size: 15.5px; color: var(--ink-soft); }
.card p strong { color: var(--ink); font-weight: 600; }

/* ---------- inside revit ---------- */

.revit { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.revit .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 104px;
}

.revit h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 20px 0 18px; }

.revit .copy p { color: var(--ink-soft); margin-bottom: 16px; }
.revit .copy p strong { color: var(--ink); font-weight: 600; }

.spec-list {
  list-style: none;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.spec-list .k { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.spec-list .v { text-align: right; font-weight: 500; }

.revit-drawing svg { width: 100%; height: auto; display: block; }

/* ---------- transparency ---------- */

.transparency { background: var(--ink); color: var(--paper); }

.transparency .container { padding-top: 104px; padding-bottom: 104px; }

.transparency .eyebrow { color: rgba(252, 250, 242, 0.6); }
.transparency .eyebrow::before { background: var(--butter); }

.transparency h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin: 20px 0 18px;
  max-width: 15em;
}

.transparency h2 em { color: var(--butter); }

.transparency .lede { color: rgba(252, 250, 242, 0.75); max-width: 38em; font-size: 18px; }

.tenets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.tenet {
  border: 1.5px solid rgba(252, 250, 242, 0.28);
  border-radius: 16px;
  padding: 26px 24px;
}

.tenet .k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--butter);
  display: block;
  margin-bottom: 14px;
}

.tenet p { font-size: 15px; color: rgba(252, 250, 242, 0.8); }
.tenet p strong { color: var(--paper); font-weight: 600; }

/* ---------- get the tool ---------- */

.get { border-top: 1px solid var(--line); }

.get .container { padding-top: 104px; padding-bottom: 104px; }

.get-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.get-card {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 30px 28px 26px;
  box-shadow: 4px 4px 0 var(--line);
}

.get-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.get-card > p { font-size: 15.5px; color: var(--ink-soft); }

.get-actions { margin-top: 22px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--butter);
}

.btn-primary:hover {
  background: var(--coral);
  color: #fff8ec;
}

.get-fine {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- final cta ---------- */

.cta .container {
  padding-top: 116px;
  padding-bottom: 116px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta h2 { font-size: clamp(34px, 4vw, 52px); max-width: 16em; margin: 22px 0 30px; }

.cta .waitlist { width: 100%; }
.cta .waitlist .fine, .cta .waitlist .form-note { text-align: center; padding-left: 0; }

/* ---------- footer / title block ---------- */

.footer .container { padding-bottom: 48px; }

.titleblock {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.4fr;
  background: var(--card-bg);
  overflow: hidden;
}

.tb-cell {
  padding: 14px 18px 12px;
  border-right: 1px solid var(--ink);
}

.tb-cell:last-child { border-right: 0; }

.tb-cell .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}

.tb-cell .v { font-size: 14px; font-weight: 600; }
.tb-cell .v a { color: inherit; text-decoration: none; }
.tb-cell .v a:hover { color: var(--coral-deep); }

.tb-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; font-weight: 700; }

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
}

.colophon a { color: inherit; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
  .hero-drawing { justify-self: center; }
  .cards, .tenets { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 18px; }
  .revit .container { grid-template-columns: 1fr; gap: 56px; }
  .get-cards { grid-template-columns: 1fr; }
  .strip .container { grid-template-columns: 1fr; gap: 20px; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .tb-cell { border-bottom: 1px solid var(--ink); }
  .tb-cell:nth-child(odd) { border-right: 1px solid var(--ink); }
  .tb-cell:nth-child(even) { border-right: 0; }
  .tb-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .colophon { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; border-radius: 22px; }
  .waitlist button { margin: 6px; padding: 13px 22px; }
}
