/* =============================
   ROOT VARIABLES
============================= */

:root{
  --text: #222;
  --muted: #666;
  --link: #1a73e8;
  --bg: #fff;
  --border: #e8e8e8;
  --max: 980px;
}

/* =============================
   GLOBAL RESET & TYPOGRAPHY
============================= */

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

a{
  color: var(--link);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

/* =============================
   LAYOUT
============================= */

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px;
}

/* =============================
   NAVIGATION
============================= */

.nav{
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 10px 0 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.nav a{
  color: var(--muted);
  font-weight: 500;
}

.nav a.active{
  color: var(--text);
}

/* =============================
   HERO
============================= */

.hero{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}

.hero-text{
  background: #fafafa;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.hero-image{
  display: flex;
  justify-content: flex-end;
}

.photo{
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  display: block;
}

/* =============================
   HEADINGS & TEXT
============================= */

h1{
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 8px 0;
  font-weight: 700;
}

h2{
  font-size: 21px;
  margin: 26px 0 10px 0;
  font-weight: 700;
}

p{
  margin: 0 0 12px 0;
}

.muted{
  color: var(--muted);
}

/* =============================
   FOOTER (ONLY SEPARATOR LINE)
============================= */

.footer{
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-lines{
  line-height: 1.5;
}

.footer-lines a{
  color: var(--muted);
}

.footer-lines a:hover{
  color: var(--link);
}

/* =============================
   RESPONSIVE
============================= */

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

  .photo{
    max-width: 260px;
  }

  .hero-text{
    padding: 12px 14px;
  }
}
