/* ════════════════════════════════════════════════
   PELAGIX LTD — shared stylesheet
   Calm, low-contrast light scheme.
   ════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }

/* ── TOKENS ────────────────────────────────────── */
:root {
  --bg:          #F4F6FA;   /* page surface — soft cool off-white */
  --surface:     #FFFFFF;   /* cards / alternate sections */
  --ink:         #1C2A3C;   /* primary text — soft dark, not black */
  --ink-soft:    #46566C;   /* secondary text */
  --muted:       #6C7D93;   /* tertiary / labels */
  --faint:       #97A6BB;   /* faintest */
  --accent:      #2B57C4;   /* calm medium blue, used sparingly */
  --accent-mid:  #3A66D6;
  --accent-soft: #7298E6;
  --accent-pale: #ECF1FB;
  --border:      #DCE3ED;
  --rule:        #E8EDF4;
  --footer-bg:   #18242F;   /* soft dark slate — gentle, not near-black */
  --footer-tx:   #8294AB;
  --footer-ft:   #44566B;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }

/* ── NAV ───────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,246,250,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logotype {
  display: inline-flex; align-items: baseline; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: -0.01em;
}
.lg-main   { color: var(--ink); }
.lg-accent { color: var(--accent); }
.lg-ltd {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-left: 7px; align-self: center;
}
.nav-links {
  display: flex; align-items: center; gap: 30px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color .14s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 9px 20px; border-radius: 7px; font-weight: 600 !important;
  transition: background .14s !important;
}
.nav-cta:hover { background: var(--accent-mid) !important; }

/* ── HERO (light) ──────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, #FFFFFF 0%, var(--bg) 58%);
  padding: 128px 0 116px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 30px;
}
.eyebrow-rule { width: 26px; height: 1px; background: var(--accent-soft); }

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.9vw, 60px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.026em; color: var(--ink);
  max-width: 680px; margin-bottom: 26px;
}
.hero h1 .h-accent { color: var(--accent); }

.hero-lead {
  font-size: 18px; line-height: 1.7; color: var(--ink-soft);
  max-width: 530px; margin-bottom: 46px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 13px 26px; border-radius: 8px;
  transition: background .14s, transform .1s, color .14s, border-color .14s;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-mid); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent-soft); }

/* ── SECTION SCAFFOLD ──────────────────────────── */
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.block-white { background: var(--surface); padding: 94px 0; }
.block-soft  { background: var(--bg);      padding: 94px 0; }

.two-col {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 76px; align-items: start;
}
.two-col h2, .sec-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink);
}
.prose p { font-size: 16px; line-height: 1.78; color: var(--ink-soft); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.sec-head { margin-bottom: 52px; }
.sec-head h2 { margin-top: 12px; }

/* ── SERVICE CARDS ─────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: var(--border); gap: 1px;
}
.card { background: var(--surface); padding: 42px; }
.card-icon {
  width: 44px; height: 44px; background: var(--accent-pale);
  border-radius: 11px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px;
}
.card-icon svg {
  width: 21px; height: 21px; stroke: var(--accent);
  fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 11px;
}
.card p { font-size: 15px; line-height: 1.72; color: var(--ink-soft); }

/* ── CONTACT ───────────────────────────────────── */
.contact h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(25px, 2.7vw, 34px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
  margin-top: 12px; margin-bottom: 30px;
}
.contact-lead {
  font-size: 17px; line-height: 1.7; color: var(--ink-soft);
  max-width: 480px; margin-bottom: 30px;
}
.contact-email {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px; font-weight: 700; color: var(--accent);
  text-decoration: none;
}
.contact-email:hover { color: var(--accent-mid); }
.contact-email svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ── PRIVACY (its own page) ────────────────────── */
.doc { background: var(--surface); padding: 88px 0; min-height: 60vh; }
.doc-inner { max-width: 720px; }
.doc h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3vw, 38px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px;
}
.doc-meta { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.doc h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-top: 34px; margin-bottom: 10px;
}
.doc p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 12px; }
.doc a { color: var(--accent); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500; color: var(--accent);
  text-decoration: none; margin-bottom: 36px;
}
.back-link:hover { text-decoration: underline; }

/* ── FOOTER (soft dark, single statutory home) ─── */
footer { background: var(--footer-bg); padding: 44px 0; }
.ft-wrap {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.ft-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 17px; color: #C6D4E6; margin-bottom: 14px;
}
.ft-legal { font-size: 12.5px; line-height: 1.85; color: var(--footer-tx); max-width: 560px; }
.ft-legal strong { color: #9DB0C7; font-weight: 500; }
.ft-links { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.ft-links a {
  font-size: 12.5px; color: var(--footer-tx); text-decoration: none; transition: color .14s;
}
.ft-links a:hover { color: #B7C7DA; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 840px) {
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .hero { padding: 76px 0 64px; }
  .block-white, .block-soft { padding: 66px 0; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 32px 28px; }
  .ft-wrap { flex-direction: column; }
  .ft-links { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
