:root {
  --page-bg: #dfe6ef;
  --surface: #f7f7f9;
  --card: rgba(255,255,255,.94);
  --text: #41474c;
  --muted: #626a70;
  --accent: #6f8799;
  --accent-dark: #5d788b;
  --line: rgba(72,88,99,.13);
  --shadow: 0 18px 48px rgba(32,48,59,.10), 0 2px 8px rgba(32,48,59,.05);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -15%, rgba(255,255,255,.88), rgba(255,255,255,0) 42%),
    var(--page-bg);
}

a { color: var(--accent-dark); }
a:hover { color: #4f6e83; }

.site-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 24px 0 34px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: var(--text);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.02em;
  text-decoration: none;
}

.wordmark::before {
  content: '';
  position: absolute;
  left: -14px;
  right: -20px;
  top: 50%;
  height: 28px;
  transform: translateY(-50%) rotate(-1.2deg);
  border-radius: 60% 44% 58% 42% / 56% 45% 55% 44%;
  background: linear-gradient(90deg, rgba(150,169,183,.18), rgba(111,135,153,.28), rgba(173,157,146,.17));
  filter: blur(.2px);
  z-index: -1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(79,111,130,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.page-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 34px 36px 28px;
  background: linear-gradient(180deg, rgba(111,135,153,.96), rgba(95,119,137,.96));
  color: white;
}

.page-kicker {
  margin: 0 0 8px;
  color: rgba(255,255,255,.74);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hero-copy {
  max-width: 590px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.87);
  font-size: 14px;
  line-height: 1.65;
}

.page-content {
  padding: 10px 36px 34px;
}

.content-section {
  padding: 25px 0 22px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child { border-bottom: 0; padding-bottom: 4px; }

h2 {
  margin: 0 0 10px;
  color: #343b40;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -.015em;
}

h3 {
  margin: 18px 0 8px;
  color: #41484d;
  font-size: 14px;
  font-weight: 550;
}

p, li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

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

.info-box {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(111,135,153,.13);
  border-radius: 17px;
  background: rgba(223,230,239,.42);
}

.info-box strong {
  display: block;
  margin-bottom: 4px;
  color: #46545e;
  font-size: 12px;
  font-weight: 550;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid rgba(79,111,130,.16);
  border-radius: 999px;
  background: rgba(236,240,244,.92);
  color: #56778e;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(45,67,82,.06), inset 0 1px 0 rgba(255,255,255,.78);
}

.credit-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.credit-item {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.64);
}

.credit-item strong {
  display: block;
  margin-bottom: 3px;
  color: #40494f;
  font-size: 13px;
  font-weight: 550;
}

.credit-item span,
.credit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer {
  padding: 22px 8px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #5e737f;
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
}

.copyright {
  margin: 0;
  color: rgba(65,71,76,.57);
  font-size: 10.5px;
}

.updated {
  margin-top: 8px;
  color: rgba(255,255,255,.64);
  font-size: 11px;
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 20px, 760px); padding-top: 12px; }
  .site-header { margin-bottom: 10px; }
  .wordmark { font-size: 20px; }
  .back-link { min-height: 36px; padding: 0 12px; font-size: 11px; }
  .page-card { border-radius: 23px; }
  .page-hero { padding: 28px 22px 24px; }
  .page-content { padding: 8px 22px 28px; }
  .content-section { padding: 22px 0 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
