/*
 * Alkamar Investments Ltd — company site.
 *
 * A firm that secures banks and builds software is judged on its site before
 * anyone picks up a phone, so this is built to read as a practice rather than a
 * landing page: a dark hero carrying the brand geometry, then quiet document
 * type for everything that has to be read properly.
 *
 * NOT POPVIBE'S LOOK. This is the parent company; dressing it in the product's
 * violet would make it read as a page of the product rather than the business
 * behind it. The palette is taken from the logo — the two blues measured out of
 * the artwork itself.
 *
 * No build step and no framework: droppable on any static host, and still
 * editable in five years by somebody with no toolchain to hand.
 */

:root {
  --paper:      #ffffff;
  --paper-alt:  #f5f8fa;
  --card:       #ffffff;
  --ink:        #0e2230;
  --ink-soft:   #4a6070;
  --ink-faint:  #7d92a0;
  --rule:       #e2e9ee;

  --brand:      #0c5f90;   /* measured from the logo's darker panel */
  --brand-lift: #218ec4;   /* and from its lighter one */
  --brand-bg:   #eef5fa;

  --hero-ink:   #ffffff;
  --hero-soft:  #a8c6da;
  --hero-bg:    #0b2233;

  --shadow:     0 1px 2px rgba(14,34,48,.05), 0 12px 28px -18px rgba(14,34,48,.30);
  --radius:     12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0d1a23;
    --paper-alt:  #112330;
    --card:       #14262f;
    --ink:        #eaf2f7;
    --ink-soft:   #a9c0cd;
    --ink-faint:  #7d92a0;
    --rule:       #1e3644;

    --brand:      #64bdea;
    --brand-lift: #8ed3f5;
    --brand-bg:   #14303f;

    --shadow:     0 1px 2px rgba(0,0,0,.4), 0 12px 28px -18px rgba(0,0,0,.8);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 940px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

a { color: var(--brand); }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

/* ---------------------------------------------------------------- header */
header.site {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  padding: 20px 0;
}
header.site .lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
/* Vector, so the ceiling is taste rather than pixels. */
header.site .mark { height: clamp(46px, 9vw, 58px); width: auto; display: block; flex-shrink: 0; }
header.site .wordmark { display: flex; flex-direction: column; gap: 2px; }
header.site .wm-name {
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 4vw, 24px);
  line-height: 1;
  letter-spacing: .13em;
  color: var(--ink);
}
header.site .wm-sub {
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(8px, 1.8vw, 9.5px);
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: -.3em;   /* tracking pushes the last letter past the name above */
}
header.site nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
header.site nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
header.site nav a:hover { color: var(--brand); }

/* Every page opens on a dark band, so the header always sits on one. */
.hero header.site .wm-name,
.pagehead header.site .wm-name { color: var(--hero-ink); }
.hero header.site .wm-sub,
.hero header.site nav a,
.pagehead header.site .wm-sub,
.pagehead header.site nav a { color: var(--hero-soft); }
.hero header.site nav a:hover,
.pagehead header.site nav a:hover { color: #fff; }

/* The page you are on stays lit, so the nav reads as a set of places. */
header.site nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--brand-lift);
  padding-bottom: 3px;
}

