:root {
  --primary: #0a7ea4;
  --primary-dark: #086a8a;
  --primary-light: #e6f4fe;
  --text: #11181c;
  --text-muted: #687076;
  --bg: #ffffff;
  --bg-subtle: #f6fbfe;
  --border: #d7e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(10, 126, 164, 0.12);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--primary-light) 0%, transparent 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

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

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  min-width: 150px;
}

.store-badge:hover {
  opacity: 0.92;
  text-decoration: none;
  color: #fff;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 300px);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a1a1a 0%, #2d2d2d 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 45%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.mock-card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(10, 126, 164, 0.1);
  flex: 1;
}

.mock-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

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

.mock-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.mock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.mock-btn.pass {
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text-muted);
}

.mock-btn.like {
  background: var(--primary);
  color: #fff;
}

/* Sections */

section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

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

.features {
  background: var(--bg-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

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

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.audience-card {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.audience-card.worker {
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
}

.audience-card.business {
  background: linear-gradient(135deg, #fff 0%, #eef8fc 100%);
}

.audience-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.audience-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.audience-card li {
  margin-bottom: 0.4rem;
}

.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  opacity: 0.92;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: var(--primary-light);
}

/* Legal pages */

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

.legal-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--bg-subtle);
  font-weight: 600;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.legal-content .legal-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg-subtle);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: min(100%, 260px);
  }

  .nav .hide-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
  }

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