:root {
  --bg: #ffffff;
  --bg-soft: #f0f8ff;
  --bg-tint: #e6f3ff;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-solid: #ffffff;
  --line: rgba(200, 220, 255, 0.4);
  --line-strong: rgba(180, 210, 255, 0.6);
  --text: #2d3748;
  --muted: #718096;
  --brand: #7dd3fc;
  --brand-strong: #38bdf8;
  --brand-soft: rgba(125, 211, 252, 0.15);
  --accent: #ddd6fe;
  --accent-soft: rgba(221, 214, 254, 0.2);
  --mint: #a5f3fc;
  --shadow-sm: 0 10px 30px rgba(56, 189, 248, 0.08);
  --shadow-md: 0 24px 70px rgba(56, 189, 248, 0.12);
  --shadow-lg: 0 34px 90px rgba(56, 189, 248, 0.16);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: 1180px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.15), transparent 35%),
    radial-gradient(circle at top right, rgba(221, 214, 254, 0.2), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f0f8ff 30%, #e6f3ff 70%, #ffffff 100%);
}

body.nav-open {
  overflow: hidden;
}

body.demo-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  border-radius: 12px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(108, 99, 255, 0.14);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--compact {
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.4);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button--light {
  background: #ffffff;
  color: var(--brand-strong);
  box-shadow: 0 18px 40px rgba(27, 20, 67, 0.18);
}

.button--ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 246, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 250, 246, 0.86);
  box-shadow: 0 8px 26px rgba(40, 25, 89, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.site-slogan-bar {
  border-top: 1px solid rgba(40, 25, 89, 0.06);
  background: rgba(255, 255, 255, 0.45);
}

.site-header.is-scrolled .site-slogan-bar {
  border-top-color: rgba(40, 25, 89, 0.08);
}

.site-slogan-bar__inner {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 8px 16px 12px;
}

.site-slogan-bar__text {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.9vw, 0.95rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--muted);
  line-height: 1.35;
}

.hero__team-slogan {
  margin: 14px 0 0;
  max-width: 52ch;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.45;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 28px rgba(125, 211, 252, 0.35);
}

.brand__mark video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__mark--small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__links {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  justify-content: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid rgba(36, 28, 63, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(49, 36, 96, 0.06);
}

.site-nav__link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(108, 99, 255, 0.08);
  color: var(--text);
}

.site-nav__link.is-active {
  color: var(--text);
  background: rgba(108, 99, 255, 0.12);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-lang {
  position: relative;
  flex-shrink: 0;
}

.site-lang[open] {
  z-index: 8;
}

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

.site-lang__toggle,
.site-lang__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-lang__toggle {
  display: inline-flex;
  align-items: center;
  list-style: none;
  min-width: 74px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(36, 28, 63, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.site-lang__toggle::-webkit-details-marker {
  display: none;
}

.site-lang__toggle:focus-visible,
.site-lang__option:focus-visible {
  outline: 2px solid rgba(108, 99, 255, 0.45);
  outline-offset: 2px;
}

.site-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 100%;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(36, 28, 63, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(49, 36, 96, 0.14);
}

.site-lang:not([open]) .site-lang__menu {
  display: none;
}

.site-lang__option {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.site-lang__option:hover,
.site-lang__option.is-active {
  background: rgba(108, 99, 255, 0.1);
  color: var(--text);
}

.site-lang__flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(36, 28, 63, 0.08);
}

.site-lang__code {
  line-height: 1;
}

.site-lang__caret {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.site-lang[open] .site-lang__caret {
  transform: rotate(-135deg) translateY(-1px);
}

.site-nav__button {
  padding: 10px 16px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero--home {
  padding: 34px 0 26px;
}

.hero--inner {
  padding: 58px 0 20px;
}

.hero__layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero__copy h1,
.hero__inner h1,
.section-intro h2,
.spotlight__copy h2,
.cta-band__panel h2,
.legal-card h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.hero__copy h1,
.hero__inner h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  font-weight: 800;
}

.hero__lead {
  margin: 16px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.99rem;
}

.hero__lead--inner {
  max-width: 56ch;
}

.hero__inner--with-team {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
}

.hero__inner-copy {
  min-width: 0;
}

.hero--inner-contact {
  padding-bottom: clamp(20px, 4vw, 36px);
}

.hero-team-photo {
  margin: 0;
  padding: clamp(14px, 2.4vw, 24px) 0 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 251, 247, 0.55), rgba(247, 243, 255, 0.7));
  box-shadow: 0 22px 55px rgba(24, 18, 48, 0.14);
  border: 1px solid var(--line);
}

.hero-team-photo__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  max-height: min(50vh, 520px);
}

.hero-team-photo__caption {
  margin: 0;
  padding: 14px 18px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .hero__inner--with-team {
    grid-template-columns: 1fr;
  }

  .hero-team-photo {
    max-width: 480px;
    margin-inline: auto;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.hero__trust {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust li,
.tick-list li,
.price-card li {
  position: relative;
  padding-left: 26px;
}

.hero__trust li::before,
.tick-list li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 6px 12px rgba(82, 71, 234, 0.2);
}

.hero__visual-wrap {
  position: relative;
}

.hero-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 0;
}

.hero-video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.phone-frame--compact {
  width: 100%;
  max-width: 100%;
  padding: 14px;
  border-radius: 40px;
}

.hero-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1e1a35;
}

.hero-video-info {
  text-align: center;
  padding: 0 12px;
}

.hero-video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.3;
  text-align: center;
}

