/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f6;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: #e5e5e5;
  --color-accent-v: #2d5be3;   /* Veritract — blue */
  --color-accent-w: #1a9e6b;   /* WanderStyle — green */
  --color-accent: #2d5be3;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== Layout ===== */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

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

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

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

/* ===== Section Title ===== */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== App Cards ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.app-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.veritract-icon  { background: var(--color-accent-v); }
.wanderstyle-icon { background: var(--color-accent-w); }

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.app-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.app-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ===== Policy Body ===== */
.policy-body {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.policy-block h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--color-text);
}

.policy-block p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.policy-block ul {
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.policy-block ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.policy-block a {
  color: var(--color-accent);
  text-decoration: none;
}

.policy-block a:hover {
  text-decoration: underline;
}

/* ===== Support Grid ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.support-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.support-card:hover {
  transform: translateY(-2px);
}

.support-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.support-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.support-cta {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.support-cta p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-text);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ===== Contact ===== */
.contact-block {
  text-align: center;
}

.contact-block p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.support-email-plain {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 4px;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-inner a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .app-card {
    padding: 28px 20px;
  }
}
