/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --text-main: #151820;
  --text-muted: #737886;
  --border-subtle: #e1e4ea;
  --accent: #4b4e63;
  --accent-soft: #f0f1f7;
  --link: #323654;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 40px rgba(9, 11, 23, 0.08);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 860px;
  margin: 48px auto 56px auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h2, h3 {
  font-family: 'Arsenal', 'Mulish', system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  line-height: 1.3;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.brand-title {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-muted);
}

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

.nav-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(75, 78, 99, 0.25);
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.icon-link {
  font-size: 14px;
  color: var(--link);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.icon-link:hover {
  color: var(--accent);
  border-color: rgba(75, 78, 99, 0.4);
}

/* ===== CONTENT ===== */
.content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  padding: 20px 22px 22px 22px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.section-title {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.section p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
}

.section p + p {
  margin-top: 8px;
}

/* ===== SECTION BLOCKS & LISTS ===== */
.section-block {
  margin-bottom: 16px;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.plain-list li {
  margin-bottom: 4px;
}

.plain-list li:last-child {
  margin-bottom: 0;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px 13px 14px;
  background-color: #fcfcfe;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 17, 38, 0.12);
  border-color: rgba(75, 78, 99, 0.38);
}

.card-title {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
}

.card-meta {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.primary-link,
.secondary-link {
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.primary-link {
  background-color: var(--accent);
  color: #ffffff;
}

.primary-link:hover {
  background-color: #393b4c;
}

.secondary-link {
  background-color: transparent;
  color: var(--link);
  border-color: var(--border-subtle);
}

.secondary-link:hover {
  border-color: rgba(75, 78, 99, 0.6);
  background-color: var(--accent-soft);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ===== BRAND DOMAIN HIGHLIGHT ===== */
.brand-title .brand-domain {
  color: var(--accent);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.brand-title .brand-domain::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
  border-radius: 1px;
  pointer-events: none;
}

.brand-title .brand-domain:hover::after {
  opacity: 1;
  height: 2px;
  bottom: 2px;
  transition: all 0.15s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .page {
    margin: 28px auto 32px auto;
    padding: 0 14px;
  }

  .header {
    gap: 14px;
  }

  .section {
    padding: 16px 14px 18px 14px;
  }

  .section-title {
    font-size: 15px;
  }

  .brand-title .brand-domain::after {
    height: 1px;
    bottom: 2px;
  }
}