/* iGrok, Inc. — site styles. No build step, no external dependencies. */

:root {
  --brand: #00558e;        /* logo wordmark blue */
  --brand-deep: #123a63;   /* globe navy, darkened for text contrast */
  --green: #4f8f2f;        /* globe green, darkened for AA on white */
  --green-soft: #e9f3e3;
  --ink: #14212e;
  --ink-2: #44515e;
  --ink-3: #6b7783;
  --line: #dfe5eb;
  --paper: #ffffff;
  --paper-2: #f4f7fa;
  --radius: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; color: var(--brand-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 175px; height: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--paper-2); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; }
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff;
    border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 12px 20px; border-radius: 10px; border: 1.5px solid var(--brand);
  background: var(--brand); color: #fff; transition: background .15s, color .15s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--paper-2); color: var(--brand-deep); }
.nav .btn { color: #fff; padding: 9px 16px; }
.nav .btn:hover { background: var(--brand-deep); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  background: radial-gradient(1200px 500px at 85% 10%, #e8f1f8 0%, rgba(232,241,248,0) 60%), var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { position: absolute; width: 40%; left: 30%; top: 30%; filter: drop-shadow(0 18px 30px rgba(18,58,99,.25)); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 280px; order: -1; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
section.alt { background: var(--paper-2); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--ink-2); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; color: var(--ink-2); }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.qlist { counter-reset: q; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.qlist li { counter-increment: q; position: relative; padding: 16px 18px 16px 58px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; }
.qlist li::before { content: counter(q); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700; display: grid; place-items: center; }
.split h3 + p { color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.domain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.domain-list li { padding: 16px 18px; border-left: 3px solid var(--green); background: #fff; border-radius: 0 10px 10px 0; }
.domain-list strong { display: block; color: var(--brand-deep); }
.domain-list span { color: var(--ink-3); font-size: .95rem; }

blockquote { margin: 28px 0 0; padding: 20px 24px; border-left: 3px solid var(--brand); background: var(--paper-2); border-radius: 0 10px 10px 0; color: var(--ink-2); font-style: italic; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: .9rem; color: var(--ink-3); }

.stats { display: grid; gap: 14px; margin-top: 8px; }
.stats div { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.stats b { font-size: 1.6rem; color: var(--brand); line-height: 1.1; min-width: 6.5em; }
.stats span { color: var(--ink-2); }

/* Careers band + contact */
.band { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #d9e7f2; margin: 0; }
.band .btn { background: #fff; color: var(--brand-deep); border-color: #fff; }
.band .btn:hover { background: var(--green-soft); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-card dt { color: var(--ink-3); font-size: .9rem; padding-top: 2px; }
.contact-card dd { margin: 0; }
address { font-style: normal; }

/* Careers page */
.page-head { padding: clamp(48px, 7vw, 80px) 0 32px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; margin-bottom: 20px; }
.role h3 { font-size: 1.3rem; }
.role ul { padding-left: 1.2em; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.meta span { font-size: .82rem; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-3); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--ink-3); }
