:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --text: #1d2a22;
  --muted: #5f6f63;
  --accent: #2f7a58;
  --accent-soft: #e8f4ee;
  --border: #dfe6e1;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 30px rgba(19, 37, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, #edf6ef 0%, transparent 38%),
    radial-gradient(circle at 88% 10%, #eef3ff 0%, transparent 36%),
    var(--bg);
  line-height: 1.65;
}

.about-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 18px 84px;
  width: 100%;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher .fi {
  display: inline-block;
  width: 1.333em;
  height: 1em;
  vertical-align: middle;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: #b9c9bf;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
  min-width: 0;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f7a58, #4ca47a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 122, 88, 0.28);
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 44px clamp(22px, 5vw, 52px);
  margin-bottom: 44px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: start;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #245e45;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  overflow-wrap: anywhere;
}

.hero-subheading {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2.8vw, 1.22rem);
  max-width: 52ch;
  overflow-wrap: anywhere;
}

.founder-photo-placeholder {
  border: 2px dashed #bdd3c5;
  border-radius: 16px;
  background: linear-gradient(180deg, #f2f8f4 0%, #f8fbf9 100%);
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: #4f6859;
  width: 100%;
}

.founder-photo-placeholder i {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.founder-photo-placeholder strong {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 4px;
}

.founder-photo-placeholder span {
  font-size: 0.86rem;
  color: #678071;
  overflow-wrap: anywhere;
}

section {
  margin-bottom: 34px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.02rem;
}

.story p {
  margin: 0 0 14px;
  color: #34443a;
  overflow-wrap: anywhere;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fcfdfb;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 172px;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(19, 37, 28, 0.08);
}

.value-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.value-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.new-note {
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, #edf7f1 0%, #f8fbf9 70%);
  border-radius: 0 16px 16px 0;
  padding: 18px 18px 18px 16px;
  color: #2e4135;
}

.new-note p {
  margin: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: #1f3628;
  color: #f3fbf6;
  border-radius: var(--radius-lg);
  padding: 26px clamp(18px, 4vw, 30px);
  box-shadow: 0 18px 32px rgba(17, 35, 25, 0.22);
}

.cta-text h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.cta-text p {
  margin: 0;
  color: rgba(243, 251, 246, 0.88);
  max-width: 50ch;
  overflow-wrap: anywhere;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}

.btn-cta-primary,
.btn-cta-secondary {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  white-space: normal;
}

.btn-cta-primary {
  background: #f3fbf6;
  color: #1f3628;
}

.btn-cta-secondary {
  background: transparent;
  color: #f3fbf6;
  border: 1px solid rgba(243, 251, 246, 0.34);
}

.btn-cta-primary:hover,
.btn-cta-secondary:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.btn-cta-primary:hover {
  color: #1f3628;
}

.btn-cta-secondary:hover {
  color: inherit;
}

.placeholder-tag {
  color: #7b5b17;
  background: #fff8e2;
  border: 1px solid #f2dc96;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.8rem;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-subheading {
    max-width: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .founder-photo-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .about-page {
    padding: 16px 14px 60px;
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .language-switcher {
    width: 100%;
  }

  .lang-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .panel,
  .hero {
    border-radius: 18px;
    padding: 22px 16px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(1.6rem, 8vw, 2rem);
    line-height: 1.14;
    max-width: none;
  }

  .hero-subheading {
    font-size: 0.98rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    padding: 6px 10px;
  }

  .cta-box {
    border-radius: 18px;
    padding: 20px 16px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .about-page {
    padding: 12px 10px 44px;
  }

  .hero,
  .panel,
  .cta-box {
    border-radius: 16px;
  }

  .hero,
  .panel {
    padding: 18px 14px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero h1,
  .hero h2 {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .hero-subheading,
  .section-lead,
  .story p,
  .value-card p,
  .new-note p,
  .cta-text p {
    font-size: 0.93rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .founder-photo-placeholder {
    min-height: 180px;
    padding: 16px 12px;
  }

  .founder-photo-placeholder strong {
    font-size: 0.88rem;
  }

  .founder-photo-placeholder span {
    font-size: 0.8rem;
  }

  .value-card {
    min-height: 0;
    padding: 16px 14px;
  }

  .cta-box {
    padding: 18px 14px;
  }
}

@media (max-width: 360px) {
  .about-page {
    padding: 10px 8px 40px;
  }

  .hero,
  .panel {
    padding: 16px 12px;
  }

  .hero-grid {
    gap: 12px;
  }

  .eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    line-height: 1.3;
    padding: 5px 8px;
  }

  .hero h1,
  .hero h2 {
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .hero-subheading {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .founder-photo-placeholder {
    min-height: 156px;
    padding: 14px 10px;
  }

  .founder-photo-placeholder i {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .founder-photo-placeholder strong {
    font-size: 0.82rem;
  }

  .founder-photo-placeholder span {
    font-size: 0.74rem;
    line-height: 1.45;
  }
}
