/* IDIAG website — brand: garnet + IDIAG orange, warm grey, beige; Neo Sans Std */

@font-face { font-family: "Neo Sans"; src: url("fonts/NeoSansStd-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Neo Sans"; src: url("fonts/NeoSansStd-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neo Sans"; src: url("fonts/NeoSansStd-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neo Sans"; src: url("fonts/NeoSansStd-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --garnet: #641d14;
  --garnet-deep: #4a150e;
  --garnet-ink: #2e1410;
  --orange: #ff6900;
  --orange-logo: #eb650f;
  --orange-dark: #d95700;
  --grey: #928981;
  --grey-dark: #525354;
  --ink: #333333;
  --beige: #e9e7e1;
  --beige-light: #f8f8f8;
  --line: #d6d4ce;
  --white: #ffffff;
  --max: 1180px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Neo Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--garnet); }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--garnet); letter-spacing: .01em; }
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block; }
.lead { font-size: 21px; color: var(--grey-dark); max-width: 760px; }
.accent { color: var(--orange); }
.muted { color: var(--grey); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- header ---------- */
.site-header { background: var(--garnet); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; opacity: .88; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--orange); color: var(--white); }
.nav .btn { opacity: 1; border: 0; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font: inherit; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--garnet-deep); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .btn { margin-top: 14px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--orange); color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius); transition: background .15s; }
.btn:hover { background: var(--orange-dark); color: var(--white); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.on-light .btn-ghost:hover { background: rgba(100,29,20,.06); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--orange-dark); }
.link-arrow::after { content: " \2192"; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-beige { background: var(--beige); }
.bg-light { background: var(--beige-light); }
.bg-garnet { background: var(--garnet); color: rgba(255,255,255,.9); }
.bg-garnet-deep { background: var(--garnet-deep); color: rgba(255,255,255,.9); }
.bg-garnet h1, .bg-garnet h2, .bg-garnet h3, .bg-garnet h4,
.bg-garnet-deep h1, .bg-garnet-deep h2, .bg-garnet-deep h3, .bg-garnet-deep h4 { color: var(--white); }
.bg-garnet .lead, .bg-garnet-deep .lead { color: rgba(255,255,255,.82); }
.section-head { margin-bottom: 48px; max-width: 820px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--garnet); color: var(--white); padding: 96px 0 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-spine { position: absolute; left: -40px; top: -60px; width: 260px; opacity: .22; pointer-events: none; }
.hero-text { position: relative; padding-left: 170px; padding-bottom: 96px; }
.hero-media { justify-self: center; align-self: end; }
.hero-media img { max-height: 520px; width: auto; }
.hero-caption { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); text-align: center; padding: 14px 0 24px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 8px; }
.hero-sub { padding: 72px 0 96px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-text { padding-left: 0; padding-bottom: 24px; }
  .hero-spine { display: none; }
  .hero-media img { max-height: 340px; }
}

/* page hero (inner pages) */
.page-hero { background: var(--garnet); color: var(--white); padding: 88px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 60px); }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .hero-spine { left: auto; right: -30px; top: -80px; width: 220px; opacity: .16; }
@media (max-width: 900px) { .page-hero .hero-spine { display: none; } }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }

.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(100,29,20,.06); display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--grey-dark); font-size: 17px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card-tag { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.card-dark { background: var(--garnet); color: rgba(255,255,255,.88); box-shadow: none; }
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,.82); }
.card-dark .link-arrow { color: var(--orange); }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .card-body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; }
.fact { border-top: 2px solid var(--orange); padding-top: 18px; }
.fact h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.fact p { font-size: 16px; margin: 0; }
.bg-garnet .fact p, .bg-garnet-deep .fact p { color: rgba(255,255,255,.78); }
.fact-icon { display: flex; gap: 18px; align-items: flex-start; }
.fact-icon img { width: 56px; flex: none; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--white); font-weight: 500; display: grid; place-items: center; }
.step h3 { font-size: 19px; }
.step p { font-size: 16px; color: var(--grey-dark); }
.bg-garnet .step p { color: rgba(255,255,255,.8); }

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.timeline .card { border-top: 3px solid var(--orange); }
.timeline .when { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-weight: 500; }

.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.bg-garnet .checks li { border-bottom-color: rgba(255,255,255,.14); }

.price { font-size: 64px; font-weight: 700; color: var(--garnet); line-height: 1; }
.price small { font-size: 16px; font-weight: 400; color: var(--grey); display: block; margin-top: 8px; letter-spacing: .06em; text-transform: uppercase; }

.quote { border-left: 3px solid var(--orange); padding: 4px 0 4px 26px; }
.quote p { font-size: 21px; color: var(--garnet); font-weight: 400; }
.quote cite { font-style: normal; font-size: 15px; color: var(--grey); }

.figure { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 1px rgba(100,29,20,.06); }
.figure figcaption { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }
figure { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--garnet); font-size: 19px; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: var(--orange); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: var(--grey-dark); }


/* notice */
.notice { background: var(--beige-light); border-left: 3px solid var(--grey); padding: 16px 20px; font-size: 15px; color: var(--grey-dark); }

/* CTA band */
.cta { text-align: center; }
.cta .lead { margin: 0 auto; }
.cta .btns { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--garnet-ink); color: rgba(255,255,255,.72); font-size: 15px; padding: 72px 0 32px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-logo img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.footer-note { font-size: 13px; color: rgba(255,255,255,.5); max-width: 760px; margin-top: 20px; }

/* prose (legal pages) */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; text-transform: none; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* solutions dropdown */
.dropdown { position: relative; }
.dropdown-label::after { content: " \25BE"; font-size: 12px; }
.dropdown-menu { display: none; position: absolute; left: -18px; top: 100%; min-width: 250px; background: var(--garnet-deep); padding: 10px 18px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; flex-direction: column; }
.dropdown-menu a { padding: 10px 0; text-transform: none; letter-spacing: .02em; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dropdown-menu a:last-child { border-bottom: 0; }
@media (max-width: 1080px) {
  .dropdown-label { display: none !important; }
  .dropdown-menu { display: flex; flex-direction: column; position: static; padding: 0; background: none; box-shadow: none; min-width: 0; }
  .dropdown-menu a { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}


/* Stripe buy button */
.stripe-buy { margin: 8px 0 0; }