.hero-video-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "main main"
    "mini side"
    "chip-two chip-one";
  align-items: start;
  gap: 18px;
  min-height: 0;
  border-radius: 34px;
  padding: 24px;
  margin-top: 40px;
  width: 100%;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 182, 160, 0.5), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(183, 173, 255, 0.42), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

.hero-visual__glow--one {
  inset: 6% auto auto 8%;
  width: 160px;
  height: 160px;
  background: rgba(255, 170, 140, 0.26);
}

.hero-visual__glow--two {
  inset: auto 6% 8% auto;
  width: 220px;
  height: 220px;
  background: rgba(123, 112, 255, 0.16);
}

.hero-visual__card,
.hero-visual__mini-card,
.spotlight__aside-card,
.info-card,
.step-card,
.price-card,
.media-card,
.contact-card,
.legal-card,
.contact-form,
.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.hero-visual__card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  padding: 22px;
}

.hero-visual__card--main {
  grid-area: main;
  max-width: 100%;
}

.hero-visual__card--side {
  grid-area: side;
  width: auto;
  margin: 0;
}

.hero-visual__kicker {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual__card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.hero-visual__card p,
.hero-visual__card li,
.hero-visual__mini-card p,
.section-intro p,
.info-card p,
.step-card p,
.spotlight__copy p,
.spotlight__aside-card p,
.spotlight__aside-card li,
.demo-detail p,
.faq-item p,
.price-card p,
.media-card__caption,
.contact-card p,
.contact-form p,
.legal-card p,
.site-footer__disclaimer {
  color: var(--muted);
}

.hero-visual__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-visual__chip {
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(108, 99, 255, 0.12);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-visual__chip--one {
  grid-area: chip-one;
  justify-self: end;
}

.hero-visual__chip--two {
  grid-area: chip-two;
  justify-self: start;
}

.hero-visual__mini-card {
  grid-area: mini;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 20px;
}

.hero-visual__mini-card strong {
  display: block;
  margin-bottom: 6px;
}

.hero-visual__mini-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 62px 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(246, 244, 255, 0.72), rgba(255, 244, 236, 0.42));
  border-block: 1px solid rgba(36, 28, 63, 0.05);
}

.section-intro {
  max-width: 1680px;
  margin-bottom: 24px;
}

.section-intro h2,
.spotlight__copy h2,
.cta-band__panel h2,
.legal-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 800;
}

.section-intro p {
  margin: 12px 0 0;
  font-size: 0.98rem;
}

