/* Docqon marketing site — Infiqon brand palette. No webfonts, no JS deps. */

:root {
  --blue: #2E7BE5;
  --blue-dark: #0856B9;
  --blue-deep: #0452BE;
  --orange: #F78E15;
  --green: #4FA951;
  --ink: #060A16;
  --ink-2: #37415a;
  --muted: #68738a;
  --line: #e4e8ef;
  --surface: #ffffff;
  --tint: #f5f8fd;
  --page: #fbfcfe;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(6,10,22,.05), 0 12px 32px -12px rgba(6,10,22,.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.62 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture { max-width: 100%; }
img { height: auto; }
a { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; letter-spacing: -.022em; line-height: 1.15; }
h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--tint); padding: .1em .35em; border-radius: 5px; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 100;
  border-radius: 8px; box-shadow: var(--shadow); }

/* ---------------- nav ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.navrow { display: flex; align-items: center; gap: 18px; height: 70px; position: relative; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.navlinks { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.navlinks a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 8px 12px; border-radius: 9px; }
.navlinks a:hover { background: var(--tint); color: var(--ink); }
.navlinks a.on { color: var(--blue-deep); background: #e9f1fd; }
.navcta { background: var(--blue-deep); color: #fff !important; padding: 9px 16px !important;
  border-radius: 10px; font-weight: 600; }
.navcta:hover { background: var(--blue-dark); }
.navcta.ghost { background: transparent; color: var(--ink-2) !important;
  border: 1px solid var(--line); }
.navcta.ghost:hover { background: var(--tint); }
.menuchk { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue-deep); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn.big { padding: 15px 26px; font-size: 1.03rem; }
.btn.wide { width: 100%; }
.btn.ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { background: var(--tint); }
.btn.ghostblue { background: rgba(255,255,255,.14); color: #fff !important;
  border-color: rgba(255,255,255,.5); }
.btn.ghostblue:hover { background: rgba(255,255,255,.24); }
.ctarow { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.arrow { font-weight: 600; text-decoration: none; }
.arrow::after { content: " \2192"; }
.arrow:hover { text-decoration: underline; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 76px;
  border-bottom: 1px solid var(--line); background: #fff; }
.herobg { position: absolute; inset: 0; z-index: 0; display: block; }
.herobg img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, #fff 32%, rgba(255,255,255,.74) 58%, rgba(255,255,255,.2) 100%); }
.herorow { position: relative; z-index: 2; }
.herotext { max-width: 700px; }
.eyebrow { font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; }
.eyebrow a { color: var(--blue-deep); text-decoration: none; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.micro { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------------- stat band ---------------- */
.band { background: var(--ink); color: #fff; padding: 34px 0; }
.bandrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bandrow b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.bandrow span { color: #aab4c6; font-size: .93rem; line-height: 1.45; display: block; }

/* ---------------- sections ---------------- */
.sec { padding: 78px 0; }
.sec.alt { background: var(--tint); border-block: 1px solid var(--line); }
.page { padding: 64px 0 12px; }
.sub { color: var(--muted); font-size: 1.06rem; margin-top: -.3em; }
.note { color: var(--muted); font-size: .95rem; text-align: center; margin-top: 26px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split.rev > *:first-child { order: 2; }
.sideart { display: block; }
.sideart img { border-radius: var(--radius); display: block; }

.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .sub { font-size: .97rem; margin-bottom: .8em; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .34em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg); }

/* ---------------- how it works ---------------- */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); }
.step:nth-child(even) .steptext { order: 2; }
.stepno { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-deep); color: #fff;
  font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.step h3 { font-size: 1.28rem; }
.step p { margin-bottom: 0; color: var(--ink-2); }
.stepart { display: block; }
.stepart img { border-radius: 12px; display: block; }

/* ---------------- pluggable band ---------------- */
.plug { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff;
  padding: 44px 0; }
.plugrow { display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap; }
.plugrow p { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.62rem); font-weight: 700;
  letter-spacing: -.02em; max-width: 46ch; line-height: 1.35; }
.plugrow .btn { background: #fff; color: var(--blue-deep) !important; flex: none; }
.plugrow .btn:hover { background: #eaf1fd; }

/* ---------------- pricing ---------------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 860px; margin-inline: auto; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); }
.price.feat { border-color: var(--blue); box-shadow: 0 0 0 3px #e9f1fd, var(--shadow); }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.per { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.price .ticks { margin-top: 20px; }

/* ---------------- faq ---------------- */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.06rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--blue-deep); font-weight: 700; margin-right: 10px; }
details[open] summary::before { content: "\2013"; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---------------- prose (legal) ---------------- */
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p { color: var(--ink-2); }
.tiny { font-size: .86rem; color: var(--muted); }

/* ---------------- closing cta ---------------- */
.cta { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff;
  padding: 76px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dbe7fb; max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }
.cta .ctarow { justify-content: center; }

/* ---------------- footer ---------------- */
.foot { background: var(--ink); color: #aab4c6; padding: 56px 0 26px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
.foot img { height: 30px; width: auto; }
.foot p { font-size: .95rem; margin: 14px 0 0; max-width: 34ch; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 9px; font-size: .95rem; }
.foot a { color: #cfd7e5; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .addr li { line-height: 1.5; }
.foot .addr b { color: #fff; }
.footend { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #1c2436; margin-top: 40px; padding-top: 20px; font-size: .9rem; }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 30px; }
  .split.rev > *:first-child { order: 0; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .steptext { order: 0; }
  .stepart { max-width: 250px; }
  .footgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  /* a real mobile menu — the previous site simply hid the links */
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 11px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .navlinks { position: absolute; top: 70px; left: -20px; right: -20px; display: none;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    margin-left: 0; }
  .menuchk:checked ~ .navlinks { display: flex; }
  .menuchk:focus-visible ~ .burger { outline: 2px solid var(--blue); outline-offset: 2px; }
  .navlinks a { padding: 12px 14px; font-size: 1.02rem; }
  .navcta, .navcta.ghost { text-align: center; justify-content: center; }
  .bandrow { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .prices { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding: 56px 0; }
  .hero { padding: 56px 0 52px; }
  .cards.two, .cards.three { grid-template-columns: 1fr; }
  .bandrow { grid-template-columns: 1fr 1fr; }
  .footgrid { grid-template-columns: 1fr; }
  .ctarow .btn { width: 100%; }
  .plugrow .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
