/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #101827;
  background-color: #f5f5f7;
}

/* Color palette */
:root {
  --accent: #f97316; /* orange similar to logo */
  --accent-dark: #ea580c;
  --bg-light: #ffffff;
  --bg-alt: #f1f5f9;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
}

/* Layout helpers */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background-color: var(--bg-alt);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-header {
  max-width: 640px;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(245, 245, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

.nav-simple {
  gap: 1rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.05s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Hero side card */
.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card li + li {
  margin-top: 0.35rem;
}

/* Grids */
.grid-2 {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-2 h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.grid-2 p {
  margin: 0;
  color: var(--text-muted);
}

/* App cards */
.app-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}


.card {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.app-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.app-card p {
  margin: 0;
}

.app-card p + p {
  margin-top: 0.75rem;
}

.app-tags {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-top: 0.75rem;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact block */
.contact-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-grid p {
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 0;
  background-color: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

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

/* Legal pages */
.legal-page {
  background-color: #ffffff;
}

.legal-main {
  padding: 3rem 0 4rem;
}

.legal-container {
  max-width: 760px;
}

.legal-container h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.legal-container h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.legal-container p {
  line-height: 1.6;
}

.legal-container ul {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  padding-left: 1.2rem;
}

.muted {
  color: var(--text-muted);
}

.legal-disclaimer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-soft);
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

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

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

@media (max-width: 720px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    padding: 0.75rem 1.5rem 1rem;
    background-color: rgba(245, 245, 247, 0.98);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    gap: 0.75rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

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

  .hero {
    padding-top: 3.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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