.card-grid,
.step-grid,
.pricing-grid,
.media-grid,
.contact-methods,
.legal-stack {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card,
.step-card,
.price-card,
.media-card,
.contact-card,
.legal-card,
.contact-form,
.faq-item {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(36, 28, 63, 0.08);
}

.info-card h3,
.step-card h3,
.price-card h3,
.media-card h3,
.contact-card h3,
.contact-form h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.info-card p,
.step-card p,
.price-card p,
.media-card__caption,
.contact-card p,
.contact-form p,
.legal-card p {
  margin: 0;
}

.info-card__thumb {
  margin: 0;
}

.info-card__thumb--square {
  position: relative;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(246, 244, 255, 0.65);
}

.info-card__thumb--square img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card__thumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.info-card__thumb-play:hover,
.info-card__thumb-play:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(82, 71, 234, 0.28);
  background: #ffffff;
}

.step-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.14), rgba(255, 141, 107, 0.14));
  color: var(--brand-strong);
  font-weight: 800;
}

.spotlight {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.spotlight__copy {
  padding: 8px 0;
}

.spotlight__copy p {
  margin: 0 0 18px;
}

.tick-list,
.spotlight__aside-card ul,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list--compact {
  gap: 8px;
}

.spotlight__aside {
  display: flex;
  align-items: stretch;
}

.spotlight__aside-card {
  width: 100%;
  border-radius: 24px;
  padding: 22px;
}

.spotlight__aside-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

#parent-review-overview .spotlight,
#parent-review-overview .spotlight__aside,
#how-review-loop .spotlight,
#how-review-loop .spotlight__aside {
  align-items: start;
}

.demo-section {
  position: relative;
}

.demo-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.demo-copy {
  min-width: 0;
}

.demo-details {
  position: relative;
  min-height: auto;
}

.demo-detail {
  display: block;
  max-width: 520px;
}

.demo-detail h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.14;
}

.demo-detail p {
  margin: 0 0 18px;
}

.demo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 370px);
  padding: 15px;
  border-radius: 42px;
  background: linear-gradient(165deg, #1d1a2b 0%, #292338 38%, #171422 100%);
  box-shadow: 0 44px 90px rgba(23, 20, 34, 0.34);
}


.phone-frame__hardware {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 32%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #0f0d16, #1a1824);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
}

.phone-frame__hardware::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a3a52, #0d1f2e);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.phone-frame__hardware::after {
  content: '';
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1a1824, #252230, #1a1824);
  opacity: 0.6;
}

.phone-frame__hardware--modal {
  top: 14px;
  width: 34%;
  height: 30px;
  border-radius: 0 0 18px 18px;
}

.phone-frame__hardware--compact {
  top: 11px;
  width: 30%;
  height: 22px;
  border-radius: 0 0 16px 16px;
  padding: 4px 10px;
  gap: 6px;
}

.phone-frame__hardware--compact::before {
  width: 5px;
  height: 5px;
}

.phone-frame__hardware--compact::after {
  width: 36px;
  height: 3px;
}

.phone-frame__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 430 / 932;
  min-height: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 173, 145, 0.28), transparent 22%),
    radial-gradient(circle at top left, rgba(121, 112, 255, 0.24), transparent 26%),
    linear-gradient(180deg, #fcfbff 0%, #f8f2ef 100%);
}

.phone-frame__screen--iframe {
  background: #ffffff;
}

.phone-frame__screen--modal {
  aspect-ratio: 430 / 932;
  border-radius: 34px;
}

.phone-screen__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 18px 18px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.phone-screen__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.phone-screen__title {
  flex: 1;
  margin-left: 2px;
}

