:root {
  --bg: #f5f5f7;
  --bg-soft: #fafafc;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-dark: #0062c8;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-deep: 0 24px 56px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -20%, rgba(0, 113, 227, 0.08), transparent 60%),
    radial-gradient(1000px 500px at 95% 0%, rgba(88, 86, 214, 0.06), transparent 60%),
    var(--bg);
  font-family: "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(210, 210, 215, 0.78);
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-main {
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.brand-sub {
  color: #3a4a61;
  background: #f0f5fb;
  border: 1px solid #d6e2f2;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

.site-nav a {
  color: #425673;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--surface);
}

main {
  padding: 76px 0 96px;
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  margin: 0;
  color: #4f6382;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.hero h1 {
  margin: 14px 0 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: clamp(52px, 10vw, 108px);
  letter-spacing: -2px;
  line-height: 0.92;
  text-wrap: balance;
}

.hero p {
  margin: 18px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 25px);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 36px rgba(0, 113, 227, 0.3);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.section {
  margin-top: 86px;
}

.section-head h2 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  min-height: 156px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
  border-color: #bec6d6;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-logo {
  width: 186px;
  max-width: 56%;
  height: auto;
  display: block;
}

.app-name {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 27px;
  letter-spacing: -0.5px;
}

.app-chip {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #50607c;
}

.app-card .chevron {
  font-size: 14px;
  font-weight: 700;
  color: #4e5f7a;
  white-space: nowrap;
}

.app-card.placeholder {
  background: linear-gradient(150deg, #ffffff 0%, #f4f7fb 100%);
}

.app-card.placeholder .app-name {
  color: #45556f;
}

.page-hero {
  max-width: 70ch;
}

.page-hero h1 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -1.1px;
  line-height: 1.04;
  text-wrap: balance;
}

.page-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.video-frame {
  background: #0f1118;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-deep);
  width: min(320px, 80vw);
  justify-self: end;
}

.video-frame video {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
}

.info-grid,
.contact-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.info-card h2 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 27px;
  letter-spacing: -0.5px;
}

.info-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.info-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.info-list li {
  background: var(--bg-soft);
  border: 1px solid #e8ebf0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #34445d;
  font-size: 14px;
}

.hellox-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hellox-panel h2 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 27px;
  letter-spacing: -0.5px;
}

.hellox-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.hellox-logo {
  width: 170px;
  height: auto;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.contact-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.fade {
  opacity: 0;
  transform: translateY(10px);
  animation: fade 0.55s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.18s;
}

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

@media (max-width: 1000px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .video-frame {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-row {
    min-height: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  main {
    padding-top: 40px;
  }

  .brand-main {
    font-size: 25px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 74px);
  }

  .hero-actions {
    display: flex;
  }

  .apps-grid,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .app-name {
    font-size: 24px;
  }

  .section {
    margin-top: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .button:hover,
  .app-card:hover {
    transform: none;
  }
}
