:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe3ec;
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 32%),
    radial-gradient(circle at 20% 10%, rgba(29, 78, 216, 0.06), transparent 30%),
    var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -48px;
  transform: translateX(-50%);
  padding: 0.75rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(219, 227, 236, 0.8);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.header-inner {
  width: min(calc(100% - 4rem), var(--container));
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.page-shell {
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 1.5rem;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  max-width: 12ch;
  font-weight: 700;
}

.hero-copy p,
.section p,
.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 66ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

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

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

.btn-secondary {
  background: transparent;
  border-color: var(--line);
}

.hero-media {
  position: relative;
}

.hero-media img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .media-frame {
  aspect-ratio: 4 / 3;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section {
  padding: 3rem 0 0;
}

.section h2 {
  font-size: clamp(1.6rem, 2.1vw, 2.5rem);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

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

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

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.88);
}

.panel h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.panel p {
  margin: 0.6rem 0 0;
  font-size: 0.97rem;
}

.service-list,
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li,
.link-list li {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.service-list li:first-child,
.link-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.service-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(29, 78, 216, 0.05));
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.callout p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #94a3b8;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq details:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 0.6rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.page-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.micro {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-lines {
  display: grid;
  gap: 0.85rem;
}

.contact-line {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.contact-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-line strong {
  display: block;
  margin-bottom: 0.25rem;
}

@media (max-width: 920px) {
  .hero,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .header-inner,
  .footer-inner {
    align-items: start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 1.25rem;
  }

  .nav {
    gap: 0.75rem 1rem;
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }
}
