/* convivy.com — single-page parent-brand site
 * Typography: Outfit (Google Fonts, OFL) for display; Inter for body.
 * See typography section in README. */

:root {
  --bg: #FAF8F2;
  --ink: #1F2A24;
  --muted: #5a6660;
  --rule: #E5E0D2;
  --green: #2F6B4F;
  --green-deep: #234f3a;
  --gold: #C9892A;
  --gold-soft: #E8B340;
  --card: #ffffff;
  --max: 880px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 40px;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }

h1, h2, h3 {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

/* Hero ---------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 24px 0 12px;
}

.hero .mark {
  width: 92px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.hero h1 {
  font-size: 56px;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 10px;
}

.hero .kicker {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 540px;
}

/* Thesis -------------------------------------------------------- */
.thesis {
  margin: 56px 0 64px;
  padding: 28px 32px;
  background: #fff;
  border-left: 3px solid var(--gold-soft);
  border-radius: 2px;
}

.thesis p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.thesis em {
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

/* Section headers ----------------------------------------------- */
section h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--rule);
}

/* Products ------------------------------------------------------ */
.products { margin-bottom: 64px; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px 26px;
  color: var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 42, 36, 0.08);
}

.card.vivy:hover { border-color: var(--gold); }
.card.constance:hover { border-color: var(--green); }

.card h3 {
  font-size: 26px;
  margin: 0 0 4px;
}

.card.vivy h3 { color: var(--gold); }
.card.constance h3 { color: var(--green); }

.card .role {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 12px;
}

.card .desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}

.card .link {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: inherit;
}

.card.vivy .link { color: var(--gold); }
.card.constance .link { color: var(--green); }

/* Founders ------------------------------------------------------ */
.founders { margin-bottom: 56px; }

.founders article {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 22px 26px;
}

.founders article h3 {
  font-size: 22px;
  margin: 0 0 2px;
  color: var(--ink);
}

.founders .role {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.founders article p:not(.role) {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Footer / contact --------------------------------------------- */
.contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 20px;
}

.contact .label {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 6px;
}

.contact p {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.contact .fineprint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* Responsive ---------------------------------------------------- */
@media (max-width: 640px) {
  main { padding: 36px 20px 28px; }
  .hero h1 { font-size: 44px; }
  .hero .kicker { font-size: 17px; }
  .thesis { padding: 22px 20px; margin: 36px 0 48px; }
  .thesis p { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .contact .row { grid-template-columns: 1fr; gap: 18px; }
}
