:root {
  --color-base: #f2f3f7;
  --color-surface: #ffffff;
  --color-surface-strong: #e7e9f0;
  --color-text: #293356;
  --color-muted: #59617b;
  --color-accent: #293356;
  --color-accent-deep: #1d2542;
  --color-border: #c9cdda;
  --color-shadow: rgba(41, 51, 86, 0.12);
  --font-display: "Source Sans 3", "Source Sans Pro", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(41, 51, 86, 0.12), transparent 28%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-base) 100%);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(41, 51, 86, 0.14);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 116px;
  height: auto;
}

.brand span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.brand small {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.desktop-nav,
.header-actions,
.footer-links,
.social-placeholders,
.hero-actions,
.split-layout {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 1.25rem;
}

.desktop-nav a,
.linkedin-link,
.lang-switch {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.desktop-nav a[aria-current="page"] {
  color: var(--color-text);
}

.header-actions {
  gap: 0.9rem;
}

.linkedin-link,
.lang-switch,
.mobile-nav a,
.btn,
.inline-link {
  transition: 180ms ease;
}

.linkedin-link:hover,
.lang-switch:hover,
.desktop-nav a:hover,
.mobile-nav a:hover,
.inline-link:hover {
  color: var(--color-accent-deep);
}

.lang-switch {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--color-text);
  font: inherit;
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
  gap: 0.75rem;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  border-top: 1px solid rgba(41, 51, 86, 0.16);
  padding-top: 0.75rem;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy span,
.section-head span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--color-accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h1,
.section-head h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  font-weight: 700;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1;
}

.hero-copy p,
.section-head p {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-visual {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 28px 80px var(--color-shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.hero-actions {
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 3.5rem 0;
}

.page-top {
  padding-top: 4rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.compact h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.service-card,
.detail-card,
.mobile-panel,
.stack-row {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(41, 51, 86, 0.16);
  border-radius: 24px;
  box-shadow: 0 14px 36px var(--color-shadow);
}

.info-card,
.detail-card,
.mobile-panel,
.stack-row {
  padding: 1.4rem;
}

.service-card {
  padding: 1.6rem;
}

.info-card h2,
.service-card h2,
.detail-card h2,
.stack-row h2,
.mobile-panel h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

.service-card ul,
.detail-card ul {
  margin-top: 1rem;
}

.highlight-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.highlight-band p,
.example-list p {
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.36);
}

.split-layout {
  align-items: stretch;
  gap: 1rem;
}

.split-layout > * {
  flex: 1;
}

.narrow {
  max-width: 840px;
}

.stack-list,
.example-list {
  display: grid;
  gap: 0.9rem;
}

.mobile-onepage {
  display: none;
}

.mobile-panel {
  margin-top: 1rem;
}

.inline-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--color-accent-deep);
}

.contact-card p,
.social-card a {
  margin-top: 0.9rem;
}

.social-card .inline-link {
  display: flex;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(41, 51, 86, 0.16);
  background: rgba(255, 255, 255, 0.36);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.footer-brand img {
  width: min(100%, 330px);
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-meta small {
  color: var(--color-muted);
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.social-placeholders {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}

.social-placeholders span {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .desktop-nav,
  .linkedin-link {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-shell,
  .card-grid,
  .highlight-band,
  .footer-shell,
  .split-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mobile-onepage {
    display: block;
    padding: 0 0 3.5rem;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.25rem, 1120px);
  }

  .header-shell {
    min-height: 76px;
  }

  .brand small {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 2.75rem 0;
  }

  .info-card h2,
  .service-card h2,
  .detail-card h2,
  .stack-row h2,
  .mobile-panel h3 {
    font-size: 1.55rem;
  }
}
