:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8fb;
  --surface-accent: #f3f5ff;
  --text: #17181c;
  --text-soft: #5f636c;
  --text-faint: #6f737c;
  --line: #e5e7ec;
  --line-strong: #d8dbe3;
  --accent: #5165e8;
  --accent-hover: #4054d7;
  --accent-pressed: #3446bf;
  --accent-ink: #3348cf;
  --purple: #844df2;
  --focus: #163bcb;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --shadow-small: 0 8px 24px rgb(23 24 28 / 0.08);
  --shadow-window: 0 30px 70px rgb(30 32 40 / 0.14),
    0 4px 14px rgb(30 32 40 / 0.08);
  --container: min(1160px, calc(100vw - 48px));
  --section-space: clamp(80px, 9vw, 132px);
  --header-height: 72px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a,
code {
  font-family: inherit;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 5.1vw, 4.75rem);
  font-weight: 720;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.75vw, 3.5rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  font-weight: 680;
}

.container,
.header-inner {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgb(229 231 236 / 0.9);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.mobile-download {
  display: none;
}

.nav-toggle {
  display: none;
  min-width: 58px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 640;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-small);
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 7px 18px rgb(81 101 232 / 0.22);
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  box-shadow: 0 9px 22px rgb(81 101 232 / 0.28);
  transform: translateY(-1px);
}

.button:active {
  border-color: var(--accent-pressed);
  background: var(--accent-pressed);
  transform: translateY(0);
}

.button-quiet {
  border-color: #d8dcf5;
  background: #fff;
  color: var(--accent-ink);
  box-shadow: none;
}

.button-quiet:hover {
  border-color: #bec5ee;
  background: #f5f6ff;
  color: var(--accent-hover);
  box-shadow: 0 7px 18px rgb(81 101 232 / 0.1);
}

