@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --bg: #f3f1ed;
  --surface: #ffffff;
  --surface-2: #ece7df;
  --text: #171a21;
  --muted: #5a6271;
  --brand: #1d2b44;
  --brand-2: #3a4f6f;
  --accent: #b38a4b;
  --danger: #8a1f1f;
  --border: #d8d3ca;
  --shadow: 0 16px 40px rgba(23, 26, 33, 0.08);
  --shadow-strong: 0 22px 50px rgba(23, 26, 33, 0.12);
  --radius: 14px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top right, #f8f5f0 0, var(--bg) 45%, #ece9e1 100%);
  color: var(--text);
  line-height: 1.55;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--brand);
}

.logo-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  color: var(--brand);
  font-weight: 700;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(23, 26, 33, 0.08);
}

.site-nav.open {
  display: block;
}

.site-nav ul {
  margin: 0;
  padding: 1rem 1.2rem 1.3rem;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a.current,
.site-nav a:hover {
  color: var(--brand);
}

.site-nav .btn-primary,
.site-nav .btn-primary:hover,
.site-nav .btn-primary:visited {
  color: #fff;
}

.nav-label-desktop,
.nav-label-mobile {
  display: inline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 43, 68, 0.18);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--brand);
}

.btn-secondary:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 20px rgba(23, 26, 33, 0.08);
}

main {
  display: block;
}

.section {
  padding: 4rem 0;
}

.hero {
  padding: 4.8rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-grid-visual {
  align-items: center;
}

.kicker {
  display: inline-flex;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(29, 43, 68, 0.1);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
  color: var(--brand);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-highlight {
  background: linear-gradient(135deg, rgba(29, 43, 68, 0.08), rgba(179, 138, 75, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.note-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.note-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem 0.8rem;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(23, 26, 33, 0.04);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.list-clean li {
  padding-left: 1rem;
  position: relative;
  color: var(--muted);
}

.list-clean li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 99px;
  background: var(--accent);
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.table-wrap th,
.table-wrap td {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem;
  text-align: left;
}

.table-wrap th {
  color: var(--brand);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #efe8db;
  color: #5b4a2a;
  font-size: 0.78rem;
  font-weight: 700;
}

form {
  display: grid;
  gap: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.74rem 0.82rem;
  border-radius: 10px;
  font: inherit;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(29, 43, 68, 0.22);
  border-color: var(--brand);
}

small,
.helper {
  color: var(--muted);
  font-size: 0.86rem;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.radio-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
}

.status-box {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #faf7f2;
  padding: 0.8rem;
  color: var(--brand);
  font-weight: 600;
}

.status-box.success {
  border-color: #88ba8f;
  background: #e9f7eb;
}

.status-box.error {
  border-color: #e2a4a4;
  background: #fff1f1;
  color: var(--danger);
}

.user-required {
  border: 2px solid #bf5b5b;
  background: #fff3f3;
  border-radius: 10px;
  padding: 0.8rem;
  margin: 1rem 0;
}

.user-required strong {
  display: block;
  color: #8a1f1f;
  margin-bottom: 0.35rem;
}

.cta-band {
  background: linear-gradient(130deg, #202f4d, #2c3d62);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-strong);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

.faq-item details summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
}

.image-placeholder {
  min-height: 220px;
  border: 2px dashed #b8ae9e;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(179, 138, 75, 0.08), rgba(29, 43, 68, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.65),
      rgba(255, 255, 255, 0.65) 14px,
      rgba(236, 231, 223, 0.65) 14px,
      rgba(236, 231, 223, 0.65) 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.image-placeholder-tall {
  min-height: 340px;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.compact-grid {
  gap: 0.8rem;
}

.site-footer {
  margin-top: 2rem;
  background: #121a2a;
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0 1.4rem;
}

.site-footer h2,
.site-footer p {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.45rem 0.8rem;
}

.footer-small {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav-label-desktop {
    display: inline;
  }

  .nav-label-mobile {
    display: none;
  }

  .site-header-inner {
    min-height: 82px;
    gap: 1rem;
  }

  .logo {
    flex: 0 0 270px;
    font-size: 1.15rem;
    line-height: 1.05;
  }

  .logo-tag {
    margin-top: 0.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    max-width: 220px;
  }

  .site-nav {
    position: static;
    display: block;
    border-bottom: none;
    background: transparent;
    box-shadow: none;
    flex: 1 1 auto;
  }

  .site-nav ul {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .site-nav .btn {
    padding: 0.58rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 999px;
    min-width: 0;
    box-shadow: 0 10px 20px rgba(29, 43, 68, 0.14);
  }

  .hero-grid,
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

  .card-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 759px) {
  .nav-label-desktop {
    display: none;
  }

  .nav-label-mobile {
    display: inline;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding: 3.8rem 0 2.8rem;
  }

  .card,
  .cta-band,
  .hero-highlight {
    padding: 1.1rem;
  }

  .image-placeholder {
    min-height: 180px;
  }

  .image-placeholder-tall {
    min-height: 260px;
  }
}