:root {
  --brand-color: #2d3436;
  --accent-color: #5a9494;
  --accent-hover: #4a7f7f;
  --accent-light: #becfcf;
  --text-color: #4a5568;
  --text-muted: #718096;
  --bg-color: #fafbfc;
  --surface: #ffffff;
  --footer-bg: #f0f4f4;
  --border-color: rgba(0, 0, 0, 0.06);
  --max-width: 960px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(90, 148, 148, 0.12);
}

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

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

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

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

.site-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent-color);
}

.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(190, 207, 207, 0.4), transparent),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(90, 148, 148, 0.12), transparent),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(190, 207, 207, 0.15), transparent),
    linear-gradient(180deg, #f8fafb 0%, #eef3f3 100%);
  overflow: hidden;
}

.hero .container {
  position: relative;
  animation: fade-up 0.7s ease-out both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  margin: 0 0 20px;
  line-height: 0;
}

.brand-logo {
  max-width: min(100%, 380px);
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 8px 32px rgba(90, 148, 148, 0.18)) contrast(1.08);
}

.tagline {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 auto 36px;
  max-width: 480px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(90, 148, 148, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(90, 148, 148, 0.4);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--accent-color);
  border: 1.5px solid var(--accent-light);
}

.btn-secondary:hover {
  background-color: rgba(190, 207, 207, 0.2);
  border-color: var(--accent-color);
}

.apps-section {
  padding: 80px 0;
}

.apps-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-color);
  letter-spacing: -0.02em;
  margin: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.app-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.app-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-color);
}

.app-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.app-links a:hover {
  color: var(--accent-hover);
}

.legal-doc {
  padding: 60px 0;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 20px;
}

.last-updated {
  font-style: italic;
  color: var(--text-muted);
}

.site-footer {
  padding: 40px 0;
  background-color: var(--footer-bg);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero {
    padding: 72px 0 88px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
