/* Spark AI Page Builder: homepage v2, a dark, futuristic "the editor is the website". */

:root {
  --void: #f5f8f5;
  --deep: #ffffff;
  --panel: rgb(255 255 255 / 78%);
  --panel-solid: #ffffff;
  --edge: rgb(31 157 99 / 22%);
  --edge-2: rgb(16 40 28 / 10%);
  --lime: #b6f36a;
  --lime-2: #d9ff9e;
  --accent: #178552;
  --mint: #1a8a55;
  --leaf: #2f8f5c;
  --terra: #e08a5a;
  --text: #141c18;
  --muted: #56645c;
  --dim: #7d8a82;

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--lime);
  color: #071006;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dim {
  color: var(--dim);
}

.glow {
  color: var(--accent);
  text-shadow: 0 0 18px rgb(182 243 106 / 55%);
}

.hud {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.hud__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

/* Toolbar nav */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--edge-2);
  background: rgb(248 251 248 / 78%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.bar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bar__logo img {
  border-radius: 6px;
}

.bar__logo em {
  padding: 1px 6px;
  border: 1px solid var(--edge);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  color: var(--mint);
}

.bar__devices {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  background: rgb(16 60 40 / 5%);
}

.bar__devices button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 7px;
  color: var(--muted);
}

.bar__devices button.is-on {
  background: rgb(182 243 106 / 12%);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgb(182 243 106 / 30%);
}

.bar__devices svg,
.bar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.bar__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.bar__links a:hover,
.bar__login:hover {
  color: var(--text);
}

.bar__login {
  font-size: 14px;
  color: var(--muted);
}

/* The Publish button: lime, with a sweep of light. */
.publish {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--lime);
  box-shadow:
    0 0 0 1px rgb(217 255 158 / 50%) inset,
    0 0 24px -4px rgb(182 243 106 / 60%);
  font-size: 14px;
  font-weight: 600;
  color: #071006;
}

.publish i {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 55%) 50%, transparent 65%) -150% 0 / 200% 100% no-repeat;
  animation: sweep 3.2s ease-in-out infinite;
}

.publish span {
  position: relative;
}

@keyframes sweep {
  60%,
  100% {
    background-position: 150% 0;
  }
}

.publish--big {
  height: 50px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px var(--gutter) 90px;
  background: radial-gradient(120% 70% at 70% 0%, #d9f2e2 0%, var(--void) 60%);
}

.hero__grid {
  position: absolute;
  inset: 40% -20% -10%;
  background-image:
    linear-gradient(rgb(155 230 107 / 12%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(155 230 107 / 12%) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(62deg);
  transform-origin: top;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  animation: floor 18s linear infinite;
}

@keyframes floor {
  to {
    background-position: 0 56px, 0 0;
  }
}

.hero__aurora {
  position: absolute;
  inset: -20% 0 auto 30%;
  height: 80%;
  background:
    radial-gradient(40% 50% at 30% 40%, rgb(110 240 181 / 22%), transparent 70%),
    radial-gradient(35% 45% at 70% 30%, rgb(182 243 106 / 18%), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgb(224 138 90 / 12%), transparent 70%);
  filter: blur(30px);
  animation: aurora 16s ease-in-out infinite alternate;
}

@keyframes aurora {
  to {
    transform: translateX(-8%) scale(1.08);
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 em {
  font-size: 1.08em;
  letter-spacing: -0.01em;
}

.hero__lead {
  max-width: 470px;
  font-size: 17px;
  color: var(--muted);
}

/* The prompt, as a console. */
.console {
  max-width: 520px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: rgb(255 255 255 / 92%);
  box-shadow:
    0 0 0 1px rgb(16 40 28 / 10%),
    0 30px 60px -30px rgb(16 40 28 / 20%),
    0 0 50px -20px rgb(110 240 181 / 25%);
}

.console__top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--edge-2);
}

.console__top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd8d2;
}

.console__top p {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.console__line {
  display: flex;
  gap: 10px;
  padding: 16px 16px 6px;
}

.console__line b {
  font-family: var(--mono);
  color: var(--accent);
}

.console textarea {
  flex: 1;
  min-height: 52px;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  resize: none;
  outline: none;
}

.console textarea::placeholder {
  color: var(--text);
}

.console__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}

.console__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.console__chips span {
  padding: 4px 9px;
  border: 1px solid var(--edge-2);
  border-radius: 99px;
  font-size: 12px;
  color: var(--muted);
}

.go {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--text);
  font-size: 13px;
  font-weight: 600;
  color: #071006;
  white-space: nowrap;
}

.go kbd {
  padding: 0 5px;
  border-radius: 4px;
  background: rgb(0 0 0 / 12%);
  font-family: var(--mono);
  font-size: 11px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 30px;
}

.hero__stats b {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero__stats span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

/* The mini editor */
.studio {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 40px 80px -40px rgb(16 40 28 / 22%),
    0 0 80px -30px rgb(110 240 181 / 30%);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.8s;
}

.studio:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.studio__top {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge-2);
  font-size: 12px;
}

.studio__tab {
  padding: 4px 10px;
  border-radius: 7px;
  color: var(--muted);
}

.studio__tab.is-on {
  background: rgb(16 60 40 / 8%);
  color: var(--text);
}

.studio__w {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
}

.studio__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  height: 400px;
}

.layers {
  padding: 12px 8px;
  border-right: 1px solid var(--edge-2);
  font-size: 12px;
}

.l {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  opacity: 0;
  animation: layer 9s ease infinite;
}

.l svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.l svg.st,
.fi svg.st {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.l2 svg {
  color: var(--accent);
}

.l em {
  margin-left: auto;
  padding: 0 5px;
  border-radius: 4px;
  background: rgb(182 243 106 / 14%);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  color: var(--accent);
}

.l.sub {
  padding-left: 22px;
}

.l2 {
  background: rgb(182 243 106 / 10%);
  color: var(--text);
}

.l1 { animation-delay: 0.2s; }
.l2 { animation-delay: 0.9s; }
.l3 { animation-delay: 1.4s; }
.l4 { animation-delay: 1.8s; }
.l5 { animation-delay: 2.6s; }
.l6 { animation-delay: 3.1s; }
.l7 { animation-delay: 3.8s; }

@keyframes layer {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }

  6%,
  88% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
  }
}

.stage {
  position: relative;
  display: grid;
  place-items: start center;
  padding: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgb(16 60 40 / 9%) 1px, transparent 0) 0 0 / 14px 14px,
    #eef3ef;
}

.page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f4efe7;
  color: #1a1a17;
  transition: max-width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stage[data-device="laptop"] .page {
  max-width: 88%;
}

.stage[data-device="tablet"] .page {
  max-width: 64%;
}

.stage[data-device="mobile"] .page {
  max-width: 40%;
}

.stage[data-device="tablet"] .pgrid,
.stage[data-device="mobile"] .pgrid {
  grid-template-columns: 1fr 1fr;
}

.stage[data-device="mobile"] .pgrid figure:last-child {
  display: none;
}

.stage[data-device="mobile"] .phero div {
  padding: 12px;
}

.stage[data-device="mobile"] .phero h3 {
  font-size: 18px;
}

.b {
  opacity: 0;
  animation: block 9s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.b1 { animation-delay: 0.3s; }
.b2 { animation-delay: 1s; }
.b5 { animation-delay: 2.7s; }
.b7 { animation-delay: 3.9s; }

@keyframes block {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    filter: blur(4px);
  }

  7%,
  88% {
    opacity: 1;
    transform: none;
    filter: none;
  }

  100% {
    opacity: 0;
  }
}

.pnav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
}

.pnav b {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.pnav span {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: #ddd5c8;
}

.phero {
  position: relative;
  height: 160px;
}

.phero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.phero div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 55%), transparent 60%);
  color: #fff;
}

.phero p {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.phero h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.phero span {
  width: fit-content;
  margin-top: 4px;
  padding: 5px 10px;
  border-radius: 99px;
  background: #fff;
  font-size: 10px;
  color: #1a1a17;
}

/* A selected block, as the editor marks one. */
.sel {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--lime);
  box-shadow: 0 0 20px rgb(182 243 106 / 35%);
  pointer-events: none;
}

.sel s {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--lime);
  background: var(--void);
}

.sel s:nth-child(1) { left: -4px; top: -4px; }
.sel s:nth-child(2) { right: -4px; top: -4px; }
.sel s:nth-child(3) { left: -4px; bottom: -4px; }
.sel s:nth-child(4) { right: -4px; bottom: -4px; }

.sel u {
  position: absolute;
  left: -1px;
  top: -20px;
  padding: 1px 6px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
  color: #071006;
}

.sel--blue {
  border-color: #7fb2ff;
  box-shadow: 0 0 20px rgb(127 178 255 / 35%);
}

.sel--blue s {
  border-color: #7fb2ff;
}

.sel--blue u {
  background: #7fb2ff;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.pgrid figure {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.pgrid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pgrid figcaption {
  display: flex;
  justify-content: space-between;
  padding: 5px 6px;
  font-size: 9px;
}

.ptick {
  overflow: hidden;
  padding: 7px 0;
  background: #1a1a17;
  white-space: nowrap;
}

.ptick span {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  animation: tick 12s linear infinite;
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

.agent-cursor {
  position: absolute;
  left: 60%;
  top: 40%;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  animation: roam 9s ease-in-out infinite;
}

.agent-cursor svg {
  width: 18px;
  height: 18px;
  fill: var(--lime);
  filter: drop-shadow(0 0 6px rgb(182 243 106 / 70%));
}

.agent-cursor b {
  margin-top: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--lime);
  font-size: 10px;
  color: #071006;
}

