:root {
  --bg: #f7f9ff;
  --bg-strong: #ffffff;
  --text: #0f172a;
  --muted: #5d667a;
  --soft: #eef3ff;
  --line: rgba(18, 29, 59, 0.11);
  --blue: #1d74ff;
  --blue-dark: #0a53d7;
  --violet: #8056ff;
  --cyan: #37c7ff;
  --shadow: 0 20px 60px rgba(23, 46, 99, 0.13);
  --shadow-soft: 0 14px 34px rgba(23, 46, 99, 0.1);
  --radius: 8px;
  --container: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 4%, rgba(55, 199, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(128, 86, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 48%, #ffffff 100%);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(37, 52, 94, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 0.98rem;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 116, 255, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.nav-menu a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 7px;
  padding: 0 14px;
  color: #3a4256;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-menu a:hover {
  background: rgba(29, 116, 255, 0.09);
  color: var(--blue-dark);
}

.nav-cta,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-cta {
  padding: 0 19px;
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  white-space: nowrap;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(29, 116, 255, 0.11), transparent 38%),
    linear-gradient(245deg, rgba(128, 86, 255, 0.12), transparent 35%);
  mask-image: linear-gradient(#000 0%, transparent 92%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 66px;
}

.auto-hero {
  min-height: calc(100vh - var(--header-height));
  background:
    radial-gradient(circle at 84% 18%, rgba(128, 86, 255, 0.26), transparent 24rem),
    radial-gradient(circle at 18% 82%, rgba(55, 199, 255, 0.2), transparent 24rem),
    linear-gradient(135deg, #070912 0%, #101332 48%, #1a1150 100%);
  color: #fff;
}

.auto-hero .hero-bg {
  background:
    linear-gradient(135deg, rgba(55, 199, 255, 0.16), transparent 36%),
    linear-gradient(245deg, rgba(128, 86, 255, 0.28), transparent 42%);
}

.auto-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.auto-hero h1 {
  max-width: 820px;
  color: #fff;
}

.auto-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.auto-app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auto-kicker-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(47, 109, 255, 0.36);
}

.auto-hero-media {
  position: relative;
  min-height: 650px;
}

.hero-screenshot {
  position: absolute;
  display: block;
  width: min(305px, 52vw);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-screenshot.main {
  right: 0;
  top: 24px;
  z-index: 2;
}

.hero-screenshot.secondary {
  left: 0;
  top: 150px;
  width: min(250px, 44vw);
  opacity: 0.74;
  transform: rotate(-5deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 6.85rem);
  line-height: 0.94;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 1.02;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 16px 34px rgba(42, 101, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(42, 101, 255, 0.34);
}

.btn-secondary {
  border-color: rgba(18, 29, 59, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #16213a;
  box-shadow: 0 14px 30px rgba(23, 46, 99, 0.08);
}

.auto-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.disabled-btn {
  cursor: default;
}

.disabled-btn:hover {
  transform: none;
}

.mockup-stage {
  position: relative;
  min-height: 610px;
}

.device-card,
.floating-app-card,
.app-card,
.feature-card,
.about-panel,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.device-card {
  position: absolute;
  overflow: hidden;
  padding: 13px;
  border-color: rgba(18, 29, 59, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
}

.iphone-card {
  right: 198px;
  top: 22px;
  width: 224px;
  height: 448px;
  border-radius: 34px;
  transform: rotate(-5deg);
}

.ipad-card {
  right: 4px;
  top: 128px;
  width: 352px;
  height: 418px;
  border-radius: 28px;
  transform: rotate(4deg);
}

.device-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
  z-index: 2;
}

.ipad-card .device-bar {
  width: 64px;
  height: 8px;
  opacity: 0.72;
}

.preview-shell {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
}

.ipad-card .preview-shell {
  border-radius: 20px;
}

.photo-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 56px 16px 16px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
}

.preview-top {
  display: flex;
  justify-content: space-between;
}

.preview-top span,
.preview-controls span,
.metric-row span,
.message-list span {
  display: block;
  border-radius: 999px;
  background: rgba(18, 29, 59, 0.12);
}

.preview-top span:first-child {
  width: 70px;
  height: 10px;
}

.preview-top span:last-child {
  width: 26px;
  height: 10px;
}

.preview-photo {
  flex: 1;
  min-height: 224px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.85) 0 8%, transparent 9%),
    linear-gradient(140deg, #a8d7ff 0%, #7e76ff 50%, #ff9fca 100%);
  box-shadow: inset 0 -34px 66px rgba(40, 31, 93, 0.2);
}

.preview-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.preview-controls span {
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(29, 116, 255, 0.13), rgba(128, 86, 255, 0.13));
}

.dashboard-preview {
  display: grid;
  gap: 18px;
  padding: 48px 18px 18px;
  background:
    linear-gradient(135deg, rgba(242, 247, 255, 0.96), rgba(255, 255, 255, 0.96)),
    #fff;
}

.metric-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 10px;
}

.metric-row span {
  height: 76px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(29, 116, 255, 0.14), rgba(128, 86, 255, 0.13));
}

