:root {
  --ink: #0c1422;
  --ink-2: #4b5566;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --line: #d8dde4;
  --accent: #0a4ea8;
  --accent-deep: #07306c;
  --accent-soft: #e2ecf9;
  --ff-sans:  "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-serif: "IBM Plex Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: .85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  flex: 0 0 auto;
}
@media (max-width: 540px) {
  .brand-logo { height: 32px; }
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .92rem;
}
.topbar nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav .btn-login {
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 7px;
  font-weight: 500;
}
.topbar nav .btn-login:hover { background: var(--accent-deep); color: #fff; }

@media (max-width: 720px) {
  .topbar nav { gap: .9rem; }
  .topbar nav a:not(.btn-login) { display: none; }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.55) saturate(1.05);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  padding: 5rem 0 3.5rem;
}
.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem;
  color: #fff;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b9c9e6;
  margin-bottom: .8rem;
}
.hero-content h1 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw + 0.3rem, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  max-width: 22ch;
}
.hero-sub {
  font-size: clamp(1rem, .5vw + .85rem, 1.2rem);
  color: #e6ecf6;
  max-width: 56ch;
  margin: 0 0 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.2rem;
  border-radius: 7px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); text-decoration: none; }
.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); text-decoration: none; }

.section { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.section h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
.section p { color: var(--ink-2); max-width: 64ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
}
.cards .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
}
.cards .card h3 {
  margin: 0 0 .35em;
  font-size: 1.05rem;
  color: var(--accent-deep);
}
.cards .card p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.4rem 0 1.6rem;
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--ink-2);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
