* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #263d38;
  --muted: #6c7972;
  --accent: #577a68;
  --accent-dark: #3f6252;
  --paper: #fffefa;
  --background: #f5f3ed;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 42px 18px;
  background: var(--background);
  color: var(--ink);
  font-family: "Cairo", "Tahoma", sans-serif;
  line-height: 1.9;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 28px 38px;
  border: 1px solid #e8e5dc;
  border-radius: 24px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 16px 42px rgb(42 60 50 / 6%);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid #e9eee8;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -116px;
  right: -74px;
}

.hero::after {
  bottom: -144px;
  left: -78px;
}

.hero-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 22px;
  background: #eaf0e8;
  color: var(--accent-dark);
  font-size: 2rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
}

.subtitle {
  margin: 2px 0 18px;
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-link {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid #e4e9e1;
  border-radius: 999px;
  color: var(--accent-dark);
  font-family: Arial, sans-serif;
  font-size: 0.93rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-link:hover {
  border-color: #cbd9cd;
  background: #f3f7f1;
}

.card {
  margin-top: 18px;
  padding: 25px 28px;
  border: 1px solid #e8e5dc;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgb(42 60 50 / 4%);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-icon {
  color: #829c82;
  font-size: 1.15rem;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.about p {
  margin: 0;
  color: #53625b;
  font-size: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills-list li {
  padding: 7px 15px;
  border: 1px solid #e3eae1;
  border-radius: 999px;
  background: #f2f6ef;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 600;
}

footer {
  padding: 22px 8px 0;
  color: var(--muted);
  font-size: 0.83rem;
  text-align: center;
}

footer span {
  padding: 0 5px;
  color: #9aaa97;
}

@media (max-width: 520px) {
  body {
    padding: 20px 13px;
  }

  .hero {
    padding: 32px 18px;
  }

  .card {
    padding: 21px 19px;
  }

  .about p br {
    display: none;
  }
}