.phone-screen__status {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.phone-frame__iframe {
  width: 100%;
  height: calc(100% - 52px);
  border: 0;
  background: #ffffff;
}

.phone-frame__iframe--modal {
  height: calc(100% - 56px);
  overflow: hidden;
  transform-origin: top center;
}

.showcase-modal__video {
  display: block;
  object-fit: cover;
}

.showcase-modal__video[hidden] {
  display: none;
}

.showcase-modal__placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  height: calc(100% - 52px);
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 173, 145, 0.22), transparent 28%),
    radial-gradient(circle at 70% 12%, rgba(121, 112, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #fffaf7 0%, #f7f7ff 100%);
  color: var(--text);
}

.showcase-modal__placeholder[hidden] {
  display: none;
}

.showcase-modal__play {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 35px rgba(121, 112, 255, 0.24);
  position: relative;
}

.showcase-modal__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

.showcase-modal__placeholder p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.phone-screen__chat {
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 22px;
  font-size: 0.96rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.bubble--assistant {
  border-top-left-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.bubble--child {
  margin-left: auto;
  border-top-right-radius: 10px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.16), rgba(255, 141, 107, 0.14));
}

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

.phone-gallery-card {
  margin: 0;
  overflow: hidden;
  min-height: 172px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.phone-gallery-card:first-child {
  grid-column: 1 / -1;
  min-height: 220px;
}

.phone-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen__story {
  border-radius: 28px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.story-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.phone-screen__story h4 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.phone-screen__story p {
  margin: 0 0 18px;
  color: var(--muted);
}

.story-progress {
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.1);
}

.story-progress__bar {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.phone-screen__story small {
  color: var(--muted);
  font-size: 0.86rem;
}

.phone-screen__parent {
  display: grid;
  gap: 14px;
}

.parent-insight {
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.parent-insight__label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-showcase__note {
  max-width: 320px;
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.demo-modal[hidden] {
  display: none;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 36, 0.62);
  backdrop-filter: blur(10px);
}

.demo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: 90vh;
  border-radius: 34px;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 191, 167, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(142, 125, 255, 0.16), transparent 22%),
    rgba(255, 252, 250, 0.96);
  box-shadow: 0 40px 120px rgba(12, 12, 25, 0.34);
  margin: auto;
}

.demo-modal__chrome {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.demo-modal__mobile-heading {
  display: none;
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--text);
}

.demo-modal__close {
  position: static;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(36, 28, 63, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.demo-modal__content {
  display: grid;
  gap: 24px;
  align-items: center;
}

.demo-modal__copy {
  max-width: 420px;
}

.demo-modal__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.demo-modal__copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.demo-modal__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.site-narrow .demo-modal {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

body.site-narrow .demo-modal__dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  max-height: 100dvh;
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

body.site-narrow .demo-modal__chrome {
  position: static;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid rgba(36, 28, 63, 0.08);
  background: rgba(255, 252, 250, 0.98);
}

body.site-narrow .demo-modal__mobile-heading {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-narrow .demo-modal__content {
  flex: 1;
  min-height: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
}

body.site-narrow .demo-modal__copy {
  display: none !important;
}

body.site-narrow .demo-modal__phone-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: flex-start;
  justify-content: center;
}

.phone-frame--modal {
  width: 430px !important;
  height: 932px !important;
  padding: 16px;
  border-radius: 46px;
  box-shadow: 0 48px 100px rgba(8, 8, 18, 0.42);
  transform-origin: top center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-item__icon {
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  padding: 0 24px 22px;
}

.faq-item__content p {
  margin: 0;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(255, 141, 107, 0.12));
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-card__amount {
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-card__cadence {
  margin-left: 6px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.price-card ul {
  margin-top: auto;
}

.price-card__button {
  margin-top: auto;
}

.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.plan-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(20, 24, 43, 0.08);
  text-align: left;
  vertical-align: top;
}

.plan-table th {
  color: var(--text);
  background: rgba(247, 248, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-table tr:last-child td {
  border-bottom: 0;
}

.plan-table__cell--label {
  color: var(--text);
  font-weight: 800;
}

.plan-table__value,
.plan-table__subvalue {
  display: block;
}

.plan-table__value {
  color: var(--text);
  font-weight: 800;
}

.plan-table__subvalue {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.plan-table-section--features .plan-table td:not(:first-child),
.plan-table-section--features .plan-table th:not(:first-child) {
  text-align: center;
}

.media-grid--videos {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 20px;
}

.media-grid--embeds {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  background: #201d2c;
}

.embed-shell {
  overflow: hidden;
  border-radius: 30px;
  background: #16131f;
}

.embed-shell iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
}

.contact-team-wrap {
  margin: 0 0 32px;
}

.contact-team-headline {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
}

.contact-team-photo {
  margin: 0;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 251, 247, 0.6), rgba(247, 243, 255, 0.75));
  box-shadow: 0 20px 50px rgba(24, 18, 48, 0.12);
  border: 1px solid var(--line);
  min-height: 200px;
}

.contact-team-photo__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 480px);
  object-fit: cover;
  object-position: center;
}

.contact-layout {
  display: grid;
  gap: 20px;
}

.contact-methods {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card,
.contact-form {
  border-radius: 30px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.legal-stack {
  grid-template-columns: 1fr;
}

.legal-card {
  border-radius: 32px;
}

.cta-band__panel {
  border-radius: 30px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #554ae9 0%, #7d6dff 50%, #ff9477 100%);
  box-shadow: 0 26px 70px rgba(79, 67, 224, 0.32);
}

.cta-band__panel p {
  max-width: 52ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(36, 28, 63, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.site-footer__inner {
  display: grid;
  gap: 18px;
}

.site-footer__top,
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer__brand,
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links .site-footer__link--legal {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer__links .site-footer__link--legal:hover,
.site-footer__links .site-footer__link--legal:focus-visible {
  color: var(--text);
  text-decoration-color: rgba(56, 189, 248, 0.55);
}

.legal-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 9650;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.legal-doc-modal[hidden] {
  display: none;
}

.legal-doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 36, 0.55);
  backdrop-filter: blur(6px);
}

.legal-doc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  max-height: min(88vh, 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 24px 22px 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.legal-doc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  background: rgba(246, 244, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.legal-doc-modal__title {
  margin: 0 48px 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.legal-doc-modal__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  padding-right: 4px;
  margin-top: 4px;
}

.legal-doc-modal__p {
  margin: 0 0 12px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal-doc-modal__p:last-child {
  margin-bottom: 0;
}

body.legal-doc-modal-open {
  overflow: hidden;
}

.site-footer__meta {
  color: var(--muted);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 860px) {
  .hero__layout,
  .spotlight,
  .demo-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .contact-layout {
    align-items: start;
  }

  .demo-modal__content {
    grid-template-columns: minmax(0, 0.72fr) minmax(360px, 420px);
  }
}

@media (max-width: 1180px) {
  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .site-nav__links,
  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__button,
  .site-nav__link {
    text-align: center;
  }

  .site-lang {
    width: 100%;
  }

  .site-lang__toggle,
  .site-lang__option {
    width: 100%;
  }

  .site-lang__menu {
    position: static;
    margin-top: 8px;
  }

  .hero-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 70px;
  }

  .hero--home {
    padding-top: 34px;
  }

  .hero__copy h1,
  .hero__inner h1 {
    font-size: clamp(1.95rem, 9vw, 3rem);
  }

  .section,
  .hero--inner {
    padding: 52px 0;
  }

  .section-intro h2,
  .spotlight__copy h2,
  .cta-band__panel h2,
  .legal-card h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "mini"
      "side"
      "chip-one"
      "chip-two";
    padding: 20px;
  }

  .hero-visual__chip--one {
    justify-self: start;
  }

  .hero-visual__chip--two {
    justify-self: start;
  }

  .hero-visual__mini-card {
    margin-top: 0;
  }

  .phone-frame {
    width: min(100%, 340px);
    padding: 14px;
    border-radius: 36px;
  }

  .phone-frame__hardware {
    top: 12px;
    height: 24px;
    padding: 5px 10px;
    gap: 7px;
  }

  .phone-frame__hardware::before {
    width: 5px;
    height: 5px;
  }

  .phone-frame__hardware::after {
    width: 40px;
    height: 3.5px;
  }


  .phone-frame__screen {
    border-radius: 26px;
  }

  .phone-frame__hardware--modal {
    top: 12px;
    height: 26px;
    padding: 5px 11px;
  }

  .phone-frame__hardware--modal::before {
    width: 5px;
    height: 5px;
  }

  .phone-frame__hardware--modal::after {
    width: 42px;
    height: 3.5px;
  }

  .phone-frame__screen--modal {
    border-radius: 28px;
  }

  .phone-screen__gallery {
    grid-template-columns: 1fr;
  }

  .phone-gallery-card:first-child {
    grid-column: auto;
  }

  .cta-band__panel,
  .info-card,
  .step-card,
  .price-card,
  .media-card,
  .contact-card,
  .contact-form,
  .legal-card,
  .spotlight__aside-card {
    border-radius: 20px;
    padding: 20px;
  }

  .demo-modal {
    padding: 12px 10px;
  }

  .demo-modal__dialog {
    padding: 20px 14px 16px;
    border-radius: 24px;
    max-height: 95vh;
  }

  .demo-modal__close {
    top: 10px;
    right: 10px;
  }

  .demo-modal__content {
    gap: 16px;
  }

  .demo-modal__copy {
    max-width: 100%;
  }
}

@media (min-width: 860px) and (max-height: 900px) {
  .hero--home {
    padding: 24px 0 18px;
  }

  .hero__copy h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .section {
    padding: 52px 0;
  }

  .phone-frame {
    width: min(100%, 330px);
  }
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--line);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.chat-examples {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.chat-example {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.chat-example__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.chat-example__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.chat-example__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

.chat-example__description {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 4px;
}

@media (max-width: 640px) {
  .app-store-badge {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .app-store-badge svg {
    width: 24px;
    height: 24px;
  }
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 32px 0;
  justify-items: center;
}

.video-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 450px;
}

.video-showcase-item .phone-frame {
  width: 100%;
}

.video-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1e1a35;
}

.video-showcase-item .phone-frame__screen,
.single-video-frame .phone-frame__screen {
  background: #1e1a35;
}

.phone-preview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1e1a35;
}

.phone-video-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(28, 26, 38, 0.62);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 18, 34, 0.22);
  backdrop-filter: blur(12px);
}

.phone-video-controls__button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.phone-video-controls__icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.phone-video-controls__button.is-playing .phone-video-controls__icon {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.phone-video-controls__range {
  width: 100%;
  min-width: 0;
  accent-color: #ffffff;
}

.phone-video-controls__time {
  min-width: 42px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
}

.square-ad-card__frame .phone-video-controls {
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px 10px;
}

.square-ad-card__frame .phone-video-controls__button {
  width: 30px;
  height: 30px;
}

.square-ad-card__frame .phone-video-controls__time {
  min-width: 38px;
  font-size: 0.74rem;
}

.video-showcase-info {
  text-align: center;
  width: 100%;
}

.video-showcase-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.video-showcase-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.square-ad-section .section-intro {
  max-width: 52rem;
}

.square-ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 0.5rem;
  justify-items: center;
}

.square-ad-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  width: 100%;
  max-width: 22rem;
}

.square-ad-card__frame {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #1e1a35;
  box-shadow: 0 18px 40px rgba(24, 18, 48, 0.18);
}

.square-ad-section .square-ad-card__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.square-ad-section--media-916 .square-ad-card {
  max-width: min(16.5rem, 100%);
}

.square-ad-section--media-916 .square-ad-card__frame {
  aspect-ratio: 9 / 16;
}

.square-ad-card__copy {
  text-align: center;
  padding: 0 0.25rem;
}

.square-ad-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  line-height: 1.25;
  font-family: var(--font-display);
}

.square-ad-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .square-ad-grid {
    grid-template-columns: 1fr;
  }
}

.single-video-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.single-video-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.single-video-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.single-video-frame {
  display: flex;
  justify-content: center;
}

.single-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1e1a35;
}

.phone-frame--large {
  width: min(100%, 480px);
  margin: 0 auto;
}

.story-thumbnails-slideshow {
  min-height: 120px;
}

.story-thumbnails-slideshow__status {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
}

.story-thumbnails-slideshow__status code {
  font-size: 0.85em;
}

.story-library__mount {
  margin: 4px 0 20px;
}

.story-library__status {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
}

.story-library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(11.5rem, 100%), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.story-library-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.story-library-tile__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #1e1a35;
  box-shadow: var(--shadow-sm);
}

.story-library-tile__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-library-tile__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.story-library-tile__play:hover,
.story-library-tile__play:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(82, 71, 234, 0.28);
  background: #ffffff;
}

.story-library-tile__caption {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.card-grid.story-library__after-grid {
  align-items: stretch;
  margin-top: 4px;
}

.card-grid.story-library__after-grid > .info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-grid.story-library__after-grid .info-card__thumb--square {
  margin-top: auto;
  padding-top: 14px;
}

.story-youtube-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.story-youtube-modal[hidden] {
  display: none;
}

.story-youtube-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 28, 0.72);
  backdrop-filter: blur(8px);
}

