/* ==========================================================================
   Seedance by BytePlus — main page
   Palette and proportions are sampled from the source design.
   ========================================================================== */

:root {
  /* brand */
  --blue: #0257e8;
  --blue-hi: #1668ff;
  --blue-dk: #0247c4;
  --green: #04813d;
  --green-hi: #069a49;

  /* ink */
  --ink: #101b23;
  --ink-2: #26313c;
  --body: #4b5663;
  --muted: #78828e;
  --faint: #97a0ab;

  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f9fafd;
  --line: #eaeef4;
  --line-2: #e3e8ef;

  /* geometry */
  --wrap: 1200px;
  --pad: 24px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(16, 27, 35, .05);
  --shadow: 0 4px 16px rgba(16, 27, 35, .07);
  --shadow-lg: 0 14px 38px rgba(16, 27, 35, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, pre { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: 0 6px 16px rgba(2, 87, 232, .24); }
.btn--primary:hover { --btn-bg: var(--blue-dk); box-shadow: 0 10px 24px rgba(2, 87, 232, .3); }

.btn--green { --btn-bg: var(--green); box-shadow: 0 6px 16px rgba(4, 129, 61, .22); }
.btn--green:hover { --btn-bg: #036a32; box-shadow: 0 10px 24px rgba(4, 129, 61, .28); }

.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { --btn-bd: #cfd8e3; box-shadow: var(--shadow); }

.btn--outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--outline:hover { --btn-bd: #c9d4e2; background: #fbfcfe; }
.btn--blue { --btn-fg: var(--blue); }

.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; border-radius: 9px; }
.btn--block { width: 100%; }

.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.btn__icon--blue { color: var(--blue); }
.btn--primary .btn__icon { transition: transform .2s var(--ease); }
.btn--primary:hover .btn__icon { transform: translateX(3px); }

/* ── header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(16, 27, 35, .05);
}

.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.brand__by { margin-top: 3px; font-size: 10.5px; font-weight: 600; color: var(--faint); letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .16s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__caret { width: 15px; height: 15px; color: var(--faint); transition: transform .2s var(--ease); }
.nav__link:hover .nav__caret { transform: translateY(1px); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: var(--ink-2);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.icon-btn:hover { background: #f2f5fa; color: var(--blue); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }

.burger { display: none; width: 38px; height: 38px; padding: 9px 8px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .22s var(--ease), opacity .18s var(--ease); }
.burger span + span { margin-top: 5px; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 34px 0 30px;
  background:
    radial-gradient(58% 62% at 78% 8%, rgba(96, 156, 255, .16), transparent 68%),
    radial-gradient(40% 50% at 4% 26%, rgba(120, 170, 255, .1), transparent 70%),
    linear-gradient(180deg, #f3f7fe 0%, #f9fbff 46%, #fff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 40px;
}

.hero__title {
  font-size: clamp(38px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
}
.hero__title .accent { color: var(--blue-hi); }

.hero__sub { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: var(--body); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.specs { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.spec { display: flex; align-items: center; gap: 7px; }
.spec__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  background: #e7effe;
  color: var(--blue);
}
.spec__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }
.spec__text { display: grid; gap: 1px; line-height: 1.28; }
.spec__text b { font-size: 11.5px; font-weight: 700; letter-spacing: -.012em; white-space: nowrap; }
.spec__text i { font-size: 10.5px; font-style: normal; color: var(--muted); white-space: nowrap; }

/* hero showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.vcard {
  position: relative;
  aspect-ratio: 155 / 250;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1218;
  box-shadow: 0 12px 30px rgba(16, 27, 35, .16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(16, 27, 35, .22); }
.vcard__img { width: 100%; height: 100%; object-fit: cover; }

.vcard__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, .5) 0%, rgba(8, 12, 18, .12) 17%, transparent 30%),
    linear-gradient(0deg, rgba(8, 12, 18, .55) 0%, rgba(8, 12, 18, .1) 16%, transparent 26%);
}

.vcard__label {
  position: absolute;
  top: 11px;
  left: 11px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.vcard__mini { position: absolute; top: 12px; right: 11px; }
.vcard__mini svg { width: 13px; height: 13px; fill: rgba(255, 255, 255, .92); }

.vcard__time {
  position: absolute;
  left: 11px;
  bottom: 11px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(10, 14, 20, .62);
  backdrop-filter: blur(3px);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.vcard__split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 10px rgba(0, 0, 0, .35);
}

/* play buttons */
.playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.playbtn svg { width: 17px; height: 17px; margin-left: 2px; fill: #101b23; }
.playbtn--lg { width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .9); }
.playbtn--lg svg { width: 19px; height: 19px; }
.playbtn--sm { width: 32px; height: 32px; }
.playbtn--sm svg { width: 13px; height: 13px; }
.playbtn--xs { width: 24px; height: 24px; }
.playbtn--xs svg { width: 10px; height: 10px; margin-left: 1px; }
a:hover > .playbtn, .vcard:hover .playbtn, .playbtn:hover { background: #fff; transform: translate(-50%, -50%) scale(1.09); }

.powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.powered__rule { width: 34px; height: 1px; background: var(--line-2); }
.powered__mark { width: 21px; height: 15px; }
.powered b { color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 14.5px; }

/* ── section scaffolding ───────────────────────────────────────────────── */
.section { padding: 30px 0; }
.section--tight { padding-top: 2px; }

.section__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section__head--sm { margin-bottom: 12px; }

.section__title { font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.028em; }
.section__title--sm { font-size: 18px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-hi);
}
.link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--sm { font-size: 13px; }

/* ── industries ────────────────────────────────────────────────────────── */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }

.ind {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.ind:hover { transform: translateY(-3px); border-color: #dbe4f0; box-shadow: var(--shadow); }

.ind__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--fg);
}
.ind__icon svg { width: 19px; height: 19px; }

.ind__body { display: grid; gap: 2px; min-width: 0; }
.ind__body b { font-size: 12.5px; font-weight: 700; letter-spacing: -.022em; }
.ind__body i { font-size: 11.5px; font-style: normal; line-height: 1.42; color: var(--muted); }

/* ── trending ──────────────────────────────────────────────────────────── */
.trending { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.tcard { min-width: 0; }

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1218;
  box-shadow: 0 3px 12px rgba(16, 27, 35, .1);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumb:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 27, 35, .17); }
.thumb:hover img { transform: scale(1.055); }

.thumb__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 12, 18, .62) 0%, rgba(8, 12, 18, .16) 24%, transparent 44%);
}