@keyframes roam {
  0% { transform: translate(-120px, -90px); }
  20% { transform: translate(-40px, -20px); }
  40% { transform: translate(-150px, 80px); }
  60% { transform: translate(20px, 100px); }
  80% { transform: translate(-60px, 160px); }
  100% { transform: translate(-120px, -90px); }
}

.studio__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--edge-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
}

.studio__status em {
  margin-left: auto;
  font-family: var(--mono);
  font-style: normal;
  color: var(--dim);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgb(182 243 106 / 60%);
  animation: ping 1.6s ease-out infinite;
}

@keyframes ping {
  to {
    box-shadow: 0 0 0 10px rgb(182 243 106 / 0%);
  }
}

/* App island */
.island-wrap {
  padding: 20px var(--gutter) 40px;
}

.island {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 32px 24px;
  border: 1.5px dashed rgb(182 243 106 / 35%);
  border-radius: 4px;
  background: rgb(182 243 106 / 2%);
}

.island > s {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--lime);
  background: var(--void);
}

.island > s:nth-of-type(1) { left: -5px; top: -5px; }
.island > s:nth-of-type(2) { right: -5px; top: -5px; }
.island > s:nth-of-type(3) { left: -5px; bottom: -5px; }
.island > s:nth-of-type(4) { right: -5px; bottom: -5px; }

.island__tag {
  position: absolute;
  left: -1px;
  top: -22px;
  padding: 2px 8px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #071006;
}

.island ul {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.island li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.3s,
    opacity 0.3s;
}

.island li:hover {
  filter: none;
  opacity: 1;
}

.island li img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.island > p {
  margin-top: 22px;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}

.island > p b {
  color: var(--text);
  font-weight: 500;
}

/* Sections */
.sec {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 110px var(--gutter) 20px;
}

.sec__head {
  margin-bottom: 44px;
}

.sec__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.sec h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Agent canvas with tabs */
.console-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.console-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--edge-2);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.console-tabs b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--dim);
}

.console-tabs .is-on {
  border-color: rgb(182 243 106 / 40%);
  background: rgb(182 243 106 / 8%);
  color: var(--text);
}

.console-tabs .is-on b {
  color: var(--accent);
}

.bigcanvas {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background:
    radial-gradient(circle at 1px 1px, rgb(16 60 40 / 8%) 1px, transparent 0) 0 0 / 18px 18px,
    var(--deep);
}

.bigcanvas__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--edge-2);
}

.bigcanvas__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd8d2;
}

.bigcanvas__chrome p {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 99px;
  background: rgb(16 60 40 / 7%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.bigcanvas__page {
  padding: 40px 340px 40px 40px;
}

.pdp2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px;
  border-radius: 12px;
  background: #f4efe7;
  color: #1a1a17;
  transition: background 0.5s;
}

.bigcanvas[data-canvas="edit"] .pdp2 {
  background: #efe3d3;
}

.bigcanvas[data-canvas="shot"] .pdp2 {
  background: #1c2420;
  color: #eef3ef;
}

.pdp2__media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.pdp2__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: opacity 0.4s;
}

.pdp2__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp2__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

.pdp2 h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.pdp2__price {
  font-size: 17px;
  font-weight: 500;
}

.pdp2__text {
  font-size: 14px;
  opacity: 0.7;
}

.pdp2__sizes {
  display: flex;
  gap: 6px;
}

.pdp2__sizes span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  border: 1px solid rgb(0 0 0 / 15%);
  border-radius: 6px;
  font-size: 12px;
}

.bigcanvas[data-canvas="shot"] .pdp2__sizes span {
  border-color: rgb(255 255 255 / 20%);
}

.pdp2__sizes .is-on {
  border-color: #1a1a17;
  background: #1a1a17;
  color: #fff;
}

.bigcanvas[data-canvas="shot"] .pdp2__sizes .is-on {
  border-color: var(--lime);
  background: var(--lime);
  color: #071006;
}

.pdp2__buy {
  padding: 13px;
  border-radius: 6px;
  background: #1a1a17;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  transition:
    background 0.4s,
    border-radius 0.4s;
}

.bigcanvas[data-canvas="edit"] .pdp2__buy {
  border-radius: 99px;
  background: #a8763e;
}

.bigcanvas[data-canvas="shot"] .pdp2__buy {
  background: var(--lime);
  color: #071006;
}

.pdp2__acc {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgb(127 127 127 / 25%);
  font-size: 13px;
}

.chatpop {
  position: absolute;
  right: 24px;
  top: 70px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 290px;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
}

.chatpop__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.chatpop__head img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.chatpop__head em {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  color: var(--accent);
}

.chatpop__me {
  align-self: flex-end;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px 12px 4px 12px;
  background: rgb(16 60 40 / 9%);
}

.chatpop__ai {
  color: var(--muted);
}

.chatpop__steps {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.chatpop__steps span {
  flex: 1;
  padding: 6px;
  border: 1px solid var(--edge-2);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  text-align: center;
}

.chatpop__steps .done {
  border-color: rgb(182 243 106 / 35%);
  color: var(--accent);
}

/* Layers tree */
.tree {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
}

.tree__list {
  display: grid;
  gap: 6px;
  align-content: start;
}

.tree__list button {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.tree__list button i {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 1.5px solid var(--dim);
  border-radius: 4px;
}

.tree__list button span {
  display: grid;
  font-size: 13px;
  color: var(--dim);
}

.tree__list button b {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.tree__list button.is-on {
  border-color: rgb(182 243 106 / 40%);
  background: linear-gradient(90deg, rgb(182 243 106 / 10%), transparent);
}

.tree__list button.is-on i {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.tree__view {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background:
    radial-gradient(60% 60% at 70% 30%, rgb(110 240 181 / 8%), transparent 70%),
    var(--deep);
}

.pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.pane.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pane__note {
  font-size: 14px;
  color: var(--muted);
}

.livecard {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 16px;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: rgb(16 60 40 / 5%);
}

.livecard img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.livecard h4 {
  margin: 2px 0 10px;
  font-size: 22px;
  font-weight: 500;
}

.livecard b {
  display: block;
  margin: 2px 0 10px;
  font-size: 22px;
  font-weight: 500;
}

.stock {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.stock span {
  padding: 4px 9px;
  border: 1px solid var(--edge-2);
  border-radius: 99px;
  font-size: 12px;
  color: var(--muted);
}

.stock .is-on {
  border-color: rgb(182 243 106 / 40%);
  color: var(--accent);
}

.stock .out {
  text-decoration: line-through;
  color: var(--dim);
}

.code {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: rgb(16 40 28 / 5%);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  color: var(--text);
}

.code b {
  color: var(--mint);
  font-weight: 400;
}

.code i {
  font-style: normal;
  color: var(--dim);
}

.code .dim {
  color: var(--dim);
}

.code .ok {
  color: var(--accent);
}

.devs {
  display: flex;
  align-items: end;
  gap: 14px;
}

.dev {
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  background: #f4efe7;
  color: #1a1a17;
}

.dev img {
  width: 100%;
  object-fit: cover;
}

.dev b {
  display: block;
  padding: 8px 10px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.dev--d {
  flex: 3;
}

.dev--d img {
  height: 180px;
  object-position: center 25%;
}

.dev--t {
  flex: 1.6;
}

.dev--t img {
  height: 150px;
  object-position: center 25%;
}

.dev--m {
  flex: 1;
  border: 4px solid #1a1a17;
  border-radius: 16px;
}

.dev--m img {
  height: 130px;
  object-position: center 25%;
}

.appcard {
  padding: 22px;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: rgb(16 60 40 / 5%);
}

.appcard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.appcard__head img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.stars {
  margin-top: 16px;
  color: #f2c14e;
  letter-spacing: 2px;
}

.stars b {
  color: var(--text);
  letter-spacing: 0;
}

.stars span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--dim);
}

.appcard blockquote {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}

/* Insert grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filters button {
  padding: 7px 14px;
  border: 1px solid var(--edge-2);
  border-radius: 99px;
  font-size: 13px;
  color: var(--muted);
}

.filters .is-on {
  border-color: var(--lime);
  background: var(--lime);
  color: #071006;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.blocks li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: rgb(16 60 40 / 4%);
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s,
    opacity 0.25s;
}

.blocks li::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120px 80px at var(--x, 50%) var(--y, 0%), rgb(182 243 106 / 18%), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.blocks li:hover {
  transform: translateY(-3px);
  border-color: rgb(182 243 106 / 35%);
}

.blocks li:hover::after {
  opacity: 1;
}

.blocks li.is-hidden {
  display: none;
}

.ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: rgb(182 243 106 / 6%);
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
}

.blocks b {
  font-size: 15px;
  font-weight: 500;
}

.blocks em {
  font-family: var(--font);
  font-size: 12.5px;
  font-style: normal;
  color: var(--dim);
}

/* Analytics dashboard */
.dash {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--deep);
}

.dash__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--edge-2);
}

.dash__tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgb(16 60 40 / 6%);
}

.dash__tabs button {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}

.dash__tabs .is-on {
  background: rgb(16 60 40 / 10%);
  color: var(--text);
}

.report {
  display: none;
  padding: 28px;
}

.report.is-on {
  display: block;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 12px;
  background: var(--edge-2);
}

.kpis div {
  padding: 16px 18px;
  background: var(--deep);
}

.kpis span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.kpis b {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 240px;
  align-items: end;
}

.bars div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.bars i {
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(to top, rgb(110 240 181 / 25%), var(--lime));
  box-shadow: 0 0 30px -6px rgb(182 243 106 / 45%);
  transform-origin: bottom;
  animation: grow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bars span {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

.heat2 {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
}

.heat2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.7);
}

