:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --surface-50: #f8fafc;
  --surface-100: #f1f5f9;
  --surface-200: #e2e8f0;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Inter var", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: radial-gradient(circle at 10% 0%, #f5f7ff 0%, #ffffff 45%, #f7faff 100%);
}

body.nav-open {
  overflow: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(35rem 35rem at 5% -10%, rgba(99, 102, 241, 0.16), transparent 75%),
    radial-gradient(28rem 28rem at 95% 0%, rgba(79, 70, 229, 0.13), transparent 70%),
    radial-gradient(22rem 22rem at 50% 95%, rgba(14, 165, 233, 0.08), transparent 75%);
}

.container {
  width: min(var(--max), 100% - 2.5rem);
  margin-inline: auto;
}

.beta-banner {
  border-bottom: 1px solid #fde68a;
  color: #713f12;
  background: #fffbeb;
  font-size: 0.92rem;
  line-height: 1.45;
}

.beta-banner .container {
  padding-block: 0.62rem;
}

.beta-banner strong {
  color: #422006;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.94);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu-toggle,
.nav-backdrop {
  display: none;
}

.menu-toggle {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--surface-200);
  border-radius: 0.9rem;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.26rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--slate-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--slate-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), #06b6d4);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.topnav {
  margin-left: auto;
  display: inline-flex;
  gap: 0.35rem;
}

.topnav a {
  position: relative;
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 600;
  padding: 0.72rem 1.05rem;
  border-radius: 0.9rem;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 260ms ease,
    transform 220ms ease,
    box-shadow 260ms ease;
}

.topnav a:hover {
  color: var(--brand-700);
  background: #eef2ff;
  transform: translateY(-1px);
}

.topnav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
  transform: translateY(-1px);
}

.btn {
  border: 0;
  border-radius: 0.9rem;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.28);
}

.btn-app {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316, #ec4899 45%, var(--brand-600));
  box-shadow:
    0 14px 34px rgba(236, 72, 153, 0.28),
    0 0 0 4px rgba(249, 115, 22, 0.12);
}

.btn-app::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 520ms ease;
}

.btn-app:hover {
  box-shadow:
    0 18px 42px rgba(236, 72, 153, 0.36),
    0 0 0 5px rgba(249, 115, 22, 0.16);
}

.btn-app:hover::after {
  left: 110%;
}

.btn-ghost {
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  background: #fff;
}

.btn-docs {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
}

.btn-docs:hover {
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.27);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.25rem;
  padding: clamp(3rem, 5vw, 5rem) 0;
  align-items: center;
}

