:root {
  --slate-900: #1e293b;
  --slate-800: #243044;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --accent: #0d9488;
  --accent-soft: #ccfbf1;
  --success: #16a34a;
  --warning: #ea580c;
  --shadow: 0 18px 55px rgba(30, 41, 59, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--slate-700);
  background: var(--slate-50);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 16% 12%, rgba(13, 148, 136, 0.1), transparent 26%),
    linear-gradient(150deg, #ffffff 0%, #f8fafc 48%, #edf6f4 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(14px);
}

.site-header[data-elevated="true"] {
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
}

.legal-header {
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--slate-900);
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 650;
}

.top-nav a:hover,
.secondary-link:hover,
.site-footer a:hover,
.back-link:hover {
  color: var(--accent);
}

.lang-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.lang-toggle button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-500);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
  color: var(--white);
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 46px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--slate-900);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  position: relative;
  max-width: 740px;
  font-size: clamp(46px, 7.4vw, 86px);
}

h1::after {
  display: block;
  width: min(170px, 42vw);
  height: 7px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(13, 148, 136, 0.12));
  content: "";
  transform-origin: left;
  animation: titleLine 900ms 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

h2 {
  font-size: clamp(30px, 4.4vw, 52px);
}

h3 {
  margin: 0;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.25;
}

.hero-text,
.section-copy p,
.gallery-copy p,
.rate-panel p,
.download-inner p {
  color: var(--slate-500);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  min-width: 186px;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.play-badge:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.play-badge img {
  width: 192px;
  height: auto;
}

.play-badge.large img {
  width: 218px;
}

.secondary-link {
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 34px 0 0;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.78)),
    var(--white);
  box-shadow: 0 16px 38px rgba(30, 41, 59, 0.08);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.metric-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  content: "";
}

.metric-card::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  content: "";
}

.metric-card:hover {
  border-color: rgba(13, 148, 136, 0.38);
  box-shadow: 0 22px 48px rgba(30, 41, 59, 0.14);
  transform: translateY(-4px);
}

.metric-card.featured {
  background:
    linear-gradient(145deg, rgba(13, 148, 136, 0.12), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.hero-metrics dt {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 18px;
  font-weight: 900;
}

.metric-value {
  color: var(--slate-900);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
}

.hero-metrics dd strong {
  color: var(--slate-900);
  font-size: 14px;
  line-height: 1.25;
}

.hero-metrics dd span {
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.4;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 430px);
  min-height: 640px;
}

.phone-shot {
  width: min(82vw, 360px);
  margin: 0 auto;
  border: 10px solid #172033;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.phone-shot.primary {
  transform: rotate(2deg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 35px rgba(30, 41, 59, 0.12);
  backdrop-filter: blur(10px);
}

.rate-card {
  top: 96px;
  right: 0;
  padding: 12px 14px;
  color: var(--success);
  font-size: 14px;
  font-weight: 850;
}

.calc-card {
  right: 18px;
  bottom: 82px;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
}

.calc-card strong {
  color: var(--slate-900);
  font-size: 20px;
}

.calc-card span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.14);
}

.proof-band {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px;
  border-block: 1px solid var(--slate-200);
  text-align: center;
}

.proof-band p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate-700);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.45;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 100px;
}

.section-copy p,
.gallery-copy p,
.rate-panel p {
  margin: 20px 0 0;
}

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

.feature {
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 26px rgba(30, 41, 59, 0.06);
}

.feature p {
  margin: 14px 0 0;
  color: var(--slate-500);
  line-height: 1.6;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 21px;
  font-weight: 900;
}

.app-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.54fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: center;
}

.screen {
  width: 100%;
  border: 7px solid #172033;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(30, 41, 59, 0.12);
}

.screen:nth-child(2) {
  margin-top: 46px;
}

.rate-section {
  padding-top: 42px;
}

.rate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.86)),
    var(--white);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 16px;
  color: var(--accent);
  content: "✓";
}

.download-section {
  padding: clamp(72px, 10vw, 118px) 16px;
  background: var(--slate-900);
}

.download-inner {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.download-inner img:first-child {
  border-radius: 14px;
}

.download-inner h2 {
  margin-top: 24px;
  color: var(--white);
}

.download-inner p {
  max-width: 600px;
  margin: 18px auto 28px;
  color: var(--slate-300);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0;
  color: var(--slate-500);
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.legal-page {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 58px 0 90px;
}

.legal-card {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(30, 41, 59, 0.08);
}

.legal-card h1 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 54px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 22px;
}

.legal-card p {
  color: var(--slate-500);
  font-size: 17px;
  line-height: 1.7;
}

.back-link {
  color: var(--accent);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes titleLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes metricFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-metrics.is-visible .metric-card {
  animation: metricFloat 5.6s ease-in-out infinite;
}

.hero-metrics.is-visible .metric-card:nth-child(2) {
  animation-delay: 500ms;
}

.hero-metrics.is-visible .metric-card:nth-child(3) {
  animation-delay: 1000ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .play-badge,
  .hero-metrics.is-visible .metric-card,
  h1::after {
    animation: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .top-nav {
    display: none;
  }

  .hero,
  .split,
  .app-gallery,
  .rate-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .section-copy {
    position: static;
  }

  .phone-stage {
    min-height: 590px;
  }

  .phone-shot {
    width: min(78vw, 330px);
  }

  .screens {
    max-width: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    min-height: 66px;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    width: min(100% - 24px, var(--max));
    padding-bottom: 42px;
  }

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

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

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: 28px;
  }

  .metric-card {
    min-height: 126px;
    padding: 16px;
  }

  .metric-card:hover {
    transform: none;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-shot {
    width: min(86vw, 290px);
    border-width: 8px;
    border-radius: 28px;
  }

  .floating-card {
    display: none;
  }

  .section {
    width: min(100% - 24px, var(--max));
  }

  .feature {
    min-height: 0;
  }

  .screen {
    width: min(100%, 310px);
    margin: 0 auto;
  }

  .screen:nth-child(2) {
    margin-top: 0;
  }

  .site-footer {
    flex-direction: column;
    width: min(100% - 24px, var(--max));
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