.heat2__map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(14% 18% at 46% 34%, rgb(255 60 30 / 75%), transparent),
    radial-gradient(22% 26% at 52% 52%, rgb(255 210 0 / 55%), transparent),
    radial-gradient(40% 40% at 50% 70%, rgb(80 240 160 / 40%), transparent);
  mix-blend-mode: screen;
}

.heat2__fold {
  position: absolute;
  left: 16px;
  top: 64%;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  color: #071006;
}

.heat2__fold::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 2000px;
  border-top: 1px dashed var(--lime);
}

.aiv2 {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
}

.ring {
  position: relative;
  flex: none;
  width: 170px;
}

.ring circle {
  fill: none;
  stroke: rgb(16 60 40 / 10%);
  stroke-width: 9;
}

.ring .ring__v {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 276 314;
  transform: rotate(-90deg);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgb(182 243 106 / 60%));
}

.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  font-weight: 500;
}

.aiv2 ul {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.aiv2 li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aiv2 li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.aiv2 .ok::before {
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.aiv2 .warn::before {
  background: #f2c14e;
  box-shadow: 0 0 10px #f2c14e;
}

/* Template wall */
.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.t {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 16px;
}

.t--tall {
  grid-row: span 2;
}

.t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s,
    filter 0.6s;
  filter: saturate(0.85);
}

.t:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.t figcaption {
  position: absolute;
  inset: auto 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  background: rgb(255 255 255 / 82%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.t figcaption b {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* Pricing */
.calc {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--deep);
}

.calc label {
  font-size: 15px;
}

.calc input {
  width: 100%;
  accent-color: var(--lime);
}

.calc p {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
}

.calc b {
  color: var(--text);
}

.plans2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plans2 article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--edge-2);
  border-radius: 18px;
  background: rgb(16 60 40 / 4%);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.plans2 article.is-fit {
  border-color: var(--lime);
  box-shadow: 0 0 50px -16px rgb(182 243 106 / 50%);
  transform: translateY(-4px);
}

.plans2 h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.p {
  color: var(--dim);
}

.p b {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}

.plans2 ul {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.plans2 li::before {
  content: "→ ";
  color: var(--accent);
}

.plans2 a {
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.plans2 .is-fit a {
  background: var(--lime);
  color: #071006;
}

.fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}

/* FAQ */
.qa {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.qa__list {
  display: grid;
  gap: 4px;
  align-content: start;
}

.qa__list button {
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  color: var(--muted);
  text-align: left;
}

.qa__list button:hover {
  color: var(--text);
}

.qa__list .is-on {
  border-color: var(--edge);
  background: rgb(182 243 106 / 6%);
  color: var(--text);
}

.qa__answer {
  position: relative;
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--deep);
}

.qa__answer p {
  display: none;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
}

.qa__answer p.is-on {
  display: block;
  animation: fadein 0.4s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Final: the publish panel */
.launch {
  position: relative;
  display: grid;
  place-items: center;
  padding: 140px var(--gutter);
  overflow: hidden;
}

.launch__glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(182 243 106 / 16%), transparent 60%);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }
}

.launch__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(560px, 100%);
  padding: 40px 32px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: rgb(255 255 255 / 80%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.launch h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.launch__steps {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 8px 0;
  text-align: left;
}

.launch__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  transition:
    color 0.3s,
    border-color 0.3s;
}

.launch__steps i {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.launch__steps li.is-done {
  border-color: rgb(182 243 106 / 35%);
  color: var(--accent);
}

.launch__steps li.is-done i {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.launch__steps li.is-busy i {
  border-color: var(--lime);
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.launch small {
  font-size: 13px;
  color: var(--dim);
}

.launch small a {
  color: var(--text);
  text-decoration: underline;
}

/* Footer: links above a huge outlined wordmark */
.foot2 {
  padding: 60px var(--gutter) 0;
  border-top: 1px solid var(--edge-2);
  overflow: hidden;
}

.foot2__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.foot2__cols div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.foot2__cols a {
  font-size: 15px;
  color: var(--muted);
}

.foot2__cols a:hover {
  color: var(--accent);
}

.foot2__fine {
  max-width: var(--wrap);
  margin: 48px auto 0;
  font-size: 12px;
  color: var(--dim);
}

.foot2__mark {
  margin: 10px 0 -0.22em;
  font-size: clamp(120px, 27vw, 400px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgb(182 243 106 / 35%);
  background: linear-gradient(to bottom, rgb(182 243 106 / 18%), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Reveal on scroll */
.js .rise {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .rise.is-in {
  opacity: 1;
  transform: none;
}

/* Tablets */
@media (max-width: 1040px) {
  .bar__links {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .studio {
    transform: none;
  }

  .island ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .bigcanvas__page {
    padding: 24px 24px 330px;
  }

  .chatpop {
    top: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 280px;
  }

  .tree {
    grid-template-columns: 1fr;
  }

  .blocks {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans2 {
    grid-template-columns: 1fr 1fr;
  }

  .wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones */
@media (max-width: 680px) {
  .bar {
    gap: 10px;
  }

  .bar__logo em,
  .bar__login {
    display: none;
  }

  .bar__devices button {
    width: 28px;
  }

  .hero {
    padding-top: 100px;
  }

  .studio__body {
    grid-template-columns: 1fr;
    height: 330px;
  }

  .layers {
    display: none;
  }

  .hero__stats {
    gap: 20px;
  }

  .console__foot {
    flex-wrap: wrap;
  }

  .go {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .island {
    padding: 28px 16px 18px;
  }

  .island ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 8px;
  }

  .sec {
    padding-top: 80px;
  }

  .sec__head--row {
    flex-direction: column;
    align-items: start;
  }

  .console-tabs {
    overflow-x: auto;
  }

  .pdp2 {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .pdp2__media img {
    min-height: 220px;
  }

  .bigcanvas__page {
    padding: 16px 16px 300px;
  }

  .chatpop {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .livecard {
    grid-template-columns: 1fr;
  }

  .pane {
    padding: 20px;
  }

  .tree__view {
    min-height: 520px;
  }

  .devs .dev--t {
    display: none;
  }

  .blocks {
    grid-template-columns: 1fr 1fr;
  }

  .kpis {
    grid-template-columns: 1fr 1fr;
  }

  .bars {
    gap: 8px;
  }

  .aiv2 {
    flex-direction: column;
    gap: 20px;
  }

  .wall {
    grid-auto-rows: 160px;
  }

  .plans2 {
    grid-template-columns: 1fr;
  }

  .qa {
    grid-template-columns: 1fr;
  }

  .qa__answer p {
    font-size: 21px;
  }

  .foot2__cols {
    grid-template-columns: 1fr 1fr;
  }
}




/* ---------- v2 round 2 ---------- */

/* Devices, inside the mini editor's top bar. */
.devices-mini {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 3px;
  border: 1px solid var(--edge-2);
  border-radius: 9px;
  background: rgb(16 60 40 / 5%);
}

.devices-mini button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  color: var(--muted);
}

.devices-mini button.is-on {
  background: rgb(182 243 106 / 12%);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgb(182 243 106 / 30%);
}

.devices-mini svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.studio__w {
  margin-left: 0;
}

/* Light cards on the dark page: the tiles keep the storefront's own colours. */
.light {
  --card: #f4f6f4;
  --card-2: #eceeec;
  --line: rgb(0 0 0 / 6%);
  --line-2: rgb(0 0 0 / 10%);
  --ink: #141c18;
  --ink-2: #2b3530;
  --forest: #0b2f22;
  --tile-muted: #56645c;
}

.light .tile__art,
.light .fart {
  --muted: #56645c;
  --lime: #9be66b;
  color: var(--ink);
}

/* 02: four feature cards */
.feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

.fcard header,
.rail .tile header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.fcard h3,
.rail .tile h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.fcard header span,
.rail .tile header span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mint);
}

.fart {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 400px;
  overflow: hidden;
  padding: 28px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 30px 60px -36px rgb(16 40 28 / 22%);
  font-size: 13px;
}

.fart--data {
  align-items: center;
  gap: 16px;
  background: linear-gradient(160deg, #eef4ee, #dfeadf);
}

.pcard {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgb(16 40 28 / 10%);
}

.pcard img {
  width: 100%;
  height: 190px;
  border-radius: 10px;
  object-fit: cover;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcard__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--tile-muted);
}

.pcard h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.pcard__price {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.pcard__price .old {
  color: #9aa59f;
  text-decoration: line-through;
  animation: oldprice 6s ease-in-out infinite;
}

.pcard__price .new {
  font-size: 16px;
  color: #b4532a;
  animation: newprice 6s ease-in-out infinite;
}

@keyframes newprice {
  0%,
  30% {
    opacity: 0;
    transform: translateY(6px);
  }

  40%,
  95% {
    opacity: 1;
    transform: none;
  }
}

@keyframes oldprice {
  0%,
  30% {
    color: var(--ink);
    text-decoration-color: transparent;
  }

  40%,
  100% {
    color: #9aa59f;
  }
}

.pcard .sw i {
  width: 22px;
  height: 22px;
}

.pcard .sz span {
  width: 36px;
  height: 30px;
  font-size: 12px;
}

.sync {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: #0b2f22;
  font-family: var(--mono);
  font-size: 11px;
  color: #d9ff9e;
  animation: syncin 6s ease-in-out infinite;
}

.sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b6f36a;
  box-shadow: 0 0 8px #b6f36a;
}

@keyframes syncin {
  0%,
  30% {
    opacity: 0;
    transform: translateY(8px);
  }

  40%,
  92% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
  }
}

.fart--files {
  gap: 16px;
  background: #fff;
}

.theme {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.theme__head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.theme__head span {
  padding: 1px 8px;
  border-radius: 99px;
  background: #ddf5cc;
  font-size: 11px;
  color: #165c3f;
}

.theme ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--tile-muted);
}

.theme .dir {
  width: 14px;
  height: 11px;
  border-radius: 2px;
  background: #cfe0d3;
}

.theme em {
  font-family: var(--mono);
  font-size: 11.5px;
  font-style: normal;
  color: var(--forest);
}

.theme s {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 99px;
  background: #e8f6dd;
  font-size: 10px;
  text-decoration: none;
  color: #2f8f5c;
}

.theme s.shared {
  background: var(--card-2);
  color: var(--tile-muted);
}

.theme__meter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
}

.theme__meter i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--card-2);
}

.theme__meter i s {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8f5c, #9be66b);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checks span {
  padding: 5px 10px;
  border-radius: 99px;
  background: #0b2f22;
  font-size: 12px;
  color: #d9ff9e;
}

.fart--devices {
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
  background: linear-gradient(160deg, #e9efe9, #d9e4da);
}

.dv {
  overflow: hidden;
  border-radius: 10px;
  background: #f4efe7;
  box-shadow: 0 20px 40px -24px rgb(0 0 0 / 45%);
}

.dv img {
  width: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.dv b {
  display: block;
  padding: 8px 10px 4px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.dv i {
  display: inline-block;
  margin: 0 10px 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  font-size: 10px;
  font-style: normal;
  color: #fff;
}

.dv--desk {
  flex: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 6px solid #1a1d1b;
  border-bottom-width: 14px;
  border-radius: 12px;
}

.dv--desk img {
  height: 200px;
}

.dv--desk div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.dv--desk p {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--tile-muted);
}

.dv--desk b,
.dv--desk i {
  padding-inline: 0;
  margin-inline: 0;
}

.dv--desk i {
  width: fit-content;
  padding: 4px 8px;
}

.dv--tab {
  flex: 1.5;
  border: 6px solid #1a1d1b;
  border-radius: 14px;
}

.dv--tab img {
  height: 150px;
}

.dv--phone {
  flex: 1;
  border: 5px solid #1a1d1b;
  border-radius: 18px;
}

.dv--phone img {
  height: 120px;
}

.fart--apps {
  align-items: center;
  background: radial-gradient(70% 70% at 50% 50%, #f4f8f4, #e2ebe3);
}

.orbit {
  position: absolute;
  inset: 0;
}

.orbit img {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 20px -10px rgb(16 40 28 / 10%);
  animation: bobble 5s ease-in-out infinite;
}

.orbit .o2 { animation-delay: -1s; }
.orbit .o3 { animation-delay: -2s; }
.orbit .o4 { animation-delay: -3s; }
.orbit .o5 { animation-delay: -4s; }

@keyframes bobble {
  50% {
    transform: translateY(-10px) rotate(-4deg);
  }
}

.orbit .o1 { left: 8%; top: 12%; }
.orbit .o2 { right: 10%; top: 10%; }
.orbit .o3 { left: 6%; bottom: 14%; }
.orbit .o4 { right: 8%; bottom: 12%; }
.orbit .o5 { left: 46%; bottom: 6%; }

@keyframes spinslow {
  to {
    transform: rotate(360deg);
  }
}

.rv {
  position: relative;
  max-width: 360px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 45%);
}

.rv__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tile-muted);
}

.rv__head img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.rv__stars {
  margin-top: 12px;
  letter-spacing: 1px;
  color: #e3a224;
}

.rv__stars b {
  color: var(--ink);
}

.rv__stars span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: #8a948e;
}

.rv blockquote {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}

/* 03: the rail of blocks */
.sec__head--row {
  flex-wrap: wrap;
}

.sec__head--row > div:first-child {
  flex: 1 1 100%;
}

.sec__head--row .filters {
  width: 100%;
}

.filters .rail-nav {
  margin-left: auto;
}

.filters .rail-nav button {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
}

.sec__head--row .filters {
  align-items: center;
}

.rail-nav {
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
}

.rail-nav button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  color: var(--text);
}

.rail-nav button:hover {
  border-color: var(--lime);
  color: var(--accent);
}

.rail-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 12px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail .tile.is-hidden {
  display: none;
}

.rail .tile header span {
  font-size: 11px;
}

.rail .tile__art {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 60px -36px rgb(16 40 28 / 22%);
}

/* Footer: a glowing horizon with Spark's mark rising over it. */
.horizon {
  position: relative;
  height: 420px;
  margin: 30px calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}

.horizon__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgb(255 255 255 / 60%), transparent),
    radial-gradient(1px 1px at 30% 60%, rgb(255 255 255 / 40%), transparent),
    radial-gradient(1.5px 1.5px at 55% 25%, rgb(217 255 158 / 70%), transparent),
    radial-gradient(1px 1px at 75% 50%, rgb(255 255 255 / 50%), transparent),
    radial-gradient(1px 1px at 90% 15%, rgb(255 255 255 / 40%), transparent),
    radial-gradient(1px 1px at 20% 80%, rgb(255 255 255 / 30%), transparent),
    radial-gradient(1.5px 1.5px at 65% 75%, rgb(110 240 181 / 60%), transparent);
  animation: blink 5s ease-in-out infinite;
}

.horizon__planet {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, #0d2a1c, #030806 30%);
  box-shadow:
    0 -2px 0 0 rgb(217 255 158 / 70%),
    0 -12px 40px 2px rgb(182 243 106 / 45%),
    0 -60px 140px 20px rgb(110 240 181 / 22%);
}

.horizon__logo {
  position: absolute;
  left: 50%;
  top: 22%;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  transform: translateX(-50%);
  box-shadow: 0 0 60px rgb(182 243 106 / 40%);
  animation: hover 6s ease-in-out infinite;
}

@keyframes hover {
  50% {
    transform: translate(-50%, -10px);
  }
}

.horizon__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  text-align: center;
  color: var(--accent);
  text-shadow: 0 0 30px rgb(182 243 106 / 45%);
}