.story-youtube-modal__content {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  max-height: min(85vh, 100%);
}

.story-youtube-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.story-youtube-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.story-youtube-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.story-youtube-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .story-youtube-modal__close {
    top: 8px;
    right: 8px;
  }

  .story-youtube-modal__content {
    width: 100%;
  }

  .story-youtube-modal__frame {
    border-radius: 16px;
  }
}

.register-slideshow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slideshow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.slideshow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-strong);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-btn:hover {
  transform: scale(1.08);
  background: var(--brand-soft);
  box-shadow: var(--shadow-sm);
}

.slideshow-dots {
  display: flex;
  gap: 10px;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slideshow-dot.is-active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  transform: scale(1.2);
}

.slideshow-dot:hover:not(.is-active) {
  background: var(--brand-soft);
  transform: scale(1.1);
}

.slideshow-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 0;
}

@media (min-width: 860px) {
  .hero-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .phone-frame--compact {
    max-width: 360px;
  }

  .single-video-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .video-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .phone-frame--compact {
    max-width: 100%;
    padding: 10px;
    border-radius: 32px;
  }

  .phone-frame__hardware--compact {
    top: 10px;
    height: 20px;
    border-radius: 0 0 14px 14px;
    padding: 4px 8px;
    gap: 5px;
  }

  .phone-frame__hardware--compact::before {
    width: 4px;
    height: 4px;
  }

  .phone-frame__hardware--compact::after {
    width: 32px;
    height: 3px;
  }

  .hero-video-title {
    font-size: 0.92rem;
  }

  .hero-video-desc {
    font-size: 0.82rem;
  }

  .video-showcase-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame--large {
    width: min(100%, 360px);
  }

  .slideshow-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .slideshow-controls {
    gap: 12px;
  }
}

