/* OSNAP Labs site. Same palette and type as the TurnTrace site. */
:root {
  --navy: #12304D; --navy-2: #0D2439; --navy-3: #1B4167;
  --teal: #2BB3A3; --teal-dark: #1E8F83;
  --amber: #F5A623; --amber-text: #D98A0B;
  --ink: #16212C; --slate: #5B6B7B; --line: #DCE3EA; --paper: #F4F7FA; --white: #FFFFFF;
  --radius: 14px; --max: 1160px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6em; }
.eyebrow.light { color: var(--teal); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 40em; }
.lead.light { color: #C5D3E0; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
.ph { background: rgba(245,166,35,.16); outline: 1.5px dashed var(--amber); outline-offset: 1px; border-radius: 4px; padding: 0 .25em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); 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: 12px; min-height: 68px; flex-wrap: wrap; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 1rem/1 var(--font); text-decoration: none; padding: 14px 22px; border-radius: 10px; border: 2px solid transparent; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--navy-2); }
.btn-amber:hover { background: #FFB53D; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--paper); }

/* Hero: navy with a faint snap grid */
.hero, .page-hero { color: var(--white); background:
  radial-gradient(circle at 80% 30%, rgba(43,179,163,.18), transparent 45%),
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0/32px 32px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/32px 32px,
  var(--navy); }
.hero { padding: 88px 0 96px; }
.page-hero { padding: 64px 0 56px; }
.hero h1, .page-hero h1 { color: var(--white); max-width: 14em; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-art img { width: 100%; max-width: 320px; margin-left: auto; border-radius: 64px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.snap-rule { display: flex; align-items: center; gap: 0; margin: 4px 0 32px; max-width: 220px; }
.snap-rule span { flex: 1; height: 3px; background: var(--teal); border-radius: 2px; }
.snap-rule i { width: 16px; height: 16px; border: 3px solid var(--amber); margin: 0 -1px; }

/* Tool cards */
.tool-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(18,48,77,.08); margin-bottom: 28px; }
.tool-media { background: var(--white); display: flex; align-items: center; border-right: 1px solid var(--line); }
.tool-media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.tool-body { padding: 32px; }
.tool-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tool-head img { border-radius: 12px; flex: none; }
.tool-head h3 { font-size: 1.6rem; margin: 0; }
.tool-head p { margin: 0; }
.badge { margin-left: auto; align-self: flex-start; background: rgba(43,179,163,.14); color: var(--teal-dark); font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 26px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 9px; border: 2.5px solid var(--amber); }
.links { margin: 16px 0 0; color: var(--slate); }
.tool-card.soon { grid-template-columns: 1fr; border-style: dashed; box-shadow: none; background: var(--paper); }
.soon-icon { width: 56px; height: 56px; border-radius: 12px; border: 2px dashed var(--slate); position: relative; flex: none; }
.soon-icon::after { content: ""; position: absolute; inset: 16px; border: 3px solid var(--amber); }

/* About values */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.values li { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.values p { margin: 0; color: var(--slate); }
.values h3 { margin-bottom: .2em; }
.g { flex: none; width: 34px; height: 34px; margin-top: 2px; position: relative; }
.g-end { border: 4px solid var(--amber); }
.g-mid { width: 0; height: 0; border-left: 19px solid transparent; border-right: 19px solid transparent; border-bottom: 34px solid var(--teal); }
.g-mid::after { content: ""; position: absolute; left: -9px; top: 13px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid var(--white); }
.g-perp { border-left: 4px solid var(--navy); border-bottom: 4px solid var(--navy); }
.g-perp::after { content: ""; position: absolute; left: 4px; bottom: 4px; width: 12px; height: 12px; border: 3px solid var(--amber); }

.contact-list p { background: var(--paper); border-radius: var(--radius); padding: 16px 20px; }

/* Footer */
.site-footer { background: var(--navy-2); color: #B9C7D4; padding: 56px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { display: block; color: #DCE6EF; text-decoration: none; margin: 4px 0; }
.site-footer a:hover { color: var(--amber); }
.foot-brand img { height: 46px; width: auto; margin-bottom: 10px; }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 8px 0 0; font-size: .82rem; color: #8FA2B4; }

@media (max-width: 860px) {
  .hero-grid, .two, .tool-card { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .tool-body { padding: 24px; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 38px; }
  .badge { display: none; }
}