.button-quiet:active {
  border-color: #adb6ec;
  background: #eceeff;
  color: var(--accent-pressed);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-ink);
  font-weight: 640;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero {
  padding: clamp(66px, 6.4vw, 90px) 0 clamp(74px, 7.2vw, 102px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(54px, 6.5vw, 94px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lede {
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.hero-support {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.price-sticker {
  width: 134px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 17px;
  border: 1px solid rgb(81 101 232 / 0.34);
  border-radius: 50%;
  background: linear-gradient(145deg, #f5f6ff 0%, #eeeaff 100%);
  color: var(--text);
  text-align: center;
  box-shadow: 0 14px 34px rgb(67 65 150 / 0.14);
  transform: rotate(-3.5deg);
}

.hero-price-sticker {
  position: absolute;
  z-index: 4;
  top: -38px;
  right: max(-29px, calc((var(--container) - 100vw) / 2 + 26px));
  pointer-events: none;
}

.price-sticker-kicker {
  color: var(--accent-ink);
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.price-sticker strong {
  display: block;
  margin: 4px 0 3px;
  color: var(--text);
  font-size: 1.9rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-sticker > span:last-child {
  max-width: 98px;
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.28;
}

.hero-qualification {
  margin: 18px 0 0;
  color: var(--text-faint);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 16px 24px 0;
}

.editor-window {
  position: relative;
  min-height: 432px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-window);
}

.editor-toolbar {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfc;
  color: var(--text-faint);
  font-size: 0.76rem;
}

.editor-window-label {
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.editor-toolbar-title {
  color: var(--text-soft);
  font-weight: 560;
}

.editor-tools {
  justify-self: end;
}

.editor-body {
  max-width: 620px;
  padding: 34px 42px 86px;
  color: #22242a;
  font-size: 1rem;
  line-height: 1.62;
}

.editor-body p {
  margin-bottom: 12px;
}

.editor-heading {
  margin-bottom: 4px !important;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.editor-subheading {
  margin-top: 26px;
  font-weight: 700;
}

.demo-placeholder {
  max-width: 390px;
  color: var(--text-faint);
}

.demo-panel {
  min-height: 6.1em;
}

.text-cursor {
  width: 1.5px;
  height: 1.12em;
  display: inline-block;
  margin-left: 3px;
  background: var(--text);
  vertical-align: -0.14em;
  animation: cursor-blink 1s steps(2, jump-none) 1;
}

.demo-status {
  position: absolute;
  left: 42px;
  bottom: 26px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-small);
}

.demo-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31b166;
}

[data-state="listening"] .demo-status-dot {
  background: #2da5f7;
}

[data-state="transcribing"] .demo-status-dot {
  background: var(--purple);
}

.demo-indicator {
  position: absolute;
  z-index: 3;
  right: -32px;
  bottom: 54px;
  width: 128px;
  height: 128px;
  object-fit: contain;
  animation: indicator-float 3.8s ease-in-out 1;
}

.hero-visual figcaption,
.product-shot figcaption,
.menu-shot figcaption,
.billing-shot figcaption,
.founder figcaption {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 0.78rem;
  line-height: 1.45;
}

.product-shot figcaption a,
.billing-shot figcaption a {
  color: var(--accent-ink);
  font-weight: 620;
}

.hero-visual > figcaption {
  padding-left: 4px;
}

.section-rule {
  position: relative;
}

.section-rule::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--container);
  height: 1px;
  content: "";
  background: var(--line);
  transform: translateX(-50%);
}

.workflow {
  padding: 58px 0 68px;
}

.workflow h2 {
  margin-bottom: 44px;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-list::before {
  position: absolute;
  z-index: -1;
  top: 46px;
  right: 11%;
  left: 11%;
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.workflow-list li {
  text-align: center;
}

.step-art {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: #fff;
}

.step-art img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.step-art kbd {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: #fafafa;
  color: var(--text-soft);
  font-size: 1.7rem;
  box-shadow: 0 5px 12px rgb(23 24 28 / 0.08);
}

.step-art-text {
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 650;
  box-shadow: 0 5px 12px rgb(23 24 28 / 0.08);
}

.workflow-list p {
  margin-bottom: 3px;
  color: var(--text-faint);
  font-size: 0.88rem;
  line-height: 1.4;
}

.workflow-list .step-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 680;
}

.reasons {
  padding: 26px 0 36px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reason-grid article {
  padding: 20px 42px 12px;
  border-left: 1px solid var(--line);
}

.reason-grid article:first-child {
  padding-left: 12px;
  border-left: 0;
}

.reason-grid article:last-child {
  padding-right: 12px;
}

.reason-number {
  margin-bottom: 20px;
  color: var(--purple) !important;
  font-size: 0.78rem !important;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.reason-grid h3 {
  font-size: 1.13rem;
}

.reason-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.use-cases {
  padding: var(--section-space) 0;
  background: var(--surface-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading p {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.use-case-grid article {
  padding: 28px 34px 0 0;
}

.use-case-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line-strong);
}

.use-case-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.use-case-grid h3 {
  font-size: 1.38rem;
}

.use-case-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.features {
  padding: var(--section-space) 0 40px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
  padding-bottom: var(--section-space);
}

.feature-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.feature-copy h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
}

.feature-copy > p:not(.section-label) {
  color: var(--text-soft);
  font-size: 1.04rem;
}

.section-label {
  margin-bottom: 16px;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 730;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-shot,
.menu-shot,
.billing-shot {
  margin: 0;
}

.product-shot picture,
.billing-shot picture {
  display: block;
}

.product-shot img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-window);
}

.menu-shot {
  justify-self: center;
  width: min(100%, 620px);
}

.menu-shot img {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

.data-section {
  padding: var(--section-space) 0;
}

.data-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 54px;
}

.data-intro h2 {
  margin-bottom: 0;
}

.data-intro > p {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.data-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 640;
  list-style: none;
  overflow: hidden;
}

.data-flow li {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.data-flow li:first-child {
  border-left: 0;
}

.data-flow li span {
  color: var(--accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.data-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 7vw, 96px);
}

.privacy-points,
.billing-proof {
  padding-top: 8px;
}

.privacy-points h3,
.billing-copy h3 {
  font-size: 1.5rem;
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0;
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.billing-proof {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 30px;
}

.billing-copy p {
  color: var(--text-soft);
}

.usage-example {
  padding: 16px 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.usage-example p {
  margin: 0;
}

.usage-example .usage-example-title {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.billing-copy .small-copy {
  font-size: 0.84rem;
  line-height: 1.55;
}

.billing-shot img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.founder {
  padding: 72px 0;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.founder figure {
  margin: 0;
}

.founder figure img {
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.founder-copy h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
}

.founder-copy p:not(.section-label) {
  color: var(--text-soft);
}

.install {
  padding: var(--section-space) 0;
  background: var(--surface-soft);
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(60px, 9vw, 126px);
}

.install-steps {
  max-width: 620px;
  padding: 0;
  margin: 30px 0 34px;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  position: relative;
  min-height: 38px;
  padding-left: 48px;
  margin-bottom: 16px;
  color: var(--text-soft);
  counter-increment: install-step;
}

.install-steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--accent-ink);
  content: counter(install-step);
  font-size: 0.76rem;
  font-weight: 720;
}

.install-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.homebrew-panel {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.homebrew-panel p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.command-block {
  position: relative;
  margin-top: 24px;
}

.command-block pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px 82px 18px 18px;
  margin: 0;
  border-radius: var(--radius-small);
  background: #18191e;
  color: #f5f6f8;
  font-size: 0.77rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 58px;
  min-height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid #4b4e58;
  border-radius: 8px;
  background: #2b2d34;
  color: #f5f6f8;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1;
}

.js .copy-button {
  display: inline-flex;
}

.copy-button:hover {
  border-color: #666b78;
  background: #383b44;
}

.copy-button[data-state="copied"] {
  border-color: #528f69;
  background: #254b33;
}

.homebrew-link {
  margin-top: 20px;
  font-size: 0.9rem;
}

.api-key-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  align-items: center;
  gap: clamp(54px, 8vw, 108px);
  padding-top: clamp(58px, 7vw, 92px);
  margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.api-key-copy h3 {
  max-width: 580px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.api-key-intro {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.api-key-steps {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 28px 0 30px;
  counter-reset: api-key-step;
  list-style: none;
}

.api-key-steps li {
  position: relative;
  min-height: 32px;
  padding: 4px 0 0 46px;
  color: var(--text-soft);
  counter-increment: api-key-step;
}

.api-key-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #d9ddf6;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-ink);
  content: counter(api-key-step, decimal-leading-zero);
  font-size: 0.66rem;
  font-weight: 740;
}

.api-key-steps a,
.api-key-video figcaption a,
.faq-grid details p a {
  color: var(--accent-ink);
  font-weight: 640;
  text-decoration: underline;
  text-decoration-color: rgb(67 83 197 / 0.3);
  text-underline-offset: 3px;
}

.api-key-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.api-key-note {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  line-height: 1.58;
}

.api-key-video {
  min-width: 0;
  margin: 0;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d9ddf6;
  border-radius: var(--radius-large);
  background: #1d1f2b;
  box-shadow: var(--shadow-small);
}

.video-facade {
  width: 100%;
  height: 100%;
  display: none;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(24px, 4vw, 42px);
  border: 0;
  background:
    radial-gradient(circle at 84% 20%, rgb(147 135 255 / 0.3) 0 13%, transparent 14%),
    linear-gradient(145deg, #181a24 0%, #24263b 58%, #4f57c8 140%);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.js .video-facade {
  display: grid;
}

.video-facade:hover {
  background:
    radial-gradient(circle at 84% 20%, rgb(163 152 255 / 0.36) 0 13%, transparent 14%),
    linear-gradient(145deg, #1d1f2a 0%, #2b2d47 58%, #5962db 140%);
}

.video-play {
  width: clamp(56px, 7vw, 72px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-ink);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.22);
  transition: transform 160ms ease;
}

.video-facade:hover .video-play {
  transform: scale(1.04);
}

.video-play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.video-facade-copy {
  display: grid;
  gap: 8px;
}

.video-kicker {
  color: #bfc5ff;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-facade-copy strong {
  max-width: 350px;
  font-size: clamp(1.18rem, 2.2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.video-facade-copy > span:last-child {
  color: #d9dcff;
  font-size: 0.84rem;
}

.video-iframe,
.video-noscript {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-noscript {
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  font-weight: 680;
  text-align: center;
}

.api-key-video figcaption {
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 0.78rem;
  line-height: 1.5;
}

.faq {
  padding: var(--section-space) 0;
}

.faq-heading {
  margin-bottom: 38px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--line);
}

.faq-grid details {
  border-bottom: 1px solid var(--line);
}

.faq-grid summary {
  min-height: 76px;
  padding: 24px 8px 20px 0;
  cursor: pointer;
  font-weight: 670;
  line-height: 1.35;
}

.faq-grid summary::marker {
  color: var(--accent);
}

.faq-grid details p {
  padding: 0 24px 24px 0;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.final-cta {
  padding: 0 0 32px;
}

.download-panel {
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 38px 46px;
  border: 1px solid #dfe3f7;
  border-radius: var(--radius-medium);
  background: var(--surface-accent);
}

.download-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.download-panel p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

.footer-layout p {
  margin: 0;
  text-align: center;
}

.footer-layout > a {
  color: var(--text-soft);
  font-weight: 620;
}

.footer-brand {
  color: var(--text);
  font-size: 1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

body.has-image-lightbox {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: clamp(16px, 3vw, 36px);
  margin: 0;
  border: 0;
  background: rgb(12 13 18 / 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-panel {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.image-lightbox-close {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.96);
  color: #18191e;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 680;
}

.image-lightbox-close:hover {
  background: #fff;
}

.image-lightbox-close span[aria-hidden="true"] {
  font-size: 1.25rem;
  font-weight: 420;
  line-height: 1;
}

.image-lightbox-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 4px;
  cursor: zoom-out;
  overflow: hidden;
}

.image-lightbox-image {
  width: auto;
  max-width: calc(100vw - 80px);
  height: auto;
  max-height: calc(100dvh - 190px);
  display: block;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.42);
  cursor: default;
  object-fit: contain;
}

.image-lightbox-caption {
  max-width: 760px;
  margin: 0 auto;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@keyframes indicator-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1020px) {
  .header-inner {
    gap: 22px;
  }

  .site-nav {
    gap: 19px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 44px;
  }

  .editor-window {
    min-height: 404px;
  }

  .editor-body {
    padding: 30px 32px 84px;
    font-size: 0.94rem;
  }

  .demo-status {
    left: 32px;
  }

  .demo-indicator {
    right: -18px;
    width: 118px;
    height: 118px;
  }

  .reason-grid article {
    padding-inline: 28px;
  }

  .billing-proof {
    grid-template-columns: 1fr;
  }

  .billing-shot {
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  :root {
    --section-space: 92px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  html:not(.js) .site-header {
    position: relative;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
  }

  .site-nav .mobile-download {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    margin-top: 4px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-small);
    background: var(--accent);
    color: #fff;
    font-weight: 650;
  }

  .site-nav .mobile-download:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: #fff;
  }

  .js .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px max(24px, calc((100vw - var(--container)) / 2));
    border-bottom: 1px solid var(--line);
    border-top: 0;
    background: #fff;
    box-shadow: 0 14px 30px rgb(23 24 28 / 0.08);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav a:last-child {
    border-bottom: 0;
  }

  .js .site-nav .mobile-download {
    margin-top: 8px;
    border-bottom: 1px solid var(--accent);
  }

  .header-download {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-visual {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }

  .workflow-list::before {
    display: none;
  }

  .reason-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid article,
  .reason-grid article:first-child,
  .reason-grid article:last-child {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .reason-grid article:first-child {
    border-top: 0;
  }

  .use-case-grid article,
  .use-case-grid article + article {
    padding: 28px 0;
    border-left: 0;
  }

  .use-case-grid article + article {
    border-top: 1px solid var(--line-strong);
  }

  .use-case-grid span {
    margin-bottom: 18px;
  }

  .feature-row,
  .feature-row-reverse,
  .data-intro,
  .data-grid,
  .founder-layout,
  .install-layout,
  .api-key-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-row-reverse .menu-shot {
    order: 2;
  }

  .feature-row-reverse .feature-copy {
    order: 1;
  }

  .data-intro,
  .founder-layout,
  .install-layout,
  .api-key-guide {
    gap: 44px;
  }

  .data-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-flow li:nth-child(3) {
    border-left: 0;
  }

  .data-flow li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .data-grid {
    gap: 70px;
  }

  .billing-proof {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  }

  .founder figure {
    max-width: 640px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 32px, 1160px);
    --section-space: 76px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 56px 0 78px;
  }

  .hero-lede {
    font-size: 1.75rem;
  }

  .hero-support {
    font-size: 1rem;
  }

  .hero-price-sticker {
    top: -26px;
    right: -4px;
    width: 112px;
    padding: 13px;
  }

  .hero-price-sticker strong {
    font-size: 1.65rem;
  }

  .hero-price-sticker > span:last-child {
    font-size: 0.62rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    min-height: 44px;
    justify-content: center;
  }

  .hero-visual {
    padding-right: 0;
  }

  .editor-window {
    min-height: 382px;
    border-radius: 14px;
  }

  .editor-toolbar {
    grid-template-columns: 1fr auto;
  }

  .editor-toolbar-title {
    display: none;
  }

  .editor-body {
    padding: 28px 24px 142px;
    font-size: 0.9rem;
  }

  .demo-panel {
    min-height: 10em;
  }

  .editor-heading {
    font-size: 1.2rem;
  }

  .demo-status {
    left: 24px;
    bottom: 24px;
  }

  .demo-indicator {
    right: 4px;
    bottom: 20px;
    width: 100px;
    height: 100px;
  }

  .workflow {
    padding: 50px 0 58px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    display: grid;
    grid-template-columns: 82px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
  }

  .step-art {
    grid-row: span 2;
    width: 82px;
    height: 82px;
    margin: 0;
  }

  .step-art img {
    width: 82px;
    height: 82px;
  }

  .workflow-list p {
    margin: 0;
  }

  .reason-grid article,
  .reason-grid article:first-child,
  .reason-grid article:last-child {
    padding-block: 30px;
  }

  .feature-row {
    gap: 42px;
  }

  .product-shot img,
  .billing-shot img {
    width: 520px;
    max-width: none;
    aspect-ratio: 11 / 10;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .product-shot picture,
  .billing-shot picture {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-small);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .data-flow {
    grid-template-columns: 1fr;
  }

  .data-flow li,
  .data-flow li:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .data-flow li:first-child {
    border-top: 0;
  }

  .billing-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder {
    padding: 64px 0;
  }

  .homebrew-panel {
    padding: 26px 22px;
  }

  .api-key-guide {
    padding-top: 52px;
    margin-top: 62px;
  }

  .api-key-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .api-key-actions .button {
    width: 100%;
  }

  .api-key-actions .text-link {
    min-height: 44px;
    justify-content: center;
  }

  .video-facade {
    gap: 16px;
    padding: 22px;
  }

  .video-play {
    width: 54px;
  }

  .video-facade-copy strong {
    font-size: 1.08rem;
  }

  .video-kicker {
    font-size: 0.62rem;
  }

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

  .download-panel {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding: 32px 24px;
  }

  .download-panel .button {
    width: 100%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }

  .footer-layout p {
    text-align: left;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox-panel {
    gap: 9px;
  }

  .image-lightbox-image {
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 140px);
    border-radius: 11px;
  }

  .image-lightbox-caption {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .brand {
    font-size: 1.08rem;
  }

  .hero-price-sticker {
    top: -22px;
    right: -2px;
    width: 104px;
    padding: 12px;
  }

  .hero-price-sticker strong {
    font-size: 1.55rem;
  }

  .video-facade {
    gap: 14px;
    padding: 18px;
  }

  .video-play {
    width: 48px;
  }

  .video-facade-copy {
    gap: 5px;
  }

  .video-facade-copy strong {
    font-size: 0.98rem;
  }

  .video-facade-copy > span:last-child {
    font-size: 0.76rem;
  }

  .editor-body {
    padding-inline: 18px;
  }

  .demo-status {
    left: 18px;
  }

  .demo-indicator {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
