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

:root {
  --blue:        #4A8FD4;
  --blue-light:  #EBF4FF;
  --blue-mid:    #D0E8FA;
  --green:       #52A870;
  --green-light: #EDF7F1;
  --text:        #1C2B3A;
  --text-mid:    #4A5568;
  --text-soft:   #718096;
  --white:       #FFFFFF;
  --border:      #E2EDF5;
  --radius:      16px;
  --radius-sm:   10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Nav ───────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--green-light) 100%);
  padding: 100px 5vw 90px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-mid);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 99px;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover { background: #3a7fc4; transform: translateY(-1px); }

/* ─── Section shell ─────────────────────────────────────────────── */
section { padding: 80px 5vw; }
section:nth-child(even) { background: #FAFCFF; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ─── Apps grid ─────────────────────────────────────────────────── */
#apps { text-align: center; }
#apps .section-sub { margin-left: auto; margin-right: auto; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.app-card:hover {
  box-shadow: 0 8px 32px rgba(74,143,212,0.12);
  transform: translateY(-3px);
}

.app-icon {
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon.green { background: var(--green-light); }

.app-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.app-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 99px;
}

.app-tag.green { color: var(--green); background: var(--green-light); }

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 4px;
  transition: opacity 0.2s;
}

.app-store-btn:hover { opacity: 0.75; }

/* ─── Five Levers / Pillars ─────────────────────────────────────── */
#pillars { background: var(--white); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 40px;
}

.pillar-card {
  background: #FAFCFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pillar-card:hover {
  box-shadow: 0 6px 24px rgba(74,143,212,0.10);
  transform: translateY(-2px);
}

.pillar-icon { font-size: 1.8rem; }

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

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.pillar-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tool-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
}

.tool-tag.muted {
  background: var(--green-light);
  color: var(--green);
  border-color: #C3E6D0;
}

.tool-tag.future {
  background: #F5F5F5;
  color: #999;
  border-color: #E0E0E0;
  font-style: italic;
}

.pillars-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  padding: 0 20px;
}

/* ─── Philosophy ────────────────────────────────────────────────── */
#philosophy {
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--green-light) 100%);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.philosophy-inner .section-label,
.philosophy-inner .section-title { text-align: center; }

.philosophy-inner .section-title { margin-bottom: 48px; }

.beliefs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.belief {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.belief-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}

.belief-dot.green { background: var(--green); }

.belief-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.belief-text strong { color: var(--blue); font-weight: 700; }
.belief-text strong.green { color: var(--green); }

.philosophy-quote {
  margin-top: 52px;
  padding: 32px 36px;
  background: white;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
}

/* ─── About ─────────────────────────────────────────────────────── */
.about-inner {
  max-width: 680px;
}

.about-inner p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-inner p:last-child { margin-bottom: 0; }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 5px 14px;
  border-radius: 99px;
}

/* ─── Disclaimer ────────────────────────────────────────────────── */
#disclaimer {
  background: #F7F9FC;
  border-top: 1px solid var(--border);
  padding: 48px 5vw;
}

.disclaimer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.disclaimer-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}

#disclaimer p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

#disclaimer p:last-child { margin-bottom: 0; }
#disclaimer em { font-style: italic; }

/* ─── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 40px 5vw;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.footer-logo span { color: var(--green); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 70px 6vw 60px; }
  section { padding: 60px 6vw; }
  .philosophy-quote { padding: 24px; }
}
