:root {
  color-scheme: light;
  --ink: #111820;
  --muted: #65727c;
  --line: #dde6e5;
  --paper: #f6faf8;
  --white: #ffffff;
  --green: #218878;
  --amber: #c2782c;
  --dark: #0a1017;
  --shadow: 0 22px 60px rgba(17, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(7, 13, 20, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--dark);
  background: linear-gradient(135deg, #f5fff8, #8ce2c1 58%, #edb05f);
  border-radius: 8px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 128px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.94) 0%, rgba(8, 12, 18, 0.78) 46%, rgba(8, 12, 18, 0.34) 100%),
    url("assets/personal-tech.webp") center / cover no-repeat,
    #0a1017;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.4vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--dark);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.about-copy,
.notes-band p {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

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

.info-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--green);
  background: #e8f7f0;
  border-radius: 8px;
  font-weight: 800;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.notes-band {
  display: flex;
  align-items: center;
  min-height: 280px;
  color: var(--white);
  background: linear-gradient(135deg, #0d1a20 0%, #163f34 70%, #6d451b 100%);
}

.notes-band > div {
  max-width: 820px;
}

.notes-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 26px 20px;
  color: #5d6974;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #4154a3;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 86vh;
    padding-top: 156px;
  }

  .split,
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .info-card {
    min-height: auto;
    padding: 24px;
  }
}
