/* CRINDATA marketing site. Quiet, institutional, precise. */
:root {
  --navy: #0d2238;
  --navy-2: #163351;
  --ink: #18242f;
  --ink-2: #4b5966;
  --ink-3: #7d8b97;
  --line: #dfe5ea;
  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --accent: #0f5c73;
  --accent-2: #0b4a5d;
  --accent-soft: #e5f0f3;
  --gold: #b88a2e;
  --radius: 6px;
  --max: 1180px;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; font: 600 .98rem/1 var(--sans); padding: .95rem 1.4rem; border-radius: var(--radius); background: var(--accent); color: #fff; text-decoration: none; border: 1px solid var(--accent); transition: background .15s; }
.btn:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: #eef3f6; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-head .wrap { display: flex; align-items: center; gap: 2rem; height: 74px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 1.6rem; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { border-bottom-color: var(--accent); }
.head-cta { display: flex; gap: 1.1rem; align-items: center; }
.head-cta .signin { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.head-cta .btn { padding: .7rem 1.05rem; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .7rem; font: 500 .9rem var(--sans); color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #f6f9fb 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 15em; }
.shot { border-radius: 10px; border: 1px solid #cfd8df; box-shadow: 0 30px 60px -30px rgba(13,34,56,.35), 0 8px 18px -10px rgba(13,34,56,.18); overflow: hidden; background: #fff; }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: .82rem; color: var(--ink-3); padding: .55rem .8rem; border-top: 1px solid var(--line); background: #fafbfc; }

/* Rules strip */
.rules { background: var(--navy); color: #dbe6ee; padding: 54px 0; }
.rules .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rule .n { font: 600 2.6rem/1 var(--serif); color: #fff; margin-bottom: .6rem; }
.rule .n span { font-size: 1.1rem; font-family: var(--sans); font-weight: 500; color: #9fc3d1; margin-left: .35rem; }
.rule p { font-size: .97rem; margin: 0 0 .5rem; }
.rule .src { font-size: .8rem; color: #8fa9bb; }
.rules .note { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 1.02rem; }

/* Sections */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 48px; }
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 34px 0; }
.feature + .feature { border-top: 1px solid var(--line); padding-top: 64px; margin-top: 30px; }
.feature.flip > :first-child { order: 2; }
.feature ul { padding: 0; margin: 1.2rem 0 0; list-style: none; }
.feature li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--ink-2); border-top: 1px solid var(--line); }
.feature li:first-child { border-top: 0; }
.feature li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; }
.feature li strong { color: var(--ink); font-weight: 600; }

/* Founders */
.founders { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.people { display: grid; gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; }
.person h3 { margin-bottom: .2rem; }
.person .role { font-size: .9rem; color: var(--accent); font-weight: 600; margin-bottom: .8rem; }
.person p { font-size: .97rem; color: var(--ink-2); margin: 0; }
.quote { font: 400 1.55rem/1.4 var(--serif); color: var(--navy); border-left: 3px solid var(--gold); padding-left: 1.4rem; margin: 0 0 1.2rem; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path { border: 1px solid var(--line); border-radius: 10px; padding: 36px; background: #fff; display: flex; flex-direction: column; }
.path h3 { font-size: 1.5rem; }
.path ul { margin: .4rem 0 1.6rem; padding-left: 1.1rem; color: var(--ink-2); }
.path li { margin: .35rem 0; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* Security */
.security { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.sec { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec:nth-child(3n) { border-right: 0; }
.sec:nth-last-child(-n+3) { border-bottom: 0; }
.sec h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.sec p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* Insights */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 26px; background: #fff; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--accent); box-shadow: 0 10px 26px -18px rgba(13,34,56,.4); }
.card .kind { font: 600 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { font-size: .94rem; color: var(--ink-2); }
.card .meta { margin-top: auto; font-size: .82rem; color: var(--ink-3); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { border-top: 2px solid var(--accent); padding-top: 18px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 .85rem var(--sans); color: var(--accent); letter-spacing: .08em; }
.step h3 { margin-top: .5rem; font-size: 1.12rem; }
.step p { font-size: .95rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--navy); color: #d6e2ea; padding: 80px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 36em; }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 56px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18em; }

/* Footer */
.site-foot { background: #0a1b2d; color: #a9bccb; padding: 64px 0 36px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-foot img { height: 34px; width: auto; margin-bottom: 1rem; }
.site-foot h4 { color: #fff; font: 600 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem; }
.site-foot a { color: #c8d6e1; text-decoration: none; display: block; padding: .2rem 0; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: #7f95a7; }
.site-foot .legal a { display: inline; }

.preview-flag { background: #fff6df; color: #6b4e00; text-align: center; font-size: .85rem; padding: .45rem 1rem; border-bottom: 1px solid #f0dfae; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .head-cta .signin { display: none; }
  .menu-btn { display: inline-block; }
  .site-head.open .nav { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); gap: .2rem; }
  .site-head.open .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .hero .wrap, .feature, .founders { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 64px 0; }
  .rules .grid, .paths, .cards, .security { grid-template-columns: 1fr; }
  .sec { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .sec:last-child { border-bottom: 0 !important; }
  .steps { grid-template-columns: 1fr; }
  .head-cta .btn { display: none; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .path { padding: 26px; }
}
.site-foot img.foot-logo { height: 21px; margin-bottom: 1.2rem; }
.feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 1020px) { .feature.flip { grid-template-columns: 1fr; } }
