@import url("https://fonts.googleapis.com/css2?family=Geist:wght@500;600&family=Geist+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap");

/* WEBSITE II home layer. Dark gallery layout; templates/pricing/download keep pages.css. */
:root {
  --bg: #09090a;
  --card: #111113;
  --card-2: #16161a;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --fg: #fff;
  --fg-85: rgba(255, 255, 255, 0.85);
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-60: rgba(255, 255, 255, 0.6);
  --fg-55: rgba(255, 255, 255, 0.55);
  --fg-40: rgba(255, 255, 255, 0.4);
  --ink: #0b0b0c;
  --green: #4ade80;
  --amber: #f5b942;
  --blue: #5b9dff;
  --display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hm {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:where(.hm) a { color: inherit; text-decoration: none; }
:where(.hm) :is(h1, h2, h3, h4, p) { margin: 0; }
:where(.hm) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hm :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.ico { width: 16px; height: 16px; flex: none; }

.hm-wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.hm-wrap-wide { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- Type ---------- */
.hm-h1 {
  font: 500 clamp(36px, 3.45vw, 49px)/1.04 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hm-h1-cta { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.02; }
.hm-h2 {
  font: 500 clamp(34px, 3.6vw, 52px)/1.04 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hm-h2-left { text-align: left; max-width: 640px; }
.hm-h3 { font: 500 20px/1.25 var(--display); letter-spacing: -0.02em; }
.hm-muted { color: rgba(255, 255, 255, 0.42); }
.hm-lede { font-size: 16px; line-height: 1.6; color: var(--fg-70); max-width: 540px; margin-inline: auto; text-wrap: pretty; }
.hm-sub { font-size: 16px; line-height: 1.6; color: var(--fg-60); max-width: 560px; margin: 20px auto 0; text-wrap: pretty; }
.hm-sub-left { margin: 16px 0 0; text-align: left; }
.hm-fine { font-size: 13px; line-height: 1.5; color: var(--fg-55); }
.hm-fine-center { text-align: center; max-width: 640px; margin: 28px auto 0; }
.hm-fine a { color: var(--fg-85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.hm-mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 500 15px/1 var(--sans); white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, opacity 0.2s;
}
.hm-btn:hover { transform: translateY(-1px); }
.hm-btn:active { transform: translateY(0) scale(0.98); }
.hm-btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.hm-btn-lg { height: 52px; padding: 0 28px; }
.hm-btn-block { width: 100%; }
.hm-btn-light { background: #fff; color: var(--ink); }
.hm-btn-light:hover { background: #f1f1f1; }
.hm-btn-glass {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hm-btn-glass:hover { background: rgba(255, 255, 255, 0.16); }
.hm-btn-glass[aria-disabled="true"] { color: var(--fg-60); }
.hm-btn-chip {
  height: 34px; padding: 0 14px; font-size: 13px;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2);
}
.hm-round {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--fg-85);
  transition: background-color 0.2s, opacity 0.2s;
}
.hm-round:hover { background: rgba(255, 255, 255, 0.13); }
.hm-round:disabled { opacity: 0.4; cursor: default; }

/* ---------- Nav ---------- */
.hm-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 16px var(--gutter) 0;
  pointer-events: none;
}
.hm-nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: min(1184px, 100%);
  padding: 0;
  border-radius: 999px;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease), width 0.45s var(--ease);
}
.hm-brand { display: inline-flex; align-items: center; height: 36px; padding: 0 8px; color: #fff; }
.hm-logo { display: block; height: 18px; width: auto; flex: none; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-links { display: flex; align-items: center; }
.hm-links a {
  padding: 8px 12px; border-radius: 999px;
  font-size: 13px; color: var(--fg-85);
  transition: color 0.2s, background-color 0.2s;
}
.hm-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.hm-header.is-compact .hm-nav {
  width: auto;
  justify-content: center;
  padding: 4px 4px 4px 12px;
  background: rgba(14, 14, 16, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 12px 40px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}

/* ---------- Sky (CSS-generated dusk gradient, no photography) ---------- */
.hm-sky {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(55% 42% at 88% 22%, rgba(232, 236, 244, 0.9), rgba(232, 236, 244, 0) 70%),
    radial-gradient(60% 20% at 24% 64%, rgba(206, 142, 140, 0.55), rgba(206, 142, 140, 0) 72%),
    radial-gradient(45% 16% at 82% 70%, rgba(236, 176, 152, 0.62), rgba(236, 176, 152, 0) 72%),
    radial-gradient(70% 30% at 8% 40%, rgba(60, 82, 140, 0.65), rgba(60, 82, 140, 0) 70%),
    radial-gradient(110% 38% at 50% 104%, rgba(16, 17, 26, 0.95), rgba(16, 17, 26, 0) 72%),
    linear-gradient(180deg, #56729f 0%, #7a8fb4 20%, #6a7ea6 38%, #6c7194 52%, #a7838f 62%, #6c6476 74%, #34364a 88%, #1f2130 100%);
}
.hm-sky-haze {
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 30% at 70% 30%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(35% 25% at 30% 20%, rgba(170, 190, 230, 0.25), transparent 70%);
  filter: blur(30px);
  animation: hm-drift 28s ease-in-out infinite alternate;
}
.hm-sky-band {
  position: absolute; left: -10%; right: -10%; top: 58%; height: 16%;
  background: linear-gradient(90deg, rgba(120, 100, 140, 0.0), rgba(222, 150, 140, 0.42) 30%, rgba(196, 140, 160, 0.25) 55%, rgba(240, 180, 150, 0.5) 82%, rgba(120, 100, 140, 0));
  filter: blur(26px);
  transform: rotate(-2deg);
  animation: hm-drift-x 36s ease-in-out infinite alternate;
}
.hm-grain {
  position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes hm-drift { to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }
@keyframes hm-drift-x { to { transform: translate3d(5%, -6%, 0) rotate(-1deg); } }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: 148px var(--gutter) 56px;
  text-align: center;
}
/* Shared sky behind the hero and the top of the run demo; it dissolves into the page. */
.hm-stage { position: relative; isolation: isolate; }
.hm-stage-sky {
  position: absolute; inset: 0 0 24% 0; z-index: -1; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
}
.hm-sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.hm-sky-canvas.is-ready { opacity: 1; }
.hm-hero-inner { display: grid; justify-items: center; gap: 0; }
.hm-hero .hm-h1 { max-width: 760px; text-shadow: 0 1px 24px rgba(20, 26, 48, 0.25); }
.hm-hero .hm-lede, .hm-hero .hm-also { color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 14px rgba(20, 26, 48, 0.35); }
.hm-hero .hm-lede { margin-top: 24px; }
.hm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; }
.hm-offer { position: relative; display: inline-flex; }
.hm-offer-badge {
  position: absolute; left: 50%; top: -11px; transform: translateX(-50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px; border-radius: 999px;
  background: rgba(16, 16, 20, 0.88); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 12px; font-weight: 500; color: var(--fg-85); white-space: nowrap;
}
.hm-plan-flag.is-full { color: var(--fg-70); box-shadow: inset 0 0 0 1px var(--line-2); background: #151517; }
.hm-plan-flag.is-full i { background: var(--fg-40); box-shadow: none; }
.hm-offer-badge i, .hm-plan-flag i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
}
.hm-also { margin-top: 16px; font-size: 13px; color: var(--fg-70); }
.hm-hero-foot { display: grid; justify-items: center; gap: 22px; padding-top: 64px; }
.hm-works { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; }
.hm-works-label { font-size: 12px; font-weight: 500; color: var(--fg-60); }
.hm-works-item { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--fg-85); }
.hm-vtile {
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 1px 3px rgba(0, 0, 0, 0.25);
}
.hm-vtile-lg { width: 30px; height: 30px; border-radius: 8px; }
.hm-vmark { width: 62%; height: 62%; }
.hm-vtone-claude { background: #f4efe6; color: #d97757; }
.hm-vtone-light { background: #fff; color: #0b0b0c; }
.hm-vtone-dark { background: #0b0b0c; color: #fff; }
.hm-vtext { font: 600 7.5px/1 var(--mono); letter-spacing: -0.02em; }
.hm-vtile-lg .hm-vtext { font-size: 10px; }
.hm-pill-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; color: var(--fg-70);
  background: rgba(20, 20, 26, 0.55);
  transition: color 0.2s, background-color 0.2s;
}
.hm-pill-link:hover { color: #fff; background: rgba(20, 20, 26, 0.8); }
.hm-pill-link .ico { width: 14px; height: 14px; }

/* ---------- Sections ---------- */
.hm-section { position: relative; padding: 88px 0; scroll-margin-top: 72px; }
.hm-section-tight { padding-top: 24px; }
.hm-channels { padding-top: 40px; }
.hm-inset { padding-inline: 24px; }
.hm-center-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.hm-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hm-center-cta { display: grid; justify-items: center; gap: 14px; margin-top: 40px; }

/* ---------- Run demo film ---------- */
.hm-artifact { padding-top: 32px; }
.hm-frame {
  position: relative; isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: 24px; overflow: hidden;
  /* The poster sits behind the video so the frame is never blank while it loads. */
  background: #0d0d10 var(--poster) center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px rgba(0, 0, 0, 0.55);
}
.hm-frame-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Landscape cut (16:10): never taller than the screen leaves room for, so the whole film is visible. */
.hm-frame, .hm-demo-tabs { max-width: calc((100svh - 150px) * 1.6); margin-inline: auto; }
@media (max-height: 520px) { .hm-frame, .hm-demo-tabs { max-width: calc((100svh - 100px) * 1.6); } .hm-demo-tabs { margin-top: 10px; } }
/* Portrait phones and tablets: the portrait cut (4:5), capped to the screen height. */
@media (max-width: 900px) and (orientation: portrait) {
  .hm-frame { aspect-ratio: 4 / 5; border-radius: 20px; background-image: var(--poster-portrait); max-width: min(100%, calc((100svh - 150px) * 0.8)); }
  .hm-demo-tabs { max-width: none; }
}
.hm-status {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px; border-radius: 999px;
  font: 500 11px/1 var(--sans); color: var(--fg-85);
  background: rgba(255, 255, 255, 0.07);
}
.hm-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-55); }
.hm-tone-green i, .hm-feed-dot.hm-tone-green { background: var(--green); }
.hm-tone-amber i, .hm-feed-dot.hm-tone-amber { background: var(--amber); }
.hm-tone-blue i, .hm-feed-dot.hm-tone-blue { background: var(--blue); }
.hm-tone-neutral i, .hm-feed-dot.hm-tone-neutral { background: rgba(255, 255, 255, 0.5); }

.hm-demo-tabs { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.hm-demo-tabs .hm-round { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08); }
.hm-demo-tabs .ico { width: 14px; height: 14px; }
.hm-demo-tabs .ico-play { display: none; fill: currentColor; }
.hm-demo-tabs.is-paused .ico-pause { display: none; }
.hm-demo-tabs.is-paused .ico-play { display: block; }
.hm-tabbar {
  display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hm-tabbar button {
  position: relative; overflow: hidden;
  height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--fg-55);
  transition: color 0.2s;
}
.hm-tabbar button[aria-selected="true"] { color: #fff; }
.hm-tab-fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, 0.1); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hm-tabbar button[aria-selected="true"] { background: rgba(255, 255, 255, 0.05); }

/* ---------- Operating path steps ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-step {
  display: flex; flex-direction: column;
  padding: 8px 8px 0; border-radius: var(--radius);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.hm-step-art {
  position: relative; overflow: hidden;
  height: 260px; border-radius: 18px;
  display: grid; place-items: center; align-content: center; gap: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hm-art-0 { background: radial-gradient(70% 60% at 50% 30%, #3f64a8, transparent 70%), radial-gradient(80% 60% at 50% 110%, #0f2a5c, transparent 70%), linear-gradient(180deg, #2d4f8e, #1a3466); }
.hm-art-1 { background: radial-gradient(60% 30% at 50% 78%, rgba(222, 150, 130, 0.7), transparent 70%), linear-gradient(180deg, #4e6593 0%, #6d7ea4 45%, #a68593 70%, #3a3c55 100%); }
.hm-art-2 { background: radial-gradient(70% 35% at 40% 75%, rgba(236, 170, 150, 0.7), transparent 70%), linear-gradient(180deg, #5b6d98 0%, #8c86a4 40%, #c89591 66%, #5b4c63 100%); }
.hm-art-3 { background: radial-gradient(60% 45% at 70% 30%, rgba(150, 120, 220, 0.6), transparent 70%), linear-gradient(180deg, #3a3a78 0%, #5a4a8e 45%, #9a7096 72%, #2c2640 100%); }
.hm-step-copy { padding: 22px 16px 26px; }
.hm-step h3 { display: flex; align-items: center; gap: 10px; font: 500 19px/1.25 var(--display); letter-spacing: -0.02em; }
.hm-step-n {
  display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  font: 600 11px/1 var(--sans); color: var(--fg-85);
  background: rgba(255, 255, 255, 0.1);
}
.hm-step-n.is-first { background: #fff; color: var(--ink); }
.hm-step-code { margin-top: 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--fg-40); }
.hm-step-copy p:last-child { margin-top: 10px; color: var(--fg-55); font-size: 15px; line-height: 1.5; }

.hm-glass {
  background: rgba(16, 18, 34, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 30px rgba(10, 12, 30, 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 14px;
}
.hm-art-kicker { display: block; font-size: 11px; font-weight: 500; color: var(--fg-70); letter-spacing: 0.02em; }
.hm-art-nodes { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; align-items: center; justify-items: center; }
.hm-node {
  padding: 6px 10px; border-radius: 10px; font-size: 12px; color: var(--fg-85);
  border: 1px dashed rgba(255, 255, 255, 0.35);
}
.hm-node:nth-child(1) { grid-column: 1; grid-row: 1; }
.hm-node:nth-child(2) { grid-column: 3; grid-row: 1; }
.hm-node-core {
  grid-column: 2; grid-row: 1 / span 2; padding: 0; border: 0;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 0 12px rgba(255, 255, 255, 0.05), 0 0 0 24px rgba(255, 255, 255, 0.03);
}
.hm-node-core .hm-logo { height: 15px; color: #fff; }
.hm-node:nth-child(4) { grid-column: 1; grid-row: 2; }
.hm-node:nth-child(5) { grid-column: 3; grid-row: 2; }
.hm-art-task { width: min(84%, 230px); padding: 14px; display: grid; gap: 8px; }
.hm-art-task strong { font-size: 14px; font-weight: 500; }
.hm-art-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 9px; background: rgba(10, 14, 36, 0.24); font-size: 12px; }
.hm-art-row span { color: var(--fg-70); }
.hm-art-row b { font-weight: 500; }
.hm-art-list { width: min(84%, 230px); padding: 10px; display: grid; gap: 6px; }
.hm-art-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 9px; background: rgba(10, 14, 36, 0.24); font-size: 13px; font-weight: 500; }
.hm-art-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(16, 18, 34, 0.32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-size: 12px; font-weight: 500; }
.hm-art-switch span { padding: 5px 12px; border-radius: 999px; color: var(--fg-85); }
.hm-art-switch .is-on { background: #fff; color: var(--ink); }
.hm-art-choices { display: grid; gap: 6px; }
.hm-art-choices span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; background: rgba(10, 14, 36, 0.24); font-size: 12px; font-weight: 500; }
.hm-art-choices i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); font: 600 10px/1 var(--sans); font-style: normal; }

/* ---------- Channels carousel ---------- */
.hm-arrows { display: flex; gap: 8px; flex: none; }
.hm-arrows .ico { width: 16px; height: 16px; }
.hm-carousel {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 24px));
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px;
  margin-top: 36px; padding: 0 var(--pad) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.hm-carousel::-webkit-scrollbar { display: none; }
.hm-feature {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 458px; border-radius: var(--radius);
  display: flex; flex-direction: column;
  background: #0c0c0e;
  scroll-snap-align: start;
}
.hm-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line);
}
.hm-feature-art {
  position: relative; flex: none; height: 290px; z-index: -1;
  display: grid; place-items: center; align-content: center; gap: 12px;
}
.hm-feature-art::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0) 45%, #0c0c0e 100%);
}
.hm-blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(42px); opacity: 0.9; animation: hm-float 16s ease-in-out infinite alternate; }
.hm-blob.b1 { width: 70%; height: 70%; left: -10%; top: -12%; }
.hm-blob.b2 { width: 60%; height: 65%; right: -15%; top: 4%; animation-duration: 19s; animation-delay: -6s; }
.hm-blob.b3 { width: 55%; height: 45%; left: 20%; top: 40%; animation-duration: 22s; animation-delay: -11s; }
@keyframes hm-float { 50% { transform: translate3d(8%, 6%, 0) scale(1.1); } 100% { transform: translate3d(-6%, 10%, 0) scale(0.95); } }
.hm-theme-blue .b1 { background: #2457e6; } .hm-theme-blue .b2 { background: #12b5d8; } .hm-theme-blue .b3 { background: #5b2fd6; }
.hm-theme-violet .b1 { background: #5a1fb8; } .hm-theme-violet .b2 { background: #b04ae0; } .hm-theme-violet .b3 { background: #2a1468; }
.hm-theme-rose .b1 { background: #d8456e; } .hm-theme-rose .b2 { background: #ef8a5e; } .hm-theme-rose .b3 { background: #8a2a5a; }
.hm-theme-amber .b1 { background: #e2621f; } .hm-theme-amber .b2 { background: #f2ad3a; } .hm-theme-amber .b3 { background: #7d2a12; }
.hm-theme-teal .b1 { background: #11a98d; } .hm-theme-teal .b2 { background: #2a76d2; } .hm-theme-teal .b3 { background: #0d4d47; }
.hm-theme-green .b1 { background: #2f9e57; } .hm-theme-green .b2 { background: #a9d84a; } .hm-theme-green .b3 { background: #13452a; }
.hm-feature-copy { padding: 6px 24px 26px; }
.hm-feature h3 { display: flex; align-items: center; gap: 10px; font: 500 20px/1.25 var(--display); letter-spacing: -0.02em; }
.hm-feature p { margin-top: 12px; color: var(--fg-55); font-size: 15px; line-height: 1.5; }
.hm-feature-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; }
.hm-feature-ico .ico { width: 14px; height: 14px; }
.hm-theme-blue h3 { color: #bfe2ff; } .hm-theme-blue .hm-feature-ico { background: #3b82f6; }
.hm-theme-violet h3 { color: #ddd6ff; } .hm-theme-violet .hm-feature-ico { background: #8b5cf6; }
.hm-theme-rose h3 { color: #ffc9d9; } .hm-theme-rose .hm-feature-ico { background: #ec4f7c; }
.hm-theme-amber h3 { color: #ffd5b0; } .hm-theme-amber .hm-feature-ico { background: #f2792b; }
.hm-theme-teal h3 { color: #b3f5e3; } .hm-theme-teal .hm-feature-ico { background: #14b8a6; }
.hm-theme-green h3 { color: #c9f7c4; } .hm-theme-green .hm-feature-ico { background: #22a35a; }

.hm-mini-card { width: 230px; padding: 12px; display: grid; gap: 6px; }
.hm-mini-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--fg-70); }
.hm-dot-green { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hm-mini-card strong { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.hm-mini-opt, .hm-mini-kv { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; background: rgba(10, 14, 36, 0.28); font-size: 12px; font-weight: 500; }
.hm-mini-opt i { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); font: 600 10px/1 var(--sans); font-style: normal; }
.hm-mini-opt em { margin-left: auto; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-style: normal; color: #d9f99d; background: rgba(132, 204, 22, 0.22); }
.hm-mini-kv span { color: var(--fg-85); }
.hm-rail {
  position: absolute; right: 26px; top: 40px;
  display: grid; justify-items: center; gap: 22px; padding: 10px 8px 16px; border-radius: 999px;
  background: rgba(20, 16, 40, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hm-rail-top { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.hm-rail-top .hm-logo { height: 6px; color: #fff; }
.hm-rail i { width: 10px; height: 10px; border-radius: 50%; }
.d-amber { background: var(--amber); } .d-blue { background: var(--blue); } .d-green { background: var(--green); }
.hm-chip-float {
  position: absolute; right: 92px; top: 132px;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: rgba(20, 16, 40, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hm-chip-float i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hm-runtime-grid { display: flex; gap: 8px; }
.hm-runtime { display: grid; justify-items: center; gap: 8px; width: 78px; padding: 12px 6px 10px; font-size: 12px; font-weight: 500; text-align: center; }

.hm-prompt { padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.hm-notice { width: 220px; padding: 14px; display: grid; gap: 10px; border-radius: 20px; }
.hm-notice strong { font-size: 14px; font-weight: 500; }
.hm-flow { display: flex; align-items: center; gap: 6px; }
.hm-flow span { padding: 8px 10px; font-size: 12px; font-weight: 500; border-radius: 10px; }
.hm-flow i { width: 14px; height: 1px; background: rgba(255, 255, 255, 0.5); }

/* ---------- Trust 4-up ---------- */
.hm-trust-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding: 0 0 28px; }
.hm-trust-head p { color: var(--fg-55); font-size: 14px; max-width: 620px; }
.hm-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.hm-mini-ico {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  color: var(--fg-85); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2);
}
.hm-mini h4 { margin-top: 20px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.hm-mini-index { display: block; margin-top: 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--fg-40); }
.hm-mini p { margin-top: 8px; color: var(--fg-55); font-size: 14px; line-height: 1.5; }

/* ---------- Proof panel ---------- */
.hm-panel {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px;
  padding: 16px; border-radius: 28px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.hm-feed { display: grid; gap: 8px; }
.hm-feed-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px; border-radius: 16px;
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line);
}
.hm-feed-dot { width: 8px; height: 8px; border-radius: 50%; }
.hm-feed-row strong { display: block; font-size: 15px; font-weight: 500; }
.hm-feed-row span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--fg-55); }
.hm-feed-meta { display: flex; align-items: center; gap: 8px; }
.hm-feed-meta span { margin: 0; }
.hm-tag { padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--fg-70) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.hm-receipt {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: start; gap: 4px;
  padding: 24px; border-radius: 18px;
  background: radial-gradient(90% 60% at 80% 0%, rgba(110, 140, 210, 0.28), transparent 70%), radial-gradient(70% 40% at 10% 100%, rgba(210, 140, 140, 0.18), transparent 70%), var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.hm-receipt .hm-art-kicker { margin-bottom: 10px; }
.hm-kv { padding: 12px 0; border-top: 1px solid var(--line); }
.hm-kv span { display: block; font-size: 12px; color: var(--fg-55); }
.hm-kv strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--fg-85); }

/* ---------- Plans (comparison + pricing) ---------- */
.hm-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin-inline: auto; }
.hm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.hm-plan {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.hm-plan-hi { box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.28), 0 0 0 1px rgba(74, 222, 128, 0.06), 0 30px 80px rgba(0, 0, 0, 0.35); }
.hm-plan-sky {
  position: absolute; inset: 8px 8px auto 8px; height: 250px; z-index: -1; border-radius: 18px;
  background:
    radial-gradient(60% 35% at 70% 68%, rgba(236, 176, 152, 0.55), transparent 70%),
    radial-gradient(70% 40% at 20% 20%, rgba(120, 140, 200, 0.5), transparent 70%),
    linear-gradient(180deg, #4a5f8c 0%, #6d77a0 40%, #9a7f92 66%, rgba(17, 17, 19, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hm-plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: #bbf7d0; white-space: nowrap;
  background: #0c1a12; box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.4);
}
.hm-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-plan-top h3 { font: 500 20px/1.25 var(--display); letter-spacing: -0.02em; }
.hm-badge { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--fg-85); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.hm-price { display: flex; align-items: flex-start; margin-top: 26px; font-family: var(--display); }
.hm-price sup { font-size: 20px; font-weight: 500; line-height: 1; margin: 8px 2px 0 0; }
.hm-price [data-price] { font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.hm-price small { align-self: flex-end; margin: 0 0 6px 6px; font: 400 14px/1 var(--sans); color: var(--fg-60); }
.hm-plan-sub { margin-top: 14px; color: var(--fg-60); }
.hm-plan-hi .hm-plan-sub { color: #fff; }
.hm-plan-note { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--fg-85); min-height: 40px; display: flex; align-items: center; }
/* Price ladder: each tier variant as a step; the chosen one glows green. */
.hm-ladder { display: flex; align-items: center; justify-content: space-evenly; gap: 4px; margin-top: 18px; padding: 4px 2px; }
.hm-ladder button {
  display: grid; justify-items: center; gap: 3px; min-width: 64px; padding: 6px 8px; border-radius: 12px;
  transition: background-color 0.2s;
}
.hm-ladder button:hover { background: rgba(255, 255, 255, 0.05); }
.hm-ladder-price { display: inline-flex; align-items: center; gap: 6px; font: 500 19px/1 var(--display); letter-spacing: -0.02em; color: var(--fg-70); }
.hm-ladder-price i { display: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18), 0 0 10px rgba(74, 222, 128, 0.7); }
.hm-ladder-label { font-size: 13px; color: var(--fg-55); }
.hm-ladder button[aria-pressed="true"] .hm-ladder-price { color: var(--green); }
.hm-ladder button[aria-pressed="true"] .hm-ladder-price i { display: inline-block; }
.hm-ladder button[aria-pressed="true"] .hm-ladder-label { color: #86efac; }
.hm-ladder-sep { color: var(--fg-40); font-size: 18px; line-height: 1; }
.hm-plan-foot { margin-top: 14px; text-align: center; font-size: 13px; color: var(--fg-55); }
.hm-btn:disabled { cursor: default; color: var(--fg-60); transform: none; }
.hm-plan-rule { height: 1px; margin: 24px 0 20px; background: var(--line-2); }
.hm-includes { font-size: 13px; color: var(--fg-55); margin-bottom: 12px; }
.hm-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.hm-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--fg-85); }
.hm-checks .ico { margin-top: 2px; color: var(--fg-55); }
.hm-checks .ico-x { transform: rotate(45deg); color: var(--fg-40); }
.hm-compare .hm-checks { margin: 24px 0 0; }
.hm-compare .hm-plan:not(.hm-plan-hi) li { color: var(--fg-60); }
.hm-plan .hm-btn-block { margin-top: auto; }

/* ---------- FAQ ---------- */
.hm-faq-grid { display: grid; grid-template-columns: minmax(0, 650px) 1fr; gap: 64px; }
.hm-faq { margin-top: 48px; border-bottom: 1px solid var(--line); }
.hm-faq details { border-top: 1px solid var(--line); }
.hm-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 500; color: var(--fg-85);
  transition: color 0.2s;
}
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary:hover { color: #fff; }
.hm-faq summary .ico { color: var(--fg-40); transition: transform 0.3s var(--ease); }
.hm-faq details[open] summary .ico { transform: rotate(45deg); }
.hm-faq details p { padding: 0 48px 22px 0; font-size: 14.5px; line-height: 1.65; color: var(--fg-55); }
.hm-faq-aside { padding-top: 88px; display: grid; align-content: start; justify-items: start; gap: 16px; }
.hm-faq-aside p { max-width: 300px; font-size: 14.5px; line-height: 1.6; color: var(--fg-55); }

/* ---------- Closing CTA ---------- */
.hm-try { padding-bottom: 72px; }
.hm-try-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 480px; border-radius: 28px;
  display: grid; place-items: center; text-align: center;
  padding: 72px var(--gutter);
}
.hm-try-card > .hm-sky { z-index: -1; }
.hm-try-inner { display: grid; justify-items: center; }
.hm-try-inner .hm-h1 { max-width: 640px; }
.hm-try-inner .hm-lede { margin-top: 20px; color: rgba(255, 255, 255, 0.82); }
.hm-try-inner .hm-hero-actions { margin-top: 32px; }

/* ---------- Footer ---------- */
.hm-footer { border-top: 1px solid var(--line); }
.hm-footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 20px; font-size: 12px; color: var(--fg-55);
}
.hm-footer-row p { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hm-footer-row p span + span { color: var(--fg-40); }
.hm-footer-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hm-footer-row a:hover { color: #fff; }

/* ---------- Scroll reveal (JS only) ---------- */
.js .hm-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .hm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hm-steps { grid-template-columns: repeat(2, 1fr); }
  .hm-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-plans { gap: 12px; }
  .hm-plans .hm-plan { padding: 24px 20px; }
  .hm-price [data-price] { font-size: 48px; }
}
@media (max-width: 900px) {
  .hm-links a { padding: 8px 8px; font-size: 12.5px; }
  .hm-header.is-compact .hm-nav { width: auto; justify-content: center; gap: 18px; }
  .hm-section { padding: 64px 0; }
  .hm-panel { grid-template-columns: 1fr; }
  .hm-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; }
  .hm-faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .hm-faq-aside { padding-top: 24px; }
}
@media (max-width: 659px) {
  .hm-links a:not(.hm-link-keep) { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hm-hero { padding: 112px var(--gutter) 40px; }
  .hm-hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 20px; }
  .hm-hero-actions .hm-btn, .hm-offer { width: 100%; }
  .hm-offer .hm-btn { width: 100%; }
  .hm-works { gap: 10px 16px; }
  .hm-works-label { width: 100%; text-align: center; }
  .hm-hero-foot { padding-top: 48px; }
  .hm-steps, .hm-mini-grid, .hm-compare { grid-template-columns: 1fr; }
  .hm-mini-grid { gap: 28px; padding: 0 4px; }
  .hm-trust-head { padding: 0 4px 24px; }
  .hm-row-head { align-items: flex-start; flex-direction: column; }
  .hm-carousel { grid-auto-columns: 82vw; }
  .hm-feed-row { grid-template-columns: auto 1fr; }
  .hm-feed-meta { grid-column: 2; }
  .hm-plan { padding: 24px 20px; }
  .hm-tabbar { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .hm-tabbar button { flex: none; padding: 0 10px; font-size: 11px; }
  .hm-inset { padding-inline: 0; }
  .hm-try-card { min-height: 420px; border-radius: 22px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hm-sky-haze, .hm-sky-band, .hm-blob { animation: none; }
  .js .hm-reveal { opacity: 1; transform: none; transition: none; }
}
