:root {
  color-scheme: light;
  --bg: #f6f9fd;
  --bg-accent: #e7f0fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-soft: #eef4fb;
  --text: #102231;
  --muted: #5d6f82;
  --kicker: #d4530a;
  --accent: #4f84c6;
  --accent-2: #8bb5ea;
  --accent-strong: #315f9d;
  --line: rgba(16, 34, 49, 0.10);
  --shadow: 0 20px 54px rgba(16, 34, 49, 0.08);
  --shadow-soft: 0 10px 26px rgba(16, 34, 49, 0.06);
  --radius-card: 22px;
  --radius-soft: 16px;
  --radius-control: 14px;
  --radius-badge: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 181, 234, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(79, 132, 198, 0.12), transparent 24%),
    linear-gradient(180deg, #fcfdff 0%, var(--bg) 38%, #f7fafd 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 24px; }

:focus-visible {
  outline: 3px solid rgba(79, 132, 198, 0.24);
  outline-offset: 3px;
}

.coming-soon {
  margin: 0;
  padding: 26px 24px 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% 130%, rgba(255, 255, 255, 0.28), transparent 46%),
    linear-gradient(90deg, var(--accent-strong), var(--accent) 58%, var(--accent-2));
}
.coming-soon p { margin: 0; }
.coming-soon-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.coming-soon-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
  animation: coming-soon-pulse 2.4s ease-out infinite;
}
.coming-soon-line {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
@keyframes coming-soon-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.hero, .section, .footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 30;
  background: rgba(246, 249, 253, 0.82);
  border-bottom: 1px solid rgba(16, 34, 49, 0.08);
  box-shadow: 0 14px 30px rgba(79, 132, 198, 0.12);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: min(1280px, calc(100% - 16px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: transparent;
}

.brand-name { font-weight: 800; letter-spacing: 0.04em; }
.brand-subtitle, .lead, .card p, .section p, .stat span, .form-status, .footer p, .policy-page p {
  color: var(--muted);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a:not(.button), .mobile-menu a:not(.button) {
  color: var(--text);
  opacity: 0.82;
}

.topnav a:not(.button):hover, .mobile-menu a:not(.button):hover { opacity: 1; }

.menu-toggle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  min-width: min(320px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
}

.mobile-menu a:not(.button):hover { background: var(--surface-soft); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 56px 0 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--kicker);
}

h1 {
  font-size: clamp(2.9rem, 5vw, 5.3rem);
  line-height: .94;
  letter-spacing: -0.05em;
  margin: 12px 0 18px;
  max-width: 9.5ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}

h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.lead, .section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-actions, .price-actions, .footer-badge, .feature-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 28px 0 0;
  flex-wrap: nowrap;
}
.hero-actions .button {
  white-space: nowrap;
  padding: 12px 14px;
  font-size: .95rem;
}

.feature-row span,
.feature-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.badge-icon, .btn-icon { height: 18px; width: auto; display: block; }

.hero-copy, .hero-card, .section, .topbar {
  animation: fadeUp .7s ease both;
}

.hero-card {
  animation: float 7.5s ease-in-out infinite;
  display: grid;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 14px 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #6f9fda);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(79, 132, 198, 0.18);
}

.button:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(79, 132, 198, 0.22);}
.button-ghost {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button-small { padding: 10px 14px; }

.button, .card, .mockup-card, .faq-list details, .price-card, .contact-form, .stat, .feature-row span {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.button-ghost:hover, .card:hover, .mockup-card:hover, .faq-list details:hover, .price-card:hover, .contact-form:hover, .stat:hover, .feature-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 132, 198, 0.22);
  box-shadow: var(--shadow-soft);
}

.feature-row-section { padding-top: 8px; }
.feature-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 2px 12px;
}
.feature-row span { white-space: normal; }
.feature-row span::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11.1 12.5 4.8' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  flex: 0 0 auto;
}

.hero-card .phone-shell,
.mockup-shell,
.card,
.faq-list details,
.contact-form,
.price-card,
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.phone-shell {
  padding: 18px;
  border-radius: 28px;
}

