/* ===========================
   Kinnico — Mockup v1 look
   Clean + monochrome + restrained accents
   =========================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;

  --text: #0b1220;
  --muted: #4b5565;
  --border: #e6e9f0;

  --brand: #1f3a6b; /* calm navy */
  --brand-2: #2b6cff; /* accent blue (sparingly) */
  --cta: #f97316; /* warm CTA accent */

  --max: 1100px;
  --radius: 16px;

  --shadow: 0 14px 40px rgba(11, 18, 32, 0.1);
  --shadow-soft: 0 10px 26px rgba(11, 18, 32, 0.08);

  --focus: 0 0 0 3px rgba(43, 108, 255, 0.22);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.55rem 0.75rem;
  background: var(--text);
  color: #fff;
  border-radius: 12px;
  z-index: 999;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 240px;
}

.brand img {
  width: auto;
  height: 80px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #1a2740;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--bg-soft);
}

.nav-links a[aria-current="page"] {
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

/* ===========================
   Buttons
   =========================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  color: #1a2740;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}

.button:hover {
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.22);
}
.button.primary:hover {
  background: #ea6b10;
  border-color: #ea6b10;
}

.button.ghost {
  background: transparent;
}

/* ===========================
   Hero (with geometric accents)
   =========================== */
.hero {
  position: relative;
  padding: 4.2rem 0 2.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg-soft) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -260px;
  width: 540px;
  height: 540px;
  background: radial-gradient(
    closest-side,
    rgba(31, 58, 107, 0.12),
    rgba(31, 58, 107, 0) 70%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -240px;
  bottom: -160px;
  width: 620px;
  height: 260px;
  background: linear-gradient(
    135deg,
    rgba(43, 108, 255, 0.18),
    rgba(43, 108, 255, 0.05),
    rgba(249, 115, 22, 0.08)
  );
  transform: rotate(-10deg);
  border-radius: 28px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .brand {
    min-width: 0;
  }
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.4rem;
  max-width: 60ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===========================
   Panel (right side in hero)
   =========================== */
.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.panel li {
  margin: 0.45rem 0;
}

/* ===========================
   Sections
   =========================== */
.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: rgba(43, 108, 255, 0.4);
  margin-top: 0.55rem;
}

.section p {
  color: var(--muted);
  max-width: 78ch;
}

/* ===========================
   Cards (mockup-like)
   =========================== */
.cards {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(11, 18, 32, 0.03);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  overflow: hidden;
}

/* left accent strip */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(43, 108, 255, 0.55);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #1a2740;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

/* small “icon” badge (optional visual polish) */
.badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}
.badge svg {
  width: 20px;
  height: 20px;
  fill: var(--brand);
  opacity: 0.9;
}

/* ===========================
   Page layout
   =========================== */
.page {
  padding: 2.6rem 0;
}

.page-title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
}

.page-title h1 {
  margin: 0;
}
.page-title .lede {
  margin: 0;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-soft), #fff 70%);
  padding: 2.2rem 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.small-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.small-links a {
  color: #1a2740;
  text-decoration: none;
  font-weight: 600;
}
.small-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   Utility
   =========================== */
.kicker {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hr-soft {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 1.6rem 0;
}

.callout {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