@media (max-width: 1040px) {
  .feat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .studio__top .studio__tab:nth-child(n + 2) {
    display: none;
  }

  .fart {
    height: auto;
    min-height: 340px;
    padding: 18px;
  }

  .pcard {
    grid-template-columns: 1fr;
  }

  .pcard img {
    height: 180px;
  }

  .dv--tab {
    display: none;
  }

  .rail .tile {
    flex-basis: 84vw;
  }

  .horizon {
    height: 320px;
  }
}

/* Ported from the storefront tiles. */
@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}

.tile {
  flex: 0 0 380px;
  min-width: 0;
  scroll-snap-align: start;
}

.tile header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.tile h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tile header span {
  font-size: 12px;
  color: var(--muted);
}

.tile__art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 460px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 13px;
}

.tile__art--gallery {
  padding: 0;
  justify-content: flex-end;
  background: #f3ede3;
}

.tile__art--gallery > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile__art--gallery div {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 16px;
}

.tile__art--gallery div img {
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 30%);
}

.tile__art--variants {
  gap: 12px;
  background: #e8f1ea;
}

.tile__art p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}

.sw {
  display: flex;
  gap: 10px;
}

.sw i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%);
}

.sw i.is-on {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sz {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sz span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
}

.sz .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sz .is-out {
  color: #b0b8b3;
  text-decoration: line-through;
}

.tile__art--variants b {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.tile__art--slider {
  align-items: center;
  background: var(--forest);
}

.slides {
  display: flex;
  gap: 12px;
  animation: slide 9s ease-in-out infinite;
}

.slides img {
  width: 230px;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
}

@keyframes slide {
  0%,
  28% {
    transform: translateX(120px);
  }

  36%,
  62% {
    transform: translateX(-122px);
  }

  70%,
  100% {
    transform: translateX(-364px);
  }
}

.dots {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgb(255 255 255 / 40%);
}

.dots .is-on {
  width: 18px;
  background: var(--lime);
}

.tile__art--cart {
  padding: 24px 0 0 40px;
  justify-content: flex-start;
  background: #e1efe4;
}

.cart {
  height: 100%;
  padding: 18px;
  border-radius: 12px 0 0;
  background: #fff;
  box-shadow: 0 16px 40px -16px rgb(0 0 0 / 30%);
}

.cart__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink) !important;
}

.cart__bar {
  height: 6px;
  margin: 18px 0 8px;
  border-radius: 99px;
  background: var(--card-2);
}

.cart__bar i {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
}

.cart__note {
  display: flex;
  justify-content: space-between;
  font-size: 10px !important;
}

.cart__note span:last-child {
  color: var(--leaf);
}

.cart__item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
}

.cart__item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.cart__item b {
  display: block;
  font-weight: 500;
}

.cart__addon {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 12px;
}

.cart__addon i {
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: var(--leaf);
  box-shadow: inset -12px 0 0 2px #fff;
}

.cart__addon span {
  margin-left: auto;
}

.tile__art--count {
  align-items: center;
  gap: 18px;
  background: linear-gradient(160deg, var(--forest), #1d6e45);
}

.tile__art--count p {
  color: #cfe9d8;
}

.tile__art--count div {
  display: flex;
  gap: 8px;
}

.tile__art--count span {
  display: grid;
  gap: 4px;
  width: 70px;
  padding: 12px 0;
  border-radius: 10px;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%);
  font-family: var(--mono);
  font-size: 10px;
  color: #cfe9d8;
  text-align: center;
}

.tile__art--count b {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
}

.tile__art--filters {
  gap: 12px;
  background: #fff;
}

