:root {
  --paper: #fcfcfa;
  --ink: #202b33;
  --muted: #62686d;
  --accent: #203c53;
  --line: #dddfdf;
  --sans: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--muted); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #dbe5ed; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.page-shell { max-width: 1080px; margin: auto; padding: 0 48px; }
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  z-index: 10;
  background: var(--accent);
  color: white;
}
.skip-link:focus { top: 12px; }
.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
nav { display: flex; gap: 30px; font-size: 14px; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; }
.intro { padding: 70px 0 64px; }
.label { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
h1 { color: var(--accent); font-size: 58px; font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.intro-description { margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.intro-description a { color: inherit; }
.portfolio-link { display: inline-block; margin-top: 24px; font-size: 14px; }
.portfolio-link span, .contact-link span { margin-left: 6px; }
.content-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 38px 0 44px;
  border-top: 1px solid var(--line);
}
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.section-intro { max-width: 630px; color: var(--muted); font-size: 15px; }
.app-list { margin-top: 22px; }
.app-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; padding-bottom: 0; }
h3 { font-size: 15px; font-weight: 500; line-height: 1.65; }
.app-row p { color: var(--muted); font-size: 14px; }
.contact p { max-width: 610px; color: var(--muted); font-size: 15px; }
.contact-link { display: inline-block; margin-top: 18px; font-size: 14px; }
.site-footer {
  padding: 25px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-footer a { color: inherit; }
.legal { max-width: 690px; padding: 64px 0 72px; }
.legal h1 { font-size: 42px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; margin: 30px 0 10px; }
.legal p { margin-bottom: 16px; color: var(--muted); }
.legal .label { font-size: 13px; }

@media (max-width: 800px) {
  .page-shell { padding: 0 32px; }
  .content-section { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .app-row { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 540px) {
  .page-shell { padding: 0 24px; }
  .site-header { min-height: 80px; gap: 16px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  nav { gap: 20px; font-size: 13px; }
  .intro { padding: 48px 0 42px; }
  .label { font-size: 12px; margin-bottom: 18px; }
  h1 { font-size: clamp(38px, 9.3vw, 48px); }
  .intro-description { font-size: 16px; margin-top: 22px; }
  .portfolio-link { margin-top: 20px; }
  .content-section { grid-template-columns: 1fr; gap: 18px; padding: 28px 0 32px; }
  .app-list { margin-top: 10px; }
  .app-row { gap: 5px; padding: 17px 0; }
  .site-footer { display: block; font-size: 11px; padding: 22px 0 28px; }
  .site-footer a { display: inline-block; margin-top: 8px; }
  .legal { padding: 40px 0; }
  .legal h1 { font-size: 36px; }
}
