:root {
  color-scheme: light;
  --bg: #F7F9FA;
  --surface: #FFFFFF;
  --text: #1F2933;
  --muted: #5B6670;
  --accent: #0E6F78;
  --accent-dark: #12343B;
  --line: #DDE5E8;
  --shadow: 0 12px 28px rgba(18, 52, 59, 0.08);
  --shadow-soft: 0 8px 22px rgba(18, 52, 59, 0.06);
  --radius: 18px;
  --container: 1180px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans, "IBM Plex Sans", Arial, sans-serif); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; color: var(--text); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
ul { margin: 0; padding-left: 1.2rem; }
li + li { margin-top: 0.45rem; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 1000; transform: translateY(-160%); background: var(--accent-dark); color: white; padding: 0.75rem 1rem; border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, 0.88); border-bottom: 1px solid rgba(221, 229, 232, 0.9); backdrop-filter: blur(16px); transition: box-shadow 180ms ease, background 180ms ease; }
.site-header.is-scrolled { box-shadow: 0 10px 24px rgba(18, 52, 59, 0.06); background: rgba(255, 255, 255, 0.96); }
.nav-shell { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text); }
.brand:hover { color: var(--text); }

.brand-logo { display: block; height: 52px; width: auto; max-width: min(220px, 44vw); }
.primary-nav { display: flex; align-items: center; gap: 1.2rem; font-size: 0.96rem; font-weight: 500; }
.primary-nav a { color: var(--muted); }
.primary-nav a:hover { color: var(--accent); }
.nav-cta { padding: 0.7rem 1rem; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: white !important; box-shadow: 0 8px 18px rgba(14, 111, 120, 0.18); }
.nav-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--accent-dark); cursor: pointer; padding: 11px; appearance: none; -webkit-appearance: none; -moz-appearance: none; color-scheme: light; box-shadow: 0 6px 16px rgba(18, 52, 59, 0.06); -webkit-tap-highlight-color: transparent; }
.menu-toggle span[aria-hidden="true"] { display: block; height: 2px; background: currentColor; border-radius: 999px; }
.menu-toggle span[aria-hidden="true"] + span[aria-hidden="true"] { margin-top: 6px; }
.menu-toggle:focus-visible { outline: 3px solid rgba(14, 111, 120, 0.28); outline-offset: 3px; }
body.nav-open .menu-toggle { background: var(--accent); border-color: var(--accent); color: #FFFFFF; box-shadow: 0 10px 22px rgba(14, 111, 120, 0.22); }
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-muted { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(247,249,250,1)); }
.hero { padding-top: clamp(56px, 8vw, 98px); }
.hero-grid, .two-column { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: clamp(32px, 6vw, 76px); align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow, .small-label { margin: 0 0 0.8rem; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.hero-subtitle { color: var(--accent-dark); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 600; margin-bottom: 1.1rem; }
.hero-text { font-size: 1.08rem; max-width: 60ch; }
.button-row, .button-column { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.button-column { flex-direction: column; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0.85rem 1.15rem; border-radius: 999px; border: 1px solid transparent; font-weight: 700; line-height: 1.2; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 12px 22px rgba(14, 111, 120, 0.22); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--accent-dark); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual-card { border: 1px solid var(--line); border-radius: 28px; background: var(--surface); padding: clamp(10px, 2vw, 18px); box-shadow: var(--shadow-soft); }
.hero-visual { display: block; }
.trust-bar { padding: 0 0 clamp(40px, 6vw, 72px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-card, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.trust-card { padding: 1rem 1.1rem; }
.trust-card strong, .trust-card span { display: block; }
.trust-card strong { color: var(--accent-dark); }
.trust-card span { color: var(--muted); font-size: 0.92rem; margin-top: 0.1rem; }
.section-heading { max-width: 780px; }
.section-heading.narrow { margin-bottom: clamp(28px, 4vw, 44px); }
.section-heading p:last-child { margin-bottom: 0; }
.view-switch { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem; margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.view-button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 0.65rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.view-button.active { background: var(--accent-dark); color: white; }
.card-grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; padding: clamp(22px, 2.5vw, 28px); box-shadow: 0 1px 0 rgba(18, 52, 59, 0.02); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card-icon { width: 46px; height: 46px; margin-bottom: 1.2rem; color: var(--accent); }
.card-icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; }
.card h3 { margin-bottom: 0.65rem; }
.card p:last-child { margin-bottom: 0; }
.card details { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card summary { cursor: pointer; color: var(--accent); font-weight: 700; list-style: none; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: "+"; float: right; color: var(--accent-dark); font-weight: 700; }
.card details[open] summary::after { content: "−"; }
.card details ul { margin-top: 0.9rem; color: var(--muted); }
.compact-card p { font-size: 0.96rem; }
.badge { display: inline-flex; align-items: center; width: fit-content; margin-bottom: 1rem; padding: 0.32rem 0.75rem; border-radius: 999px; background: rgba(14, 111, 120, 0.1); border: 1px solid rgba(14, 111, 120, 0.22); color: var(--accent); font-weight: 700; }
.project-highlight { border-color: rgba(14, 111, 120, 0.34); }
.about-grid { align-items: start; }
.profile-card, .contact-card { box-shadow: var(--shadow-soft); }
.profile-graphic { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 1.3rem; border: 1px solid var(--line); border-radius: 20px; color: var(--accent); background: var(--bg); }
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.5rem; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.56em; width: 0.48rem; height: 0.48rem; border-radius: 999px; background: var(--accent); }
.contact-section { background: linear-gradient(180deg, var(--bg), #FFFFFF); }
.contact-grid { align-items: start; }
.request-box { margin-top: 1.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-list { margin: 1.4rem 0 0; }
.contact-list div { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: 0.88rem; }
.contact-list dd { margin: 0.15rem 0 0; color: var(--text); font-weight: 600; }
.site-footer { padding: 36px 0; background: var(--accent-dark); color: white; }
.site-footer p, .site-footer a, .site-footer span { color: rgba(255, 255, 255, 0.76); }
.site-footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 1.5rem; align-items: start; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .card:hover, .trust-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); } .btn:hover { transform: translateY(-1px); } }
@media (max-width: 1040px) { .primary-nav { gap: 0.8rem; font-size: 0.9rem; } .hero-grid, .two-column { grid-template-columns: 1fr; } .hero-visual-card { max-width: 720px; } .trust-grid { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { :root { --header-height: 68px; } .menu-toggle { display: grid; align-content: center; } .primary-nav { position: fixed; inset: var(--header-height) 20px auto 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); } body.nav-open .primary-nav { display: flex; } .primary-nav a { padding: 0.85rem 0.9rem; border-radius: 12px; } .primary-nav a:hover { background: var(--bg); } .nav-cta { margin-top: 0.4rem; text-align: center; } .section { padding: 64px 0; } .hero { padding-top: 44px; } .button-row .btn, .button-column .btn { width: 100%; } .grid-2, .grid-3, .trust-grid, .footer-grid { grid-template-columns: 1fr; } .view-switch { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } .view-button { padding-inline: 0.75rem; } }
@media (max-width: 560px) { .container { width: min(100% - 28px, var(--container)); } .brand-logo { height: 44px; max-width: 170px; } .hero-visual-card { padding: 8px; border-radius: 22px; } .card, .request-box { padding: 20px; } }

/* Dark-mode-safe mobile navigation: keep the intentionally light design on phones. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
  html, body { background: var(--bg); color: var(--text); }
  .site-header { background: rgba(255, 255, 255, 0.92); border-bottom-color: rgba(221, 229, 232, 0.9); }
  .site-header.is-scrolled { background: rgba(255, 255, 255, 0.97); }
  .menu-toggle { background: var(--surface); border-color: var(--line); color: var(--accent-dark); }
  body.nav-open .menu-toggle { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
  .primary-nav { background: var(--surface); border-color: var(--line); }
}

/* Legal pages */
.legal-card { margin-top: 2rem; max-width: 920px; }
.legal-card section { margin-top: 2rem; }
.legal-card h2 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 0.7rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card strong { color: var(--text); }
.legal-card a { color: var(--accent); font-weight: 600; }
.legal-card ul { margin: 0.4rem 0 1rem; color: var(--muted); }
.legal-note { margin-top: 2.4rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