.docs-card {
  border: 1px solid var(--surface-200);
  border-radius: 1.4rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

.docs-card .section-subtle {
  max-width: 78ch;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.docs-grid article {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 0.95rem;
  background: rgba(248, 250, 252, 0.75);
}

.docs-grid strong,
.docs-grid span {
  display: block;
}

.docs-grid strong {
  font-size: 0.96rem;
}

.docs-grid span {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.4rem, 3.1vw, 2.4rem);
}

.lead {
  margin: 1rem 0 1.6rem;
  color: #334155;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 58ch;
}

.beta-note {
  max-width: 62ch;
  margin: -0.55rem 0 1.25rem;
  border: 1px solid #bae6fd;
  border-radius: 0.9rem;
  padding: 0.82rem 0.95rem;
  color: #164e63;
  background: rgba(240, 249, 255, 0.82);
  line-height: 1.5;
}

.beta-note strong {
  color: #0f172a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.hero-metrics article {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.75);
}

.hero-metrics strong {
  display: block;
  font-size: 1.06rem;
}

.hero-metrics span {
  color: #475569;
  font-size: 0.84rem;
}

.mockup {
  background: linear-gradient(160deg, #ffffff, #f3f6ff);
  border: 1px solid #dde4ff;
  border-radius: 1.5rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  transform: translateY(calc(var(--scroll-y, 0px) * -0.04));
}

.mockup img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section-head {
  max-width: 68ch;
}

.section-head h2 {
  margin-top: 0.3rem;
}

.section-subtle {
  margin: 0.8rem 0 0;
  color: #475569;
}

.captures-section {
  overflow: visible;
}

.captures-head {
  text-align: left;
}

.shots-wheel-shell {
  margin-top: 1.35rem;
  width: min(1440px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.shots-wheel {
  position: relative;
  height: min(34vw, 500px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.shots-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.shots-control {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  color: var(--brand-700);
  background: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.12);
}

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

.shots-wheel.is-dragging {
  cursor: grabbing;
}

.shot-wheel-card {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 1rem;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 420ms ease,
    filter 420ms ease,
    box-shadow 420ms ease;
  touch-action: none;
}

.shot-wheel-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.shot-wheel-card.is-center {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0deg);
  filter: blur(0);
}

.shot-wheel-card.is-left {
  z-index: 2;
  opacity: 0.72;
  transform: translateX(-46%) scale(0.84) rotateY(16deg);
  filter: blur(0.6px);
}

.shot-wheel-card.is-right {
  z-index: 2;
  opacity: 0.72;
  transform: translateX(46%) scale(0.84) rotateY(-16deg);
  filter: blur(0.6px);
}

.shot-wheel-card.is-left-far {
  z-index: 1;
  opacity: 0.36;
  transform: translateX(-74%) scale(0.68) rotateY(22deg);
  filter: blur(1.1px);
}

.shot-wheel-card.is-right-far {
  z-index: 1;
  opacity: 0.36;
  transform: translateX(74%) scale(0.68) rotateY(-22deg);
  filter: blur(1.1px);
}

.shot-wheel-card.is-hidden {
  z-index: 0;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.shot-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 60;
  padding: 1rem;
}

.shot-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.shot-modal img {
  width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.42);
  transform: translateY(12px) scale(0.98);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shot-modal.is-open img {
  transform: translateY(0) scale(1);
}

.shot-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}

.feature-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.feature-card h3 {
  font-size: 1.03rem;
}

.feature-card p {
  margin: 0.6rem 0 0;
  color: #475569;
  font-size: 0.94rem;
}

.section-visual {
  background: linear-gradient(180deg, rgba(224, 231, 255, 0.25), rgba(255, 255, 255, 0));
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid var(--surface-200);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.split-copy p {
  margin: 0.8rem 0 0;
  color: #475569;
}

.split-copy ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: #334155;
}

.split-copy li + li {
  margin-top: 0.35rem;
}

.support-section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1rem;
  margin-top: 1.45rem;
}

.support-card {
  border: 1px solid var(--surface-200);
  border-radius: 1.25rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.support-card h3 {
  margin: 0;
  font-size: 1.28rem;
}

.support-card p {
  margin: 0.75rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.support-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
}

.support-card li + li {
  margin-top: 0.4rem;
}

.support-card-highlight {
  border-color: var(--brand-200);
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 62%, #f8fafc 100%);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.plans-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.plan-groups {
  margin-top: 1.45rem;
  display: grid;
  gap: 1.1rem;
}

.plan-group {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.plan-group header p {
  margin: 0.4rem 0 0;
  color: #475569;
}

.plan-group-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-600);
}

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

.plan-card {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.78);
}

.plan-card.featured {
  border-color: var(--brand-200);
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.16);
}