.image-showcase-section {
  background: linear-gradient(135deg, rgba(247, 243, 255, 0.4), rgba(255, 251, 247, 0.4));
}

.image-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.image-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame--showcase,
.phone-frame--featured {
  width: 100%;
  max-width: 340px;
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-frame__hardware--showcase,
.phone-frame__hardware--featured {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.phone-frame__hardware--showcase::before,
.phone-frame__hardware--featured::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: #1a1a1a;
  border-radius: 999px;
}

.phone-frame__hardware--showcase::after,
.phone-frame__hardware--featured::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #1a3a5a, #0a1a2a);
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(100, 150, 200, 0.4);
}

.showcase-image,
.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.image-showcase-caption {
  font-size: 0.92rem;
  color: var(--text);
  text-align: center;
  margin: 0;
  line-height: 1.4;
  max-width: 90%;
}

.single-image-section {
  background: linear-gradient(135deg, rgba(255, 251, 247, 0.5), rgba(247, 243, 255, 0.5));
}

.single-image-layout {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.phone-frame--featured {
  max-width: 420px;
}

@media (min-width: 860px) {
  .image-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .phone-frame--featured {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .image-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .phone-frame--showcase,
  .phone-frame--featured {
    max-width: 100%;
    padding: 12px;
    border-radius: 36px;
  }

  .phone-frame__hardware--showcase,
  .phone-frame__hardware--featured {
    top: 12px;
    width: 100px;
    height: 24px;
  }

  .showcase-image,
  .featured-image {
    border-radius: 24px;
  }
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1;
  border-radius: 28px;
  transition: background 0.3s ease;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.25);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--brand);
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(82, 71, 234, 0.3);
}