.monitor-bezel {
  background: linear-gradient(180deg, #3a4350, #1e252e);
  border-radius: 18px;
  padding: 14px 14px 20px;
  box-shadow: 0 18px 40px rgba(20, 32, 48, 0.18);
}

.monitor-neck {
  width: 42px;
  height: 26px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #9aa6b4, #c5ced8);
  border-radius: 0 0 3px 3px;
}

.monitor-foot {
  width: 34%;
  height: 12px;
  margin: 0 auto;
  background: linear-gradient(180deg, #e4eaf0, #b7c2ce);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 16px rgba(20, 32, 48, 0.08);
}

.binary-stream {
  position: absolute;
  z-index: 5;
  right: 12%;
  bottom: 12%;
  width: 160px;
  height: 28px;
  overflow: hidden;
  pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #2f6cb3;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: rotate(16deg);
  transform-origin: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.binary-stream-back {
  bottom: 34%;
  color: #1f9d55;
}

.binary-stream > span {
  position: absolute;
  left: 0;
  white-space: nowrap;
  animation: binaryStream 4.5s linear infinite;
  animation-fill-mode: backwards;
  perspective: 120px;
}

.binary-stream > span i {
  display: inline-block;
  font-style: normal;
  transform-origin: center;
  animation: digitFlip .7s ease-in-out infinite;
  animation-delay: calc(var(--i) * .07s);
}

.binary-stream span:nth-child(1) { top: 0; }

.binary-stream-back > span {
  animation-name: binaryStreamBack;
}

.binary-stream-back > span i {
  animation-name: digitFlipBack;
}

@keyframes digitFlip {
  0%, 100% { transform: rotateX(0deg); }
  50% { transform: rotateX(180deg); }
}

@keyframes digitFlipBack {
  0%, 100% { transform: rotateX(0deg); }
  50% { transform: rotateX(-180deg); }
}

@keyframes binaryStream {
  0% { transform: translateX(-100%); }
  72% { transform: translateX(calc(100% + 160px)); }
  100% { transform: translateX(calc(100% + 160px)); }
}

@keyframes binaryStreamBack {
  0% { transform: translateX(calc(100% + 160px)); }
  72% { transform: translateX(-100%); }
  100% { transform: translateX(-100%); }
}

.monitor {
  position: relative;
}

.phone-mock {
  position: absolute;
  z-index: 4;
  right: -6%;
  bottom: -18px;
  width: 27%;
  padding: 8px 7px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #4a5563, #1c232c);
  box-shadow: 0 16px 32px rgba(16, 28, 44, 0.32);
}

.phone-mock .hero-stack {
  aspect-ratio: 1080 / 2177;
}

.phone-mock .hero-stack,
.phone-mock .hero-stack img,
.phone-mock .hero-stack img.is-front,
.phone-mock .hero-stack img.is-back,
.phone-mock .hero-stack img.is-leaving {
  border-radius: 16px;
}
.monitor .hero-stack img,
.monitor .hero-stack img.is-front,
.monitor .hero-stack img.is-back,
.monitor .hero-stack img.is-leaving {
  border-radius: 6px;
  transform: none;
}

.monitor .hero-stack img.is-back {
  opacity: 0;
  box-shadow: none;
}

.phone-mock .hero-stack img,
.phone-mock .hero-stack img.is-front,
.phone-mock .hero-stack img.is-back,
.phone-mock .hero-stack img.is-leaving {
  border-radius: 16px;
}

.hero-stack-shell {
  overflow: visible;
}

.hero-stack {
  position: relative;
  aspect-ratio: 1080 / 666;
  border-radius: 22px;
}

.hero-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0;
  z-index: 0;
  transform: translate(18px, 18px) scale(.97);
  transition: opacity 1.25s cubic-bezier(.22, 1, .36, 1), transform 1.25s cubic-bezier(.22, 1, .36, 1);
}

.hero-stack img.is-back {
  opacity: 1;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}

.hero-stack img.is-leaving {
  opacity: 0;
  z-index: 2;
  transform: translate(-6px, -4px) scale(1.01);
}

.hero-stack img.is-front {
  opacity: 1;
  z-index: 3;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stack img { transition: none; }
}

.phone-screen {
  border-radius: 22px;
  overflow: hidden;
  background: #071433;
  border: 1px solid rgba(79, 132, 198, 0.08);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.stat-icon {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--accent-strong);
}

.stat strong { display: block; margin-bottom: 4px; }

.section { padding: 38px 0; }

/* Full-bleed washes. Only a few sections, same blue family as the page. */
.band {
  position: relative;
  isolation: isolate;
  padding-block: 64px;
}
.band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #e6eef7;
}
.band-pricing::before { background: #dce7f5; }
.section-heading { margin-bottom: 20px; max-width: 64ch; }
.screenshots-section .section-heading,
.screenshots-section .section-heading p { max-width: none; }



.mockup-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.mockup-card {
  grid-column: span 3;
  padding: 18px;
  border-radius: var(--radius-card);
  color: var(--text);
}

.mockup-shell {
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(79, 132, 198, 0.05), rgba(139, 181, 234, 0.05));
}

.mockup-window {
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
  aspect-ratio: 1080 / 2177;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f8fd;
  border: 1px solid rgba(79, 132, 198, 0.10);
}

.mockup-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  image-rendering: auto;
  image-rendering: high-quality;
}