/* ------------------------------------------------- hero and page headers */
.hero,
.pagehead {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero::after,
.pagehead::after {      /* a wash, so the topology never fights the words */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 18%, rgba(33,142,196,.34), transparent 62%);
  z-index: -1;
}
.hero .net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .5;
}
.hero .net-lines { stroke: #4ea6d8; }
.hero .net-dots  { fill: #7fd0f5; }

.hero-body { padding: 40px 0 62px; max-width: 660px; }
.page-body { padding: 24px 0 44px; max-width: 660px; }
.page-body h1 {
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0 0 14px;
  color: var(--hero-ink);
}
.page-body .lede { color: var(--hero-soft); margin-bottom: 0; }
.page-body a { color: #9ddcfa; }
.eyebrow {
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 11.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #7fd0f5;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(31px, 5.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
  margin: 0 0 18px;
  color: var(--hero-ink);
}
.hero .lede,
.page-body .lede {
  font-size: clamp(16.5px, 2.2vw, 19px);
  color: var(--hero-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn-solid { background: #fff; color: #0b2233; }
.btn-solid:hover { background: #dff0fb; }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (prefers-reduced-motion: reduce) { .btn, .card, .venture { transition: none; } }

/* ----------------------------------------------------------- credibility */
.band-inset {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0 22px;
  margin-top: 34px;
}
.stats {
  display: grid;
  gap: 18px 30px;
  grid-template-columns: repeat(2, 1fr);
  padding: 26px 0;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n {
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.stat .t { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* ------------------------------------------------------------- structure */
section { padding: 54px 0; border-top: 1px solid var(--rule); scroll-margin-top: 12px; }
section:first-of-type { border-top: 0; }

h2 {
  font-size: clamp(23px, 3.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0 0 10px;
}
h3 { font-size: 17px; margin: 0 0 5px; letter-spacing: -.005em; }
h4 {
  margin: 24px 0 8px;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
p { margin: 0 0 14px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 62ch; }
.sub { margin: -2px 0 16px; font-size: 14px; color: var(--ink-faint); letter-spacing: .02em; }
.note { font-size: 15px; color: var(--ink-soft); margin-top: 22px; }
ul { padding-left: 22px; }
li { margin-bottom: 7px; }

/* ----------------------------------------------------------------- cards */
.cards { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.icon {
  width: 30px; height: 30px;
  margin-bottom: 12px;
  display: block;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.venture {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.venture:hover { border-color: var(--brand); transform: translateY(-2px); }
.venture p { margin: 0 0 12px; font-size: 15px; color: var(--ink-soft); }
.venture .more { font-size: 14px; font-weight: 600; color: var(--brand); }

/* --------------------------------------------------------- illustrations */
.shot { margin: 26px 0 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--hero-bg);
}
.shot figcaption {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* The models we build on, as a row of plates rather than a bullet list. */
.chips {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
}
.chips li {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.chips strong { font-size: 15.5px; }
.chips span { font-size: 12.5px; color: var(--ink-faint); }

.arrow { font-weight: 600; text-decoration: none; }
.arrow:hover { text-decoration: underline; }

/* ------------------------------------------------------------ leadership */
.person { display: grid; gap: 26px; margin-top: 26px; }
@media (min-width: 760px) { .person { grid-template-columns: 1.35fr 1fr; } }
.person .role { margin: 2px 0 14px; font-size: 14.5px; color: var(--brand); font-weight: 600; }
.creds { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.creds li { margin-bottom: 5px; }

/* ---------------------------------------------------------------- tables */
.tablewrap { overflow-x: auto; margin: 18px 0 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tablewrap table:has(thead) { min-width: 520px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  width: 38%;
}
.hint { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }

/* --------------------------------------------------------------- contact */
.contact {
  background: var(--brand-bg);
  border-radius: var(--radius);
  padding: 26px;
  margin: 26px 0 0;
}
.contact h2 { margin-top: 0; }
.contact p { margin-bottom: 8px; }

/* ---------------------------------------------------------------- footer */
footer.site {
  border-top: 1px solid var(--rule);
  padding: 24px 0 40px;
  margin-top: 54px;
  font-size: 13.5px;
  color: var(--ink-faint);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer.site a { color: var(--ink-faint); }

/* The legal pages read as documents, not as marketing. */
.doc h1 { font-size: clamp(27px, 4.4vw, 36px); line-height: 1.12; margin: 30px 0 8px; }
.doc .updated { font-size: 13px; color: var(--ink-faint); margin: 0 0 26px; }
.doc h2 { font-size: 21px; margin: 38px 0 8px; }
.doc h3 { font-size: 16px; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc section { border-top: 0; padding: 0; }
