:root {
  --background: #f7fbff;
  --surface: #ffffff;
  --surface-muted: #eef7ff;
  --text: #122033;
  --muted: #5b6b7d;
  --primary: #1273de;
  --primary-dark: #0c55a8;
  --border: #d8e5f2;
  --shadow: 0 24px 60px rgba(18, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(18, 115, 222, 0.14), transparent 32rem),
    var(--background);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.site-header,
.page-header {
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
}

.site-header {
  min-height: 76vh;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.6rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
}

.button-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 30px rgba(18, 115, 222, 0.24);
}

.button-primary:hover {
  color: #ffffff;
  background: var(--primary-dark);
}

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

.section,
.page-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.app-card,
.contact-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.app-card p,
.split-section p,
.page-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

.app-icon {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 14px 34px rgba(18, 32, 51, 0.2);
}

.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-links {
  justify-content: flex-start;
  margin-top: 1rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.page-content {
  min-height: 58vh;
  padding: 4rem 0 6rem;
}

.page-content h1 {
  margin-bottom: 1rem;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.contact-card h2 {
  font-size: 1.3rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
  }

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

  .hero {
    margin-top: 4rem;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .app-card,
  .split-section {
    grid-template-columns: 1fr;
  }
}