.gallery-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
  font-size: 1.05rem;
}

.gallery-label img {
  width: auto;
  height: 20px;
}

.mockup-card-desktop {
  grid-column: span 4;
}

.mockup-window-desktop {
  aspect-ratio: 16 / 10;
}

.mockup-window-desktop img {
  object-fit: contain;
  object-position: center;
  background: #e8eef6;
}

.shot-slider {
  --shot-gap: 18px;
  --shot-visible: 4;
}

.shot-slider-viewport {
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shot-slider-viewport::-webkit-scrollbar { display: none; }

.shot-slider-viewport:focus-visible {
  outline: 3px solid rgba(79, 132, 198, 0.24);
  outline-offset: 4px;
}

.shot-slider .mockup-grid {
  display: flex;
  gap: var(--shot-gap);
  width: max-content;
  padding: 8px 0 20px;
}

.shot-slider .mockup-card {
  flex: 0 0 calc((100cqi - (var(--shot-visible) - 1) * var(--shot-gap)) / var(--shot-visible));
  grid-column: auto;
  min-width: 0;
  scroll-snap-align: start;
}

.shot-slider-stage { position: relative; }

.shot-slider.is-single .shot-slider-nav,
.shot-slider.is-single .shot-slider-dots { display: none; }

.shot-slider-nav {
  position: absolute;
  z-index: 2;
  top: 42%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transform: translateY(-50%);
}

.shot-slider [data-slider-prev] {
  left: max(-58px, calc(8px - (100vw - 100%) / 2));
}

.shot-slider [data-slider-next] {
  right: max(-58px, calc(8px - (100vw - 100%) / 2));
}

.shot-slider-nav svg {
  width: 20px;
  height: 20px;
  display: block;
}

.shot-slider-nav:hover { background: #fff; }

.shot-slider-nav:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.shot-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.shot-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(79, 132, 198, 0.32);
  cursor: pointer;
}

.shot-slider-dot[aria-current="true"] {
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(79, 132, 198, 0.18);
}

.grid.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .faq-list details, .contact-form, .price-card {
  border-radius: var(--radius-card);
  padding: 20px;
}
.card p, .faq-list details p, .price-card p, .stat span { margin: 0; }
.faq-list details p { max-width: none; margin-top: 14px; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(79, 132, 198, 0.12), rgba(139, 181, 234, 0.10));
  border: 1px solid rgba(79, 132, 198, 0.10);
  margin-bottom: 14px;
  font-size: 1.2rem;
}



.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.pricing-section { display: grid; gap: 16px; }
.founder-section { padding-top: 10px; }
.founder-card {
  padding: 28px 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.founder-copy h2 { margin-top: 10px; }
.founder-copy p { max-width: 68ch; }
.founder-copy .founder-signoff {
  margin-top: 14px;
  font-family: Caveat, "Segoe Script", cursive;
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}
.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pricing-sync {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 40px;
  transform: translate(-50%, -50%);
  color: var(--accent-strong);
  pointer-events: none;
}
.pricing-sync svg { width: 46px; height: 40px; display: block; }
.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 28px;
}
.price-platform { display: flex; align-items: center; gap: 12px; margin: 0; }
.price-platform img { width: auto; height: 26px; flex: 0 0 auto; }
.price-version {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price-card .price-actions {
  margin-top: auto;
  padding-top: 6px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.price-card .button { width: 100%; font: inherit; font-weight: 700; color: #fff; text-decoration: none; }
.changelog-link { align-self: center; font-size: .78rem; font-weight: 500; }
.price-card a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.price-card .changelog-link { color: color-mix(in srgb, var(--muted) 55%, transparent); text-decoration: none; }
.price-card .changelog-link:hover { color: var(--muted); }
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-sync {
    position: relative;
    left: auto;
    top: auto;
    justify-self: center;
    width: 40px;
    height: 46px;
    transform: none;
    margin-block: -4px;
  }
  .pricing-sync svg { transform: rotate(90deg); }
}
.price-tag {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--accent-strong);
}
.price-actions { grid-column: 1 / -1; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-list { display: grid; gap: 14px; }

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}
.contact-form[hidden],
.contact-modal-copy[hidden],
.contact-confirmation[hidden] {
  display: none !important;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; font-weight: 600; color: var(--text); }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
}
input::placeholder, textarea::placeholder { color: rgba(95, 112, 107, 0.75); }
input:focus, textarea:focus {
  outline: 2px solid rgba(79, 132, 198, 0.22);
  border-color: rgba(79, 132, 198, 0.24);
}
.turnstile-wrap { min-height: 78px; display: flex; align-items: center; }
.form-status { min-height: 1.5em; }

