
:root {
  --bg: #f3f1ec;
  --paper: #fcfbf8;
  --ink: #1e2328;
  --muted: #5b646e;
  --line: #d9d3c8;
  --blue: #1f3552;
  --blue-2: #2c3642;
  --soft: #edf0f3;
  --cream: #fbf7ee;
  --copper: #a56a43;
  --rust: #8e463a;
  --dark: #14181d;
  --shadow: 0 24px 70px rgba(30, 35, 40, .14);
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 34px);
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(165, 106, 67, .16), transparent 34%), radial-gradient(circle at top right, rgba(31, 53, 82, .10), transparent 30%), var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin: 0 auto; }

.topline { background: var(--dark); color: #f0e6d8; font-size: .82rem; font-weight: 800; }
.topline-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topline strong { color: #fff; }
.topline a { border-bottom: 1px solid rgba(240, 230, 216, .38); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 248, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f3552, #2c3642);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 35px rgba(31, 53, 82, .28);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 12px;
  right: 9px;
  bottom: 10px;
  border-radius: 100% 0 100% 0;
  background: var(--copper);
  transform: rotate(-24deg);
}

.brand-mark span { position: relative; z-index: 1; font-weight: 900; letter-spacing: -.08em; font-size: 1.22rem; }
.brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-name { font-size: 1.22rem; line-height: 1; font-weight: 900; letter-spacing: -.035em; }
.brand-claim { color: var(--blue); font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 24px; color: #34443a; font-size: .92rem; font-weight: 800; }
.nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { border-color: var(--copper); color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 13px 30px rgba(31, 53, 82, .2);
  white-space: nowrap;
}

.btn.secondary { background: #fff; color: var(--blue); box-shadow: none; }

.hero { padding: clamp(38px, 6vw, 78px) 0 34px; }
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(31, 53, 82, .16);
  border-radius: 34px;
  background: linear-gradient(145deg, #fff, #f1eee6);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 6px rgba(165, 106, 67, .14); }
h1 { margin: 0; max-width: 10ch; font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 5.15rem); line-height: .92; letter-spacing: -.058em; overflow-wrap: anywhere; }
.hero-panel p { margin: 18px 0 0; color: #35463b; font-size: clamp(1.02rem, 1.35vw, 1.22rem); font-weight: 650; max-width: 720px; }

.facts { display: grid; gap: 10px; }
.facts span { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .86); color: var(--blue-2); font-size: .9rem; font-weight: 850; overflow-wrap: anywhere; }

.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 64px; }
.sidebox { position: sticky; top: 104px; padding: 18px; border: 1px solid rgba(31, 53, 82, .16); border-radius: 26px; background: rgba(255, 255, 255, .78); box-shadow: 0 18px 46px rgba(30, 35, 40, .08); }
.sidebox h2 { margin: 0 0 12px; color: var(--blue); font-size: .76rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.sidebox a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .92rem; font-weight: 820; }

.content { display: grid; gap: 18px; }
.card { padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(31, 53, 82, .16); border-radius: 30px; background: var(--paper); box-shadow: 0 18px 46px rgba(30, 35, 40, .08); scroll-margin-top: 110px; }
.card.dark { background: var(--dark); color: #fff; border-color: rgba(255, 255, 255, .12); }
.card.dark p, .card.dark li { color: rgba(255, 255, 255, .78); }
.card.dark h2 { color: #fff; }

.status-line { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--blue); font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.card h2 { margin: 10px 0 14px; font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 3rem); line-height: .96; letter-spacing: -.05em; }
.card h3 { margin: 28px 0 10px; color: var(--blue); font-size: .92rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.card p { margin: 0 0 14px; color: #34443a; font-size: 1rem; font-weight: 620; }
.card ul { margin: 0 0 18px; padding-left: 20px; color: #34443a; font-weight: 620; }
.card li { margin: 0 0 7px; }

.data { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.data dt, .data dd { margin: 0; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.data dt { background: #f3f1ec; color: var(--blue); font-weight: 950; }
.data dd { color: var(--ink); font-weight: 680; }
.card.dark .data dt { background: #f3f1ec; color: var(--blue); }
.card.dark .data dd { background: #fff; color: var(--ink); }
.card.dark .data a { color: var(--ink); }
.data dt:last-of-type, .data dd:last-of-type { border-bottom: 0; }

.notice { margin: 18px 0; padding: 16px 18px; border: 1px solid rgba(142, 70, 58, .24); border-left: 6px solid var(--rust); border-radius: 18px; background: #fff7f1; }
.notice strong { display: block; margin-bottom: 6px; color: var(--rust); font-size: .82rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }

.checkbox-preview { margin-top: 18px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.checkbox-preview label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink); font-weight: 720; }
.checkbox-preview input { margin-top: 4px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { color: var(--blue); font-size: .78rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: #fff; color: var(--ink); font: inherit; font-weight: 620; }
.field textarea { min-height: 150px; resize: vertical; }

.footer { padding: 44px 0 0; background: var(--dark); color: #f0e6d8; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 28px; padding-bottom: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-claim { color: #d7b38e; }
.footer-brand p { margin: 0; max-width: 390px; color: rgba(255,255,255,.64); font-size: .94rem; font-weight: 620; }
.footer-col h4 { margin: 0 0 12px; color: #fff; font-size: .85rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: rgba(255,255,255,.66); font-size: .92rem; font-weight: 650; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .82rem; font-weight: 650; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .hero-panel, .layout { grid-template-columns: 1fr; }
  .sidebox { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topline-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; gap: 4px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-name { font-size: 1.04rem; }
  .brand-claim { font-size: .61rem; letter-spacing: .04em; white-space: normal; }
  .btn { min-height: 43px; padding: 0 14px; font-size: .84rem; }
  h1 { max-width: none; font-size: clamp(2.55rem, 14vw, 4rem); line-height: .94; }
  .hero-panel { gap: 20px; }
  .facts { gap: 8px; }
  .data { grid-template-columns: 1fr; }
  .data dt { border-bottom: 0; padding-bottom: 4px; }
  .data dd { padding-top: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 16px 0; }
}

@media (max-width: 460px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .hero-panel, .card { border-radius: 24px; }
}
