:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8a8a8a;
  --line: #222;
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--fg); color: var(--bg); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.link { color: var(--fg); border-bottom: 1px solid var(--muted); }
.link:hover { border-color: var(--fg); }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav nav { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--fg); }

/* Hero */
.hero { padding: clamp(56px, 9vh, 104px) 0 clamp(72px, 11vh, 120px); }
.hero h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; max-width: 12ch; }
.hero p { font-size: 18px; color: var(--muted); max-width: 32em; margin: 24px 0 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 6px;
  background: var(--fg); color: var(--bg);
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: opacity .15s;
}
.btn:hover { opacity: .8; }

/* Sections: label on the left, content on the right */
main section:not(.hero) {
  display: grid; grid-template-columns: minmax(160px, 1fr) 4fr; column-gap: var(--gutter);
  padding: 32px 0 88px; border-top: 1px solid var(--line);
}
main section:not(.hero) > :not(h2) { grid-column: 2; }
h2 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-top: 6px; }

/* Work */
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
#work .row { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; }
#work .row span:first-child { font-weight: 700; }
#work .row .muted { font-size: 15px; letter-spacing: 0; }
a.row:hover span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.plan { flex-direction: column-reverse; justify-content: flex-end; gap: 16px; }
.price { font-size: clamp(28px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.plan h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.plan p { font-size: 15px; }
.note { margin-top: 36px; font-size: 14px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.intro { font-size: clamp(19px, 1.7vw, 24px); color: var(--fg); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 28px; }
form { display: grid; gap: 12px; }
input, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: #0b0b0b; color: var(--fg); font: inherit; font-size: 16px; resize: vertical;
}
input::placeholder, textarea::placeholder { color: #5c5c5c; }
input:focus, textarea:focus { outline: none; border-color: var(--muted); }
.invalid { border-color: #ff5a4f; }
form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Footer */
.footer { display: flex; justify-content: space-between; padding-block: 32px 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}
@media (max-width: 760px) {
  main section:not(.hero) { grid-template-columns: 1fr; row-gap: 28px; padding-bottom: 72px; }
  main section:not(.hero) > :not(h2) { grid-column: 1; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  #work .row { flex-wrap: wrap; gap: 4px 16px; }
  #work .row span:nth-child(2) { order: 3; flex-basis: 100%; }
  .nav nav { gap: 20px; }
}
@media (max-width: 480px) {
  .plans { grid-template-columns: 1fr; }
}
