:root {
  --navy: #13253d;
  --gold: #d4a85b;
  --paper: #fffaf2;
  --bg: #f7f3eb;
  --text: #233149;
  --muted: #627084;
  --line: rgba(29, 45, 69, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f3eb 0%, #efe8de 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.topline {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: .75rem;
  padding: 8px 10px;
}

.topbar {
  background: rgba(255,249,241,.96);
  border-bottom: 1px solid rgba(23,37,58,.08);
}

.topbar .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.phone-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e2b86b 0%, #c89440 100%);
  color: #fff9ef;
  font-weight: 700;
}

.hero {
  background: var(--navy);
  color: #fff9ef;
}

.hero .shell {
  display: grid;
  gap: 20px;
  padding: 28px 0;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  max-width: 11ch;
}

.hero p {
  max-width: 54ch;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
}

.card {
  background: rgba(255,250,242,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  color: var(--text);
}

.stack {
  display: grid;
  gap: 10px;
}

.input,
.textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(39,56,79,.14);
  padding: 0 14px;
  font: inherit;
  background: var(--paper);
}

.textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.section {
  padding: 28px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
}

.grid {
  display: grid;
  gap: 16px;
}

.item {
  background: rgba(255,250,242,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 28px 0;
}

@media (min-width: 900px) {
  .hero .shell {
    grid-template-columns: 1.1fr .9fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
