:root {
  --bg: #f8f7f4;
  --bg-strong: #ecf4ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #17345c;
  --muted: #5e7696;
  --line: rgba(77, 127, 205, 0.16);
  --blue: #4d84d7;
  --blue-deep: #2d65c0;
  --orange: #f28a5d;
  --orange-deep: #df6d3d;
  --shadow: 0 24px 70px rgba(44, 86, 149, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 138, 93, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(77, 132, 215, 0.2), transparent 35%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 48%, #edf4ff 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(8px);
}

.page-shell::before {
  width: 20rem;
  height: 20rem;
  top: 5rem;
  left: -6rem;
  background: rgba(77, 132, 215, 0.12);
}

.page-shell::after {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: 42rem;
  background: rgba(242, 138, 93, 0.12);
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar {
  padding: 1.25rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(32, 67, 119, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue-deep);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  padding: 0.25rem;
  border: 1px solid rgba(77, 132, 215, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.language-button {
  min-width: 3rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(45, 101, 192, 0.2);
}

.hero {
  padding: 2.4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(77, 132, 215, 0.1);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Gill Sans", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.92;
  max-width: 10ch;
}

.hero p {
  margin: 1.3rem 0 0;
  max-width: 35rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  box-shadow: 0 18px 35px rgba(223, 109, 61, 0.28);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue-deep);
  border: 1px solid rgba(77, 132, 215, 0.18);
}

.button:hover,
.button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.mockup {
  position: relative;
  min-height: 40rem;
  padding: 1.3rem;
  border: 1px solid rgba(77, 132, 215, 0.13);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 244, 255, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.speech-cloud,
.bubble-card,
.device,
.hero-logo {
  position: absolute;
}

.hero-logo {
  top: 0.7rem;
  right: 1.2rem;
  width: clamp(7rem, 18vw, 9rem);
  opacity: 0.98;
}

.speech-cloud {
  top: 2rem;
  left: 1rem;
  max-width: 13rem;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem 1.5rem 1.5rem 0.5rem;
  background: #fff;
  box-shadow: 0 20px 30px rgba(44, 86, 149, 0.12);
  color: var(--blue-deep);
  font-weight: 700;
  line-height: 1.5;
}

.device {
  inset: auto 2rem 2rem auto;
  width: min(100%, 22rem);
  padding: 1rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  border: 1px solid rgba(77, 132, 215, 0.16);
  box-shadow: 0 28px 46px rgba(35, 74, 132, 0.18);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.3rem 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.message-bar {
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
}

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

.tile {
  display: grid;
  place-items: center;
  min-height: 4.9rem;
  padding: 0.75rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(77, 132, 215, 0.12);
  color: var(--blue-deep);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.tile.orange {
  background: linear-gradient(180deg, #fff2ea, #ffe3d5);
  color: #ba562d;
}

.bubble-card {
  padding: 1rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(77, 132, 215, 0.12);
  box-shadow: 0 15px 35px rgba(35, 74, 132, 0.08);
  max-width: 12rem;
}

.bubble-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.bubble-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-a {
  right: 13rem;
  top: 10rem;
}

.card-b {
  left: 1.8rem;
  bottom: 3rem;
}

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

.metric {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  color: var(--blue-deep);
}

.metric span {
  color: var(--muted);
  line-height: 1.6;
}

section {
  padding: 1.2rem 0 4rem;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.info-grid,
.feature-grid,
.audience-grid,
.store-grid {
  display: grid;
  gap: 1rem;
}

.info-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.panel,
.feature,
.audience,
.store-card,
.cta-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(35, 74, 132, 0.07);
}

.panel {
  padding: 1.6rem;
}

.panel strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--blue-deep);
  font-size: 1rem;
}

.panel p,
.panel li,
.feature p,
.audience p,
.store-card p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.feature,
.audience,
.store-card {
  padding: 1.45rem;
}

.feature h3,
.audience h3,
.store-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(77, 132, 215, 0.15), rgba(242, 138, 93, 0.22));
  color: var(--blue-deep);
  font-weight: 900;
}

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

.store-grid {
  grid-template-columns: minmax(0, 24rem);
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(77, 132, 215, 0.1);
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(242, 138, 93, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 255, 0.88));
}

.cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-tags span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
  font-weight: 700;
}

footer {
  padding: 0 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(77, 132, 215, 0.12);
}

@media (max-width: 1024px) {
  .hero-grid,
  .info-grid,
  .cta-panel,
  .feature-grid,
  .audience-grid,
  .store-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .mockup {
    min-height: 34rem;
  }

  .card-a {
    right: 1.8rem;
    top: 7.3rem;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    border-radius: 1.6rem;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .language-switch {
    margin-left: 0;
  }

  h1 {
    max-width: 9ch;
  }

  .hero {
    padding-top: 1rem;
  }

  .mockup {
    min-height: 33rem;
    padding: 1rem;
  }

  .speech-cloud {
    position: relative;
    top: 0;
    left: 0;
    max-width: none;
    margin-bottom: 1rem;
  }

  .hero-logo {
    width: 5.7rem;
  }

  .card-a,
  .card-b {
    position: static;
    max-width: none;
    margin-top: 0.85rem;
  }

  .device {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

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

  .button,
  .ghost-button {
    width: 100%;
  }
}
