:root {
  --bg: #f4f6fb;
  --bg-soft: #f9faff;
  --page-bg: #e2e4e8;
  --surface: #ffffff;
  --text: #2f3338;
  --muted: #5d6b7b;
  --line: #d6dde6;
  --accent: #2f6fe3;
  --accent-dark: #2459c7;
  --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: var(--page-bg);
  font-family: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}


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-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-word {
  font-family: "Sora", "Space Grotesk", "Inter", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1;
  color: var(--text);
}

.brand-ai {
  /* Logo-like blue gradient for the "AI" wordmark. */
  color: #2050b8;
  background: linear-gradient(135deg, #2050b8 0%, #1f73d8 52%, #28c0f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

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

.site-nav a {
  color: var(--muted);
  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: 56px 0 96px;
  flex: 1;
  background: var(--page-bg);
}

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

.hero-tag {
  margin: 0;
  color: #42536b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(47, 111, 227, 0.08);
}

.hero h1 {
  margin: 22px 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;
}

.accent {
  background: linear-gradient(135deg, var(--accent), #4aa6ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-highlight {
  color: #2f6fe3;
}

.hero p {
  margin: 18px auto 0;
  max-width: 34ch;
  color: #4f5f73;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 32px;
  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(47, 111, 227, 0.32);
}

.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;
}

.app-spotlight {
  margin-top: 24px;
  border: 1px solid rgba(47, 111, 227, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(47, 111, 227, 0.06), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-spotlight-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.app-spotlight-link:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 227, 0.4);
  box-shadow: 0 18px 40px rgba(47, 111, 227, 0.16);
}

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

.app-logo {
  width: 120px;
  height: auto;
  display: block;
}

.app-mark {
  width: 64px;
  height: 64px;
  display: block;
}

.app-title {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 26px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.05;
}

.app-title .sync-accent {
  color: var(--accent);
  font-weight: 800;
}

.app-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 36ch;
  text-wrap: balance;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.hub-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}

.hub-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.hub-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 227, 0.35);
  box-shadow: 0 18px 40px rgba(47, 111, 227, 0.14);
}

.hub-card .app-logo {
  width: 110px;
  max-width: 70%;
}

.hub-card .app-logo.app-logo-icon {
  width: 56px;
  max-width: none;
  height: 56px;
}

.hub-card .app-mark {
  width: 56px;
  height: 56px;
  display: block;
}

.home-hub-card h3 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 20px;
  letter-spacing: -0.4px;
}

.home-hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hub-card h3 {
  margin: 0;
  font-family: "SF Pro Display", "Sora", "Inter", sans-serif;
  font-size: 20px;
  letter-spacing: -0.4px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hub-card .text-link {
  margin-top: auto;
}

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

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

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

.page-hero .lead {
  font-weight: 500;
  color: var(--muted);
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.pill-row {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: linear-gradient(135deg, rgba(47, 111, 227, 0.12), rgba(68, 168, 255, 0.12));
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.video-frame {
  background: transparent;
  border-radius: 24px;
  padding: 0;
  box-shadow: none;
  width: min(280px, 80vw);
  justify-self: end;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 24px;
  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 #cfd8e6;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  box-shadow: 0 18px 40px rgba(18, 40, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(47, 111, 227, 0.9), rgba(155, 196, 255, 0.9));
  border-radius: 0 0 999px 999px;
}

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

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

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

.info-list li {
  background: #ffffff;
  border: 1px solid #e1e8f2;
  border-radius: 18px;
  padding: 12px 16px 12px 42px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(18, 40, 74, 0.06);
  position: relative;
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8cc1ff);
  transform: translateY(-50%);
  box-shadow: 0 3px 8px rgba(47, 111, 227, 0.25);
}

.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: 25px;
  letter-spacing: -0.5px;
}

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

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

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
}

.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: 32px;
  }

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

  .app-spotlight {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .button:hover {
    transform: none;
  }
}
