:root {
  --bg: #FAFAF8;
  --card: #fff;
  --ink: #111;
  --muted: #5f5f5a;
  --line: #e6e4df;
  --accent: #C2410C;
  --logo: #E8590C;
  --r: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --card: #1b1b19;
    --ink: #f4f3ef;
    --muted: #a5a39b;
    --line: #2c2c29;
    --accent: #F2672A;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Expanded Header: Taller bar, bigger logo and menu fonts */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* increased from 64px */
}

.logo {
  font-weight: 700;
  font-size: 28px; /* increased from 22px */
  letter-spacing: -0.025em;
  text-decoration: none;
}

.logo b {
  color: var(--logo);
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  margin-left: 0;
  text-decoration: none;
  font-size: 17px; /* increased from 15px */
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

nav a.keep {
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font: 500 16px Inter, sans-serif;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 48px 0 12px;
  font-weight: 700;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 36px 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sub { color: var(--muted); margin: 0 0 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

input, select, textarea {
  width: 100%;
  font: 400 16px Inter, sans-serif;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 6px;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg { min-height: 24px; color: var(--accent); font-size: 15px; margin: 12px 0 0; }
.fine { font-size: 14px; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 64px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 820px) {
  header .wrap { height: 70px; }
  .logo { font-size: 24px; }
  nav { gap: 16px; }
  nav a { font-size: 15px; }
  nav a:not(.keep) { display: none; }
  .two { grid-template-columns: 1fr; }
}