:root {
  --bg: #ffffff;
  --bg-muted: #f5f7f9;
  --text: #111827;
  --text-soft: #4b5563;
  --border: #e5e7eb;
  --accent: #0f766e; /* teal */
  --accent-soft: #ccfbf1;
  --accent-dark: #115e59;
  --pill-bg: #e0f2fe;
  --pill-text: #0f172a;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #a7f3d0, #0f766e);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.45);
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out,
    background 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.55);
  text-decoration: none;
}

.btn-primary.disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: #e5e7eb;
  color: var(--text);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #d1d5db;
  text-decoration: none;
}

.text-link {
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.text-link.disabled {
  opacity: 0.5;
  cursor: default;
}

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

.section-muted {
  background: var(--bg-muted);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.section-intro {
  margin: 0 0 24px;
  color: var(--text-soft);
  max-width: 520px;
}

/* Hero */
.hero {
  padding: 32px 0 40px;
  background: radial-gradient(circle at top left, #e0f2fe, #f9fafb);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 200px;
}

.hero-copy h1 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero-copy p {
  margin: 0 0 20px;
  color: var(--text-soft);
  max-width: 460px;
}

/* App cards on home */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.app-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
}

.app-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.app-tagline {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.app-meta {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #6b7280;
}

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

/* App detail layout */
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr);
  gap: 28px;
  align-items: flex-start;
}

.app-details {
  max-width: 640px;
}

.app-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin: 0 0 6px;
}

.app-details h1 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.app-lead {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.app-highlights {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.app-highlights li {
  margin-bottom: 6px;
}

.app-platforms {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 0.8rem;
}

.app-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
}

.app-meta-block h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.app-meta-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* App media / screenshot frame */
.app-media {
  max-width: 320px;
}

.device-frame {
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, #e5e7eb, #f9fafb);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.device-screen {
  border-radius: 26px;
  background: #020617;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-placeholder {
  margin: 0;
  padding: 32px 20px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e5e7eb;
  opacity: 0.7;
}

.app-media-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Contact */
.contact-email a {
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: #6b7280;
}

/* Responsive tweaks */
@media (min-width: 720px) {
  .hero {
    padding: 40px 0 56px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

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

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