/* FrontCap landing — shared styles (B5-b). Plain CSS, no framework, no build. */

:root {
  --ink: #15171c;
  --ink-soft: #5b6170;
  --line: rgba(21, 32, 48, 0.11);
  --bg: #fbfcff;
  --bg-soft: #f5f8fc;
  --card: rgba(255, 255, 255, 0.78);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --accent: #1871e6;
  --accent-ink: #1257b8;
  --accent-soft: #eaf4ff;
  --accent-cyan: #22bfde;
  --accent-green: #34c759;
  --accent-purple: #9f40f2;
  --accent-red: #e84133;
  --radius: 8px;
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(20, 32, 52, 0.05), 0 16px 40px rgba(20, 32, 52, 0.08);
  --glass-shadow: 0 20px 60px rgba(24, 55, 95, 0.12);
  color-scheme: light;
}

/* Dark theme — applied via [data-theme="dark"] on <html> (set early by
   inline head bootstrap to avoid a flash, toggled in Settings). */
[data-theme="dark"] {
  --ink: #e9eaf0;
  --ink-soft: #9aa0b2;
  --line: rgba(255, 255, 255, 0.12);
  --bg: #0f1117;
  --bg-soft: #161922;
  --card: rgba(26, 29, 39, 0.82);
  --nav-bg: rgba(15, 17, 23, 0.82);
  --accent: #8b83ff;
  --accent-ink: #a8a2ff;
  --accent-soft: rgba(124, 116, 255, 0.16);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

body > main { flex: 1 0 auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: 0; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: 0; margin: 0 0 0.6em; }
h3 { font-size: 1.1rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 32px; height: 32px; display: block; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: var(--ink-soft); font-size: 0.95rem; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: #fff; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #cfd3df; color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 48px; text-align: center; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section { scroll-margin-top: 88px; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section__head p { color: var(--ink-soft); margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 0.3em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }
.card__icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 14px;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.price { display: flex; flex-direction: column; }
.price--featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.price__tag {
  position: absolute; top: -11px; right: 18px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em;
}
.price__name { font-weight: 700; font-size: 1.05rem; }
.price__amount { font-size: 2rem; font-weight: 800; letter-spacing: 0; margin: 10px 0 2px; }
.price__amount small { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.price__meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; min-height: 2.6em; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; }
.price li { padding: 6px 0 6px 26px; position: relative; color: var(--ink); font-size: 0.94rem; }
.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price .btn { margin-top: auto; text-align: center; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-soft); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ── Long-form (legal / support) ───────────────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.prose h1 { margin-bottom: 0.2em; }
.prose .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2em; }
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose code { background: var(--bg-soft); padding: 1px 6px; border-radius: 5px; font-size: 0.9em; }
.callout {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin: 1.2em 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 69px;
  border-top: 1px solid var(--line);
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
  flex-wrap: wrap;
  direction: ltr;
}
.footer__links { display: flex; justify-content: flex-end; margin-left: auto; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-soft); }
.trademark-statement {
  flex-shrink: 0;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ── Settings dropdown (B5-b2; mirrors TransLay's landing settings) ─────── */
.lang-selector { position: relative; }
.lang-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.lang-btn:hover { border-color: #cfd3df; }
[data-theme="dark"] .lang-btn:hover { border-color: #3a3f50; }
.settings-icon-image { width: 20px; height: 20px; display: block; fill: var(--accent); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  z-index: 220;
  width: 244px; padding: 12px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform-origin: top right;
  transform: scale(0.96) translateY(-6px);
  opacity: 0; pointer-events: none;
  transition: transform 0.18s ease, opacity 0.16s ease;
}
.lang-dropdown.show { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.lang-dropdown-section { padding: 4px 2px; }
.lang-dropdown-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.lang-dropdown-divider { height: 1px; background: var(--line); margin: 10px 0; }

.settings-segmented-control {
  position: relative; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: 10px; padding: 3px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.settings-segmented-thumb {
  /* inset-inline-start (logical) so the thumb tracks the grid's logical order
     and mirrors correctly under [dir="rtl"] (ar). */
  position: absolute; top: 3px; inset-inline-start: 3px;
  width: calc((100% - 6px) / 3); height: calc(100% - 6px);
  border-radius: 8px; background: var(--card); box-shadow: var(--shadow);
  transition: inset-inline-start 0.2s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
}
.settings-segmented-thumb--light { inset-inline-start: 3px; }
.settings-segmented-thumb--dark { inset-inline-start: calc((100% - 6px) / 3 + 3px); }
.settings-segmented-thumb--system { inset-inline-start: calc((200% - 12px) / 3 + 3px); }
.settings-segmented-option {
  position: relative; z-index: 1; width: 100%;
  border: none; background: transparent; padding: 5px 0;
  cursor: pointer; color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s ease;
}
.settings-segmented-option svg { width: 18px; height: 18px; display: block; }
.settings-segmented-option.active { color: var(--ink); }

.settings-language { position: relative; }
.settings-language-trigger {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-soft); color: var(--ink);
  min-height: 36px; display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0 10px; font-size: 0.85rem; cursor: pointer;
  transition: background-color 0.2s ease;
}
.settings-language-trigger:hover { background: var(--line); }
.settings-language-arrow { font-size: 0.6rem; transition: transform 0.2s ease; }
.settings-language.is-open .settings-language-arrow { transform: rotate(180deg); }
.settings-language-menu {
  position: absolute; top: calc(100% + 6px); left: 0; width: 100%;
  max-height: 232px; overflow-y: auto;
  border-radius: 8px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-origin: top center; transform: scaleY(0.9);
  opacity: 0; pointer-events: none;
  transition: transform 0.16s ease, opacity 0.14s ease; z-index: 2;
}
.settings-language.is-open .settings-language-menu { transform: scaleY(1); opacity: 1; pointer-events: auto; }
.settings-language-option {
  display: block; width: 100%; border: none; background: transparent;
  color: var(--ink); text-align: left; padding: 8px 10px;
  font-size: 0.85rem; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.settings-language-option:hover { background: var(--bg-soft); }
.settings-language-option.is-active { color: var(--accent); font-weight: 600; }

/* ── RTL (ar) ──────────────────────────────────────────────────────────── */
[dir="rtl"] .lang-dropdown { right: auto; left: 0; transform-origin: top left; }
[dir="rtl"] .settings-language-menu { left: auto; right: 0; }
[dir="rtl"] .price li { padding: 6px 26px 6px 0; }
[dir="rtl"] .price li::before { left: auto; right: 0; }
[dir="rtl"] .prose ul { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .settings-language-trigger,
[dir="rtl"] .footer__inner { text-align: left; }

/* ── Pricing page (B5-c) ───────────────────────────────────────────────── */
.account { text-align: center; max-width: 560px; margin: 0 auto; }
.account__hint { color: var(--ink-soft); font-size: 0.9rem; }
#gis-button { display: inline-block; margin: 10px 0 4px; min-height: 40px; }
.account__msg {
  max-width: 560px; margin: 16px auto 0; text-align: center;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-size: 0.92rem;
}
.linkbtn {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font: inherit; font-size: 0.9rem; padding: 0; margin-inline-start: 6px; text-decoration: underline;
}
.linkbtn:hover { color: var(--accent-ink); }
.qty {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 16px; font-size: 0.9rem; color: var(--ink-soft);
}
.qty input {
  width: 72px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-soft); color: var(--ink); font: inherit; text-align: center;
}

/* ── Subscription status + plan-card actions (B6) ──────────────────────── */
.sub-status {
  max-width: 560px; margin: 14px auto 0; text-align: center;
  font-size: 0.95rem; font-weight: 600; color: var(--accent-ink);
}
.price__hint { margin-top: 8px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }
/* aria-disabled (current-plan cards): look disabled, but stay in the pointer
   hit-test so the element can be inspected/captured; clicks are inert in JS. */
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn:disabled:active,
.btn[aria-disabled="true"]:active { transform: none; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(17, 20, 28, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
/* The [hidden] attribute must win over the display:flex above (equal specificity
   otherwise), or the backdrop covers the page and swallows clicks. */
.modal-backdrop[hidden] { display: none; }
.modal-card {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; max-width: 440px; width: 100%;
}
.modal-card h3 { margin: 0 0 0.5em; font-size: 1.2rem; text-align: center; }
.modal-body { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Success page (B5-d) ───────────────────────────────────────────────── */
.status { text-align: center; max-width: 580px; margin: 0 auto; }
.status__icon { line-height: 1; margin-bottom: 14px; }
.status__note { color: var(--ink-soft); font-size: 1.05rem; max-width: 540px; margin: 6px auto 24px; }
.spinner {
  width: 40px; height: 40px; margin: 0 auto 20px;
  border: 3px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: fc-spin 0.8s linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .grid--3 { grid-template-columns: 1fr; }
  .nav__links { gap: 14px; }
  .nav__links .nav__hide-sm { display: none; }
  .hero { padding: 52px 0 36px; }
}

/* ── Landing home refresh ──────────────────────────────────────────────── */
.landing-home {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88) 58%, #ffffff),
    #fbfcff;
  overflow-x: hidden;
}

.ambient-fields {
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.72;
  filter: blur(58px) saturate(122%);
  background:
    linear-gradient(110deg, rgba(34, 191, 222, 0.22) 8%, transparent 30%),
    linear-gradient(145deg, transparent 42%, rgba(52, 199, 89, 0.16) 55%, transparent 72%),
    linear-gradient(230deg, transparent 18%, rgba(159, 64, 242, 0.13) 42%, transparent 64%),
    linear-gradient(315deg, transparent 24%, rgba(255, 204, 0, 0.14) 48%, transparent 70%),
    linear-gradient(20deg, transparent 54%, rgba(232, 65, 51, 0.1) 76%, transparent 90%);
  background-size: 150% 150%;
  animation: ambient-field-drift 34s ease-in-out infinite alternate;
}

@keyframes ambient-field-drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); background-position: 0% 20%; }
  50% { transform: translate3d(2%, 1.5%, 0) scale(1.02); background-position: 70% 46%; }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.01); background-position: 35% 82%; }
}

.landing-home .nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52));
  border-bottom-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(21, 32, 48, 0.06);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.landing-home .nav__inner { height: 68px; }

.landing-home .nav__links {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-home .nav__links a:not(.btn) {
  padding: 7px 2px;
  border-radius: 0;
  color: #425066;
}

.landing-home .nav__links a:not(.btn):hover {
  background: transparent;
  color: var(--ink);
}

.landing-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  line-height: 1.2;
  transform-origin: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.landing-home .btn:hover {
  transform: scale(1.05);
}

.landing-home .btn:active {
  transform: scale(1.02);
}

.landing-home .btn--primary {
  background: linear-gradient(135deg, #1871e6, #22bfde);
  box-shadow: none;
}

.landing-home .btn--primary:hover {
  background: linear-gradient(135deg, #1257b8, #129ab5);
  box-shadow: 0 14px 30px rgba(24, 113, 230, 0.22);
}

.landing-home .btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-home .btn--ghost:hover {
  box-shadow: 0 14px 30px rgba(21, 32, 48, 0.1);
}

.landing-home .nav__links .btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.hero--showcase {
  text-align: left;
  padding: 78px 0 54px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.hero__copy {
  max-width: 560px;
}

.landing-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(24, 113, 230, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(24, 55, 95, 0.06);
}

.landing-home h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 4.8vw, 4.35rem);
  line-height: 1.04;
  margin-top: 18px;
  margin-bottom: 22px;
}

.landing-home h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.hero--showcase p.lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: #4b596d;
}

.hero--showcase .hero__cta {
  justify-content: flex-start;
  gap: 12px;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #3f4f65;
  font-size: 0.86rem;
  box-shadow: 0 8px 24px rgba(24, 55, 95, 0.05);
}

.hero__metrics span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  margin-inline-end: 8px;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.hero--showcase .hero__note {
  text-align: left;
  color: #687386;
}

/* ── Landing subpages ─────────────────────────────────────────────────── */
.landing-page .page-main {
  padding-top: 54px;
  padding-bottom: 78px;
}

.landing-page .page-section {
  padding: 0;
}

.landing-page .section__head {
  max-width: 700px;
  margin-bottom: 28px;
}

.landing-page .section__head h1,
.landing-page .prose--page h1,
.landing-page .status h1,
.landing-page .page-empty h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.06;
  margin: 14px auto 16px;
}

.landing-page .section__head p {
  max-width: 620px;
  margin: 0 auto;
  color: #4b596d;
  font-size: 1.04rem;
}

.landing-page .account {
  max-width: 680px;
  padding: 18px 22px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 36px rgba(21, 32, 48, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-page .sub-status {
  color: var(--accent-ink);
}

.landing-page .price {
  min-height: 368px;
  padding: 28px;
}

.landing-page .pricing-grid {
  margin-top: 28px;
}

.landing-page .price--featured {
  border-color: rgba(24, 113, 230, 0.22);
  box-shadow: 0 22px 54px rgba(21, 32, 48, 0.13);
}

.landing-page .price__meta {
  margin-top: 10px;
  margin-bottom: 26px;
  min-height: auto;
}

.landing-page .pricing-foot-note {
  margin-top: 36px;
  margin-bottom: 0;
  text-align: center;
}

.landing-page .qty input,
.landing-page .settings-language-trigger,
.landing-page .settings-segmented-control {
  background: rgba(255, 255, 255, 0.62);
}

.landing-page .prose--page {
  max-width: 880px;
  margin: 56px auto 72px;
  padding: 38px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-page .prose--page h1 {
  margin-left: 0;
  margin-right: 0;
}

.landing-page .prose--page .updated {
  margin-bottom: 24px;
  color: #687386;
  font-size: 0.95rem;
}

.landing-page .prose--page h2 {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(21, 32, 48, 0.08);
  font-size: 1.35rem;
  line-height: 1.22;
}

.landing-page .prose--page code {
  background: rgba(24, 113, 230, 0.08);
  color: var(--accent-ink);
}

.landing-page .prose--page a:not(.btn) {
  font-weight: 600;
}

.landing-page .callout {
  border-color: rgba(24, 113, 230, 0.14);
  background: rgba(234, 244, 255, 0.72);
}

.landing-page .status-section {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .status {
  max-width: 680px;
  padding: 42px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-page .status h1 {
  margin-left: auto;
  margin-right: auto;
}

.landing-page .status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green);
}

.landing-page .status__icon--timeout {
  background: rgba(255, 204, 0, 0.18);
  color: #b77900;
}

.landing-page .status__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-page .page-empty {
  max-width: 720px;
  margin: 70px auto 96px;
  padding: 44px;
  text-align: center;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-page .page-empty .lead {
  max-width: 520px;
  margin: 0 auto 26px;
  color: #4b596d;
  font-size: 1.08rem;
}

.landing-page .page-empty .hero__cta {
  justify-content: center;
}

.landing-page .modal-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-home .footer {
  border-top-color: rgba(21, 32, 48, 0.08);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.product-demo {
  display: block;
  position: relative;
  z-index: 0;
  min-height: 430px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    linear-gradient(135deg, rgba(34, 191, 222, 0.08), rgba(159, 64, 242, 0.08));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.product-demo::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  display: block;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24, 113, 230, 0.14), rgba(255, 255, 255, 0));
}

.product-demo__slide {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  animation: product-demo-fade 9s infinite ease-in-out;
}

.product-demo__slide--pick { animation-delay: 0s; }
.product-demo__slide--note { animation-delay: -6s; }
.product-demo__slide--export { animation-delay: -3s; }

.product-demo__copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 96px;
}

.product-demo__number {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 113, 230, 0.1);
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-demo__title {
  display: block;
  margin: 0 0 10px;
  font-size: 1.24rem;
  font-weight: 800;
}

.product-demo__copy p {
  max-width: 440px;
  margin: 0;
  color: #5c697c;
  font-size: 0.94rem;
  line-height: 1.5;
}

.demo-shot {
  position: relative;
  flex: 1;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: 0 18px 48px rgba(21, 32, 48, 0.12);
}

.demo-shot--asset {
  display: block;
  padding: 0;
  background: #ffffff;
}

.demo-shot__image,
.screenshot-frame__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-shot picture,
.screenshot-frame picture {
  display: contents;
}

.demo-shot__image {
  object-position: center;
}

.demo-shot__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(21, 32, 48, 0.08);
  background: rgba(248, 251, 255, 0.94);
}

.demo-shot__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #e84133;
}

.demo-shot__chrome span:nth-child(2) { background: #fc0; }
.demo-shot__chrome span:nth-child(3) { background: #34c759; }

.demo-shot__chrome em {
  flex: 1;
  min-width: 0;
  height: 20px;
  margin-left: 6px;
  padding: 2px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef8;
  color: #637186;
  font-size: 11px;
  font-style: normal;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-shot__page {
  position: relative;
  min-height: calc(100% - 36px);
  padding: 20px;
}

.demo-shot__nav,
.demo-shot__hero strong,
.demo-shot__hero p,
.demo-shot__hero span,
.demo-shot__cards i::before,
.demo-shot__cards i::after,
.demo-shot__capture b,
.demo-shot__budget {
  display: block;
  border-radius: 999px;
  background: #e4ecf7;
}

.demo-shot__nav {
  width: 45%;
  height: 11px;
  background: linear-gradient(90deg, rgba(24, 113, 230, 0.24), rgba(34, 191, 222, 0.12));
}

.demo-shot__hero {
  margin-top: 28px;
}

.demo-shot__hero strong {
  width: 54%;
  height: 28px;
  margin-bottom: 12px;
  background: #172235;
  border-radius: 8px;
}

.demo-shot__hero p {
  width: 68%;
  height: 11px;
  margin-bottom: 8px;
}

.demo-shot__hero span {
  width: 36%;
  height: 28px;
  margin-top: 18px;
  background: linear-gradient(135deg, #1871e6, #22bfde);
  border-radius: 8px;
}

.demo-shot__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.demo-shot__cards i {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(21, 32, 48, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.demo-shot__cards i::before,
.demo-shot__cards i::after {
  content: "";
  height: 9px;
  margin: 16px 14px 0;
}

.demo-shot__cards i::after {
  width: 56%;
  background: #edf3fa;
}

.demo-shot__cards i.is-selected {
  border-color: rgba(24, 113, 230, 0.36);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(24, 113, 230, 0.12);
}

.demo-shot__cards i.is-selected b {
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(24, 113, 230, 0.72);
  border-radius: 15px;
}

.demo-shot__popover {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: min(260px, 52%);
  padding: 14px;
  border: 1px solid rgba(21, 32, 48, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(21, 32, 48, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.demo-shot__popover strong {
  display: block;
  color: #152030;
  font-size: 0.9rem;
}

.demo-shot__popover span {
  display: block;
  height: 12px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e7eef8;
}

.demo-shot__popover span:nth-child(3) { width: 68%; }

.demo-shot__popover em {
  display: block;
  width: 92px;
  height: 30px;
  margin: 14px 0 0 auto;
  border-radius: 9px;
  background: linear-gradient(135deg, #1871e6, #22bfde);
}

.demo-shot--export {
  display: grid;
  grid-template-columns: minmax(160px, 0.78fr) minmax(220px, 1fr);
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #f6f9ff, #ffffff);
}

.demo-shot__panel,
.demo-shot__markdown {
  min-width: 0;
  border-radius: 14px;
}

.demo-shot__panel {
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 32, 48, 0.08);
}

.demo-shot__panel-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #152030;
  font-size: 0.9rem;
}

.demo-shot__panel-brand img {
  width: 26px;
  height: 26px;
}

.demo-shot__capture {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #f0f5fc;
}

.demo-shot__capture.is-active {
  background: rgba(234, 244, 255, 0.95);
  box-shadow: inset 3px 0 0 #1871e6;
}

.demo-shot__capture span {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: #1871e6;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.demo-shot__capture b {
  width: 100%;
  height: 10px;
}

.demo-shot__budget {
  height: 34px;
  margin-top: 16px;
  background: linear-gradient(90deg, #34c759 64%, #dce7f5 64%);
  border-radius: 10px;
}

.demo-shot__markdown {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: #101828;
}

.demo-shot__markdown code {
  display: block;
  min-width: 0;
  height: 16px;
  overflow: hidden;
  color: #c8d5e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes product-demo-fade {
  0%, 27% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  34%, 93% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.section--tight { padding-top: 24px; }

.landing-home .section__head {
  max-width: 760px;
}

.landing-home #workflow .section__head {
  max-width: 1100px;
}

.landing-home #workflow .section__head h2 {
  max-width: 1100px;
}

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

.workflow-step {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(21, 32, 48, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.workflow-step:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 113, 230, 0.16);
  box-shadow: 0 22px 54px rgba(21, 32, 48, 0.14);
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  border-radius: 999px;
  background: rgba(24, 113, 230, 0.1);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.82rem;
}

.workflow-step h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.workflow-step p {
  margin: 0;
}

.section--media {
  position: relative;
  overflow: hidden;
}

.landing-home #showcase.section--soft {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1020px;
  margin: 0 auto;
  gap: 22px;
  align-items: stretch;
}

.media-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(21, 32, 48, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.media-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.media-card figcaption {
  margin-top: 12px;
  color: #657286;
  font-size: 0.9rem;
}

.demo-reel {
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  flex: 1;
  min-height: auto;
  aspect-ratio: 16 / 9;
  gap: 18px;
  padding: 26px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(16, 24, 40, 0.88), rgba(24, 55, 95, 0.72)),
    linear-gradient(135deg, rgba(34, 191, 222, 0.4), rgba(159, 64, 242, 0.28));
  color: #fff;
  overflow: hidden;
  position: relative;
}

.demo-reel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.demo-reel__play {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  position: relative;
  z-index: 1;
}

.demo-reel__play::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 23px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
}

.demo-reel div:last-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.demo-reel span,
.demo-reel strong,
.demo-reel p {
  display: block;
}

.demo-reel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-reel strong {
  max-width: 440px;
  margin-top: 10px;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.demo-reel p {
  max-width: 430px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.demo-reel strong,
.demo-reel p {
  overflow-wrap: anywhere;
}

.demo-reel--youtube {
  display: block;
  padding: 0;
  background: #101828;
}

.demo-reel--youtube::before {
  display: none;
}

.video-facade__button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #101828;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
}

.video-facade__button picture {
  display: block;
  position: absolute;
  inset: 0;
}

.video-facade__thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.video-facade__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.1), rgba(16, 24, 40, 0.34)),
    radial-gradient(circle at center, rgba(16, 24, 40, 0.02), rgba(16, 24, 40, 0.18));
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(7, 12, 20, 0.28);
  transform: translate(-50%, -50%);
}

.video-facade__play::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 27px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--accent);
}

.video-facade__button:hover .video-facade__thumb,
.video-facade__button:focus-visible .video-facade__thumb {
  transform: scale(1.025);
}

.video-facade__button:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.94),
    inset 0 0 0 6px rgba(24, 113, 230, 0.5);
}

.demo-reel--youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.screenshot-frame {
  flex: 1;
  min-height: 270px;
  border: 1px solid rgba(21, 32, 48, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f3f7fd);
  position: relative;
  overflow: hidden;
}

.screenshot-frame__image {
  object-position: center top;
}

.screenshot-frame--overlay .mini-browser {
  position: absolute;
  inset: 18px 86px 18px 18px;
  border-radius: 10px;
  background:
    linear-gradient(#eaf1fb 12px, transparent 12px),
    linear-gradient(90deg, #dbe6f4 18%, transparent 18% 24%, #dbe6f4 24% 55%, transparent 55%),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(21, 32, 48, 0.08);
}

.screenshot-frame--overlay::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: 56px;
  border-radius: 10px;
  background:
    linear-gradient(#1871e6 28px, transparent 28px),
    linear-gradient(#eaf1fb 0 28px, transparent 28px 40px, #eaf1fb 40px 68px, transparent 68px 80px, #101828 80px 126px, transparent 126px),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(21, 32, 48, 0.08);
}

.mini-selection {
  position: absolute;
  left: 48px;
  top: 92px;
  width: 92px;
  height: 44px;
  border: 2px solid #1871e6;
  border-radius: 8px;
  box-shadow: 0 0 0 5px rgba(24, 113, 230, 0.12);
}

.mini-popover {
  position: absolute;
  right: 96px;
  bottom: 28px;
  width: 116px;
  height: 84px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(21, 32, 48, 0.16);
}

.screenshot-frame--panel {
  padding: 22px;
  background: #ffffff;
}

.mini-panel-row {
  height: 32px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: #eef3fa;
}

.mini-panel-row.is-strong {
  background: rgba(24, 113, 230, 0.12);
  box-shadow: inset 3px 0 0 #1871e6;
}

.mini-export {
  height: 58px;
  margin-top: 18px;
  border-radius: 9px;
  background: #101828;
}

.screenshot-frame--markdown {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px;
  background: #101828;
}

.screenshot-frame--markdown code {
  height: 18px;
  color: #c8d5e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.screenshot-frame--asset,
.screenshot-frame--panel.screenshot-frame--asset,
.screenshot-frame--markdown.screenshot-frame--asset {
  display: block;
  flex: none;
  min-height: auto;
  aspect-ratio: 574 / 586;
  padding: 0;
  background: #ffffff;
}

.screenshot-frame--asset::after,
.screenshot-frame--overlay.screenshot-frame--asset::after {
  display: none;
}

.media-zoom-target {
  cursor: zoom-in;
  outline: none;
}

.media-zoom-target:hover .demo-shot__image,
.media-zoom-target:focus-visible .demo-shot__image,
.media-zoom-target:hover .screenshot-frame__image,
.media-zoom-target:focus-visible .screenshot-frame__image {
  transform: scale(1.035);
}

.media-zoom-target:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(24, 113, 230, 0.42),
    0 18px 48px rgba(21, 32, 48, 0.12);
}

.demo-shot__image,
.screenshot-frame__image {
  transition: transform 180ms ease;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.media-lightbox__dialog {
  position: relative;
  max-width: min(96vw, 1440px);
  max-height: 92vh;
}

.media-lightbox__image {
  display: block;
  max-width: min(96vw, 1440px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.media-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #101828;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.media-lightbox__close:hover,
.media-lightbox__close:focus-visible {
  background: #ffffff;
}

.media-lightbox-open {
  overflow: hidden;
}

.landing-home .card {
  border-color: rgba(21, 32, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(21, 32, 48, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-home.landing-page .price.card {
  background: rgba(238, 244, 251, 0.86);
}

[data-theme="dark"] .landing-home.landing-page .price.card {
  background: rgba(30, 34, 46, 0.88);
}

.landing-home .section--evidence .card {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-home .section--evidence .card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 113, 230, 0.16);
  box-shadow: 0 22px 54px rgba(21, 32, 48, 0.14);
}

.landing-home .card h3 {
  margin-bottom: 10px;
}

.landing-home .section--evidence .card h3 {
  margin-bottom: 14px;
}

.landing-home .section--evidence .card p {
  line-height: 1.58;
}

.landing-home .card__icon {
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin-bottom: 24px;
  padding: 0;
  border-radius: 14px;
  background: rgba(24, 113, 230, 0.1);
  color: var(--accent-ink);
  font-size: 0;
}

.landing-home .card__icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-home .section--pricing .price {
  min-height: 416px;
  padding: 28px;
}

.landing-home .section--pricing .price__meta {
  margin-bottom: 18px;
}

.landing-home .section--pricing .price li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.landing-home .section--soft {
  background: rgba(246, 249, 254, 0.72);
  border-color: rgba(21, 32, 48, 0.08);
}

.landing-home #pricing.section--soft {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-fields { animation: none; }
  .product-demo__slide {
    animation: none;
    opacity: 0;
    visibility: hidden;
  }
  .product-demo__slide--pick {
    opacity: 1;
    visibility: visible;
  }
}

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

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    max-width: 780px;
    width: 100%;
  }

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

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

  .media-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .hero__visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .landing-home .nav__inner {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
    gap: 12px;
  }

  .landing-home .nav__links {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .landing-home .nav__links .btn {
    white-space: nowrap;
    padding-inline: 14px;
  }

  .landing-home .nav__links a[href="#workflow"],
  .landing-home .nav__links a[href="#showcase"],
  .landing-home .nav__links a[href="/pricing"] {
    display: none;
  }

  .hero--showcase {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .landing-home h1 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    margin-top: 14px;
    margin-bottom: 16px;
  }

  .hero--showcase p.lead {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero__metrics {
    gap: 8px;
    margin-top: 18px;
  }

  .hero__metrics span {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 0.82rem;
  }

  .landing-page .page-main {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .landing-page .section__head h1,
  .landing-page .prose--page h1,
  .landing-page .status h1,
  .landing-page .page-empty h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-top: 12px;
  }

  .landing-page .prose--page,
  .landing-page .status,
  .landing-page .page-empty {
    margin-top: 28px;
    margin-bottom: 44px;
    padding: 24px;
    border-radius: 16px;
  }

  .landing-page .account {
    padding: 16px;
  }

  .landing-page .price {
    padding: 24px;
  }

  .hero--showcase .hero__note {
    margin-top: 14px;
  }

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

  .workflow-step {
    min-height: auto;
  }
}
