:root {
  --ink: #0f1214;
  --ink-2: #1a1f24;
  --slate: #2c343c;
  --cream: #f4efe6;
  --muted: #b7b0a4;
  --orange: #f05a1a;
  --orange-deep: #c9430d;
  --gold: #f0b429;
  --white: #fffaf3;
  --line: rgba(255,250,243,0.12);
  --shadow: 0 24px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15,18,20,.88);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: .02em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
  display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(240,90,26,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: none; gap: 1.25rem; font-size: .92rem; color: var(--muted); }
.nav a:hover { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .85rem 1.25rem;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white; box-shadow: 0 10px 28px rgba(240,90,26,.35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(240,90,26,.45); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--muted); }
.btn-dark {
  background: var(--ink); color: var(--cream);
}
.phone-pill {
  display: none; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--gold);
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(240,90,26,.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(240,180,41,.12), transparent 50%),
    linear-gradient(180deg, #14181c 0%, var(--ink) 100%);
}
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .nav, .phone-pill { display: flex; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(240,90,26,.12); color: #ffb48a;
  border: 1px solid rgba(240,90,26,.3);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.05; margin: 1rem 0 .85rem; letter-spacing: -0.02em;
}
h1 .accent { color: var(--orange); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.trust {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  color: var(--muted); font-size: .9rem;
}
.trust span { display: inline-flex; align-items: center; gap: .4rem; }
.trust b { color: var(--cream); }

.hero-card {
  background: linear-gradient(160deg, #22282e, #15191d);
  border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-visual {
  aspect-ratio: 4/3;
  background:
    linear-gradient(180deg, transparent 40%, rgba(15,18,20,.85) 100%),
    repeating-linear-gradient(-35deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #3a2a1f 0%, #1c2228 45%, #2a1810 100%);
  position: relative; display: grid; place-items: end start; padding: 1.25rem;
}
.hero-visual .badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: #1a1205; font-weight: 800;
  padding: .55rem .85rem; border-radius: 12px; font-size: .85rem;
  box-shadow: 0 8px 20px rgba(240,180,41,.35); text-align: center; line-height: 1.2;
}
.truck-illus {
  width: 100%; height: 100%; position: absolute; inset: 0;
  display: grid; place-items: center; opacity: .9;
}
.truck-illus svg { width: min(88%, 360px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.hero-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.hero-card-body h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.hero-card-body p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Sections */
section { padding: 4rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 .5rem; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); }

.offer {
  background: linear-gradient(90deg, rgba(240,90,26,.16), rgba(240,180,41,.08));
  border-block: 1px solid rgba(240,90,26,.25);
  padding: 1.5rem 0;
}
.offer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.offer strong { font-size: 1.25rem; color: var(--gold); }
.offer p { margin: .25rem 0 0; color: var(--muted); }

.cards {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.35rem;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(240,90,26,.45); transform: translateY(-2px); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(240,90,26,.12); color: var(--orange); font-size: 1.35rem; margin-bottom: .9rem;
}
.card h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.how {
  background: #12161a;
  border-block: 1px solid var(--line);
}
.steps {
  display: grid; gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 1.4rem 1.3rem 1.4rem 1.3rem;
  background: var(--ink-2); border-radius: var(--radius); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: white; font-weight: 800; margin-bottom: .75rem;
}
.step h3 { margin: 0 0 .35rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.area-list {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem;
}
.chip {
  padding: .45rem .8rem; border-radius: 999px;
  background: rgba(255,250,243,.05); border: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}

.cta-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240,90,26,.25), transparent 50%),
    var(--ink-2);
  border-radius: 28px; padding: 2rem 1.5rem; border: 1px solid var(--line);
  display: grid; gap: 1.5rem;
}
@media (min-width: 800px) {
  .cta-band { grid-template-columns: 1fr 1fr; padding: 2.5rem; align-items: center; }
}
.cta-band h2 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0 0 1rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

form {
  display: grid; gap: .75rem;
  background: rgba(0,0,0,.25); border-radius: 20px; padding: 1.25rem;
  border: 1px solid var(--line);
}
label { font-size: .82rem; color: var(--muted); font-weight: 600; display: grid; gap: .35rem; }
input, textarea, select {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: #0d1013; color: var(--cream); padding: .8rem .9rem; font: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(240,90,26,.55); border-color: transparent;
}
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }

.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.socials a:hover { border-color: var(--orange); color: var(--orange); }

footer {
  padding: 2.5rem 0 2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end;
}
.footer-brand { color: var(--cream); font-weight: 800; margin-bottom: .25rem; }
.credit a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.placeholder-slot {
  border: 1px dashed rgba(255,250,243,.25);
  border-radius: 14px; padding: 1rem; color: var(--muted); font-size: .85rem;
  background: rgba(255,255,255,.02); text-align: center;
}

/* === WATERMARK / PREVIEW LOCK (Just One Letter) === */
body.preview-lock {
  position: relative;
}
body.preview-lock::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-image: url("watermark-tile.png");
  background-repeat: repeat;
  background-size: 520px 310px;
  opacity: 1;
  mix-blend-mode: soft-light;
}
body.preview-lock::after {
  content: "PREVIEW · Just One Letter · just1letter.com — not for public use";
  pointer-events: none;
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(15,18,20,.92);
  color: #f0b429;
  border: 1px solid rgba(240,180,41,.45);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
body.preview-lock a[href],
body.preview-lock button,
body.preview-lock input,
body.preview-lock textarea,
body.preview-lock select {
  pointer-events: none !important;
  cursor: not-allowed !important;
}
body.preview-lock form { opacity: .85; }
