/* Eikor Group — shared stylesheet.
   Extracted from the single-page site when it became a multi-page one, so
   twelve pages share one source of truth rather than twelve copies. */
:root {
    color-scheme: light;

    /* The group is deliberately colourless. Each product owns a hue; the
       company that makes them owns graphite and a soft grey field. */
    --graphite:   #1B1E23;
    --graphite-2: #262A31;
    --graphite-3: #39404A;

    --ink:     #15181D;
    --ink-2:   #51565E;
    --ink-3:   #686E78;

    --paper:   #FFFFFF;
    --ground:  #F2F4F6;
    --wash:    #F7F8FA;
    --line:    #E4E7EC;
    --hair:    #EDEFF2;

    --blue:    #2563EB;
    --blue-dk: #1D4ED8;
    --blue-lt: #DBE7FE;

    --sand:    #A4632F;
    --sand-bg: #FAF1E8;
    --sand-bd: #EBD7C2;

    --green:   #1B6236;
    --green-bg:#E5F1E9;
    --green-bd:#C3E0CE;

    /* One soft elevation, used sparingly. Premium reads as restraint. */
    --lift: 0 1px 2px rgba(21,24,29,0.04), 0 8px 24px -16px rgba(21,24,29,0.18);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Public Sans", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, sans-serif;
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .display { font-family: Archivo, ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.022em; }

  .wrap { max-width: 68rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
  .narrow { max-width: 46rem; }

  a { color: var(--blue-dk); }

  .eyebrow {
    font-family: Archivo, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  /* ── Nav ─────────────────────────────────────────────── */
  header.nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: rgba(242, 244, 246, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hair);
  }
  .nav-in {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-block: 0.85rem;
  }
  .brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
  .mark {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--blue);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .brand-name {
    font-family: Archivo, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .nav-links { display: flex; align-items: center; gap: 1.4rem; }
  .nav-links a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--ink); }

  /* The nav link rule outranks .btn-primary, so the button has to say so
     again here or its label inherits the link colour and vanishes. */
  .nav-links a.btn-primary { color: #fff; }
  .nav-links a.btn-primary:hover { color: #fff; }
  @media (max-width: 46rem) { .nav-hide { display: none; } }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: Archivo, sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.08s;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--blue); color: #fff; }
  .btn-primary:hover { background: var(--blue-dk); }
  .btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--lift); }
  .btn-ghost:hover { border-color: var(--ink-3); }
  .btn-dark { background: var(--graphite); color: #fff; }
  .btn-dark:hover { background: var(--graphite-2); }
  .btn-line { background: var(--paper); color: var(--ink); border-color: var(--line); }
  .btn-line:hover { border-color: var(--ink-3); }
  .btn-lg { font-size: 15.5px; padding: 0.78rem 1.4rem; }

  /* ── Hero ────────────────────────────────────────────── */
  .hero { background: var(--ground); color: var(--ink); padding-block: clamp(3.5rem, 9vw, 6rem) clamp(3.5rem, 8vw, 5.5rem); }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
  @media (max-width: 58rem) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
  @media (max-width: 34rem) { .hero-art { display: none; } }

  .hero .eyebrow { color: var(--ink-3); }

  .hero h1 {
    font-size: clamp(34px, 5.6vw, 52px);
    font-weight: 700;
    line-height: 1.07;
    margin: 0.9rem 0 0;
    text-wrap: balance;
  }
  .hero h1 em { font-style: normal; color: var(--ink-2); }

  .hero p.sub {
    margin: 1.15rem 0 0;
    font-size: clamp(16.5px, 2vw, 18.5px);
    color: var(--ink-2);
    max-width: 34rem;
  }

  .hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.9rem; }

  .hero-foot {
    margin-top: 1.6rem;
    font-size: 13.5px;
    color: var(--ink-3);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
  }
  .hero-foot span { display: inline-flex; align-items: center; gap: 0.4rem; }
  .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; }

  .hero-art {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: var(--lift);
  }
  .hero-art figcaption {
    margin-top: 0.7rem;
    font-size: 11.5px;
    color: var(--ink-3);
    text-align: center;
  }
  .hero-art svg { display: block; width: 100%; height: auto; }

  /* Hovering a function names it, rings it, lights its line into the spine and
     dims the other eleven — so the diagram answers "which one is that?"
     without twelve permanent labels fighting for 32 pixels each.
     Keyboard focus does the same, since hover alone excludes anyone not
     using a mouse. */
  .hero-art .fn { cursor: default; }
  .hero-art .fn .lbl { opacity: 0; }
  .hero-art .fn .sq,
  .hero-art .fn .lbl,
  .hero-art .resting { transition: opacity 0.14s ease, stroke 0.14s ease; }

  .hero-art .fns:hover .sq,
  .hero-art .fns:focus-within .sq { opacity: 0.28; }
  .hero-art .fn:hover .sq,
  .hero-art .fn:focus-visible .sq { opacity: 1; }


  .hero-art .fn:hover .lbl,
  .hero-art .fn:focus-visible .lbl { opacity: 1; }

  /* The resting caption steps aside while a function is named in its place. */
  .hero-art svg:hover .resting,
  .hero-art svg:focus-within .resting { opacity: 0; }

  .hero-art .fn:focus { outline: none; }
  .hero-art .fn:focus-visible .sq { stroke: var(--ink); stroke-width: 2; }

  @media (prefers-reduced-motion: reduce) {
    .hero-art .fn .sq, .hero-art .fn .lbl, .hero-art .resting { transition: none; }
  }

  /* ── Sections ────────────────────────────────────────── */
  section { padding-block: clamp(3.25rem, 7vw, 5.25rem); background: var(--paper); }
  .sec-wash { background: var(--ground); }

  .sec-head { max-width: 42rem; margin-bottom: 2.5rem; }
  .sec-head .eyebrow { color: var(--blue-dk); }
  .sec-head h2 {
    font-size: clamp(26px, 3.6vw, 35px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0.7rem 0 0;
    text-wrap: balance;
  }
  .sec-head p { margin: 0.85rem 0 0; color: var(--ink-2); font-size: 17px; }

  /* ── Problem ─────────────────────────────────────────── */
  .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  @media (max-width: 54rem) { .three { grid-template-columns: 1fr; gap: 1.25rem; } }

  .pt h3 { font-size: 18px; font-weight: 600; margin: 0 0 0.4rem; }
  .pt p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
  .pt .rule { width: 34px; height: 3px; border-radius: 2px; background: var(--sand); margin-bottom: 0.9rem; }

  /* ── Solutions ───────────────────────────────────────── */
  .sol { display: grid; gap: 1.1rem; }

  .sol-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.6rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: start;
  }
  .sol-card.lead { border-color: var(--blue-lt); box-shadow: 0 1px 0 var(--blue-lt), 0 14px 34px -26px rgba(37,99,235,0.5); }
  @media (max-width: 46rem) { .sol-card { grid-template-columns: 1fr; } }

  .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: Archivo, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid;
    white-space: nowrap;
  }
  .tag.now  { color: var(--green); background: var(--green-bg); border-color: var(--green-bd); }
  .tag.soon { color: var(--sand);  background: var(--sand-bg);  border-color: var(--sand-bd); }

  .sol-card h3 { font-size: 21px; font-weight: 700; margin: 0.6rem 0 0; }
  .sol-card .line { color: var(--ink-2); margin: 0.5rem 0 0; }
  /* Six planned functions: three across, so both rows fill and none sits alone. */
  .planned { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
  @media (max-width: 54rem) { .planned { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 34rem) { .planned { grid-template-columns: 1fr; } }

  /* Each function owns a hue. The three tones per card come from the brand
     system, where every one is generated against a contrast target rather
     than picked by eye. */
  .p-card {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--lift);
    border-radius: 12px;
    padding: 1.25rem 1.3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  .p-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--c, var(--line));
  }
  .sol-card .mark-sq { display: inline-grid; margin-right: 0.6rem; vertical-align: middle; }
  .mark-sq {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--c);
    display: grid; place-items: center;
    color: #fff;
    font-family: Archivo, sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 0.7rem;
  }
  .p-card h3 { font-size: 17.5px; font-weight: 700; margin: 0; color: var(--t, var(--ink)); }
  .p-card p { margin: 0.45rem 0 0; font-size: 14.5px; color: var(--ink-2); }
  .p-card .tag { align-self: flex-start; margin-top: 0.8rem; }

  .p-card .tag.soon { color: var(--t); background: var(--bg); border-color: var(--c); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
  .p-card.interest { background: var(--sand-bg); border-color: var(--sand-bd); }
  .p-card.interest h3 { margin-top: 0; }
  .p-card.interest .btn { margin-top: 1rem; align-self: flex-start; }

  .sol-card ul { margin: 0.9rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .sol-card li {
    font-size: 13px;
    color: var(--ink-2);
    background: var(--wash);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 8px;
  }

  /* ── Feature grid ────────────────────────────────────── */
  .feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2rem; }
  @media (max-width: 54rem) { .feat { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 34rem) { .feat { grid-template-columns: 1fr; } }

  .feat h4 { font-family: Archivo, sans-serif; font-size: 16px; font-weight: 600; margin: 0 0 0.3rem; }
  .feat p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
  .feat .ico { color: var(--blue); margin-bottom: 0.55rem; display: block; }

  /* ── Pricing ─────────────────────────────────────────── */
  .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
  @media (max-width: 54rem) { .tiers { grid-template-columns: 1fr; } }

  .tier {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--lift);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .tier.pick { border-color: var(--blue); box-shadow: 0 16px 40px -28px rgba(37,99,235,0.7); }

  .tier-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
  .tier h3 { font-size: 19px; font-weight: 700; margin: 0; }
  .pick-tag {
    font-family: Archivo, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-dk);
    background: var(--blue-lt);
    padding: 3px 7px;
    border-radius: 5px;
  }
  .tier .price {
    font-family: Archivo, sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin: 0.9rem 0 0;
    line-height: 1;
  }
  .tier .per { font-size: 13.5px; color: var(--ink-3); margin: 0.35rem 0 0; }
  .tier .for { font-size: 14.5px; color: var(--ink-2); margin: 0.85rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .tier ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: 0.45rem; }
  .tier li { font-size: 14.5px; color: var(--ink-2); display: grid; grid-template-columns: 1rem 1fr; gap: 0.5rem; align-items: start; }
  .tier li svg { margin-top: 5px; color: var(--green); }
  .tier .btn { margin-top: auto; width: 100%; }

  .bands {
    margin-top: 1.6rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
  }
  .bands h3 { font-size: 17px; font-weight: 600; margin: 0 0 0.3rem; }
  .bands > p { margin: 0 0 1.1rem; color: var(--ink-2); font-size: 15px; max-width: 44rem; }
  .band-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
  @media (max-width: 40rem) { .band-row { grid-template-columns: repeat(2, 1fr); } }
  .band {
    background: var(--wash);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
  }
  .band b {
    font-family: Archivo, sans-serif;
    display: block;
    font-size: 19px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
  }
  .band span { font-size: 12.5px; color: var(--ink-3); }

  .terms { margin-top: 1.1rem; font-size: 13.5px; color: var(--ink-3); }

  .founding {
    margin-top: 1.1rem;
    background: var(--sand-bg);
    border: 1px solid var(--sand-bd);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: center;
  }
  @media (max-width: 46rem) { .founding { grid-template-columns: 1fr; } }
  .founding h3 { font-size: 20px; font-weight: 700; margin: 0.4rem 0 0; color: var(--ink); }
  .founding p { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 15px; max-width: 44rem; }

  /* ── Trust ───────────────────────────────────────────── */
  .trust { background: var(--graphite); color: #fff; }
  .trust .sec-head .eyebrow { color: #7FA9F5; }
  .trust .sec-head h2 { color: #fff; }
  .trust .sec-head p { color: #B7C5DE; }
  .trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
  @media (max-width: 46rem) { .trust-grid { grid-template-columns: 1fr; } }
  .trust-item h4 { font-family: Archivo, sans-serif; font-size: 16.5px; font-weight: 600; margin: 0 0 0.35rem; color: #fff; }
  .trust-item p { margin: 0; color: #A9BAD6; font-size: 15px; }

  /* ── Contact ─────────────────────────────────────────── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  @media (max-width: 54rem) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

  form { display: grid; gap: 0.9rem; }
  label { display: grid; gap: 0.3rem; font-size: 14px; font-weight: 500; }
  input {
    font: inherit;
    font-size: 15.5px;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
  }
  input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
  .form-note { font-size: 13px; color: var(--ink-3); margin: 0; }
  .direct {
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--ink-2);
  }
  .direct b { font-family: Archivo, sans-serif; color: var(--ink); font-weight: 600; }

  /* ── Footer ──────────────────────────────────────────── */
  footer {
    background: var(--graphite);
    color: #8497B8;
    padding-block: 2.5rem;
    font-size: 14px;
  }
  .foot-in { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; }
  footer a { color: #B7C5DE; text-decoration: none; }
  footer a:hover { color: #fff; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
  .foot-legal { width: 100%; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12.5px; color: #66799B; }

  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Solutions dropdown ─────────────────────────────────────────────────── */
/* Click to open rather than hover: a hover menu cannot be opened on a touch
   screen and cannot be reached from a keyboard. */

.drop { position: relative; }

.drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.drop-btn:hover, .drop.is-open .drop-btn { color: var(--ink); }
.drop-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.drop-btn svg { transition: transform 0.15s; }
.drop.is-open .drop-btn svg { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(40rem, calc(100vw - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(21,24,29,0.05), 0 24px 56px -24px rgba(21,24,29,0.3);
  padding: 0.6rem;
  z-index: 60;
}

.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
@media (max-width: 40rem) { .drop-grid { grid-template-columns: 1fr; } }

.drop-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.drop-item:hover { background: var(--ground); }
.drop-item.is-here { background: var(--ground); }

.drop-mark { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; margin-top: 2px; }
.drop-text { display: block; min-width: 0; flex: 1; }
.drop-name { display: block; font-family: Archivo, sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); }
.drop-sum { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }

.drop-live {
  font-family: Archivo, sans-serif;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-bd);
  padding: 2px 6px;
  border-radius: 4px;
  align-self: center;
  white-space: nowrap;
}

.drop-all {
  display: block;
  margin-top: 0.35rem;
  padding: 0.6rem 0.65rem 0.4rem;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.drop-all:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ── Product pages ──────────────────────────────────────────────────────── */

.hero-product { background: var(--bg); }
.hero-product h1 { max-width: 20ch; }
.hero-product .sub { max-width: 44rem; }

.covers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}
@media (max-width: 46rem) { .covers { grid-template-columns: 1fr; } }

.covers li {
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid var(--hair);
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
}
.covers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c, var(--blue));
}

@media (prefers-reduced-motion: reduce) {
  .drop-btn, .drop-btn svg, .drop-item { transition: none; }
}