.chart-lines {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 150px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 29, 59, 0.08);
}

.chart-lines span {
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.chart-lines span:nth-child(1) {
  height: 58%;
}

.chart-lines span:nth-child(2) {
  height: 84%;
  background: linear-gradient(180deg, #ac92ff, var(--violet));
}

.chart-lines span:nth-child(3) {
  height: 44%;
}

.message-list {
  display: grid;
  gap: 9px;
}

.message-list span {
  height: 12px;
}

.message-list span:nth-child(1) {
  width: 78%;
}

.message-list span:nth-child(2) {
  width: 64%;
}

.message-list span:nth-child(3) {
  width: 88%;
}

.floating-app-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.floating-app-card.one {
  right: 304px;
  bottom: 64px;
}

.floating-app-card.two {
  right: 12px;
  top: 38px;
}

.floating-app-card strong {
  display: block;
  font-size: 0.94rem;
}

.floating-app-card small {
  display: block;
  color: var(--muted);
}

.app-icon,
.mini-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.app-icon {
  width: 62px;
  height: 62px;
}

.mini-icon {
  width: 42px;
  height: 42px;
}

.app-icon::before,
.mini-icon::before {
  display: block;
  color: #fff;
  font-weight: 850;
}

.icon-planner {
  background: linear-gradient(135deg, #1d74ff, #8056ff);
}

.icon-planner::before {
  content: "D";
}

.icon-scan {
  background: linear-gradient(135deg, #20c7b7, #3769ff);
}

.icon-scan::before {
  content: "S";
}

.icon-water {
  background: linear-gradient(135deg, #37c7ff, #1d74ff);
}

.icon-water::before {
  content: "H";
}

.icon-study {
  background: linear-gradient(135deg, #ffb85c, #8056ff);
}

.icon-study::before {
  content: "S";
}

.icon-fitness {
  background: linear-gradient(135deg, #19c77f, #111827);
}

.icon-fitness::before {
  content: "W";
}

.icon-travel {
  background: linear-gradient(135deg, #36c5ff, #ff8ec7);
}

.icon-travel::before {
  content: "T";
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.app-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 24px;
  border-color: rgba(18, 29, 59, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.74)),
    rgba(255, 255, 255, 0.78);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.app-card:hover,
.feature-card:hover {
  border-color: rgba(29, 116, 255, 0.25);
  box-shadow: 0 22px 64px rgba(23, 46, 99, 0.16);
  transform: translateY(-6px);
}

.app-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 36px;
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 245, 255, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.app-spotlight-copy {
  max-width: 760px;
}

.app-spotlight-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.auto-app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.78)),
    rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  padding: 24px;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.auto-app-card h3 {
  margin-top: 12px;
  font-size: 1.5rem;
}

.auto-app-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-icon-img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(42, 101, 255, 0.24);
}

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

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(29, 116, 255, 0.16);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(29, 116, 255, 0.08);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.app-card p,
.feature-card p {
  color: var(--muted);
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.app-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.app-link:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.app-link-disabled {
  color: #6d778b;
  cursor: default;
}

.app-link-disabled::after {
  display: none;
}

.why-section {
  background:
    linear-gradient(180deg, rgba(238, 243, 255, 0.72), rgba(255, 255, 255, 0.56)),
    transparent;
}

.features-section {
  background:
    linear-gradient(180deg, rgba(238, 243, 255, 0.68), rgba(255, 255, 255, 0.54)),
    transparent;
}

.screenshots-section {
  overflow: hidden;
}

.screenshot-gallery {
  display: flex;
  gap: 16px;
  margin-right: calc((100vw - min(100% - 40px, var(--container))) / -2);
  padding: 4px calc((100vw - min(100% - 40px, var(--container))) / 2) 18px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(18, 29, 59, 0.07);
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.screenshot-card {
  flex: 0 0 480px;
  width: 480px;
  margin: 0;
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.screenshot-card:hover {
  box-shadow: 0 22px 64px rgba(23, 46, 99, 0.16);
  transform: translateY(-6px);
}

.screenshot-card img {
  display: block;
  width: 480px;
  height: 800px;
  object-fit: cover;
  object-position: top;
}

.screenshot-card figcaption {
  padding: 14px 14px 16px;
  color: #253049;
  font-weight: 800;
}

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

.description-block {
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.description-block h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.description-block p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 242px;
  padding: 22px;
  border-color: rgba(18, 29, 59, 0.08);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.feature-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(29, 116, 255, 0.13), rgba(128, 86, 255, 0.13));
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 58px;
}

.about-copy {
  max-width: 760px;
}

.about-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-color: rgba(18, 29, 59, 0.08);
}

.stat {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.stat strong {
  font-size: 2.2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  padding-top: 78px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.64fr);
  align-items: center;
  gap: 44px;
}

.contact-layout .section-heading {
  margin-bottom: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-color: rgba(18, 29, 59, 0.08);
}

.contact-card .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.contact-card p {
  margin-bottom: 3px;
  color: var(--muted);
  font-weight: 750;
}

.contact-emails {
  display: grid;
  gap: 4px;
}

.contact-emails p:not(:first-child) {
  margin-top: 10px;
}

.contact-card a:not(.btn) {
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(42, 101, 255, 0.26);
}

.legal-section,
.app-detail-hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: 92px;
}

.legal-layout,
.app-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 22px;
}

.legal-summary,
.app-status-panel {
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.76)),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.app-status-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.legal-summary h1,
.app-detail-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(2.55rem, 7vw, 4.7rem);
  line-height: 0.98;
}

.legal-summary p:not(.eyebrow),
.app-status-panel p {
  color: var(--muted);
}

.app-status-panel a {
  color: var(--blue-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-summary .btn {
  width: 100%;
  margin-top: 18px;
}

.legal-card {
  border: 1px solid rgba(18, 29, 59, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 44px);
}

.legal-card h2,
.app-status-panel h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.legal-card h2:first-of-type {
  margin-top: 26px;
}

.legal-card p,
.legal-card li {
  color: #424b5f;
  font-size: 1rem;
}

.legal-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.app-detail-layout {
  align-items: center;
}

.auto-detail-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 40px;
}

.auto-detail-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(128, 86, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 14% 72%, rgba(55, 199, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.app-detail-copy {
  max-width: 720px;
}

.app-detail-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
}

.app-status-panel h2 {
  margin-top: 22px;
}

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

.feature-list li {
  position: relative;
  padding-left: 25px;
  color: #424b5f;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  content: "";
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.7);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #3d465b;
  font-size: 0.93rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue-dark);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .auto-hero-layout,
  .app-spotlight,
  .auto-detail-layout {
    grid-template-columns: 1fr;
  }

  .auto-hero-media {
    min-height: 620px;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }

  .auto-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-description-layout {
    grid-template-columns: 1fr;
  }

  .mockup-stage {
    min-height: 530px;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .about-layout,
  .contact-layout,
  .legal-layout,
  .app-detail-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary,
  .app-status-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .nav {
    width: min(100% - 28px, var(--container));
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    justify-content: center;
    min-height: 44px;
  }

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

  .auto-hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .section {
    padding: 80px 0;
  }

  .mockup-stage {
    min-height: 470px;
  }

  .auto-hero-media {
    min-height: 540px;
  }

  .hero-screenshot.main {
    right: 5%;
    width: min(285px, 58vw);
  }

  .hero-screenshot.secondary {
    left: 3%;
    top: 132px;
    width: min(230px, 48vw);
  }

  .iphone-card {
    right: auto;
    left: 4px;
    width: 190px;
    height: 382px;
  }

  .ipad-card {
    right: 0;
    width: min(310px, 58vw);
    height: 360px;
  }

  .floating-app-card.one {
    right: auto;
    left: 122px;
    bottom: 34px;
  }

  .floating-app-card.two {
    top: 18px;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 174px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .auto-hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.45rem);
  }

  .auto-hero .hero-subtitle {
    font-size: 1rem;
  }

  .auto-hero.section {
    padding-bottom: 52px;
  }

  .app-spotlight-section {
    padding-top: 48px;
  }

  .auto-app-kicker {
    align-items: flex-start;
    font-size: 0.86rem;
    margin-bottom: 16px;
  }

  .auto-kicker-icon {
    width: 48px;
    height: 48px;
  }

  .auto-hero-media {
    display: none;
  }

  .hero-screenshot.main {
    right: 0;
    width: min(250px, 68vw);
  }

  .hero-screenshot.secondary {
    left: 0;
    top: 116px;
    width: min(205px, 55vw);
  }

  .auto-app-card {
    grid-template-columns: 1fr;
  }

  .app-icon-img {
    width: 82px;
    height: 82px;
  }

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

  .mockup-stage {
    min-height: 450px;
  }

  .iphone-card {
    left: 0;
    width: 166px;
    height: 334px;
    border-radius: 28px;
  }

  .ipad-card {
    top: 110px;
    width: min(280px, 68vw);
    height: 316px;
    border-radius: 24px;
  }

  .device-card {
    padding: 10px;
  }

  .device-bar {
    width: 58px;
    height: 15px;
  }

  .photo-preview {
    gap: 12px;
    padding: 44px 12px 12px;
  }

  .preview-photo {
    min-height: 175px;
  }

  .dashboard-preview {
    gap: 14px;
    padding: 42px 13px 13px;
  }

  .metric-row span {
    height: 58px;
  }

  .chart-lines {
    height: 116px;
  }

  .floating-app-card {
    padding: 11px;
  }

  .floating-app-card.one {
    left: 84px;
    bottom: 16px;
  }

  .floating-app-card.two {
    right: 2px;
    top: 24px;
  }

  .floating-app-card strong {
    font-size: 0.82rem;
  }

  .floating-app-card small {
    font-size: 0.74rem;
  }

  .mini-icon {
    width: 34px;
    height: 34px;
  }

  .apps-grid,
  .features-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 260px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .section-heading {
    margin-bottom: 34px;
  }

  h2 {
    font-size: 2.1rem;
  }

  .mockup-stage {
    min-height: 410px;
  }

  .auto-hero-media {
    min-height: 420px;
  }

  .hero-screenshot.main {
    width: 220px;
  }

  .hero-screenshot.secondary {
    top: 104px;
    width: 178px;
  }

  .ipad-card {
    width: 230px;
    height: 292px;
  }

  .iphone-card {
    width: 142px;
    height: 292px;
  }

  .floating-app-card.one {
    left: 48px;
  }
}
