
:root {
  --bg: #f4f5fb;
  --bg-alt: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #1c274c;
  --accent: #00b8d9;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

nav a.active {
  background: var(--primary);
  color: #fff;
}

nav a:hover {
  background: #e5e7f5;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.hero {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 26px 22px 26px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

section {
  margin-bottom: 26px;
}

h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 10px;
}

.muted {
  color: var(--muted);
}

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

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 14px 12px;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(15,23,42,0.04);
}

.card h3 {
  margin: 8px 0 6px;
  font-size: 15px;
}

.card p {
  margin: 0;
}

.card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

ul { padding-left: 20px; }
li { margin-bottom: 4px; }

form {
  max-width: 480px;
  margin-top: 10px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

input, textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 10px;
  background: #fff;
}

textarea { min-height: 120px; resize: vertical; }

button { font-family: inherit; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  nav { justify-content: flex-start; }
}