.flt {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.flt b {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.flt label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  color: var(--ink-2);
}

.flt label i {
  width: 14px;
  height: 14px;
  border: 1.5px solid #9aa59f;
  border-radius: 4px;
}

.flt label i.is-on {
  border-color: var(--leaf);
  background: var(--leaf);
}

.flt label em {
  margin-left: auto;
  font-style: normal;
  color: var(--muted);
}

.flt .sw i {
  width: 24px;
  height: 24px;
}

.range {
  position: relative;
  height: 4px;
  margin: 12px 4px;
  border-radius: 99px;
  background: var(--card-2);
}

.range i {
  position: absolute;
  left: 15%;
  right: 30%;
  height: 100%;
  background: var(--leaf);
}

.flt p {
  display: flex;
  justify-content: space-between;
}

.tile__art--tabs {
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  padding: 4px;
  border-radius: 10px;
  background: var(--card);
}

.tabs span {
  flex: 1;
  padding: 7px;
  border-radius: 7px;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

.tabs .is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
  color: var(--ink);
}

.acc {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.acc b {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.acc p {
  margin-top: 8px;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0;
}

.tile__art--rules {
  gap: 10px;
  background: #eef3ef;
}

.rule {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.rule span {
  min-width: 70px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.rule b {
  font-weight: 500;
}

.rule__badge {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff !important;
  text-align: center;
}

.tile__art--motion {
  gap: 14px;
  background: var(--forest);
}

@keyframes rise {
  0%,
  15% {
    opacity: 0;
    transform: translateY(24px);
  }

  35%,
  80% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
  }
}

.tile__art--motion p {
  margin-top: 10px;
  color: #cfe9d8;
}

.tile__art--code {
  background: #0d1f16;
}

.tile__art--code pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  color: #e3efe7;
}

.tile__art--code .c {
  color: #6f8f7b;
}

.tile__art--code .k {
  color: var(--lime);
}

.sz--sm span {
  width: 38px;
  height: 32px;
  font-size: 12px;
}

/* Coming soon page */
.tile__art--soon {
  padding: 0;
  justify-content: flex-end;
}

.tile__art--soon > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soon {
  position: relative;
  margin: 16px;
  padding: 20px;
  border-radius: 14px;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.soon h4 {
  margin: 6px 0 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.soon__count {
  display: flex;
  gap: 6px;
}

.soon__count span {
  flex: 1;
  display: grid;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  text-align: center;
}

.soon__count b {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.soon__form {
  display: flex;
  margin-top: 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
}

.soon__form span {
  flex: 1;
  padding: 10px;
  color: var(--muted);
}

.soon__form b {
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

/* Cart upsell */
.cart__up {
  margin-top: 18px;
  font-size: 10px !important;
}

.cart__item--up {
  margin-top: 8px;
}

.cart__item--up img {
  width: 44px;
  height: 44px;
}

.cart__item--up em {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--card);
  font-style: normal;
}

/* Motion: pictures rising into place, one after another. */
.tile__art--motion {
  align-items: center;
  gap: 24px;
}

.mo {
  position: relative;
  width: 100%;
  height: 260px;
}

.mo img {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 50%);
  animation: rise 4.8s ease-in-out infinite both;
}

.mo__a {
  left: 0;
  top: 20px;
}

.mo__b {
  left: 27%;
  top: 0;
  z-index: 1;
  animation-delay: 0.35s !important;
}

.mo__c {
  right: 0;
  top: 30px;
  animation-delay: 0.7s !important;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  18%,
  82% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.mo__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mo__tags span {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgb(255 255 255 / 12%);
  font-family: var(--font);
  letter-spacing: 0;
  color: #e3efe7;
}

/* Shop the look */
.tile__art--look {
  padding: 0;
  justify-content: flex-end;
}

.tile__art--look > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.spot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgb(255 255 255 / 35%);
  animation: pulse 2s ease-in-out infinite;
}

.s1 {
  left: 58%;
  top: 40%;
}

.s2 {
  left: 44%;
  top: 72%;
  animation-delay: -1s;
}

.look__card {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / 40%);
}

.look__card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.look__card b {
  display: block;
  font-weight: 500;
}

.look__card span {
  color: var(--muted);
}

.look__card em {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
}

/* Announcement ticker */
.tile__art--ticker {
  gap: 14px;
  padding: 28px 0;
  background: var(--forest);
}

.tick {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  background: var(--lime);
  white-space: nowrap;
}

.tick--rev {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.tick span {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--forest);
  animation: tick 14s linear infinite;
}

.tick--rev span {
  color: #e3efe7;
  animation-direction: reverse;
}

.tile__art--ticker p {
  padding: 0 28px;
  color: #cfe9d8;
  text-align: center;
}

/* Pop-up */
.tile__art--popup {
  background: linear-gradient(rgb(20 28 24 / 45%), rgb(20 28 24 / 45%)), var(--card);
}

.pop {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 50%);
}

.pop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pop > div {
  position: relative;
  padding: 22px 16px 18px;
}

.pop__x {
  position: absolute;
  right: 10px;
  top: 6px;
  color: var(--muted);
}

.pop h4 {
  margin: 6px 0 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.pop__field {
  display: block;
  padding: 9px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
}

.pop b {
  display: block;
  margin-top: 8px;
  padding: 9px;
  border-radius: 8px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

/* Sticky add to bag on a phone */
.tile__art--sticky {
  align-items: center;
  padding-bottom: 0;
  justify-content: flex-end;
}

.phone {
  position: relative;
  width: 230px;
  height: 390px;
  overflow: hidden;
  padding: 10px;
  border: 6px solid var(--ink);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: #fff;
}

.phone > img {
  width: 100%;
  height: 210px;
  border-radius: 14px;
  object-fit: cover;
}

.phone__title {
  margin: 12px 0 8px;
  font-family: var(--font) !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
}

.phone__line {
  height: 8px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: var(--card-2);
}

.phone__line.short {
  width: 60%;
}

.phone__bar {
  position: absolute;
  inset: auto 8px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 -4px 20px -6px rgb(0 0 0 / 25%);
  font-size: 11px;
}

.phone__bar img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}

.phone__bar b {
  display: block;
  font-weight: 500;
}

.phone__bar span {
  color: var(--muted);
}

.phone__bar em {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-style: normal;
}

/* Header & footer */
.tile__art--hf {
  justify-content: space-between;
  padding: 18px;
  background: #fff;
  font-size: 12px;
}

.hf__head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--card);
}

.hf__head b {
  margin-right: auto;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 400;
}

.hf__head i {
  font-style: normal;
  font-weight: 500;
}

.hf__mega {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hf__mega div,
.hf__foot div {
  display: grid;
  gap: 6px;
  align-content: start;
}

.hf__mega img {
  width: 110px;
  height: 120px;
  margin-left: auto;
  border-radius: 8px;
  object-fit: cover;
}

.hf__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #e3efe7;
}

.hf__foot p {
  color: #9fb6a8 !important;
  font-size: 10px !important;
}

.hf__field {
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 6px;
  color: #9fb6a8;
}


/* Theme files, each with its kind's icon. */
.theme ul li {
  gap: 12px;
}

.fi {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.fi svg {
  width: 16px;
  height: 16px;
}

.fi--sec {
  background: #e3f3e8;
  color: #1f7a52;
}

.fi--json {
  background: #fdf0dc;
  color: #a35f0a;
}

.fi--css {
  background: #e7ecfb;
  color: #3c5bd0;
}

.fi--js {
  background: #f1e9fb;
  color: #7a43c4;
}

.fn {
  display: grid;
  line-height: 1.3;
}

.fn b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--forest);
}

.fn small {
  font-size: 11px;
  color: var(--tile-muted);
}

/* Breakpoints: the same page on three screens, each with its own layout. */
.fart--devices {
  justify-content: center;
  padding: 24px 22px 20px;
}

.bp {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.bp__screen {
  overflow: hidden;
  background: #1a1d1b;
  box-shadow: 0 24px 40px -22px rgb(0 0 0 / 55%);
}

.bp__desk {
  flex: 0 1 58%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bp__desk .bp__screen {
  width: 100%;
  padding: 6px;
  border-radius: 10px;
}

.bp__stand {
  width: 30%;
  height: 14px;
  background: linear-gradient(#c9d1cb, #aeb8b1);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

.bp__tab {
  flex: 0 1 25%;
}

.bp__tab .bp__screen {
  padding: 6px;
  border-radius: 14px;
}

.bp__phone {
  flex: 0 1 15%;
}

.bp__phone .bp__screen {
  padding: 4px;
  border-radius: 14px;
}

.bp__label {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--tile-muted);
  text-align: center;
  white-space: nowrap;
}

.mk {
  overflow: hidden;
  border-radius: 5px;
  background: #f4efe7;
  color: #1a1a17;
}

.bp__phone .mk {
  border-radius: 10px;
}

.mk__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  background: #fff;
}

.mk__nav b {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
}

.mk__nav span {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: #ddd5c8;
}

.mk__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 124px;
  overflow: hidden;
}

.mk__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.mk__hero div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}

.mk__hero p {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
  color: var(--tile-muted);
}

.mk__hero b {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
}

.mk__hero i {
  width: fit-content;
  padding: 3px 6px;
  border-radius: 99px;
  background: #1a1a17;
  font-size: 6px;
  font-style: normal;
  color: #fff;
}

.mk__hero--stack {
  position: relative;
  display: block;
  height: 120px;
}

.mk__hero--stack div {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 55%));
  color: #fff;
}

.mk__hero--stack i {
  background: #fff;
  color: #1a1a17;
}

.mk--phone .mk__hero--stack {
  height: 104px;
}

.mk--phone .mk__hero--stack b {
  font-size: 11px;
}

.mk__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px;
}

