/* LogiQ base: shared tokens, grid and components for every variation. Each page sets its own type tokens. */
:root {
  --paper: #f6f6fa;
  --paper-2: #efeff6;
  --card: #ffffff;
  --ink: #17161d;
  --ink-2: #2b2a33;
  --muted: #5c5a6a;
  --faint: #8d8b9b;
  --line: #e3e2ec;
  --line-2: #d6d4e2;
  --indigo: #5b4bf5;
  --indigo-ink: #4535e0;
  --indigo-soft: #efedff;
  --dash: #b3a9ff;
  --ok: #1d7a52;
  --ok-soft: #e3f4ec;
  --wm: "Archivo Black", "Arial Black", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --header: 72px;
  --section: 152px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgba(23,22,29,.04), 0 24px 48px -32px rgba(40,30,120,.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: var(--display-weight, 600); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--indigo); }
.eyebrow::before { content: ""; width: 18px; height: 6px; border-radius: 99px; background: var(--dash); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 var(--body); letter-spacing: -0.005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--indigo); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--indigo); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
header.site.scrolled { border-bottom-color: var(--line); }
header.site .wrap { height: var(--header); display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); }
.wm { font-family: var(--wm); font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.wm b { color: var(--indigo); font-weight: 400; }
.wm-arrow { width: .78em; height: .87em; margin-left: .14em; font-size: 24px; transform: translateY(-.06em); }
nav.main { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; margin-right: auto; }
nav.main a { text-decoration: none; color: var(--muted); transition: color .2s; }
nav.main a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 6px; }
.head-actions .plain { font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 0 14px; color: var(--ink); }

