:root {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --bg-dark: #1c1c1e;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e3e3e6;
  --accent: #14b8a6;
  --accent-hover: #0d9488;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Site header (subpages) ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 20px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand {
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-header .brand .dot { color: var(--accent); }
.site-header nav a {
  margin-left: 28px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.site-header nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(20,184,166,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(20,184,166,0.06), transparent 50%);
  animation: drift 20s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 20px) scale(1.05); }
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s ease 0.1s forwards;
}
.hero h1 .accent { color: var(--accent); }
.accent { color: var(--accent); }

.hero .tagline {
  margin-top: 28px;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 720px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s ease 0.35s forwards;
}

.hero .cta-row {
  margin-top: 56px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s ease 0.6s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20,184,166,0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Section ---------- */
section.block {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
section.block.alt {
  background: var(--bg);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.section-lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* ---------- Founders ---------- */
.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.founder-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}
section.block.alt .founder-card { background: var(--bg-alt); }
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.founder-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}
.founder-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.founder-card .role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.founder-card .contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founder-card .contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.founder-card .contacts a { color: var(--text); }
.founder-card .contacts a:hover { color: var(--accent); }
.founder-card .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ---------- Features list ---------- */
.features {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}
.feature-item {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateX(4px);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Roles list ---------- */
.roles {
  margin-top: 56px;
  display: grid;
  gap: 16px;
}
.role-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  transition: all 0.3s ease;
}
.role-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.role-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.role-item .meta {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 12px;
}
.role-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Values ---------- */
.values {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.value-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-item h3::before {
  content: "—";
  color: var(--accent);
  margin-right: 10px;
}
.value-item p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Contact box ---------- */
.contact-box {
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
section.block.alt .contact-box { background: var(--bg); }
.contact-box .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-box a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
footer .brand { color: var(--text); font-weight: 600; }
footer .dot { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .founders { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .container { padding: 0 24px; }
  section.block { padding: 72px 0; }
  .site-header nav a { margin-left: 16px; }
}
