/* ==========================================================================
   Link Report landing page — Direction 1B
   Ported from the design handoff (Poppins/Figtree, near-black #060a14).
   ========================================================================== */

:root {
  --bg: #060a14;
  --band: #0a1120;
  --card: #0d1526;
  --blue: #1a9fe0;
  --blue-bright: #3aa5ee;
  --blue-deep: #0c6fc0;
  --yellow: #ffd21e;
  --yellow-deep: #f2a900;
  --yellow-text: #ffd76a;
  --yellow-on: #241a00;
  --body: #a2b2c6;
  --muted: #9fb1c8;
  --faint: #8493a6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: #eef3f8;
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: #63b8ee; }

h1, h2 { font-family: 'Poppins', sans-serif; margin: 0; }
img { display: block; }

/* Centered 1180px content column; bands are full-width, content padded. */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 52px; }

.grad {
  background: linear-gradient(100deg, #1a9fe0, #8fd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn--primary {
  padding: 15px 26px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1a9fe0, #0c6fc0);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 14px 30px -8px rgba(12, 111, 192, .7);
}
.btn--primary:hover { color: #fff; }

.btn--coffee-outline {
  padding: 15px 22px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 210, 30, .5);
  color: var(--yellow-text);
  font-size: 16px;
}
.btn--coffee-outline:hover { color: var(--yellow-text); }

.btn--coffee {
  padding: 16px 30px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--yellow-on);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 14px 30px -8px rgba(255, 210, 30, .35);
}
.btn--coffee:hover { color: var(--yellow-on); }

/* -------------------------------------------------------------------- Nav */
.nav { position: relative; z-index: 20; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: .2px;
}

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 500; font-size: 14.5px; color: var(--muted); }
.nav__link:hover { color: #fff; }

.nav__chrome {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: #0c1116;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: filter .15s ease;
}
.nav__chrome:hover { color: #0c1116; filter: brightness(.94); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--muted);
  display: block;
}

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  position: relative;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  padding-block: 52px 64px;
}
.hero__glow {
  position: absolute;
  top: -80px; right: -60px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 159, 224, .22), transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__col { position: relative; flex: 1; min-width: 340px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 210, 30, .14);
  border: 1px solid rgba(255, 210, 30, .3);
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow-text);
  margin-bottom: 24px;
}

.hero h1 {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -1px;
}
.hero__p {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 480px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.reassure { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; }
.reassure span { font-size: 13.5px; color: var(--faint); }

.hero__demo { position: relative; flex: none; }

/* ------------------------------------------- Right-click demo (embedded) */
.demo-embed {
  width: 600px;
  max-width: 100%;
  aspect-ratio: 600 / 404;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
.demo-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 16px;
}

/* ------------------------------------------------------------------ Steps */
.steps {
  background: var(--band);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding-block: 52px;
}
.steps h2 {
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  text-align: center;
  letter-spacing: -.5px;
  margin-bottom: 34px;
}
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, #0f1930, #0a1120);
  border: 1px solid rgba(26, 159, 224, .18);
}
.step__num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 40px; color: rgba(26, 159, 224, .35); line-height: 1; }
.step__title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; color: #fff; margin: 14px 0 8px; }
.step__body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.step__body strong { color: #d6e2ee; font-weight: 600; }

/* --------------------------------------------------------------- Features */
.features { padding-block: 56px; }
.features__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.features__head h2 { font-weight: 700; font-size: 34px; color: #fff; letter-spacing: -.5px; }
.features__head p { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: var(--card); }
.feature__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, #1a9fe0, #0c6fc0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.feature__icon--yellow { background: linear-gradient(150deg, #ffd21e, #f2a900); }
.feature__title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16.5px; color: #fff; }
.feature__body { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ----------------------------------------------------------------- Coffee */
.coffee {
  padding-block: 52px;
  background: linear-gradient(120deg, #1a1400, #0c0a02);
  text-align: center;
  border-top: 1px solid rgba(255, 210, 30, .15);
}
.coffee__emoji { font-size: 38px; margin-bottom: 8px; }
.coffee h2 { font-weight: 700; font-size: 30px; color: #fff; letter-spacing: -.5px; margin-bottom: 10px; }
.coffee p { max-width: 520px; margin: 0 auto 26px; font-size: 16px; line-height: 1.6; color: #c9bd94; }

/* -------------------------------------------------------------------- FAQ */
.faq { padding-block: 56px; }
.faq h2 { font-weight: 700; font-size: 34px; color: #fff; text-align: center; letter-spacing: -.5px; margin-bottom: 32px; }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 4px 22px;
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: #fff;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.chev { color: var(--yellow-text); font-size: 20px; line-height: 1; transition: transform .25s ease; }
.qa[open] .chev { transform: rotate(180deg); }
.qa__a { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------ Legal prose */
.legal { padding-block: 56px; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 40px;
}
.legal__body {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  padding: 8px 32px 32px;
}
.legal__body h2 {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  margin: 28px 0 10px;
}
.legal__body p {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.legal__see-also {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

@media screen and (max-width: 720px) {
  .legal { padding-block: 34px; }
  .legal h1 { font-size: 30px; margin-bottom: 28px; }
  .legal__body { padding: 4px 20px 22px; }
  .legal__body h2 { font-size: 18px; }
}

/* ----------------------------------------------------------------- Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 28px;
}
.footer .brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer .brand__name { font-size: 15px; color: #d6e2ee; font-weight: 600; }
.footer__meta { font-size: 13.5px; color: #7c8ba0; }
.footer__meta a { color: #9fb1c8; }
.footer__meta a:hover { color: #fff; }

/* ------------------------------------------------------- Responsive ≤720 */
@media screen and (max-width: 720px) {
  .wrap { padding-inline: 22px; }

  .hero__inner { flex-direction: column; align-items: stretch; padding-block: 26px 30px; }
  .hero__col { min-width: 0; }
  .hero h1 { font-size: 34px; letter-spacing: -.6px; }
  .hero__p { font-size: 15.5px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; padding: 15px; border-radius: 13px; }
  .hero__demo { width: 100%; }

  .steps { padding-block: 34px; }
  .steps h2 { font-size: 24px; margin-bottom: 22px; }
  .steps__grid { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 22px; }
  .step__num { font-size: 34px; }
  .step__title { font-size: 17px; margin: 10px 0 6px; }
  .step__body { font-size: 14px; }

  .features { padding-block: 34px; }
  .features__head h2 { font-size: 24px; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 18px; }
  .feature__icon { width: 40px; height: 40px; border-radius: 11px; }
  .feature__title { font-size: 15.5px; }
  .feature__body { font-size: 13.5px; }

  .coffee { padding-block: 36px; }
  .coffee h2 { font-size: 23px; }
  .coffee p { font-size: 14.5px; }
  .coffee .btn--coffee { width: 100%; }

  .faq { padding-block: 34px; }
  .faq h2 { font-size: 23px; margin-bottom: 20px; }
  .qa summary { font-size: 14.5px; }
  .qa__a { font-size: 14px; }
}

/* --------------------------------------------------- Hamburger nav ≤640 */
@media screen and (max-width: 640px) {
  .hamburger { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    right: 22px;
    left: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: var(--band);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 18px;
    display: none;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  }
  .nav--open .nav__links { display: flex; }
  .nav__chrome { justify-content: center; }
}