/* product frames */
.ui { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; font-family: var(--body); }
.ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ui-bar b { color: var(--ink); font-weight: 600; }
.ui-bar .crumb { display: flex; align-items: center; gap: 8px; }
.ui-bar .crumb i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.ui-body { padding: 18px; display: grid; gap: 14px; }
.ui .k { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .02em; }
.prompt { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 16px; line-height: 1.5; background: var(--paper); }
.prompt .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--indigo); vertical-align: -3px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-foot span { font-size: 12.5px; color: var(--faint); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.run { background: var(--indigo-soft); color: var(--indigo); }
.pill.wait { background: var(--ink); color: #fff; }
.pill.live { background: var(--ok-soft); color: var(--ok); }
.pill.soon { background: var(--paper-2); color: var(--muted); }
.mini-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink); background: var(--card); }
.mini-btn.go { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.steps-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.steps-list li:first-child { border-top: 0; padding-top: 2px; }
.steps-list .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.steps-list .st-tool { display: inline-flex; align-items: center; gap: 8px; }
.steps-list .st-tool svg { width: 15px; height: 15px; flex: none; }
.mail { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mail-h { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mail-h b { color: var(--ink); font-weight: 600; }
.mail-b { padding: 14px; font-size: 14.5px; line-height: 1.55; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acts .note { margin-left: auto; font-size: 12px; color: var(--faint); }
.conn li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.conn li:first-child { border-top: 0; padding-top: 2px; }
.conn svg { width: 18px; height: 18px; flex: none; }
.conn .pill { margin-left: auto; }
.trail li { display: grid; grid-template-columns: 46px 86px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.trail li:first-child { border-top: 0; padding-top: 2px; }
.trail .t { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; }
.trail .a { font-weight: 600; }
.trail .a.ai { color: var(--indigo); }
.trail .d { color: var(--ink-2); }
.trail .d em { font-style: normal; color: var(--ok); font-weight: 600; }

/* sections */
section.band { padding-block: var(--section); }
.sec-head { display: grid; gap: 18px; max-width: 760px; }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: var(--display-track, -0.035em); }
.sec-head p { font-size: 19px; color: var(--muted); max-width: 56ch; }

/* rules */
.rules { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rule { padding: 28px 32px 0 0; display: grid; gap: 14px; align-content: start; }
.rule + .rule { padding-left: 32px; border-left: 1px solid var(--line); }
.rule h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.rule p { color: var(--muted); font-size: 16px; }
.rule .pill { justify-self: start; }

/* tools */
.tools-row { margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 132px; }
.tool svg { width: 26px; height: 26px; }
.tool b { font-size: 15px; font-weight: 600; margin-top: auto; }
.tool .pill { margin-top: -10px; }
.tool.soon svg { filter: grayscale(1); opacity: .45; }
.tool.soon b { color: var(--muted); font-weight: 500; }
.tool.more { justify-content: center; color: var(--muted); font-size: 14.5px; }

/* pricing */
.price-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.ptable { margin-top: 56px; border-top: 1px solid var(--ink); }
.prow { display: grid; grid-template-columns: 200px 160px minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.prow h3 { font-size: 22px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prow .price { font-family: var(--display); font-weight: var(--display-weight, 600); font-size: 40px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.prow .price small { font-family: var(--body); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.prow .what { color: var(--muted); font-size: 15.5px; }
.prow .btn { justify-self: end; }
.prow.rec { background: linear-gradient(90deg, var(--indigo-soft), transparent 70%); margin-inline: -20px; padding-inline: 20px; border-radius: 12px; border-bottom-color: transparent; }
.dfy { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: var(--ink); color: #f1f0f7; border-radius: var(--r-lg); padding: 40px 44px; }
.dfy h3 { font-size: 28px; letter-spacing: -0.025em; color: #fff; }
.dfy p { margin-top: 10px; color: #b9b7c8; max-width: 62ch; }
.dfy .btn-primary { background: #fff; color: var(--ink); }
.dfy .btn-primary:hover { background: var(--indigo); color: #fff; }
.pnote { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 86ch; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding-block: 72px 40px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 32px; }
.foot p { margin-top: 16px; color: var(--muted); max-width: 32ch; }
.foot h4 { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* reveal: content is visible at rest; motion only adds a gentle lift */
.rv { transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.js .rv:not(.in) { transform: translateY(18px); }

@media (max-width: 1080px) {
  :root { --section: 112px; }
  nav.main { display: none; }
  header.site .wrap { justify-content: space-between; }
  .tools-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prow { grid-template-columns: 150px 130px minmax(0, 1fr); }
  .prow .btn { display: none; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 88px; --header: 64px; }
  .head-actions .plain { display: none; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .rule, .rule + .rule { padding: 24px 0; border-left: 0; }
  .rule + .rule { border-top: 1px solid var(--line); }
  .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 22px 0; }
  .prow .what { grid-column: 1 / -1; }
  .prow .price { font-size: 32px; }
  .prow.rec { margin-inline: -12px; padding-inline: 12px; }
  .dfy { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv:not(.in) { transform: none; }
}

/* ---------- inner pages ---------- */
nav.main a[aria-current="page"] { color: var(--ink); }
.page-head { padding-block: 112px 96px; }
.page-head h1 { font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: var(--display-track, -0.045em); max-width: 13ch; }
.page-head h1 .dot { color: var(--indigo); }
.page-head .lead { margin-top: 28px; font-size: 20px; color: var(--muted); max-width: 52ch; }
.page-head .cta { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }

/* detailed steps */
.dsteps { border-top: 1px solid var(--ink); }
.dstep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); padding-block: 72px; border-bottom: 1px solid var(--line); align-items: start; }
.dstep .txt { display: grid; gap: 16px; }
.dstep .mark { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--indigo); }
.dstep .mark i { width: 30px; height: 9px; border-radius: 99px; background: var(--dash); }
.dstep h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: var(--display-track, -0.04em); }
.dstep p { color: var(--muted); font-size: 17.5px; }
.dstep .ui { grid-column: 3; }
.ticks { display: grid; gap: 10px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--indigo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%235b4bf5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* cards */
.cards3 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.card p { color: var(--muted); font-size: 16px; }
.card .k { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.card ul.plain { display: grid; gap: 8px; font-size: 15.5px; }
.card ul.plain li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.card ul.plain li span:last-child { color: var(--muted); }

/* sectors */
.sector-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); padding-block: 72px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 16px); }
.sector-row:first-child { border-top-color: var(--ink); }
.sector-row .txt { display: grid; gap: 16px; align-content: start; }
.sector-row h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; letter-spacing: var(--display-track, -0.04em); }
.sector-row .intro { color: var(--muted); font-size: 18px; max-width: 40ch; }
.sector-row .right { grid-column: 3; display: grid; gap: 20px; }
.jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.jobs li:first-child { border-top: 0; padding-top: 0; }
.say { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 8px; }
.say .k { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .02em; }
.say p { font-size: 17px; line-height: 1.5; }

/* security */
.facts { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 26px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { font-family: var(--display); font-weight: var(--display-weight, 600); font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.fact span { color: var(--muted); font-size: 15.5px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); align-items: start; }
.split .right { grid-column: 3; display: grid; gap: 18px; }
.split .right p { color: var(--muted); font-size: 17.5px; }

/* pricing page */
.plans4 { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.plan { padding: 32px 28px; display: grid; gap: 18px; align-content: start; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.rec { background: var(--indigo-soft); }
.plan .name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 17px; }
.plan .for { font-size: 14px; color: var(--muted); margin-top: -10px; min-height: 2.6em; }
.plan .price { font-family: var(--display); font-weight: var(--display-weight, 600); font-size: 52px; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .yr { font-size: 13px; color: var(--faint); margin-top: -10px; }
.plan .btn { width: 100%; }
.plan .ticks li { font-size: 15px; }
.billing-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.billing-toggle button { border: 0; background: transparent; font: 600 14px/1 var(--body); color: var(--muted); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.compare-wrap { margin-top: 64px; overflow-x: auto; }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .y { color: var(--indigo); font-weight: 700; }
.compare .n { color: var(--faint); }
.compare .grp th { padding-top: 32px; font-family: var(--mono); font-size: 12px; color: var(--faint); font-weight: 500; border-bottom-color: var(--line); }
.calc { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }

/* CTA band */
.cta-band { padding-block: 0 var(--section); }
.cta-band .inner { background: var(--ink); color: #f1f0f7; border-radius: 28px; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); line-height: .98; letter-spacing: var(--display-track, -0.04em); max-width: 14ch; }
.cta-band p { margin-top: 16px; color: #b9b7c8; max-width: 52ch; font-size: 18px; }
.cta-band .acts2 { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--indigo); color: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* mobile menu */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }
.mmenu { border-top: 1px solid var(--line); background: var(--paper); }
.mmenu[hidden] { display: none; }
.mmenu ul { max-width: var(--wrap); margin: 0 auto; padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.mmenu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; }
.mmenu a[aria-current="page"] { color: var(--indigo); }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .dstep, .sector-row, .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dstep .ui, .sector-row .right, .split .right { grid-column: 1; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .plans4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band .inner { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .page-head { padding-block: 56px 56px; }
  .dstep, .sector-row { padding-block: 48px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { border-left: 0; padding-left: 0; }
  .plans4 { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band .inner { padding: 36px 22px; border-radius: 20px; }
  .head-actions .btn-primary { display: none; }
}

/* audit summary screen */
.audit-list .hrs { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
/* LogiQ AI questions screen */
.qa { gap: 16px; }
.ui .qa .q { justify-self: end; max-width: 85%; background: var(--indigo-soft); color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-size: 15px; }
.ui .qa .a, .ui .qa .a p { display: grid; gap: 12px; font-size: 15px; }
.qa-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qa-stats li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.qa-stats b { font-size: 22px; letter-spacing: -0.03em; }
.qa-stats span { font-size: 12px; color: var(--muted); }
.ui .qa .src { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.qa .ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 5px 5px 16px; font-size: 14px; color: var(--faint); }
/* audit flow */
.flow4 { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: f; }
.flow4 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 10px; align-content: start; }
.flow4 .k { font-family: var(--mono); font-size: 12px; color: var(--indigo); }
.flow4 h3 { font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.flow4 p { color: var(--muted); font-size: 15.5px; }
/* booking form */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr); align-items: start; padding-bottom: var(--section); }
.book form, .book .done { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 18px; }
.book .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.book label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.book label small { font-weight: 400; color: var(--faint); }
.book input, .book select, .book textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; }
.book textarea { min-height: 110px; resize: vertical; }
.book input:focus, .book select:focus, .book textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: transparent; }
.book .fine { font-size: 13px; color: var(--faint); }
.book aside { grid-column: 3; display: grid; gap: 18px; }
.book aside h3 { font-size: 22px; letter-spacing: -0.02em; }
.book .done h2 { font-size: 32px; letter-spacing: -0.03em; }
.book .done p { color: var(--muted); }
.founder { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; }
.founder .av { width: 72px; height: 72px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 24px; }
.founder b { font-size: 20px; display: block; }
.founder span { color: var(--muted); }
@media (max-width: 1080px) { .flow4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .book { grid-template-columns: minmax(0, 1fr); gap: 32px; } .book aside { grid-column: 1; } }
@media (max-width: 760px) { .flow4, .book .row2 { grid-template-columns: minmax(0, 1fr); } .book form { padding: 22px; } }

.book [hidden] { display: none; }