.contact-teaser {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-button-icon {
  display: inline-grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #6f9fda);
  color: #fff;
  box-shadow: 0 20px 40px rgba(79, 132, 198, 0.28);
  cursor: pointer;
}
.floating-contact:hover { transform: translateY(-2px); }
.floating-contact-icon { width: 28px; height: 28px; display: block; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(8, 18, 30, 0.46);
  backdrop-filter: blur(6px);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

.contact-modal-panel {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  border-radius: 28px;
  padding: 22px;
  background: rgba(247, 251, 253, 0.96);
  border: 1px solid rgba(16, 34, 49, 0.10);
  box-shadow: 0 30px 80px rgba(16, 34, 49, 0.22);
  backdrop-filter: blur(18px);
}

.contact-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.contact-modal-copy { margin: 0 0 18px; color: var(--muted); }

.contact-confirmation {
  margin: 4px 0 8px;
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(79, 132, 198, 0.12);
  color: var(--text);
}
.contact-confirmation p { margin: 0; font-weight: 650; }

.modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

body.modal-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] { display: none !important; }

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1200px, 100%);
  max-height: min(92vh, 1200px);
}

.lightbox-panel {
  position: relative;
  min-width: 0;
  max-width: calc(100% - 120px);
  max-height: min(92vh, 1200px);
}

.lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: min(84vh, 1080px);
  width: auto;
  height: auto;
  border-radius: 16px;
  background: #f4f8fd;
  box-shadow: 0 30px 80px rgba(16, 34, 49, 0.28);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 34, 49, 0.12);
}

.lightbox-nav[hidden] { display: none !important; }

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  display: block;
}

