:root {
  --ink: #f3efe6;
  --muted: #b7c3cf;
  --line: rgba(243, 239, 230, 0.16);
  --field: #071018;
  --yellow: #e4f25a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--field);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--yellow); }

.wrap {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

nav { display: flex; gap: 18px; }

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  align-items: center;
  padding: 40px 0 12px;
}

.logo-frame {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  overflow: hidden;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

h1 {
  margin: 0 0 8px;
  font-family: Palatino, "Iowan Old Style", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  color: var(--muted);
}

section { padding-top: 36px; }

h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

ul { margin: 0; padding-left: 1.15em; }

li + li { margin-top: 6px; }

.form-frame {
  margin-top: 18px;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.form-frame iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
}
