/* ============================================================================
   D1 TECH CREATIVE — ads landing page (/websites/)
   Loads on top of work.css. Tokens and keyframes come from there.
   ========================================================================= */

/* ------------------------------------------------------------ hero ------ */
.lhero { position: relative; z-index: 1; padding: calc(var(--nav-h) + 64px) 0 40px; }
.lhero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
@media (max-width: 1020px) { .lhero-grid { grid-template-columns: 1fr; gap: 34px; } }
/* capped well below the /work/ hero — this column is narrower because the form
   sits beside it, so 70px would wrap "Yours doesn't have to be." three ways */
.lhero h1 { font-size: clamp(33px, 4.1vw, 55px); margin: 20px 0 18px; }
.lhero h1 .grad {
  background: linear-gradient(100deg, #fff 5%, var(--blue-soft) 45%, var(--blue-b) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lhero .lede { color: var(--fg-2); font-size: clamp(16.5px, 1.9vw, 19px); max-width: 56ch; }

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--fg); }
.ticks svg { flex: none; margin-top: 3px; color: var(--mint); }

.proofbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proofbar span {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; color: var(--fg-2);
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line);
}
.proofbar b { font-family: var(--f-display); font-size: 16px; color: #fff; }

/* form card */
.formcard {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 1px rgba(37, 98, 255, .3), 0 30px 70px -30px rgba(0, 0, 0, .95);
}
.formcard-head { padding: 22px 24px 4px; }
.formcard-head h3 { font-size: 22px; }
.formcard-head p { color: var(--fg-2); font-size: 14.5px; margin-top: 8px; }
.formcard-head .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.formcard-head .row span {
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-soft);
  padding: 5px 11px; border-radius: 999px; background: var(--blue-ghost);
  box-shadow: inset 0 0 0 1px rgba(37, 98, 255, .3);
}
.formcard iframe { width: 100%; border: 0; display: block; background: transparent; }
.formcard .fallback { padding: 18px 24px 24px; font-size: 13px; color: var(--fg-3); }
.formcard .fallback a { color: var(--blue-soft); font-weight: 600; }

/* ------------------------------------------------------------ marquee --- */
.strip { position: relative; z-index: 1; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; }
.strip-in { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip-in { animation-play-state: paused; }
.strip-in span {
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--fg-3); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 40px;
}
.strip-in span::after { content: "◆"; color: var(--blue); font-size: 9px; }

/* ------------------------------------------------------------- cards ---- */
.cols { display: grid; gap: 18px; }
.cols.c3 { grid-template-columns: repeat(3, 1fr); }
.cols.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .cols.c3 { grid-template-columns: 1fr; } .cols.c2 { grid-template-columns: 1fr; } }

.tile {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(37, 98, 255, .4); }
.tile h3 { font-size: 19px; margin-bottom: 10px; }
.tile p { color: var(--fg-2); font-size: 15px; }
.tile .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--blue-ghost); box-shadow: inset 0 0 0 1px rgba(37, 98, 255, .32); color: var(--blue-b);
}
.tile.warn .ic { background: rgba(255, 180, 67, .12); box-shadow: inset 0 0 0 1px rgba(255, 180, 67, .3); color: var(--amber); }
.tile .n {
  position: absolute; top: 18px; right: 22px; font-family: var(--f-display); font-weight: 700;
  font-size: 44px; line-height: 1; color: rgba(255, 255, 255, .05); letter-spacing: -.04em;
}

/* ------------------------------------------------------------- steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 15px;
  margin-bottom: 16px; box-shadow: 0 8px 20px -6px var(--glow);
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--fg-2); font-size: 14.5px; }
.step .when { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-soft); }

/* ------------------------------------------------------------- table ---- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--f-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.cmp tbody th { font-weight: 500; color: var(--fg); width: 30%; min-width: 190px; }
.cmp td { color: var(--fg-2); min-width: 180px; }
.cmp .us { background: rgba(37, 98, 255, .08); color: var(--fg); }
.cmp thead .us { color: var(--blue-soft); background: rgba(37, 98, 255, .14); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--mint); font-weight: 600; }
.no  { color: var(--fg-3); }

/* -------------------------------------------------------- spotlight ----- */
.spot2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
@media (max-width: 940px) { .spot2 { grid-template-columns: 1fr; } }
.spot2 .shotframe { border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
.spot2 .shotframe img { width: 100%; }
.spot2 .kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.kpi { padding: 18px; border-radius: var(--r-s); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { display: block; font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; color: var(--mint); }
.kpi span { display: block; font-size: 13px; color: var(--fg-3); margin-top: 4px; }

/* ---------------------------------------------------------- showcase ---- */
.show { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .show { grid-template-columns: repeat(2, 1fr); } }
.show a {
  position: relative; display: block; border-radius: var(--r-s); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-3);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.show a:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(37, 98, 255, .5), 0 24px 50px -26px var(--glow); }
.show img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; width: 100%; }
.show em {
  position: absolute; inset: auto 0 0; padding: 26px 14px 12px; font-style: normal; font-size: 13.5px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 16, .95));
}

/* -------------------------------------------------------------- faq ----- */
.faq { display: grid; gap: 10px; }
.qa { border-radius: var(--r-s); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--f-display); font-weight: 600; font-size: 16.5px;
  display: flex; align-items: center; gap: 14px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; margin-left: auto; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--blue-soft); border-bottom: 2px solid var(--blue-soft);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.qa p { padding: 0 22px 20px; color: var(--fg-2); font-size: 15px; }

/* --------------------------------------------------------- sticky bar --- */
.sticky {
  position: fixed; inset: auto 0 0; z-index: 80; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 9, 16, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  display: none; gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform .45s var(--ease-out);
}
.sticky.up { transform: none; }
.sticky .btn { flex: 1; padding: 13px 16px; }
@media (max-width: 820px) { .sticky { display: flex; } body { padding-bottom: 74px; } }

/* -------------------------------------------------------------- misc ---- */
.mascot-inline { width: 150px; flex: none; animation: float-y 6s ease-in-out infinite; filter: drop-shadow(0 18px 34px rgba(37, 98, 255, .35)); }
.head-flex { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.note { font-size: 13.5px; color: var(--fg-3); margin-top: 16px; }
.guarantee {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(35, 211, 160, .1), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(35, 211, 160, .28); margin-top: 22px;
}
.guarantee svg { flex: none; color: var(--mint); }
.guarantee b { display: block; margin-bottom: 4px; }
.guarantee p { color: var(--fg-2); font-size: 14.5px; }
