/* Queue Flow Designer landing — "wayfinding sign over a taped floor" */
:root {
  --floor: #eeebe4;
  --floor-2: #e4e0d6;
  --paper: #f8f6f1;
  --ink: #1d2428;
  --ink-soft: #46515a;
  --muted: #69727a;
  --tape: #f2b619;
  --teal: #0d6b62;
  --teal-2: #0a5952;
  --heat: #d4452b;
  --line: #d3cdbf;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--floor);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px; background: var(--tape); color: var(--ink); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 12px; }

/* header: a hanging sign with a tape strip under it */
.sign { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.sign-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .3px; }
.brand:hover { color: var(--tape); }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 12px; color: #e9e6df; text-decoration: none; font-weight: 600; font-size: 16px; min-height: 44px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--tape); }
.tape { height: 8px; background: repeating-linear-gradient(90deg, var(--tape) 0 64px, transparent 64px 84px); }

.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; font-size: 14px; color: var(--teal); margin: 0 0 12px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(54px, 8vw, 104px); line-height: .92; margin: 0 0 24px; letter-spacing: -.5px; }
.lead { font-size: 21px; color: var(--ink-soft); max-width: 36em; margin: 0 0 28px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.facts { display: flex; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; flex-wrap: wrap; }
.facts li { font-weight: 600; font-size: 15px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 4px; }

.cta {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .4px; text-decoration: none; border-radius: 6px;
  box-shadow: 6px 6px 0 var(--tape);
}
a.cta:hover { color: var(--tape); }
.cta-soon { background: var(--paper); color: var(--ink); border: 2px dashed var(--ink); box-shadow: none; cursor: default; }
.link-arrow { font-weight: 600; color: var(--ink); }
.link-arrow::after { content: " \2193"; }

.hero-shot { margin: 0; position: relative; justify-self: center; max-width: 380px; }
.hero-shot img, .story-shot img { border: 10px solid var(--ink); border-radius: 30px; background: var(--ink); }
.hero-shot::before, .story-shot::before {
  content: ""; position: absolute; width: 110px; height: 26px; background: var(--tape); top: -10px; left: -26px; transform: rotate(-24deg); opacity: .95;
}
.hero-shot figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.hero-shot figcaption span { font-weight: 600; color: var(--ink); }

/* how it works: a taped lane */
.how { padding: 64px 0; background: var(--paper); border-block: 1px solid var(--line); }
.section-h { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1; margin: 0 0 36px; }
.lane { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.lane li { padding: 0 28px 0 0; position: relative; }
.lane li + li { padding-left: 28px; border-left: 4px dashed var(--tape); }
.num { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--teal); }
.lane h3 { font-family: var(--display); font-size: 30px; margin: 8px 0 8px; }
.lane p { margin: 0; color: var(--ink-soft); }

/* feature stories */
.stories { padding: 72px 0 24px; }
.story { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.story-flip { grid-template-columns: 1fr 380px; }
.story-flip .story-shot { order: 2; }
.story-shot { margin: 0; position: relative; }
.story-wide { grid-column: span 1; }
.story:first-child { grid-template-columns: 1.1fr 1fr; }
.story-wide img { border-radius: 22px; }
.tag { display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; background: var(--ink); color: var(--tape); padding: 4px 10px; border-radius: 3px; margin: 0 0 14px; }
.story h2 { font-family: var(--display); font-size: clamp(36px, 4.4vw, 52px); line-height: 1; margin: 0 0 16px; }
.story p { color: var(--ink-soft); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 6px; background: var(--tape); }

/* glossary */
.glossary { padding: 64px 0; background: var(--floor-2); }
.glossary dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 3px solid var(--ink); }
.glossary dl > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.glossary dl > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.glossary dt { font-family: var(--display); font-weight: 700; font-size: 26px; }
.glossary dd { margin: 4px 0 0; color: var(--ink-soft); }
.note { font-size: 15px; color: var(--muted); margin: 24px 0 0; }

/* offline band */
.offline { background: var(--ink); color: #f1efe9; padding: 56px 0; }
.offline-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.offline h2 { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; margin: 0; color: var(--tape); }
.offline p { margin: 0; font-size: 19px; }

/* faq */
.faq { padding: 72px 0; }
.faq details { border-bottom: 2px solid var(--ink); padding: 6px 0; max-width: 860px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 26px; padding: 12px 0; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 28px; color: var(--teal); }
.faq details[open] summary::before { content: "\2013"; }
.faq details p { margin: 0 0 16px 28px; color: var(--ink-soft); }

/* download strip */
.download { padding: 40px 0 72px; }
.download-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 24px; }
.download-row > div { flex: 1 1 260px; }
.download-icon { border-radius: 22px; }
.download h2 { font-family: var(--display); font-size: 36px; margin: 0; }
.download p { margin: 4px 0 0; color: var(--ink-soft); }

/* footer */
.foot { background: var(--ink); color: #d9d6ce; padding: 48px 0 24px; border-top: 8px solid var(--tape); }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-logo { background: var(--paper); border-radius: 6px; padding: 6px 8px; width: 260px; }
.foot-h { font-family: var(--display); font-size: 22px; margin: 0 0 8px; color: var(--tape); }
.foot p { margin: 0 0 8px; font-size: 16px; }
.foot-small { margin-top: 28px; font-size: 14px; color: #a7aaa8; }

/* privacy / legal */
.legal { padding: 56px 0 72px; }
.legal-wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-size: clamp(44px, 6vw, 72px); line-height: 1; margin: 0 0 16px; }
.legal h2 { font-family: var(--display); font-size: 30px; margin: 36px 0 8px; padding-top: 12px; border-top: 3px solid var(--tape); }
.legal p, .legal li { color: var(--ink-soft); }
.legal .meta { font-size: 15px; color: var(--muted); }
.legal code { font-size: 15px; background: var(--paper); padding: 1px 5px; border-radius: 3px; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .story, .story-flip, .story:first-child, .offline-grid, .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-flip .story-shot { order: 0; }
  .story-shot, .hero-shot { max-width: 340px; justify-self: center; }
  .story-wide { max-width: 100%; }
  .lane { grid-template-columns: 1fr; gap: 28px; }
  .lane li, .lane li + li { padding: 0 0 0 20px; border-left: 4px dashed var(--tape); }
  .glossary dl { grid-template-columns: 1fr; }
  .glossary dl > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .story { margin-bottom: 64px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand span { font-size: 22px; }
  .nav a { padding: 8px 8px; font-size: 15px; }
  .lead { font-size: 19px; }
  .hero-shot::before, .story-shot::before { left: -8px; width: 80px; }
}