.video-play-btn:active {
  transform: scale(1.05);
}

.video-play-btn svg {
  margin-left: 4px;
}

.phone-frame__screen {
  position: relative;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal[hidden] {
  display: none;
}

.video-modal.video-modal--opening {
  display: flex;
}

.video-modal.video-modal--active {
  opacity: 1;
}

.video-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.video-modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.video-modal--active .video-modal__content {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  z-index: 2;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.video-modal__phone-frame {
  width: auto;
  height: 90vh;
  max-height: 900px;
  padding: 18px;
  border-radius: 50px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 3px rgba(255, 255, 255, 0.1);
  position: relative;
}

.video-modal__hardware {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 32px;
  background: #0a0a0a;
  border-radius: 0 0 20px 20px;
  z-index: 2;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.video-modal__hardware::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 999px;
}

.video-modal__hardware::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #1a3a5a, #0a1a2a);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(100, 150, 200, 0.4);
}

.video-modal__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.video-modal__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal__player::-webkit-media-controls-fullscreen-button {
  display: none;
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal--immersive .video-modal__content {
  position: fixed;
  inset: 0;
  z-index: 2;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px)
    env(safe-area-inset-left, 0px);
  box-sizing: border-box;
  transform: none;
  transition: none;
}

.video-modal.video-modal--immersive.video-modal--active .video-modal__content {
  transform: none;
}

.video-modal--immersive .video-modal__phone-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.video-modal--immersive .video-modal__hardware {
  display: none;
}

.video-modal--immersive .video-modal__screen {
  flex: 1;
  min-height: 0;
  border-radius: 0;
  display: flex;
  align-items: stretch;
}

.video-modal--immersive .video-modal__player {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
}

.video-modal--immersive .video-modal__close {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 10001;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .video-modal__phone-frame {
    height: 85vh;
    max-height: 700px;
    padding: 14px;
    border-radius: 42px;
  }

  .video-modal__hardware {
    top: 14px;
    width: 110px;
    height: 28px;
  }

  .video-modal__screen {
    border-radius: 30px;
  }

  .video-modal__close {
    top: -45px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .video-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-play-btn svg {
    width: 36px;
    height: 36px;
  }

  .video-modal__phone-frame {
    height: 80vh;
    max-height: 600px;
    padding: 12px;
    border-radius: 38px;
  }

  .video-modal__hardware {
    top: 12px;
    width: 90px;
    height: 24px;
  }

  .video-modal__screen {
    border-radius: 26px;
  }

  .video-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .video-modal__close svg {
    width: 24px;
    height: 24px;
  }
}

body.site-narrow {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.site-narrow .hero-videos {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 28rem;
  margin-inline: auto;
}

body.site-narrow .video-showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
}

body.site-narrow .image-showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
}

body.site-narrow .card-grid,
body.site-narrow .step-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(13.75rem, 100%), 1fr));
}

