:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1d2530;
  --muted: #5d6875;
  --line: #e1e5ea;
  --accent: #f07000;
  --accent-soft: #fff1e3;
  --slate: #3d5164;
  --slate-deep: #26343f;
  --error: #c0392b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15191d;
    --card: #1e2429;
    --text: #e8ecef;
    --muted: #a3adb7;
    --line: #2f373e;
    --accent: #ff9a2e;
    --accent-soft: #3a2a19;
    --error: #ff7b6b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); }
header {
  background: linear-gradient(150deg, var(--slate), var(--slate-deep));
  color: #fff;
}
.bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; }
nav { margin-left: auto; display: flex; gap: 18px; }
nav a { color: #d4dbe2; text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: #fff; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
code { font-size: 14px; }
footer { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; font-size: 13px; color: var(--muted); }

/* home */
.hero { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.hero img { width: 112px; height: 112px; flex: none; }
.hero p { margin: 0; font-size: 18px; color: var(--muted); }
.shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; margin: 24px 0; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
}
.button:hover { filter: brightness(1.08); }
ul.points { padding-left: 20px; }
ul.points li { margin: 6px 0; }

/* contact form */
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
label .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hidden { position: absolute; left: -9999px; }

@media (max-width: 560px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero img { width: 80px; height: 80px; }
  h1 { font-size: 26px; }
  nav { gap: 12px; }
  .brand span { display: none; }
}
