/* Shared parts: tokens match the current Quadron page. Concepts override the tokens
   and lay the sections out themselves. */
:root {
  --ink: #1b1c1e;
  --muted: #6a6c70;
  --line: #dcdcda;
  --paper: #ffffff;
  --stone: #f5f5f4;
  --rust: #a84b2f;
  --rust-soft: #f4e4dc;
  --teal: #2e6f5e;
  --teal-soft: #dcefec;
  --blue: #2f7bf6;
  --display: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
small { font-size: 13px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.q-serif { font-family: var(--serif); }
.accent { color: var(--rust); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.q-logo { display: inline-flex; align-items: center; gap: 1px; font: 400 27px/1 var(--display); letter-spacing: .01em; text-decoration: none; color: inherit; }
.q-mark { width: 24px; height: 24px; flex: none; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); padding-block: 4px; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); border-color: var(--rust); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 9px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 8px 20px -10px var(--rust); }
.btn-primary:hover { background: #943f26; }
.btn-ghost { color: var(--ink); padding-inline: 8px; }
.btn-light { background: #fff; color: var(--rust); }
.btn-small { padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Phone */
.q-phone { width: min(100%, 350px); height: 660px; margin-inline: auto; display: flex; flex-direction: column; background: #fff; border: 10px solid #232427; border-radius: 48px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(20,20,20,.45); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #111; }
.q-phone-status { display: flex; justify-content: space-between; align-items: center; padding: 11px 24px 4px; font-weight: 600; font-size: 15px; }
.q-island { width: 90px; height: 25px; background: #000; border-radius: 14px; }
.q-signal { font-size: 9px; letter-spacing: 1px; }
.q-phone-head { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; padding: 4px 12px 8px; background: #f6f6f7; border-bottom: 1px solid #e3e3e5; font-size: 12px; }
.q-back { color: #0a84ff; font-size: 24px; line-height: 1; }
.q-back b { background: #0a84ff; color: #fff; font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 9px; vertical-align: 4px; }
.q-contact { display: grid; justify-items: center; gap: 2px; }
.q-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#8e8e93, #6d6d72); color: #fff; font-weight: 600; font-size: 14px; }
.q-video { text-align: right; color: #0a84ff; font-size: 22px; }
.q-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; padding: 12px; overscroll-behavior: contain; }
.q-bubble { max-width: 82%; padding: 8px 12px; border-radius: 17px; font-size: 14.5px; line-height: 1.3; animation: q-pop .22s ease-out; }
.q-me { align-self: flex-end; background: #0a84ff; color: #fff; }
.q-them { align-self: flex-start; background: #e9e9eb; }
.q-typing { display: flex; gap: 4px; padding-block: 12px; }
.q-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9e; animation: q-blink 1s infinite; }
.q-typing i:nth-child(2) { animation-delay: .15s; } .q-typing i:nth-child(3) { animation-delay: .3s; }
.q-input { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.q-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9e9eb; color: #555; }
.q-field { flex: 1; padding: 5px 12px; border: 1px solid #d0d0d3; border-radius: 16px; font-size: 14px; color: #a2a2a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-field.is-hint { border-color: #0a84ff; }
.q-suggest { display: flex; min-height: 46px; background: #d2d4d9; padding: 4px; }
.q-suggest button { flex: 1; min-width: 0; padding: 8px 2px; background: none; border: 0; border-right: 1px solid #b6b8bd; font-size: 14px; color: #111; }
.q-suggest button:last-child { border-right: 0; }
.q-suggest button:hover { background: #e7e8eb; border-radius: 6px; }
.q-home { height: 20px; background: #d2d4d9; position: relative; }
.q-home::after { content: ""; position: absolute; left: 50%; top: 7px; width: 34%; height: 4px; background: #111; border-radius: 3px; transform: translateX(-50%); }
@keyframes q-pop { from { transform: translateY(5px) scale(.98); opacity: .4; } }
@keyframes q-blink { 50% { opacity: .3; } }

.q-note h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.q-note p { font-size: 15px; color: var(--muted); }

/* Slider */
.q-compare { --pos: 52%; position: relative; aspect-ratio: 12 / 7; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; cursor: ew-resize; touch-action: pan-y; user-select: none; background: var(--stone); }
.q-layer { position: absolute; inset: 0; }
.q-layer svg { width: 100%; height: 100%; display: block; }
.q-thinking { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.q-tag { position: absolute; bottom: 12px; padding: 5px 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 5px; }
.q-tag-l { left: 12px; } .q-tag-r { right: 12px; }
.q-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--rust); }
.q-handle i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff; background: var(--rust); color: #fff; font-style: normal; font-size: 14px; }
.q-slider-label { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.q-slider-label input { flex: 1; min-width: 80px; accent-color: var(--rust); }

/* Steps and cards */
.q-step { border-top: 1px solid var(--line); padding-top: 12px; }
.q-num { color: var(--rust); font-size: 13px; font-variant-numeric: tabular-nums; }
.q-step h3 { font-size: 21px; font-weight: 600; margin: 10px 0 8px; }
.q-step p { color: var(--muted); font-size: 16px; }
.q-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; box-shadow: 0 10px 24px -22px rgba(0,0,0,.4); }
.q-card header { display: flex; align-items: center; gap: 8px; }
.q-card header em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.q-card header small { display: block; color: var(--muted); }
.q-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.q-card footer span { padding: 2px 10px; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; color: var(--ink); }
.q-card hr { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); }
.q-chip-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; }
.q-av { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--rust-soft); color: var(--rust); font-size: 12px; font-weight: 600; }
.q-msg { display: flex; gap: 10px; }
.q-msg small { color: var(--muted); }
.q-private { padding: 10px 12px; background: var(--stone); border: 1px solid var(--line); border-radius: 10px; }
.q-private small { color: var(--muted); }
.q-private.is-kept { background: var(--teal-soft); border-color: var(--teal); }
.q-keep { display: flex; gap: 6px; margin-top: 8px; }
.q-keep button { padding: 5px 12px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; }
.q-keep .q-btn-keep { background: var(--teal); border-color: var(--teal); color: #fff; }
.q-square { width: 10px; height: 10px; background: var(--rust); border-radius: 2px; }
.q-label, .q-muted { color: var(--muted); }
.q-big { font-size: 18px; line-height: 1.35; }
.q-noticed { padding: 12px 14px; background: var(--teal-soft); border-radius: 10px; font-size: 14px; color: #1f5548; }
.q-eyebrow { color: var(--rust); font-weight: 600; letter-spacing: .08em; }
.q-meter { height: 5px; background: var(--stone); border-radius: 3px; overflow: hidden; }
.q-meter i { display: block; width: 55%; height: 100%; background: #d39a82; }

/* Audiences */
.q-aud { border-top: 2px solid var(--ink); padding-top: 12px; }
.q-aud h3 { font-size: 21px; font-weight: 500; line-height: 1.22; }
.q-aud h3 span { color: var(--rust); }
.q-aud p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* Flow */
.q-flow { display: grid; grid-template-columns: minmax(180px, 250px) minmax(40px, 1fr) minmax(0, 480px); align-items: stretch; }
.q-tools { display: grid; grid-auto-rows: 1fr; gap: 6px; }
.q-tool { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 7px 10px; background: none; border: 1px solid transparent; border-radius: 11px; text-align: left; font-size: 15px; }
.q-tool em { margin-left: auto; padding: 2px 9px; border-radius: 12px; background: var(--rust-soft); color: var(--rust); font-size: 12px; font-style: normal; font-weight: 600; opacity: 0; transition: opacity .2s; }
.q-tool:hover, .q-tool.is-on { background: #fff; border-color: var(--rust); box-shadow: 0 8px 20px -16px rgba(0,0,0,.5); }
.q-tool.is-on em { opacity: 1; }
.q-wirebox { position: relative; min-width: 0; }
.q-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.q-wires path { stroke: #c6c6c3; stroke-width: 1; stroke-dasharray: 3 5; transition: stroke .3s; }
.q-wires path.is-on { stroke: var(--rust); stroke-width: 2; stroke-dasharray: none; }
.q-rec { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 40px -36px rgba(0,0,0,.5); overflow: hidden; }
.q-rec header { display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.q-rec header span { display: inline-flex; }
.q-rec header small { margin-left: auto; font-weight: 400; color: var(--muted); }
.q-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 15px 18px 15px 24px; border-bottom: 1px solid var(--line); transition: background .3s; }
.q-row::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 1.5px; background: var(--rust-soft); transition: background .3s; }
.q-row:last-child { border-bottom: 0; }
.q-row small { grid-column: 1 / -1; color: var(--muted); }
.q-row p { font-size: 18px; }
.q-row.is-on { background: #fbf6f3; }
.q-row.is-on::before { background: var(--rust); }
.q-state { align-self: center; font-size: 13px; font-weight: 500; }
.q-state-kept { color: var(--rust); }
.q-flow-foot { margin-top: 16px; display: grid; gap: 8px; }
.q-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 13px; color: var(--muted); }
.q-legend span::before { content: ""; display: inline-block; width: 22px; height: 0; margin-right: 8px; vertical-align: middle; border-top: 1.5px solid var(--rust); }
.q-legend .q-used::before { border-color: var(--ink); }
.q-flow-note { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.q-pause { padding: 4px 8px; background: none; border: 0; font-size: 13px; }
@media (max-width: 760px) {
  .q-flow { grid-template-columns: 1fr; gap: 18px; }
  .q-wirebox { display: none; }
  .q-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-tool em { display: none; }
}

/* Privacy */
.q-privacy { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.q-privacy li { position: relative; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.35; }
.q-privacy li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 10px; height: 10px; border-radius: 2px; background: var(--rust); }
.q-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.q-side { display: grid; align-content: start; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.q-side > small { font-weight: 600; color: var(--muted); }
.q-side > .q-serif { font-size: 18px; line-height: 1.4; }
.q-side-out { border-color: var(--rust); }
.q-side-out > small { color: var(--rust); }
.q-side-note { color: var(--muted); font-size: 14px; }
.q-promise { margin: 0; padding: 22px 24px; border-left: 3px solid var(--rust); background: #fff; }
.q-promise small { display: block; margin-bottom: 8px; font-weight: 600; color: var(--muted); }
.q-promise p { font-size: 17px; line-height: 1.55; }

/* FAQ */
.q-faq { border-bottom: 1px solid var(--line); }
.q-faq:first-child { border-top: 1px solid var(--line); }
.q-faq summary { position: relative; padding: 18px 34px 18px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.q-faq summary::-webkit-details-marker { display: none; }
.q-faq i { position: absolute; right: 2px; top: 30px; width: 14px; height: 1.6px; background: var(--rust); }
.q-faq i::after { content: ""; position: absolute; inset: 0; background: var(--rust); transform: rotate(90deg); transition: transform .2s; }
.q-faq[open] i::after { transform: rotate(0); }
.q-faq p { padding-bottom: 20px; max-width: 62ch; color: #404246; }

/* Closing and footer */
.closing { padding-block: clamp(64px, 9vw, 110px); background: var(--rust); color: #fff; text-align: center; }
.closing h2 { font-size: clamp(32px, 5vw, 52px); }
.closing h2 span { color: #f8d9ca; }
.closing p { margin: 16px 0 28px; font-size: 18px; color: #fbe9e1; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; gap: 24px; }
.site-foot .q-logo { font-size: 23px; color: var(--ink); }
.concept-tag { position: fixed; right: 14px; bottom: 14px; z-index: 30; padding: 7px 12px; background: var(--ink); color: #fff; border-radius: 20px; font-size: 12px; text-decoration: none; }
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .mobile-cta.is-on { opacity: 1; pointer-events: auto; }
  .concept-tag { bottom: 70px; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