.lightbox-nav:hover { background: #fff; }

.lightbox-count {
  margin: 10px 0 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(16, 34, 49, 0.45);
}

.lightbox-count[hidden] { display: none !important; }

@media (max-width: 720px) {
  .lightbox { padding: 12px; }

  .lightbox-stage { position: relative; }

  .lightbox-panel { max-width: 100%; }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.footer-versions,
.footer-company {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-versions { font-weight: 600; }
.footer-versions a { text-decoration: underline; text-underline-offset: 2px; }
.footer-versions a:hover { color: var(--text); }

.footer {
  padding: 24px 0 40px;
}
.footer-creem { margin-top: 14px; }
.footer-creem a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-creem a:hover { color: var(--text); }
.footer-badge { margin-top: 10px; }
.footer-badge a,
.footer-badge .cookie-settings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  z-index: 82;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-banner-mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff4e6;
  border: 1px solid rgba(212, 83, 10, 0.16);
}

.cookie-banner-icon {
  width: 38px;
  height: 38px;
  display: block;
}

.cookie-banner-copy {
  display: grid;
  gap: 8px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cookie-banner-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

.cookie-banner-button {
  min-width: 148px;
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: 14px;
}

body:has(.cookie-banner:not([hidden])) .floating-contact {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 720px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner-main { gap: 12px; }

  .cookie-banner-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .cookie-banner-icon { width: 30px; height: 30px; }

  .cookie-banner-actions { flex-direction: column; }

  .cookie-banner-button {
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
  }
}

.policy-page {
  padding-top: 24px;
  padding-bottom: 24px;
  display: grid;
  gap: 16px;
}
.policy-page .section-heading,
.policy-page h1,
.policy-page p {
  max-width: none;
}
.policy-page h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.thankyou-page {
  width: min(1400px, calc(100% - 32px));
  justify-items: center;
  text-align: center;
}
.thankyou-page .section-heading { width: 100%; }
.thankyou-page .policy-card { width: min(42rem, 100%); }
.thankyou-page h1 {
  line-height: 1.2;
  white-space: nowrap;
}
.thankyou-page .hero-actions { justify-content: center; }
.policy-page h2 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 10px; }
.policy-card { padding: 22px; }
.policy-card p + p,
.policy-card ul + p,
.policy-card p + ul { margin-top: 10px; }
.policy-card ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}
.policy-card a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.changelog-card h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.changelog-card h2 time {
  flex: 0 0 auto;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.changelog-card h3 {
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.changelog-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}
.policy-actions { display: flex; justify-content: flex-start; }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-list { display: grid; gap: 16px; }
.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  color: inherit;
}
.blog-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
}
.blog-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.blog-date { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.blog-hero { margin: 0 0 8px; }
.blog-hero img, .product-shot img {
  width: 100%;
  border-radius: 16px;
}
.product-shot { padding: 12px; }
.product-actions { margin-top: 18px; }
.prose h2 { margin-top: 22px; }
.prose h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.prose blockquote {
  margin: 12px 0;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.prose th { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.related-links { padding-left: 1.2rem; }

@media (max-width: 700px) {
  .blog-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .hero, .split, .grid.three-up, .field-row, .stat-grid { grid-template-columns: 1fr; }
  .hero {
    gap: 24px;
    padding: 42px 0 24px;
    align-items: start;
  }
  .hero-copy { width: 100%; }
  .hero-card { display: grid; margin-top: 8px; }
  .binary-stream {
    right: 18%;
    width: 110px;
    height: 22px;
    font-size: 12px;
    letter-spacing: .08em;
  }
  .binary-stream-back { bottom: 30%; }
  .phone-mock { width: 23%; right: 4%; }
  .hero-copy h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); line-height: .98; }
  .hero-copy .lead { font-size: 1rem; }
  .hero-actions, .price-actions { width: 100%; }

  .hero-actions { gap: 12px; margin-top: 22px; flex-wrap: wrap; }
  .thankyou-page h1 { white-space: normal; }
  .hero-actions .button, .price-actions .button { width: 100%; justify-content: center; }
  .feature-row-section { padding-top: 6px; }
  .feature-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    padding-bottom: 10px;
  }
  .feature-row span { width: 100%; justify-content: flex-start; }
  .mockup-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mockup-card, .mockup-card-desktop, .mockup-card:nth-child(1), .mockup-card:nth-child(2), .mockup-card:nth-child(3) {
    grid-column: auto;
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .shot-slider { --shot-gap: 16px; }
  .shot-slider-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
  }
  .shot-slider-nav {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 36px;
    height: 36px;
    margin-bottom: 36px;
    transform: none;
  }
  .shot-slider .mockup-grid {
    overflow: visible;
    padding-bottom: 16px;
    scroll-snap-type: none;
  }
  .shot-slider .mockup-card {
    flex: 0 0 82cqi;
  }
  .footer-badge { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .coming-soon { padding: 20px 16px 22px; }
  .coming-soon-kicker { font-size: 0.78rem; letter-spacing: 0.14em; }
  .coming-soon-line { font-size: 1.28rem; }
  .hero, .section, .footer { width: min(100% - 20px, 1120px); }
  .topbar-inner { width: min(1280px, calc(100% - 20px)); padding: 12px 14px; gap: 12px; }
  h1 { font-size: clamp(2.4rem, 16vw, 3.45rem); }
  h2 { font-size: clamp(1.6rem, 9vw, 2.35rem); }
  .brand-logo { width: 54px; height: 54px; }
  .button, .button-small, .button-ghost { border-radius: var(--radius-control); }
  .feature-row span, .feature-chip-row span, .footer-badge a, .footer-badge .cookie-settings { border-radius: var(--radius-badge); }
  .card, .faq-list details, .contact-form, .price-card, .stat { border-radius: 18px; }
  .phone-shell { border-radius: 22px; }
  .grid.three-up { gap: 14px; }
  .metric { padding: 13px 13px 12px; border-radius: 16px; }
  .floating-contact { right: 16px; bottom: 16px; width: 64px; height: 64px; border-radius: 18px; }
  .floating-contact-icon { width: 36px; height: 36px; }
  .contact-modal { padding: 14px; }
  .contact-modal-panel { padding: 18px; border-radius: 24px; }
}

@media (max-width: 420px) {
  .brand-subtitle { display: none; }
}
