:root {
  --ink: #102a43;
  --ink-soft: #486581;
  --muted: #627d98;
  --line: #d9e5ec;
  --paper: #f7fbfd;
  --white: #ffffff;
  --teal: #0da8a1;
  --teal-dark: #087f7a;
  --teal-pale: #e4f7f5;
  --gold: #f3b562;
  --shadow: 0 18px 60px rgba(16, 42, 67, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 20;
  padding: 10px 14px; background: var(--white); color: var(--ink);
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 251, 253, .92);
  border-bottom: 1px solid rgba(217, 229, 236, .9);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px; display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  color: var(--white); background: var(--ink); font-weight: 800; font-size: 12px;
  letter-spacing: .04em; box-shadow: inset 0 -5px 0 rgba(13, 168, 161, .9);
}
.brand-name { font-size: 15px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.brand-name span { display: block; color: var(--teal-dark); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 10px 11px; color: var(--ink-soft); font-size: 14px; font-weight: 700;
  border-radius: 10px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-pale); }
.header-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 17px; border: 0; border-radius: 10px;
  color: var(--white); background: var(--teal); font-weight: 800; font-size: 14px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta:hover, .button:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 168, 161, .2); }
.button.secondary { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.button.secondary:hover { background: var(--teal-pale); border-color: var(--teal); }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 10px; padding: 9px 12px; }