.plan-type {
  margin: 0;
  color: var(--brand-600);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.plan-card h3 {
  margin-top: 0.35rem;
}

.plan-desc {
  margin: 0.6rem 0 0.8rem;
  color: #475569;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #334155;
  font-size: 0.92rem;
  flex: 1;
}

.plan-card li + li {
  margin-top: 0.3rem;
}

.plan-card .btn {
  margin-top: 1rem;
}

.plans-temporary-note {
  margin-top: 1.15rem;
  border: 1px solid #fde68a;
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: #713f12;
  background: linear-gradient(120deg, #fffbeb 0%, #ffffff 100%);
  line-height: 1.5;
}

.plans-temporary-note strong {
  color: #422006;
}

.compare-block {
  margin-top: 1rem;
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
}

.compare-block h3 {
  font-size: 1.12rem;
}

.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid #e2e8f0;
  padding: 0.62rem 0.68rem;
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  min-width: 235px;
}

.compare-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.row-type {
  display: inline-flex;
  align-items: center;
  margin-left: 0.42rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.row-type.type-limit {
  background: #ffedd5;
  color: #9a3412;
}

.row-type.type-feature {
  background: #dcfce7;
  color: #166534;
}

.item-desc {
  display: block;
  margin-top: 0.26rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
}

.compare-table td.yes {
  color: #059669;
  font-weight: 700;
}

.compare-table td.no {
  color: #dc2626;
  font-weight: 700;
}

.compare-table td.na {
  color: #94a3b8;
}

.compare-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.custom-plan-callout {
  margin-top: 1.15rem;
  border: 1px solid #c7d2fe;
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(120deg, #eef2ff 0%, #ffffff 100%);
}

.custom-plan-callout h3 {
  margin-top: 0.1rem;
}

.custom-plan-callout p {
  margin: 0.55rem 0 0;
  color: #475569;
  max-width: 70ch;
}

.custom-plan-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.section-compare {
  background: linear-gradient(180deg, rgba(224, 231, 255, 0.24), rgba(255, 255, 255, 0));
}

.why-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  border: 1px solid var(--surface-200);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.84);
}

.why-card p {
  margin: 0.5rem 0 0;
  color: #475569;
}

.cta {
  border: 1px solid var(--surface-200);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.94), rgba(59, 130, 246, 0.95));
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.24);
  text-align: center;
  color: #fff;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin: 0.75rem auto 1.35rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-700);
}

.footer {
  border-top: 1px solid var(--surface-200);
  margin-top: 2rem;
  background: #fff;
}

.footer-inner {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: #64748b;
}

.footer-inner strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.22rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--brand-700);
  text-decoration: none;
}

.footer-copy {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--surface-200);
  color: #94a3b8;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 620ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
  z-index: 30;
}

.to-top:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.34);
  transform: translateY(-1px);
}

.to-top svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top.is-visible:hover {
  transform: translateY(-1px);
}

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

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

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

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

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

  .plans-grid-two {
    grid-template-columns: 1fr;
  }

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

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

  .shots-wheel {
    height: min(52vw, 440px);
    min-height: 280px;
  }

  .shot-wheel-card {
    width: min(76vw, 700px);
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 72px;
  }

  .container {
    width: min(var(--max), 100% - 1.2rem);
  }

  .topbar-inner {
    flex-wrap: nowrap;
    min-height: 62px;
    padding: 0.5rem 0;
    gap: 0.65rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 36px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .topbar .btn-app {
    margin-left: auto;
    padding: 0.64rem 0.78rem;
    font-size: 0.88rem;
  }

  .topnav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 80;
    width: min(82vw, 320px);
    height: 100vh;
    height: 100dvh;
    margin-left: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 4.6rem) 1rem calc(env(safe-area-inset-bottom, 0px) + 1.2rem);
    border-right: 1px solid var(--surface-200);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transform: translateX(-105%);
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topnav.is-open {
    transform: translateX(0);
  }

  .topnav a {
    width: 100%;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: rgba(15, 23, 42, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .nav-backdrop.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .plans-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .custom-plan-callout {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .shots-wheel-shell {
    width: min(100% - 1.2rem, 560px);
    padding: 0;
    overflow: hidden;
  }

  .shots-wheel {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    cursor: default;
    touch-action: pan-y;
  }

  .shot-wheel-card {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  }

  .shot-wheel-card.is-center {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .shot-wheel-card.is-left {
    opacity: 0;
    transform: translateX(-100%);
  }

  .shot-wheel-card.is-right {
    opacity: 0;
    transform: translateX(100%);
  }

  .shot-wheel-card.is-left-far,
  .shot-wheel-card.is-right-far {
    opacity: 0;
    transform: translateX(100%);
  }

  .shots-controls {
    display: flex;
  }

  .shot-modal {
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  .shot-modal img {
    width: min(94vw, 680px);
    max-height: 78vh;
    object-fit: contain;
    margin-inline: auto;
  }
}