.mk__row img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  object-fit: cover;
}

.mk__row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.mk__row--1 {
  grid-template-columns: 1fr;
}

.mk__row--1 img {
  aspect-ratio: 16 / 10;
}

@media (max-width: 680px) {
  .bp__tab {
    display: none;
  }

  .bp__desk {
    flex-basis: 68%;
  }

  .bp__phone {
    flex-basis: 28%;
  }
}


/* Realistic devices: a laptop, a tablet and a phone, each showing the page laid out for its screen.
   Each screen holds a full-size page scaled down, so its type and spacing stay true. */
.fart--devices .bp {
  align-items: flex-end;
  gap: 22px;
}

.bp figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bp figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--tile-muted);
  white-space: nowrap;
}

.dev-screen {
  position: relative;
  overflow: hidden;
  background: #f4efe7;
}

.site {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  background: #f4efe7;
  color: #1a1a17;
  font-family: var(--font);
}

.site__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: #fff;
  font-size: 13px;
}

.site__nav b {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.site__nav span {
  color: #55554f;
}

.site__nav em {
  font-style: normal;
  font-weight: 500;
}

.site__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
  overflow: hidden;
}

.site__hero img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 22%;
}

.site__hero div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 36px;
}

.site__hero p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6b6b63;
}

.site__hero h5 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.02;
}

.site__hero i {
  width: fit-content;
  padding: 10px 18px;
  border-radius: 99px;
  background: #1a1a17;
  font-size: 14px;
  font-style: normal;
  color: #fff;
}

.site__hero--over {
  position: relative;
  display: block;
}

.site__hero--over div {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  background: linear-gradient(transparent, rgb(0 0 0 / 60%));
  color: #fff;
}

.site__hero--over p {
  color: rgb(255 255 255 / 80%);
}

.site__hero--over i {
  background: #fff;
  color: #1a1a17;
}

.site__grid {
  display: grid;
  gap: 12px;
  padding: 16px 22px;
}

.site__grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.site__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.site__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.site__grid--1 {
  grid-template-columns: 1fr;
}

/* Laptop: 16:10 screen, thin black bezel, camera notch, silver base with a lip. */
.dev-laptop__lid {
  position: relative;
  padding: 9px 9px 12px;
  border-radius: 12px 12px 4px 4px;
  background: #0d0e0e;
  box-shadow:
    0 0 0 1.5px #3a3d3c,
    inset 0 0 0 1px #1d1f1e;
}

.dev-laptop .cam {
  position: absolute;
  left: 50%;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2a3a33;
  transform: translateX(-50%);
}

.dev-laptop .dev-screen {
  width: 264px;
  height: 165px;
  border-radius: 3px;
}

.dev-laptop .site {
  width: 1056px;
  transform: scale(0.25);
}

.dev-laptop .site__hero {
  height: 380px;
}

.dev-laptop__base {
  position: relative;
  width: 322px;
  height: 11px;
  border-radius: 1px 1px 10px 10px;
  background: linear-gradient(#e6e9e7, #b9bfbb 55%, #8e9590);
  box-shadow: 0 10px 18px -8px rgb(0 0 0 / 45%);
}

.dev-laptop__base span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 54px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: #a7aea9;
  transform: translateX(-50%);
}

/* Tablet: 3:4, even bezel, metal edge, camera dot. */
.dev-tablet__body {
  position: relative;
  padding: 9px;
  border-radius: 16px;
  background: #121413;
  box-shadow:
    0 0 0 2px #6d736f,
    0 0 0 3px #2b2e2c,
    0 18px 30px -16px rgb(0 0 0 / 55%);
}

.dev-tablet .cam {
  position: absolute;
  left: 50%;
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #33413a;
  transform: translateX(-50%);
}

.dev-tablet .dev-screen {
  width: 120px;
  height: 160px;
  border-radius: 7px;
}

.dev-tablet .site {
  width: 600px;
  transform: scale(0.2);
}

.dev-tablet .site__hero {
  height: 470px;
}

/* Phone: rounded body, Dynamic Island, side buttons. */
.dev-phone__body {
  position: relative;
  padding: 5px;
  border-radius: 22px;
  background: #101211;
  box-shadow:
    0 0 0 1.5px #7b827e,
    0 0 0 2.5px #2c302e,
    0 18px 30px -16px rgb(0 0 0 / 55%);
}

.dev-phone .notch {
  position: absolute;
  left: 50%;
  top: 9px;
  z-index: 2;
  width: 24px;
  height: 7px;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}

.dev-phone [class^="btn-"] {
  position: absolute;
  width: 2px;
  border-radius: 1px;
  background: #6b726e;
}

.dev-phone .btn-a {
  left: -3.5px;
  top: 34px;
  height: 12px;
}

.dev-phone .btn-b {
  left: -3.5px;
  top: 52px;
  height: 18px;
}

.dev-phone .btn-c {
  right: -3.5px;
  top: 44px;
  height: 24px;
}

.dev-phone .dev-screen {
  width: 74px;
  height: 160px;
  border-radius: 18px;
}

.dev-phone .site {
  width: 296px;
  transform: scale(0.25);
}

.dev-phone .site__nav {
  padding-top: 40px;
}

.dev-phone .site__hero {
  height: 360px;
}

.dev-phone .site__hero h5 {
  font-size: 34px;
}

@media (max-width: 680px) {
  .dev-tablet {
    display: none;
  }
}


/* Footer: Spark's mark as a glass sculpture in a dusk meadow, the sky fading into the page. */
.foot2 {
  padding-bottom: 0;
}

.land {
  position: relative;
  height: clamp(300px, 50vw, 760px);
  margin: 10px calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}

.land img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.land::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(var(--void) 0%, rgb(245 248 245 / 70%) 12%, rgb(245 248 245 / 0%) 34%);
  pointer-events: none;
}

/* Smaller devices, so all three fit the card. */
.fart--devices .bp {
  gap: 16px;
}

.dev-laptop .dev-screen {
  width: 224px;
  height: 140px;
}

.dev-laptop .site {
  transform: scale(0.2121);
}

.dev-laptop__base {
  width: 274px;
  height: 10px;
}

.dev-laptop__base span {
  width: 46px;
}

.dev-tablet .dev-screen {
  width: 100px;
  height: 134px;
}

.dev-tablet .site {
  transform: scale(0.1667);
}

.dev-phone .dev-screen {
  width: 62px;
  height: 134px;
  border-radius: 15px;
}

.dev-phone .site {
  transform: scale(0.2095);
}

.dev-phone .notch {
  top: 8px;
  width: 20px;
  height: 6px;
}


/* Footer scene: a snowy valley under an aurora, where Spark flies in and lands. */
.land {
  --s: clamp(96px, 13vw, 200px);
  position: relative;
  height: clamp(400px, 56vw, 820px);
  margin: 10px calc(-1 * var(--gutter)) 0;
  overflow: hidden;
  isolation: isolate;
}

.land__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.land::before {
  z-index: 4;
}

