:root {
  --background: #f4f6f8;
  --card: #ffffff;
  --text: #172033;
  --secondary: #5d6678;
  --accent: #087ff5;
  --accent-dark: #005dcc;
  --border: #dfe4ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--accent); text-underline-offset: 3px; }
.container { width: min(1060px, calc(100% - 36px)); margin: 0 auto; }

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-content {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 750;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(23, 32, 51, 0.14);
}

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }

header {
  padding: 52px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}

.header-content { width: min(900px, 100%); margin: 0 auto; }
header h1 { margin: 0 0 10px; font-size: clamp(32px, 6vw, 48px); line-height: 1.15; }
header p { margin: 0; color: rgba(255,255,255,.88); font-size: 19px; }

main { width: min(900px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 56px; }

section {
  margin: 18px 0;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(23,32,51,.05);
}

h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.3; }
h3 { margin: 22px 0 8px; }
p { margin: 12px 0; }
ul, ol { padding-left: 24px; }
li { margin: 7px 0; }

.notice {
  padding: 18px;
  background: #e9f3ff;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  margin: 5px 8px 5px 0;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary { background: white; color: var(--accent-dark); border: 1px solid var(--accent); }
address { font-style: normal; }

footer { padding: 32px 0; background: #0f1726; color: #dce3ee; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer p { margin: 4px 0; }
footer a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 600px) {
  .nav-content { min-height: 62px; }
  .nav-links a:first-child { display: none; }
  header { padding: 38px 20px; }
  section { padding: 20px; border-radius: 14px; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}