.hero {
  position: relative; overflow: hidden; padding: 84px 0 76px;
  background: var(--ink); color: var(--white);
}
.hero:before, .hero:after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero:before { width: 520px; height: 520px; right: -150px; top: -250px; background: rgba(13, 168, 161, .26); }
.hero:after { width: 360px; height: 360px; left: 34%; bottom: -290px; background: rgba(243, 181, 98, .13); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: 55px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow:before { content: ""; width: 24px; height: 2px; background: var(--gold); }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -.04em; }
h1 { max-width: 700px; font-size: clamp(38px, 6vw, 70px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; }
.hero p { max-width: 570px; margin: 0 0 27px; color: #ccdae5; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button.secondary { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.hero .button.secondary:hover { background: rgba(255,255,255,.15); }
.hero-art {
  min-height: 330px; position: relative; display: grid; place-items: center;
}
.art-orbit { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-25deg); }
.art-orbit:after { content: ""; position: absolute; width: 10px; height: 10px; top: 16px; right: 45px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 8px rgba(243,181,98,.12); }
.art-card {
  position: relative; width: min(300px, 90%); padding: 24px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  box-shadow: 0 25px 60px rgba(0,0,0,.25); transform: rotate(3deg);
}
.art-card small { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.art-card strong { display: block; margin: 18px 0 20px; font-size: 28px; line-height: 1.1; }
.art-lines { display: grid; gap: 9px; }
.art-lines i { display: block; height: 7px; border-radius: 5px; background: rgba(255,255,255,.22); }
.art-lines i:nth-child(2) { width: 78%; background: rgba(13,168,161,.75); }
.art-lines i:nth-child(3) { width: 88%; }

.section { padding: 78px 0; }
.section.compact { padding: 52px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.section-header p { max-width: 520px; margin: 0; color: var(--muted); }
.kicker { margin: 0 0 10px; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.search-box {
  display: flex; align-items: center; gap: 10px; max-width: 600px; margin-top: 26px;
  padding: 7px 7px 7px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #829ab0; }
.search-box button { border: 0; border-radius: 8px; padding: 11px 15px; color: var(--white); background: var(--teal); font-weight: 800; }
.hero .search-box { box-shadow: 0 18px 35px rgba(0,0,0,.18); }
.feature-grid, .article-grid, .category-grid, .footer-grid { display: grid; gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .article-card, .contact-card, .prose, .category-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(16,42,67,.04);
}
.feature-card { padding: 25px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 21px; border-radius: 12px; color: var(--teal-dark); background: var(--teal-pale); font-size: 19px; font-weight: 800; }
.feature-card p, .article-card p, .category-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { display: flex; flex-direction: column; overflow: hidden; }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.article-card h3 { font-size: 21px; }
.article-card h3 a:hover { color: var(--teal-dark); }
.article-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 13px; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-meta span:last-child { color: var(--muted); }
.read-more { margin-top: auto; padding-top: 20px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.read-more:after { content: " →"; }
.article-cover { min-height: 116px; padding: 20px; display: flex; align-items: end; color: var(--white); background: linear-gradient(135deg, #0b6971, #0da8a1); }
.article-cover.gold { background: linear-gradient(135deg, #b66e31, #f3b562); }
.article-cover.blue { background: linear-gradient(135deg, #1b4e6d, #4a90b5); }
.article-cover.purple { background: linear-gradient(135deg, #42446f, #8179ba); }
.article-cover strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.category-grid { grid-template-columns: repeat(5, 1fr); }
.category-card { padding: 20px; }
.category-card:hover { border-color: var(--teal); transform: translateY(-3px); transition: .2s ease; }
.category-card strong { display: block; margin-bottom: 7px; font-size: 16px; }
.category-card p { font-size: 12px; }
.band { background: var(--teal-pale); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 37px 40px; border-radius: 22px; background: var(--ink); color: var(--white); }
.cta-band h2 { margin-bottom: 7px; font-size: 30px; }
.cta-band p { margin: 0; color: #ccdae5; }
.ad-slot { display: grid; place-items: center; min-height: 105px; border: 1px dashed #aec4d2; border-radius: 14px; color: var(--muted); background: #f2f8fa; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { padding: 62px 0 48px; background: var(--ink); color: var(--white); }
.page-hero h1 { font-size: clamp(38px, 6vw, 56px); }
.page-hero p { max-width: 650px; margin: 0; color: #ccdae5; font-size: 17px; }
.breadcrumbs { margin-bottom: 18px; color: #9cb2c3; font-size: 13px; }
.breadcrumbs a:hover { color: var(--white); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.prose { padding: clamp(25px, 5vw, 48px); }
.prose h2 { margin-top: 35px; font-size: 28px; }
.prose h3 { margin-top: 26px; font-size: 19px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 21px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); }
.notice { padding: 17px 19px; border-left: 4px solid var(--teal); border-radius: 8px; background: var(--teal-pale); color: var(--ink-soft); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.side-card h3 { font-size: 17px; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li + li { border-top: 1px solid var(--line); }
.side-card a { display: block; padding: 10px 0; color: var(--ink-soft); font-size: 14px; }
.side-card a:hover { color: var(--teal-dark); }
.article-page .prose > h1 { font-size: clamp(30px, 5vw, 49px); }
.article-page .article-meta { margin-bottom: 22px; }
.article-summary { margin: 22px 0 30px; padding: 19px 21px; border: 1px solid #bde8e4; border-radius: 12px; background: #f1fbfa; }
.article-summary strong { display: block; margin-bottom: 7px; color: var(--teal-dark); }
.related { margin-top: 30px; }
.related .article-grid { grid-template-columns: repeat(2, 1fr); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card { padding: 24px; }
.contact-card h3 { margin-bottom: 8px; font-size: 17px; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-link { display: inline-block; margin-top: 13px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 13px; font-weight: 800; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; color: var(--ink); background: #fbfdfe; outline: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,168,161,.12); }
.form-note, .form-status { color: var(--muted); font-size: 12px; }
.form-status { min-height: 22px; margin: 12px 0 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-footer { padding: 54px 0 25px; background: #0c2033; color: #b8c9d5; }
.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); padding-bottom: 42px; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name span { color: #70d6cf; }
.footer-about { max-width: 300px; margin-top: 17px; font-size: 13px; }
.site-footer h3 { margin-bottom: 13px; color: var(--white); font-size: 13px; letter-spacing: .04em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { font-size: 13px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.cookie-banner {
  position: fixed; right: 18px; bottom: 18px; z-index: 12; display: flex; align-items: center; gap: 18px;
  max-width: 540px; padding: 15px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.cookie-banner button { white-space: nowrap; padding: 9px 12px; border: 0; border-radius: 8px; color: var(--white); background: var(--teal); font-weight: 800; font-size: 12px; }
.hidden { display: none !important; }

@media (max-width: 940px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; font-size: 13px; }
  .header-cta { padding: 10px 12px; font-size: 13px; }
  .hero-grid { gap: 25px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 30px, 580px); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; left: 15px; right: 15px; top: 74px; display: none; flex-direction: column; align-items: stretch;
    padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .header-cta { display: none; }
  .hero { padding: 62px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 230px; }
  .art-orbit { width: 220px; height: 220px; }
  .art-card { width: 250px; }
  .section { padding: 58px 0; }
  .section-header { display: block; }
  .section-header p { margin-top: 12px; }
  .feature-grid, .article-grid, .contact-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { display: block; padding: 28px; }
  .cta-band .button { margin-top: 20px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .related .article-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .cookie-banner { left: 15px; right: 15px; bottom: 15px; }
}