body.site-narrow .pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

body.site-narrow .media-grid--videos {
  grid-template-columns: repeat(auto-fit, minmax(min(13.75rem, 100%), 1fr));
}

body.site-narrow .media-grid--embeds {
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
}

body.site-narrow .contact-methods {
  grid-template-columns: repeat(auto-fit, minmax(min(13.75rem, 100%), 1fr));
}

body.site-narrow .square-ad-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
}

body.site-narrow .faq-item__button {
  gap: 12px;
  padding: 18px 16px;
  font-size: 0.95rem;
}

body.site-narrow .faq-item__content {
  padding: 0 16px 18px;
}

body.site-narrow .site-footer__top,
body.site-narrow .site-footer__meta {
  flex-direction: column;
  align-items: flex-start;
}

body.site-narrow .hero-visual__glow {
  filter: none;
}

body.site-narrow .hero-visual__glow--one {
  width: 88px;
  height: 88px;
  inset: 5% auto auto 4%;
  background: rgba(255, 170, 140, 0.16);
}

body.site-narrow .hero-visual__glow--two {
  width: 96px;
  height: 96px;
  inset: auto 3% 5% auto;
  background: rgba(123, 112, 255, 0.14);
}

/* --- Cookie consent (first visit, public marketing site) --- */
body.cookie-consent-open {
  padding-bottom: max(168px, 24vh);
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100020;
  pointer-events: none;
}

.cookie-consent__panel {
  pointer-events: auto;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
}

.cookie-consent__shell {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.cookie-consent__copy {
  flex: 1 1 280px;
  min-width: 0;
  max-height: min(44vh, 400px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cookie-consent__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.cookie-consent__p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-consent__p:last-child {
  margin-bottom: 0;
}

.cookie-consent__p--link {
  margin-top: 4px;
}

.cookie-consent__policy {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__policy:hover,
.cookie-consent__policy:focus-visible {
  color: var(--text);
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-consent__btn {
  white-space: nowrap;
}

body.site-narrow .cookie-consent__shell {
  flex-direction: column;
  align-items: stretch;
}

body.site-narrow .cookie-consent__actions {
  justify-content: stretch;
}

body.site-narrow .cookie-consent__actions .cookie-consent__btn {
  flex: 1 1 auto;
  min-width: 0;
}
