:root {
  --bg: #f5f7fa;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --line: rgba(14, 23, 38, 0.09);
  --text: #0e1624;
  --muted: #526170;
  --soft: #66758a;
  --teal: #297dff;
  --lime: #37a67a;
  --amber: #194dca;
  --violet: #5f7cff;
  --coral: #4a90e2;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(14, 23, 38, 0.08);
  --font-ui: "IBM Plex Sans", sans-serif;
  --font-display: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(14, 22, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 22, 36, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #fafbfd, #f1f5f9),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: var(--text);
  font-family: var(--font-ui);
}

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

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(14, 23, 38, 0.05);
}

.topbar.compact {
  border-radius: 18px;
}

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

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(41, 125, 255, 1), rgba(95, 124, 255, 0.95));
  box-shadow:
    0 0 0 5px rgba(41, 125, 255, 0.08),
    0 0 20px rgba(41, 125, 255, 0.2);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.topnav a:hover,
.footer-links a:hover,
.doc-nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-primary {
  color: #071212;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border-color: transparent;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0 3rem;
}

.eyebrow,
.section-tag,
.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.doc-hero h1 {
  margin: 0.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: #9bddf3;
}

.hero-text {
  max-width: 38rem;
  font-size: 1rem;
}

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

.hero-points {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-points li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  box-shadow: 0 0 18px rgba(133, 226, 159, 0.55);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.55;
}

.orb-a {
  inset: 8% auto auto 0;
  width: 14rem;
  height: 14rem;
  background: rgba(95, 210, 212, 0.2);
}

.orb-b {
  inset: auto 3% 8% auto;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 190, 100, 0.16);
}

.phone-stack {
  position: relative;
  height: 100%;
}

.device-card,
.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.device-card {
  position: absolute;
  width: 16rem;
  padding: 0.5rem;
  backdrop-filter: blur(14px);
}

.device-card img,
.showcase-card img {
  border-radius: 18px;
}

.center-card {
  z-index: 3;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tilt-left {
  z-index: 2;
  left: 0;
  top: 6.5rem;
  transform: rotate(-10deg);
}

.tilt-right {
  z-index: 1;
  right: 0;
  top: 10rem;
  transform: rotate(12deg);
}

.signal-strip,
.feature-card,
.showcase-card,
.legal-card,
.faq-preview-card,
.doc-sidebar,
.doc-section,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 18px;
}

.signal-pill,
.doc-badge {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(14, 23, 38, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.section-grid,
.experience-section,
.faq-preview,
.trust-section {
  padding: 7rem 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.section-heading.narrow h2 {
  max-width: 12ch;
}

.section-grid .section-heading {
  display: grid;
  justify-content: start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.section-grid .section-heading h2 {
  max-width: 11ch;
  margin: 0;
}

.feature-grid,
.faq-preview-grid,
.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.legal-card,
.faq-preview-card {
  padding: 1.6rem;
  border-radius: 18px;
}

.feature-card h3,
.experience-copy h3,
.legal-card h3,
.faq-preview-card h3,
.doc-section h2 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.glow-teal,
.glow-amber,
.glow-violet,
.glow-coral {
  position: relative;
  overflow: hidden;
}

.glow-teal::after,
.glow-amber::after,
.glow-violet::after,
.glow-coral::after {
  content: "";
  position: absolute;
  inset: auto -2rem -4rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.18;
}

.glow-teal::after {
  background: var(--teal);
}

.glow-amber::after {
  background: var(--amber);
}

.glow-violet::after {
  background: var(--violet);
}

.glow-coral::after {
  background: var(--coral);
}

.experience-section {
  display: grid;
  gap: 1.2rem;
}

.experience-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
}

.experience-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.experience-row.reverse .experience-copy {
  order: 2;
}

.experience-row.reverse .showcase-card {
  order: 1;
}

.experience-copy {
  padding: 1rem 0.5rem;
}

.showcase-card {
  padding: 1rem;
  border-radius: 22px;
}

.showcase-card img {
  width: min(100%, 23rem);
  margin: 0 auto;
}

.faq-preview-card h3 {
  font-size: 1.1rem;
}

.faq-preview-card p {
  margin-bottom: 0;
}

.legal-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  margin-top: 6rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 28rem;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
  color: var(--soft);
}

.footer-meta {
  justify-content: end;
}

.doc-layout {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.2rem;
  padding-top: 3rem;
}

.faq-layout,
.legal-layout {
  align-items: start;
}

.doc-hero {
  grid-column: 1 / -1;
  padding: 1.2rem 0 1rem;
}

.doc-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.4vw, 4.2rem);
}

.doc-sidebar {
  position: sticky;
  top: 6.6rem;
  padding: 1.1rem;
  border-radius: 18px;
}

.sidebar-meta {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.meta-card {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(14, 23, 38, 0.04);
}

.meta-label {
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.meta-value {
  display: block;
  margin-top: 0.45rem;
  color: var(--text);
}

.doc-nav {
  display: grid;
  gap: 0.35rem;
}

.doc-nav a {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
}

.doc-nav a.active,
.doc-nav a:focus-visible {
  background: rgba(14, 23, 38, 0.05);
  color: var(--text);
  outline: none;
}

.doc-content {
  display: grid;
  gap: 1rem;
}

.doc-section {
  padding: 1.5rem;
  border-radius: 18px;
}

.doc-section h2 {
  margin-bottom: 1rem;
}

.doc-section p {
  margin: 0 0 1rem;
}

.doc-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.doc-section li + li {
  margin-top: 0.55rem;
}

.search-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font: inherit;
}

.faq-group {
  display: grid;
  gap: 1rem;
}

.faq-group-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.faq-item {
  border-radius: 16px;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.3rem;
  list-style: none;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 1.3rem 1.25rem;
}

.faq-item[open] {
  border-color: rgba(95, 210, 212, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 120ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 220ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 300ms;
}

.reveal:nth-of-type(5) {
  animation-delay: 380ms;
}

.footer-doc {
  grid-template-columns: 1fr auto;
}

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

@media (max-width: 1024px) {
  .hero,
  .experience-row,
  .experience-row.reverse,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .experience-row.reverse .experience-copy,
  .experience-row.reverse .showcase-card {
    order: initial;
  }

  .hero-visual {
    min-height: 36rem;
  }

  .doc-sidebar {
    position: static;
  }

  .footer,
  .footer-doc {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: start;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 1rem, 1200px);
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .topnav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .feature-grid,
  .faq-preview-grid,
  .legal-card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.8rem);
  }

  .hero-visual {
    min-height: 30rem;
  }

  .device-card {
    width: 12rem;
  }

  .center-card {
    top: 0;
  }

  .tilt-left {
    top: 6rem;
  }

  .tilt-right {
    top: 10rem;
  }

  .section-grid,
  .experience-section,
  .faq-preview,
  .trust-section {
    padding-top: 5rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
