:root {
  --ink: #2e2e2e;
  --ink-soft: #4a4a4a;
  --ink-faint: #7a756c;
  --accent: #f07d18;
  --accent-strong: #d96e10;
  --bg: #ffffff;
  --rule: #e6e2da;
  --radius: 6px;
  --max: 720px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(240, 125, 24, 0.18); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header { padding: 36px 0 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 44px; width: auto; display: block; transition: opacity 0.15s ease; }
.logo:hover img { opacity: 0.75; }
nav { display: flex; gap: 28px; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
nav a:hover { color: var(--accent); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

main { padding: 96px 0 0; }
main > :first-child { margin-top: 0; }
h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.lede { font-size: 19px; color: var(--ink-soft); margin-bottom: 18px; }
p + p { margin-top: 18px; }

section { margin-top: 72px; }
h2,
h1.eyebrow {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}
ul { list-style: none; }
ul li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}
ul li:last-child { border-bottom: 1px solid var(--rule); }
ul li strong { color: var(--ink); font-weight: 600; }

a.mail { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a.mail:hover { text-decoration: underline; }

form { max-width: 480px; }
p + form, p + .form-card { margin-top: 32px; }
.field input::placeholder,
.field textarea::placeholder { color: #a9a49b; }
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 125, 24, 0.15);
}
.field textarea { resize: vertical; min-height: 150px; }
button[type="submit"] {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 15px;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease;
}
button[type="submit"]:hover { background: var(--accent-strong); }
button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}
.form-error {
  margin-top: 14px;
  color: #a32929;
  font-size: 0.92rem;
}

.form-card {
  max-width: 480px;
  padding: 40px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
}
.form-card:focus { outline: none; }
.form-card .check {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  line-height: 44px;
}
.form-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.form-card p {
  font-size: 15px;
  color: var(--ink-soft);
}
.form-card p + p { margin-top: 10px; }

footer {
  margin-top: 96px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-faint);
}
footer a { color: var(--ink-soft); text-decoration: none; transition: color 0.15s ease; }
footer a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  main { padding: 64px 0 0; }
  section { margin-top: 56px; }
  footer { margin-top: 64px; }
  .logo img { height: 36px; }

  .nav-toggle {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
  }

  .logo,
  .nav-burger {
    position: relative;
    z-index: 30;
  }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 24px;
    height: 24px;
    padding: 10px;
    margin: -10px;
    box-sizing: content-box;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, background 0.15s ease;
  }
  .nav-burger:hover span { background: var(--accent); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 124px 24px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-toggle:checked ~ nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s ease;
  }
  nav a {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    padding: 22px 0;
    border-top: 1px solid var(--rule);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.15s ease;
  }
  nav a:last-child { border-bottom: 1px solid var(--rule); }
  nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
  .nav-toggle:checked ~ nav a {
    opacity: 1;
    transform: none;
  }
  .nav-toggle:checked ~ nav a:nth-of-type(1) { transition-delay: 0.06s; }
  .nav-toggle:checked ~ nav a:nth-of-type(2) { transition-delay: 0.13s; }
  .nav-toggle:checked ~ nav a:nth-of-type(3) { transition-delay: 0.2s; }

  body:has(.nav-toggle:checked) { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  nav,
  nav a,
  .nav-burger span {
    transition: none;
  }
}