.land__snow {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Where it lands: on the snow in the valley's middle. */
.flyer,
.land__shadow,
.land__ring,
.land__glow {
  position: absolute;
  left: 50%;
  bottom: 17%;
}

.flyer {
  z-index: 2;
  width: var(--s);
  margin-left: calc(var(--s) / -2);
  opacity: 0;
}

.flyer img {
  width: 100%;
  filter: drop-shadow(0 0 24px rgb(182 243 106 / 55%));
}

.land__shadow {
  z-index: 1;
  width: calc(var(--s) * 1.2);
  height: calc(var(--s) * 0.18);
  margin: 0 0 calc(var(--s) * -0.06) calc(var(--s) * -0.6);
  border-radius: 50%;
  background: radial-gradient(rgb(0 20 10 / 55%), transparent 70%);
  opacity: 0;
}

.land__glow {
  z-index: 1;
  width: calc(var(--s) * 3);
  height: calc(var(--s) * 0.7);
  margin: 0 0 calc(var(--s) * -0.3) calc(var(--s) * -1.5);
  border-radius: 50%;
  background: radial-gradient(rgb(182 243 106 / 50%), rgb(110 240 181 / 18%) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
}

.land__ring {
  z-index: 2;
  width: calc(var(--s) * 1.4);
  height: calc(var(--s) * 0.32);
  margin: 0 0 calc(var(--s) * -0.14) calc(var(--s) * -0.7);
  border: 2px solid rgb(217 255 158 / 90%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgb(182 243 106 / 70%);
  opacity: 0;
}

/* The flight: across (eased out) and down (eased in) make the arc; it spins level as it comes. */
.land.is-playing .flyer {
  animation: fly-x 2.6s cubic-bezier(0.15, 0.6, 0.35, 1) forwards;
}

.land.is-playing .flyer__y {
  animation: fly-y 2.6s cubic-bezier(0.5, 0, 0.85, 0.55) forwards;
}



.land.is-playing .flyer img {
  animation:
    spin-in 2.6s cubic-bezier(0.3, 0.6, 0.3, 1) forwards,
    thud 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) 2.6s both;
}

.land.is-playing .flyer__float {
  animation: idle 4.5s ease-in-out 3.3s infinite;
}

.land.is-playing .land__shadow {
  animation: shadow-in 2.6s ease-in forwards;
}

.land.is-playing .land__ring {
  animation: ring 1.1s ease-out 2.55s forwards;
}

.land.is-playing .land__glow {
  animation: glow-on 1.6s ease-out 2.55s forwards;
}

@keyframes fly-x {
  0% {
    opacity: 0;
    translate: 46vw 0;
  }

  6% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes fly-y {
  0% {
    translate: 0 -150%;
    scale: 0.3;
  }

  100% {
    translate: 0 0;
    scale: 1;
  }
}

@keyframes trail {
  0% {
    opacity: 0;
  }

  10%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes spin-in {
  0% {
    rotate: -40deg;
  }

  100% {
    rotate: 0deg;
  }
}

@keyframes thud {
  0% {
    scale: 1.12 0.84;
    translate: 0 6%;
  }

  45% {
    scale: 0.95 1.07;
    translate: 0 -4%;
  }

  100% {
    scale: 1 1;
    translate: 0 0;
  }
}

@keyframes idle {
  50% {
    translate: 0 -6%;
  }
}

@keyframes shadow-in {
  0% {
    opacity: 0;
    scale: 0.3;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes ring {
  0% {
    opacity: 1;
    scale: 0.4;
  }

  100% {
    opacity: 0;
    scale: 3.2;
  }
}

@keyframes glow-on {
  0% {
    opacity: 0;
    scale: 0.4;
  }

  30% {
    opacity: 1;
    scale: 1.15;
  }

  100% {
    opacity: 0.75;
    scale: 1;
  }
}



/* The fly-in starts higher on wide screens, from the top of the sky. */
@media (min-width: 900px) {
  @keyframes fly-y {
    0% {
      translate: 0 -260%;
      scale: 0.3;
    }

    100% {
      translate: 0 0;
      scale: 1;
    }
  }
}




/* Light theme touches */
.go {
  color: #fff;
}

.fart,
.rail .tile__art {
  border: 1px solid var(--edge-2);
  box-shadow: 0 24px 50px -32px rgb(16 40 28 / 30%);
}

.bars i {
  background: linear-gradient(to top, rgb(47 143 92 / 18%), #2f8f5c 70%, #6fcf6a);
  box-shadow: 0 16px 36px -14px rgb(47 143 92 / 45%);
}

.glow {
  text-shadow: none;
}

.studio,
.bigcanvas,
.dash,
.qa__answer,
.calc,
.launch__panel {
  box-shadow: 0 30px 60px -36px rgb(16 40 28 / 28%);
}

/* Cards never push the page wider than the screen. */
@media (max-width: 1040px) {
  .feat {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fcard,
.fart,
.pcard {
  min-width: 0;
}

.pcard {
  max-width: min(420px, 100%);
}

@media (max-width: 680px) {
  .pcard {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme ul li {
    flex-wrap: wrap;
  }

  .fn b {
    word-break: break-all;
  }
}

@media (max-width: 680px) {
  .fart--devices .bp {
    zoom: 0.8;
  }
}

@media (max-width: 400px) {
  .fart--devices .bp {
    zoom: 0.72;
  }
}

/* FAQ: the answer fits its words and sits beside the question picked, pointing at it. */
.qa {
  align-items: start;
}

.qa__answer {
  min-height: 0;
  padding: 26px 30px;
  transform: translateY(var(--qa-y, 0));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qa__answer::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid var(--edge);
  border-left: 1px solid var(--edge);
  background: var(--deep);
  transform: rotate(45deg);
}

.qa__answer p {
  font-size: 22px;
}

@media (max-width: 680px) {
  .qa__answer {
    transform: none;
  }

  .qa__answer::before {
    display: none;
  }
}


/* FAQ: one card of questions; an answer opens right under its question. */
.faq2 {
  max-width: 860px;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 20px;
  background: var(--deep);
  box-shadow: 0 30px 60px -36px rgb(16 40 28 / 25%);
}

.acc2 + .acc2 {
  border-top: 1px solid var(--edge-2);
}

.acc2 button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s;
}

.acc2 button:hover {
  background: rgb(16 60 40 / 3%);
}

.acc2 i {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--edge-2);
  border-radius: 50%;
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
}

.acc2 i::before,
.acc2 i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 11px;
  height: 1.5px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
}

.acc2 i::after {
  transform: rotate(90deg);
  transition: transform 0.3s;
}

.acc2.is-open i {
  border-color: var(--lime);
  background: var(--lime);
  color: #071006;
}

.acc2.is-open i::after {
  transform: rotate(0deg);
}

.acc2__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.acc2.is-open .acc2__body {
  grid-template-rows: 1fr;
}

.acc2__body p {
  overflow: hidden;
  min-height: 0;
  max-width: 680px;
  padding: 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.acc2.is-open .acc2__body p {
  padding-bottom: 22px;
}

#faq .sec__head {
  max-width: 860px;
}

/* Agent tabs: they change on their own, the active one filling as its turn runs. */
.console-tabs button {
  position: relative;
  overflow: hidden;
}

.tabbar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  text-decoration: none;
}

.console-tabs button.is-on .tabbar {
  animation: tabfill var(--tab-ms, 6000ms) linear forwards;
}

.console-tabs.is-paused button.is-on .tabbar {
  width: 100%;
  animation: none;
}

@keyframes tabfill {
  to {
    width: 100%;
  }
}


.dash__tabs button {
  position: relative;
  overflow: hidden;
}

.dash__tabs button.is-on .tabbar {
  animation: tabfill var(--tab-ms, 6000ms) linear forwards;
}

.dash__tabs.is-paused button.is-on .tabbar {
  width: 100%;
  animation: none;
}

/* AI visibility: the score, the page as assistants read it, and the visits they send. */
.aiv3 {
  display: grid;
  grid-template-columns: 260px 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.aiv3 > div {
  padding: 20px;
  border: 1px solid var(--edge-2);
  border-radius: 16px;
  background: var(--void);
}

.aiv3__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.aiv3__score .ring {
  width: 130px;
}

.aiv3__score .ring b {
  font-size: 38px;
}

.aiv3__score ul {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
  text-align: left;
}

.aiv3__score li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aiv3__score li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.aiv3__score .ok::before {
  background: var(--leaf);
}

.aiv3__score .warn::before {
  background: #e3a224;
}

.aiv3__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
}

.aiv3__label em {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  color: var(--dim);
}

.aiv3__copy pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 10px;
  background: #0f1a14;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: #d8eadf;
}

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

.assist li {
  display: grid;
  grid-template-columns: 78px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.assist i {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--leaf), #9be66b);
  width: var(--w);
}

.assist b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.assist__sum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.assist__sum div {
  padding: 12px;
  border-radius: 10px;
  background: var(--deep);
  border: 1px solid var(--edge-2);
}

.assist__sum span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.assist__sum b {
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 1040px) {
  .aiv3 {
    grid-template-columns: 1fr 1fr;
  }

  .aiv3__score {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .aiv3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing: period switch, plan cards and a comparison table. */
.period {
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 26px 0 18px;
  padding: 4px;
  border: 1px solid var(--edge-2);
  border-radius: 12px;
  background: var(--deep);
}

.period button {
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
}

.period button.is-on {
  background: var(--text);
  color: #fff;
}

.period em {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 99px;
  background: var(--lime);
  font-family: var(--font);
  font-size: 11px;
  font-style: normal;
  color: #071006;
}

.plans3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan3 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--edge-2);
  border-radius: 20px;
  background: var(--deep);
  box-shadow: 0 24px 50px -36px rgb(16 40 28 / 30%);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}

.plan3:hover {
  transform: translateY(-3px);
}

.plan3--pick {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f1fbe8, #fff 45%);
  box-shadow: 0 30px 60px -32px rgb(23 133 82 / 45%);
}

.plan3.is-fit {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.plan3__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}

.plan3 h3 {
  font-size: 19px;
  font-weight: 600;
}

.plan3__tag {
  min-height: 40px;
  font-size: 13px;
  color: var(--muted);
}

.plan3__price b {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.plan3__price span {
  color: var(--dim);
}

.plan3__bill {
  margin-top: -8px;
  font-size: 12px;
  color: var(--dim);
}

.plan3__credits {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--void);
  border: 1px solid var(--edge-2);
}

.plan3__credits b {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.plan3__credits span {
  font-size: 12px;
  color: var(--muted);
}

.plan3 ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 8px;
  font-size: 14px;
  color: var(--text);
}

.plan3 li {
  position: relative;
  padding-left: 22px;
}

.plan3 li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

.plan3__cta {
  margin-top: auto;
  padding: 11px;
  border: 1px solid var(--edge-2);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s;
}

.plan3__cta:hover {
  background: var(--void);
}

.plan3--pick .plan3__cta {
  border-color: var(--lime);
  background: var(--lime);
  color: #071006;
}

.compare {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  border-radius: 18px;
  background: var(--deep);
}

.compare summary {
  padding: 16px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.compare summary::-webkit-details-marker {
  display: none;
}

.compare summary::after {
  content: "–";
  float: right;
  color: var(--dim);
}

.compare:not([open]) summary::after {
  content: "+";
}

.compare__wrap {
  overflow-x: auto;
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 12px 18px;
  border-top: 1px solid var(--edge-2);
  text-align: center;
}

.compare thead th {
  font-weight: 600;
}

.compare tbody th {
  font-weight: 400;
  color: var(--muted);
  text-align: left;
}

.compare .pick {
  background: #f1fbe8;
  font-weight: 500;
}

@media (max-width: 1040px) {
  .plans3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .plans3 {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* FAQ beside an "ask the agent" card, so the row is full. */
.faqwrap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.faqwrap .faq2 {
  max-width: none;
}

.askcard {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(182 243 106 / 22%), transparent 70%),
    var(--deep);
  box-shadow: 0 30px 60px -36px rgb(16 40 28 / 28%);
}

.askcard h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.askchat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: var(--void);
  font-size: 13.5px;
}

.askchat__me {
  align-self: flex-end;
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px 12px 4px 12px;
  background: var(--text);
  color: #fff;
}

.askchat__ai {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text);
}

.askchat__ai img {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.askchat__ai span {
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--deep);
  border: 1px solid var(--edge-2);
}

.askchat__typing {
  display: flex;
  gap: 4px;
  margin-left: 30px;
}

.askchat__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s ease-in-out infinite;
}

.askchat__typing i:nth-child(2) {
  animation-delay: 0.2s;
}

.askchat__typing i:nth-child(3) {
  animation-delay: 0.4s;
}

.askcard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.askcard__mail {
  padding: 8px 14px;
  border: 1px solid var(--edge-2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.askcard__mail:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.askcard__note {
  font-size: 12px;
  color: var(--dim);
}

@media (max-width: 1040px) {
  .faqwrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .askcard {
    position: static;
  }
}

/* ---------- Tabs, round 2: a sliding pill that fills as its turn runs, and content that arrives in steps. ---------- */
.console-tabs,
.dash__tabs {
  position: relative;
  isolation: isolate;
}

.console-tabs .tabbar,
.dash__tabs .tabbar {
  display: none;
}

.console-tabs button,
.dash__tabs button {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-color: transparent !important;
  transition: color 0.3s;
}

.console-tabs button.is-on,
.dash__tabs button.is-on {
  color: var(--text);
}

.console-tabs {
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: var(--deep);
}

.tabpill {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid rgb(31 157 99 / 35%);
  border-radius: 10px;
  background: #eef9e4;
  box-shadow: 0 6px 16px -10px rgb(23 133 82 / 50%);
  transition:
    transform 0.45s cubic-bezier(0.3, 1.25, 0.4, 1),
    width 0.45s cubic-bezier(0.3, 1.25, 0.4, 1),
    height 0.3s;
}

.tabpill::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #9be66b);
  transform: scaleX(0);
  transform-origin: left;
}

.tabpill.is-running::after {
  animation: pillfill var(--tab-ms, 4000ms) linear forwards;
}

.is-paused > .tabpill::after {
  transform: scaleX(1);
  animation: none;
  opacity: 0.5;
}

@keyframes pillfill {
  to {
    transform: scaleX(1);
  }
}

/* Reports sit on top of one another and cross-fade. */
.dash {
  display: grid;
}

.dash > .dash__top {
  grid-row: 1;
}

.dash > .report {
  display: block;
  grid-row: 2;
  grid-column: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.99);
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.45s ease,
    visibility 0s linear 0.45s;
}

.dash > .report.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  pointer-events: auto;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.45s ease,
    visibility 0s;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.report .bars i {
  animation: none;
}

.report.is-on .kpis div {
  animation: step-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.report.is-on .kpis div:nth-child(2) { animation-delay: 0.06s; }
.report.is-on .kpis div:nth-child(3) { animation-delay: 0.12s; }
.report.is-on .kpis div:nth-child(4) { animation-delay: 0.18s; }

.report.is-on .bars i {
  animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.report.is-on .bars div:nth-child(2) i { animation-delay: 0.1s; }
.report.is-on .bars div:nth-child(3) i { animation-delay: 0.2s; }
.report.is-on .bars div:nth-child(4) i { animation-delay: 0.3s; }

.report.is-on .heat2__map {
  animation: bloom 1.3s ease-out both;
}

@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

.report.is-on .heat2__fold {
  animation: step-in 0.5s ease 0.5s both;
}

.heat2__fold::after {
  transform-origin: left;
}

.report.is-on .heat2__fold::after {
  animation: draw 0.9s ease 0.7s both;
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

.report.is-on .aiv3 > div {
  animation: step-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.report.is-on .aiv3 > div:nth-child(2) { animation-delay: 0.1s; }
.report.is-on .aiv3 > div:nth-child(3) { animation-delay: 0.2s; }

.report.is-on .assist i {
  animation: widen 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

@keyframes widen {
  from {
    width: 0;
  }
}

.report.is-on .ring__v {
  animation: ringdraw 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes ringdraw {
  from {
    stroke-dasharray: 0 314;
  }
}

/* The agent's canvas swaps with a quick dissolve; the chat writes in again. */
.bigcanvas.is-swapping .pdp2 {
  animation: swap 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bigcanvas.is-swapping .chatpop__me,
.bigcanvas.is-swapping .chatpop__ai {
  animation: step-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bigcanvas.is-swapping .chatpop__ai {
  animation-delay: 0.25s;
}

.bigcanvas.is-swapping .chatpop__steps span {
  animation: stepglow 0.9s ease both;
}

.bigcanvas.is-swapping .chatpop__steps span:nth-child(2) { animation-delay: 0.2s; }
.bigcanvas.is-swapping .chatpop__steps span:nth-child(3) { animation-delay: 0.4s; }

@keyframes swap {
  0% {
    opacity: 0.2;
    transform: scale(0.98);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes stepglow {
  0% {
    background: transparent;
  }

  50% {
    background: #eef9e4;
  }
}


/* ---------- Footer, round 3: Spark drops straight down like a flash, and the ground shakes. ---------- */
.land.is-playing .flyer {
  animation: drop 0.9s cubic-bezier(0.6, 0, 0.95, 0.5) forwards;
}

.land.is-playing .flyer__y {
  animation: none;
}

.land.is-playing .flyer img {
  animation: settle 0.8s cubic-bezier(0.3, 0.7, 0.4, 1) 0.9s both;
}

.land.is-playing .flyer__float {
  animation: idle 4.5s ease-in-out 1.8s infinite;
}

@keyframes drop {
  0% {
    opacity: 1;
    translate: 0 -720px;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes settle {
  0% {
    translate: 0 0;
  }

  30% {
    translate: 0 -7%;
  }

  60% {
    translate: 0 0;
  }

  80% {
    translate: 0 -2%;
  }

  100% {
    translate: 0 0;
  }
}

/* The path it falls down: a beam of light that flashes and fades. */
.land__beam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 17%;
  z-index: 1;
  width: calc(var(--s) * 0.55);
  margin-left: calc(var(--s) * -0.275);
  background: linear-gradient(to bottom, rgb(217 255 158 / 0%), rgb(217 255 158 / 55%) 70%, rgb(255 255 255 / 90%));
  filter: blur(14px);
  transform-origin: bottom;
  opacity: 0;
  pointer-events: none;
}

.land.is-playing .land__beam {
  animation: beam 1.4s ease-out forwards;
}

@keyframes beam {
  0% {
    opacity: 0;
    transform: scaleY(0.2);
  }

  45% {
    opacity: 0.9;
    transform: scaleY(1);
  }

  70% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: scaleY(1) scaleX(0.3);
  }
}

/* The flash on impact. */
.land__flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(40% 35% at 50% 80%, rgb(255 255 255 / 95%), rgb(217 255 158 / 45%) 40%, transparent 75%);
  opacity: 0;
  pointer-events: none;
}

.land.is-playing .land__flash {
  animation: flash 0.7s ease-out 0.86s forwards;
}

@keyframes flash {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* The ground shakes as it hits. */
.land.is-playing .land__bg,
.land.is-playing .land__glow,
.land.is-playing .land__shadow {
  animation-name: shake;
  animation-duration: 0.55s;
  animation-delay: 0.9s;
  animation-timing-function: linear;
}

.land.is-playing .land__glow {
  animation:
    shake 0.55s linear 0.9s,
    glow-on 1.6s ease-out 0.9s forwards;
}

.land.is-playing .land__shadow {
  animation:
    shadow-in 0.9s ease-in forwards,
    shake 0.55s linear 0.9s;
}

@keyframes shake {
  0%,
  100% {
    translate: 0 0;
  }

  15% {
    translate: -7px 4px;
  }

  30% {
    translate: 6px -3px;
  }

  45% {
    translate: -5px 2px;
  }

  60% {
    translate: 4px -2px;
  }

  75% {
    translate: -2px 1px;
  }
}

.land.is-playing .land__ring {
  animation: ring 1.1s ease-out 0.88s forwards;
}

/* The picture overfills its frame a little, so shaking never shows its edges. */
.land__bg {
  scale: 1.05;
}

@keyframes shake {
  0%,
  100% {
    translate: 0 0;
  }

  15% {
    translate: -5px 3px;
  }

  30% {
    translate: 4px -2px;
  }

  45% {
    translate: -3px 2px;
  }

  60% {
    translate: 3px -1px;
  }

  75% {
    translate: -1px 1px;
  }
}

/* ---------- Mobile polish ---------- */

/* Breakpoints: devices in the middle of the card, not stuck to its bottom. */
.fart--devices {
  align-items: center;
  justify-content: center;
}

@media (max-width: 680px) {
  .fart--devices {
    min-height: 0;
    padding: 28px 12px;
  }

  .fart--devices .bp {
    zoom: 0.66;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .fart--devices .bp {
    zoom: 0.58;
  }
}

@media (max-width: 680px) {
  /* Block filters on one line that swipes; the tiles swipe too, so no arrows. */
  .sec__head--row .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    scrollbar-width: none;
  }

  .sec__head--row .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: none;
  }

  .filters .rail-nav {
    display: none;
  }

  /* Analytics: the card is as tall as the report showing, not the tallest one. */
  .dash > .report:not(.is-on) {
    max-height: 0;
    padding-block: 0;
    overflow: hidden;
  }

  .aiv3__copy pre {
    max-height: 180px;
  }

  /* Tighter rhythm between sections. */
  .sec {
    padding-top: 56px;
  }

  .sec__head {
    margin-bottom: 26px;
  }

  .island-wrap {
    padding-bottom: 8px;
  }

  .launch {
    padding: 64px var(--gutter);
  }

  .launch__glow {
    width: 520px;
    height: 520px;
  }

  .askcard {
    margin-top: 4px;
  }
}
