/* ============================================================
   Tired of Cancer — site styles
   Brand green (untire.app): #4C865C
   ============================================================ */

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #4C865C;
  --green-dark: #3c6b49;
  --green-light: #eef4f0;
  --text: #404040;
  --heading: #2b2b2b;
  --white: #ffffff;
  --max-width: 1140px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  background: var(--white);
}

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

h1, h2, h3 { color: var(--green); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.7rem; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo img { width: 200px; height: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-list a {
  text-decoration: none;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--green); }
.nav-cta {
  color: var(--green) !important;
}
.lang-switch { display: flex; gap: 0.5rem; font-size: 2rem; }
.lang-switch a { text-decoration: none; opacity: 0.45; }
.lang-switch a.active, .lang-switch a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--heading);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url("/assets/img/hero.webp") center / cover no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 40, 28, 0.68) 0%, rgba(20, 40, 28, 0.38) 50%, rgba(20, 40, 28, 0) 78%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-text { max-width: 560px; }
.hero h1 {
  color: var(--white);
  font-size: 2.1rem;
}
.hero-sub {
  color: var(--white);
  font-size: 1.25rem;
  margin: 1rem 0 1.75rem;
}

/* ---------- Video ---------- */
.video-block { padding: 2rem 0 2.5rem; text-align: center; }
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 760px;
  margin: 1.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-facade iframe { width: 100%; height: 100%; border: 0; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.video-facade:hover .play-btn { background: var(--green-dark); transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Discover / app section ---------- */
.discover { padding: 3rem 0 4rem; }
.discover h2.no-line { text-align: center; margin-bottom: 2rem; }
.feature-list { margin: 0 0 2rem 1.4rem; }
.feature-list li { margin-bottom: 0.6rem; }
.feature-list li::marker { color: var(--green); }
.screenshots { padding-top: 1rem; padding-bottom: 2rem; }
.screenshots img { margin: 0 auto; }

/* ---------- Mission ---------- */
.mission { padding-top: 4rem; }
.mission h2 { color: var(--green); font-size: 2rem; }
.mission-text { font-size: 1.15rem; max-width: 720px; margin: 0 auto 2.5rem; }
.mission-strip img { width: 100%; }

/* ---------- Founders ---------- */
.founders-section { padding: 3.5rem 0 2rem; background: var(--green-light); }
.founders-section h2 { text-align: center; margin-bottom: 2.5rem; }
.team-grid.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.team-card { text-align: center; }
.team-photo {
  border-radius: 50%;
  width: 170px;
  height: 170px;
  object-fit: cover;
  margin: 0 auto 1rem;
}
.team-card h3 { margin-bottom: 0.2rem; }
.founder-card {
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.5rem;
  width: 100%;
}
.founder-title {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}
.founder-points {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 1rem auto 0;
}
.founder-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.founder-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact { padding: 4rem 0 5rem; }
.contact-heading { text-align: center; margin-bottom: 4rem; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.contact-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

/* ---------- Privacy / legal ---------- */
.privacy { padding: 3.5rem 0 4.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal ul { margin: 0 0 1rem 1.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-light);
  border-top: 4px solid var(--green);
  padding: 2rem 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.footer-inner p { margin: 0; text-transform: uppercase; letter-spacing: 0.03em; }
.ce-mark { width: 64px; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
  }
  .main-nav { position: static; }
  body.nav-open .nav-list { display: flex; }
  .hero h1 { font-size: 1.6rem; }
  .hero { min-height: 440px; }
}
