:root {
  --ink: #18202b;
  --muted: #637083;
  --line: #dce4ec;
  --paper: #fbfcfd;
  --soft: #eef6f3;
  --mint: #4fb99f;
  --coral: #f26f5b;
  --navy: #25364d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  min-height: calc(100vh - 73px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(79, 185, 159, 0.14), transparent 38%),
    linear-gradient(180deg, var(--white), var(--soft));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  background: var(--white);
}

.workspace-visual {
  width: min(100%, 540px);
  justify-self: end;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 15px;
  background: #f2f5f7;
  border-bottom: 1px solid #cbd6e2;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-bar span:nth-child(2) {
  background: #f0bf4d;
}

.browser-bar span:nth-child(3) {
  background: var(--mint);
}

.code-window {
  min-height: 330px;
  padding: clamp(22px, 4vw, 36px);
  color: #d8f4ed;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.92rem, 2vw, 1.08rem);
}

.code-window p {
  margin: 0 0 12px;
}

.code-window .muted {
  color: #93a8bd;
}

.code-window .string {
  color: #ffd36b;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro > p,
.steps p,
.project-card p {
  color: var(--muted);
}

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

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

.project-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--mint);
  font-weight: 900;
}

.project-card p {
  margin: 14px 0 0;
}

.skills-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-list span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps > div {
  padding-left: 18px;
  border-left: 4px solid var(--mint);
}

.steps strong {
  display: block;
  font-size: 1.08rem;
}

.steps p {
  margin: 6px 0 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(28px, 5vw, 56px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.contact-band .eyebrow {
  color: #8de4cf;
}

.contact-band h2 {
  max-width: 760px;
}

.contact-band .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .workspace-visual {
    justify-self: start;
  }

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

@media (max-width: 520px) {
  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .button,
  .contact-band .button.primary {
    width: 100%;
  }
}
