/* Landing-page-specific styles */

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__logo {
  display: block;
  height: 70px;
  width: auto;
}
.topbar__wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.topbar__nav a {
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.topbar__nav a:hover { color: var(--accent); }
.topbar__cta { display: flex; gap: 10px; align-items: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9.2vw, 152px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero__title .word {
  display: block;
  position: relative;
}
.hero__title .swap {
  color: var(--accent);
}
.hero__lede {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 28px 0 32px;
}
.hero__actions { display: flex; gap: 12px; }

/* Canvas card */
.hero__card {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 28px;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(250,250,247,.6);
}
.hero__card-dots { display: flex; gap: 6px; }
.hero__card-dots span {
  width: 9px; height: 9px;
  background: rgba(255,255,255,.18);
  display: inline-block;
}
.hero__card-stage {
  flex: 1;
  border: 1px dashed rgba(250,250,247,.15);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* Marquee */
.marquee {
  margin-top: 56px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 56px;
  padding: 22px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 56px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: marq 30s linear infinite;
}
.marquee__item { display: flex; align-items: center; gap: 56px; }
.marquee__item .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Tools section
   ============================================================ */
.section {
  padding: 96px 0;
  position: relative;
}
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.section__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: var(--accent);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}
.section__desc {
  font-size: 17px;
  max-width: 520px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Tool row tile (style 4) */
.toolrows {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.toolrow {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  position: relative;
  transition: background .15s, padding .2s;
}
.toolrow:last-child { border-bottom: 0; }
.toolrow:hover {
  background: var(--accent);
  color: var(--ink);
}
.toolrow:hover .toolrow__icon { transform: scale(1.05) rotate(-3deg); }
.toolrow:hover .toolrow__arrow { transform: translateX(8px); }

/* ============================================================
   Tool search
   ============================================================ */
.toolsearch {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 0 18px;
  margin-bottom: 24px;
  transition: box-shadow .15s;
}
.toolsearch:focus-within {
  box-shadow: 4px 4px 0 var(--accent);
  transform: translate(-2px, -2px);
}
.toolsearch__icon {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--muted);
  transform: scaleX(-1);
}
.toolsearch__input {
  flex: 1;
  border: 0;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.toolsearch__input::placeholder { color: var(--muted); }
.toolsearch__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}
.toolsearch__clear {
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: grid; place-items: center;
}
.toolsearch__clear:hover { background: var(--ink); color: var(--paper); }
.toolrows--empty { background: var(--paper-2); }

.toolrow__icon {
  width: 64px; height: 64px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.5,0,.2,1.4);
}
.toolrow__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toolrow__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.toolrow__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
  max-width: 640px;
}
.toolrow:hover .toolrow__desc { color: var(--ink); }
.toolrow__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.toolrow__status {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.toolrow__status--live { background: var(--ink); color: var(--paper); }
.toolrow__status--soon { background: var(--paper); color: var(--ink); opacity: .65; }
.toolrow__arrow {
  font-family: var(--font-display);
  font-size: 28px;
  transition: transform .15s;
}

/* When a tile is "coming soon", dim it slightly + disable hover swap */
.toolrow--soon { opacity: .76; }
.toolrow--soon:hover { background: var(--paper-2); cursor: not-allowed; }
.toolrow--soon:hover .toolrow__arrow { transform: none; }

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
}
.step {
  padding: 32px 28px 40px;
  border-right: 1.5px solid var(--ink);
  position: relative;
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: var(--font-display);
  font-size: 132px;
  line-height: .8;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}
.step__num::after {
  content: "";
  position: absolute;
  left: 0; right: -8px;
  top: 38%;
  height: 8px;
  background: var(--paper-2);
}
.step__title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.step__body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 320px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  border-top: 1.5px solid var(--ink);
}
.faq__item {
  border-bottom: 1.5px solid var(--ink);
}
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color .15s;
}
.faq__q:hover { color: var(--accent); }
.faq__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.faq__plus {
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-size: 18px;
  transition: transform .2s;
}
.faq__item--open .faq__plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq__a {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 24px;
  padding-bottom: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 100%;
}
.faq__a > div:nth-child(2) { max-width: 720px; }

/* ============================================================
   Brand plate — featured logo strip
   ============================================================ */
.brand-plate {
  padding: 64px 0;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
  position: relative;
}
.brand-plate__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.brand-plate__logo {
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 28px;
  box-shadow: 12px 12px 0 var(--accent);
  position: relative;
}
.brand-plate__logo img { display:block; width: 100%; height: auto; }
.brand-plate__corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.brand-plate__corner--tl { top: -10px; left: -10px; background: var(--paper); padding: 2px 6px; border:1px solid var(--ink); }
.brand-plate__corner--br { bottom: -10px; right: -10px; background: var(--paper); padding: 2px 6px; border:1px solid var(--ink); }
.brand-plate__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 18px;
}
.brand-plate__copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 18px;
}
.brand-plate__verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.brand-plate__verb {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 22px;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.brand-plate__verb .dot { width:10px; height:10px; border-radius:50%; }

@media (max-width: 860px) {
  .brand-plate__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__logo-plate {
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 16px;
  width: 220px;
  display: grid;
  place-items: center;
}
.footer__logo-plate img {
  width: 100%;
  height: auto;
  display: block;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.9;
}
.footer__tagline {
  font-size: 14px;
  color: rgba(250,250,247,.65);
  max-width: 320px;
  line-height: 1.5;
}
.footer__col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250,250,247,.55);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: rgba(250,250,247,.85);
  transition: color .12s, padding .12s;
}
.footer__col a:hover { color: var(--accent); padding-left: 4px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(250,250,247,.15);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,250,247,.6);
}
.footer__bottom-l { display: flex; gap: 28px; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--ink);
}
.stat {
  padding: 28px;
  border-right: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ============================================================
   Spotlight
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1.5px solid var(--paper);
  background: var(--ink);
}
.spotlight__copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.spotlight__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.2vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}
.spotlight__desc {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(250,250,247,.75);
  max-width: 460px;
}
.spotlight__visual {
  border-left: 1.5px solid var(--paper);
  padding: 32px;
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid, .section__head, .footer__grid, .spotlight { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr; }
  .step, .stat { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .step:last-child, .stat:last-child { border-bottom: 0; }
  .toolrow { grid-template-columns: 56px 1fr auto; }
  .toolrow__status { display: none; }
  .topbar__nav { display: none; }
}
