:root {
  --bg: #ffffff;
  --surface: #f4f6fb;
  --card: #ffffff;
  --text: #0f1b33;
  --muted: #56627a;
  --border: #e2e7f0;
  --accent: #1f9d55;
  --accent-soft: #e6f6ec;
  --accent-text: #ffffff;
  --navy: #0f1f3d;
  --navy-2: #1b3a6b;
  --header-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 1px 2px rgba(15, 27, 51, 0.05), 0 12px 32px -12px rgba(15, 27, 51, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 27, 51, 0.35);
  --radius: 20px;
  --max: 1120px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1222;
    --surface: #0f1a30;
    --card: #131f38;
    --text: #eef2f9;
    --muted: #9ba8bf;
    --border: #22304d;
    --accent: #5fd083;
    --accent-soft: rgba(95, 208, 131, 0.12);
    --accent-text: #08131f;
    --header-bg: rgba(10, 18, 34, 0.8);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.025em; line-height: 1.12; margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; }

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

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

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

.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.nav a.nav-cta { background: var(--text); color: var(--bg); font-weight: 600; margin-left: 6px; }

.nav a.nav-cta:hover { opacity: 0.88; background: var(--text); color: var(--bg); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px var(--accent);
  transition: transform 0.15s, filter 0.15s;
}

.button:hover { transform: translateY(-2px); filter: brightness(1.06); }

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button.ghost:hover { background: var(--surface); }

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero */
main { flex: 1; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 22px; }

.hero h1 em { font-style: normal; color: var(--accent); }

.lead { margin: 0 0 32px; max-width: 34em; font-size: 1.15rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; }

.hero-media > img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.float-card img { width: 46px; height: 46px; border-radius: 12px; }

.float-card strong { display: block; font-family: var(--font-head); font-size: 0.98rem; line-height: 1.2; }

.float-card span { color: var(--muted); font-size: 0.82rem; }

/* Sections */
.section { padding: 88px 0; }

.section.alt { background: var(--surface); }

.section-head { max-width: 620px; margin-bottom: 44px; }

.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }

.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }

/* Focus cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.card-body { padding: 22px 24px 26px; }

.card h3 { font-size: 1.22rem; margin-bottom: 8px; }

.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Feature split (image + text) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-media { position: relative; }

.feature-media > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.feature-media .app-icon {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 104px;
  height: 104px;
  border-radius: 26px;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
}

.section.alt .feature-media .app-icon { border-color: var(--surface); }

.feature h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; margin-bottom: 8px; }

.feature .meta { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.feature p { margin: 0 0 22px; color: var(--muted); font-size: 1.08rem; }

.checks { margin: 0 0 30px; padding: 0; list-style: none; }

.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 600;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.values h3 { font-size: 1.12rem; margin-bottom: 8px; }

.values p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.values .num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Contact band */
.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 208, 131, 0.35), transparent 65%);
}

.cta > * { position: relative; }

.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }

.cta p { margin: 0 auto 28px; max-width: 32em; color: rgba(255, 255, 255, 0.78); }

.cta .button { background: #fff; color: var(--navy); box-shadow: none; }

/* Products page */
.page-head { position: relative; overflow: hidden; padding: 72px 0 24px; }

.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }

.page-head .lead { margin-bottom: 0; }

[id] { scroll-margin-top: 92px; }

.app-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.app-jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.app-jump a:hover { border-color: var(--accent); transform: translateY(-1px); }

.app-jump img { width: 30px; height: 30px; border-radius: 9px; }

.product-list { padding-top: 48px; }

.product-list .feature + .feature { margin-top: 120px; }

.feature.reverse .feature-media { order: 2; }

.feature.reverse .feature-media .app-icon { right: auto; left: -18px; }

.actions .badge { align-self: center; }

/* Home: app tiles */
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.app-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.app-tile img { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 16px; }

.app-tile h3 { font-size: 1.25rem; margin-bottom: 2px; }

.app-tile .meta { flex: none; margin: 0 0 12px; color: var(--muted); font-size: 0.85rem; font-weight: 500; }

.app-tile p { margin: 0 0 22px; color: var(--muted); font-size: 0.97rem; flex: 1; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
}

.status.live::before { background: var(--accent); }

.soon {
  margin-top: 120px;
  padding: 40px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.soon h3 { margin-bottom: 6px; color: var(--text); font-size: 1.2rem; }

.soon p { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav { display: flex; gap: 22px; }

.site-footer a { text-decoration: none; }

.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 48px; }
  .cards, .values, .apps { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature.reverse .feature-media .app-icon { left: auto; right: 16px; }
  .product-list .feature + .feature, .soon { margin-top: 88px; }
  .values { gap: 28px; }
  .section { padding: 64px 0; }
  .float-card { left: 16px; bottom: 16px; }
  .feature-media .app-icon { right: 16px; bottom: -24px; width: 84px; height: 84px; border-radius: 22px; }
  .cta { padding: 48px 24px; border-radius: 24px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav a { padding: 8px 10px; }
  .nav a.nav-cta { display: none; }
  .soon { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .button { transition: none; }
}