.chip {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(10, 14, 20, .66);
  backdrop-filter: blur(3px);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.thumb__time {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(10, 14, 20, .66);
  backdrop-filter: blur(3px);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tcard__title { margin-top: 10px; font-size: 13.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.024em; }

.meta { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }

/* ── how it was made ───────────────────────────────────────────────────── */
.howpanel {
  padding: 20px 22px 22px;
  border: 1px solid #eef1f7;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f8fafd 0%, #f6f8fc 100%);
}
.howpanel__title { text-align: center; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.028em; }

.how { display: grid; grid-template-columns: minmax(0, 1fr) 196px; align-items: center; gap: 26px; margin-top: 16px; }

.how__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.step {
  position: relative;
  padding: 11px 12px 12px;
  border: 1px solid #e9edf6;
  border-left: 2px solid #c8dcfb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 27, 35, .04);
}
.step__head { display: flex; align-items: center; gap: 8px; }
.step__num {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #e2ecfe;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}
.step__label { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; color: var(--ink); }
.step__sub { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.step__body { margin-top: 9px; }

.step__body--input { display: flex; align-items: flex-end; gap: 7px; }
.step__shot { width: 58%; border-radius: 8px; background: #fff; }
.filestack { display: flex; gap: 5px; }
.file {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 30px;
  padding: 6px 0 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.file svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); }
.file i { font-size: 8px; font-style: normal; font-weight: 600; color: var(--faint); }

.promptbox {
  padding: 10px 11px;
  border: 1px solid #eceff6;
  border-radius: 8px;
  background: #f7f9fc;
  font-size: 12px;
  line-height: 1.68;
  color: var(--body);
}

.thumb--sm { border-radius: 9px; }

.how__arrow { display: grid; place-items: center; color: #7ba4ee; }
.how__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.how__actions { display: grid; gap: 12px; }

/* ── capabilities ──────────────────────────────────────────────────────── */
.caps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.cap { display: flex; align-items: flex-start; gap: 8px; }
.cap__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--fg);
  transition: transform .22s var(--ease);
}
.cap:hover .cap__icon { transform: scale(1.07); }
.cap__icon svg { width: 18px; height: 18px; }
.cap__body { display: grid; gap: 2px; min-width: 0; }
.cap__body b { font-size: 12px; font-weight: 700; letter-spacing: -.024em; }
.cap__body i { font-size: 11.5px; font-style: normal; line-height: 1.42; color: var(--muted); }

/* ── prompt library ────────────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.tab {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  transition: all .18s var(--ease);
}
.tab:hover { border-color: #c4d3e8; color: var(--ink); }
.tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(2, 87, 232, .22);
}

.promptrow { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: 16px; align-items: start; }

.feature {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.thumb--feature { aspect-ratio: 4 / 3; border-radius: 9px; }

.feature__quote { font-size: 13.5px; line-height: 1.5; font-weight: 500; color: var(--ink-2); letter-spacing: -.014em; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  padding: 4px 9px;
  border-radius: 6px;
  background: #f1f4f9;
  font-size: 11px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}

.feature__side { display: grid; justify-items: center; gap: 8px; }
.feature__side .btn { width: 100%; height: 38px; padding-inline: 12px; font-size: 13.5px; }
.likes { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.likes svg { width: 15px; height: 15px; fill: none; stroke: currentColor; }

.promptrail { position: relative; min-width: 0; }
.promptrail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  padding-right: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.promptrail__track::-webkit-scrollbar { display: none; }

.pcard { scroll-snap-align: start; min-width: 0; }
.thumb--xs { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0d1218; }
.thumb--xs img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.pcard:hover .thumb--xs img { transform: scale(1.06); }
.pcard__cap { display: block; margin-top: 9px; font-size: 12.5px; line-height: 1.45; color: var(--body); }

.railbtn {
  position: absolute;
  top: 38%;
  right: -6px;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(16, 27, 35, .14);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.railbtn:hover { transform: translateY(-50%) scale(1.07); box-shadow: 0 8px 20px rgba(16, 27, 35, .18); }
.railbtn svg { width: 18px; height: 18px; rotate: -90deg; }

/* ── creators / developers ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); gap: 16px; }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: var(--r-lg);
}
.panel--creators { background: linear-gradient(135deg, #eef4fe 0%, #f2f5fe 100%); }
.panel--devs { background: linear-gradient(135deg, #eafaf1 0%, #eefbf5 100%); }

.panel__eyebrow { font-size: 12.5px; font-weight: 700; color: #4a5a72; letter-spacing: -.01em; }
.panel__eyebrow--green { color: #3f6b53; }

.panel__title { margin-top: 5px; font-size: 19.5px; font-weight: 800; line-height: 1.25; letter-spacing: -.032em; color: #14306e; }
.panel__title span { color: var(--blue); }
.panel--devs .panel__title { color: #12402a; }
.panel--devs .panel__title span { color: var(--green); }

.checks { display: grid; gap: 7px; margin-top: 13px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.checks svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--blue); }
.checks--green svg { stroke: var(--green-hi); }

.panel__copy .btn { margin-top: 16px; height: 40px; font-size: 13.5px; }

/* creator app mock-up */
.appmock {
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 27, 35, .12);
  overflow: hidden;
}
.appmock__bar { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-bottom: 1px solid #f0f2f7; }
.appmock__logo { width: 13px; height: 13px; opacity: .75; }
.appmock__dot { width: 13px; height: 13px; border-radius: 4px; background: #eef1f7; }

.appmock__body { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; padding: 8px 9px 0; }
.appmock__side { display: grid; align-content: start; gap: 6px; }
.appmock__field { height: 17px; border-radius: 5px; background: #f2f5fa; border: 1px solid #eaeef5; }
.appmock__field--short { width: 62%; }

.appmock__stage { position: relative; border-radius: 7px; overflow: hidden; background: #0d1218; aspect-ratio: 16 / 9; }
.appmock__stage img { width: 100%; height: 100%; object-fit: cover; }

.appmock__foot { display: flex; align-items: center; gap: 8px; padding: 8px 9px 9px; }
.appmock__strip { flex: 1; min-width: 0; border-radius: 5px; }
.appmock__generate {
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* API code block */
.code {
  padding: 13px 14px 15px;
  border-radius: 11px;
  background: #1c242e;
  box-shadow: 0 10px 26px rgba(11, 17, 24, .26);
  overflow-x: auto;
}
.code__req { font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: #dbe3ec; letter-spacing: -.02em; white-space: nowrap; }
.code__req b { color: #fff; font-weight: 700; }
.code__body {
  margin-top: 10px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.8;
  color: #cbd5e1;
  white-space: pre;
}
.code__body .k { color: #7ee2a8; }
.code__body .s { color: #f0a06a; }
.code__body .p { color: #93a4b8; }

/* ── community / learn ─────────────────────────────────────────────────── */
.bottomgrid { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1fr); gap: 40px; }

.threads { display: grid; gap: 4px; }
.thread {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 7px 10px 7px 0;
  border-radius: 9px;
  transition: background-color .18s var(--ease);
}
.thread:hover { background: #f7f9fc; padding-left: 10px; }
.thread__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #eef1f7; }
.thread__title { font-size: 13px; line-height: 1.42; color: var(--ink-2); font-weight: 500; }
.thread:hover .thread__title { color: var(--blue); }
.thread__count { font-size: 12px; color: var(--faint); white-space: nowrap; }

.learn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lcard {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 13px 12px;
  border-radius: var(--r);
  background: var(--tint);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lcard b { font-size: 13px; font-weight: 700; line-height: 1.32; letter-spacing: -.024em; }
.lcard i { font-size: 11.5px; font-style: normal; color: var(--muted); }

.lcard--stacked::before,
.lcard--stacked::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  border-radius: var(--r);
  background: var(--tint);
  z-index: -1;
}
.lcard--stacked::before { right: -6px; left: 12px; opacity: .7; }
.lcard--stacked::after { right: -11px; left: 24px; top: 14px; bottom: 14px; opacity: .45; }

/* ── closing CTA ───────────────────────────────────────────────────────── */
.cta {
  margin-top: 30px;
  padding: 22px 0;
  background: linear-gradient(90deg, #fbf3fc 0%, #f4f2fd 34%, #eef3fe 68%, #eaf2fe 100%);
  border-top: 1px solid #eef0f6;
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.cta__text { font-size: 19px; font-weight: 800; letter-spacing: -.028em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn { height: 44px; }

/* ── toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  translate: -50% 14px;
  z-index: 90;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(16, 27, 35, .94);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), translate .22s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ── entrance animation (only once JS can switch it back on) ───────────── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ══ responsive ════════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .industries, .caps { grid-template-columns: repeat(3, 1fr); }
  .trending { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .how__actions { grid-template-columns: 1fr 1fr; }
  .learn { grid-template-columns: repeat(2, 1fr); }
  .lcard--stacked::before, .lcard--stacked::after { display: none; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }

  .site-header.is-open .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 10px var(--pad) 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.is-open .nav__link { padding: 11px 4px; font-size: 16px; }
  .site-header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .burger span:nth-child(2) { opacity: 0; }
  .site-header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 38px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .promptrow { grid-template-columns: minmax(0, 1fr); }
  .bottomgrid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }

  .brand__name { font-size: 20px; }
  .header__actions { gap: 8px; }

  .specs { gap: 14px 20px; }
  .showcase { gap: 8px; }

  .industries, .caps { grid-template-columns: repeat(2, 1fr); }
  .trending { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: 19px; }

  .how__steps { grid-template-columns: minmax(0, 1fr); }
  .how__arrow { rotate: 90deg; justify-self: center; }
  .howpanel { padding: 20px 16px; }

  .feature { grid-template-columns: 110px minmax(0, 1fr); }
  .feature__side { grid-column: 1 / -1; grid-auto-flow: column; justify-items: start; align-items: center; justify-content: space-between; }
  .feature__side .btn { width: auto; padding-inline: 20px; }

  .panel { grid-template-columns: minmax(0, 1fr); }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__text { font-size: 17px; }
}

@media (max-width: 460px) {
  .trending, .industries, .caps { grid-template-columns: minmax(0, 1fr); }
  .learn { grid-template-columns: minmax(0, 1fr); }
  .how__actions { grid-template-columns: 1fr; }
  .cta__actions { width: 100%; flex-direction: column; }
  .cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
