/* OaiSYS landing page — brand tokens taken from the OaiSYS deck (7 Oct 2026).
   Water = the mark's outer ring, Sky = its inner loop, Sand = its centre dot,
   Ink (green cast) = the deck's body text. */

:root {
  --water: #1868A0;
  --water-dark: #12507c;
  --sky: #A8D8F0;
  --sky-wash: #EAF5FA;
  --sand: #C9A876;
  --ink: #1E2420;
  --muted: #5B6661;
  --line: #E3E9E7;
  --paper: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(30, 36, 32, .08);
  --shadow-lg: 0 24px 60px rgba(24, 104, 160, .16);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--water); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- utilities ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--water); margin: 0 0 .6rem;
}
.eyebrow-light { color: var(--sky); }

.section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 84px; }
.section-alt { background: var(--sky-wash); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  padding: 14px 26px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--water); color: #fff; box-shadow: 0 8px 20px rgba(24, 104, 160, .28); }
.btn-primary:hover { background: var(--water-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(30, 36, 32, .03); }

.btn-light { background: #fff; color: var(--water); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--sky-wash); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  font: inherit; font-size: .85rem; font-weight: 600; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); padding: 7px 12px;
}
.lang-toggle button.is-active { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, var(--sky-wash), transparent 62%),
    linear-gradient(180deg, #fff, #fbfdfe);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 { margin-bottom: .35em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(320px, 62vw); filter: drop-shadow(0 20px 40px rgba(24, 104, 160, .18)); }
.hero-glow {
  position: absolute; inset: 8% 8% 12%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--sky-wash), transparent 68%);
}

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin-bottom: 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.dot-water { background: var(--water); }
.dot-sand  { background: var(--sand); }
.dot-sky   { background: var(--sky); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 26px 24px 8px; }
.step-num {
  position: absolute; top: 0; left: 24px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--water); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(24, 104, 160, .3);
}
.steps li { border-top: 2px solid var(--line); }
.steps h3 { margin-top: 22px; }
.steps p { color: var(--muted); margin-bottom: 0; }

/* ---------- book a meeting ---------- */
.book { background: linear-gradient(135deg, var(--water), #0f4467); color: #fff; }
.book-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center; }
.on-dark { color: #fff; }
.on-dark-muted { color: rgba(255, 255, 255, .82); font-size: 1.06rem; max-width: 58ch; margin-bottom: 0; }
.book-cta { text-align: center; }
.book-note { margin: 12px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .72); }

/* ---------- contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.contact-details .label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--muted); }
.contact-details a { font-weight: 600; }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfdfd; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--water); box-shadow: 0 0 0 4px rgba(168, 216, 240, .45);
}
.field textarea { resize: vertical; }
.form-status { margin: 12px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-noscript { margin: 12px 0 0; font-size: .92rem; color: #b3261e; }
.form-status.is-ok { color: #16694a; }
.form-status.is-error { color: #b3261e; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 40px 0; }
.footer-inner { display: grid; gap: 8px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin: 4px 0 0; }
.footer-legal { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; row-gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; padding-bottom: 2px; }
  .hero-inner, .book-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(220px, 48vw); }
  .cards, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .brand-name { font-size: 1.1rem; }
  .header-inner { min-height: 60px; }
  .btn { padding: 12px 20px; }
}
