/* Budu zlobit — jediný stylesheet. Tokeny odpovídají tailwind.config.js hlavního webu. */
@font-face {
  font-family: "Spezia Narrow";
  src: url("assets/SpeziaNarrowWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spezia Narrow";
  src: url("assets/SpeziaNarrowWeb-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --background: #f0f0f0;
  --orange: #ff5b29;
  --blue: #0055ff;
  --ink: #000;
  --white: #fff;
  --line: #b9b9b9;
  --muted: #545454;
  --grid-line: #00000030;
  font-family: "Spezia Narrow", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
button {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: not-allowed;
}
button svg {
  pointer-events: none;
}
a {
  color: inherit;
}
::selection {
  background: var(--orange);
  color: white;
}
.site-header {
  height: 104px;
  max-width: 1600px;
  margin: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  gap: 3px;
  align-items: flex-start;
  border: 0;
  background: none;
  padding: 0;
  font-size: 43px;
  letter-spacing: -3px;
  font-weight: 900;
  line-height: 1;
}
.wordmark span {
  font-size: 24px;
  letter-spacing: 0;
  color: var(--orange);
  margin: 0 2px 0 3px;
}
.header-event {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  font:
    10px/1.6 "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 1px;
}
.header-event span {
  display: block;
}
.text-button {
  border: 0;
  background: none;
  padding: 5px 0;
  font-size: 12px;
}
.help-button {
  margin-left: auto;
}
.help-button span {
  margin-left: 10px;
  font-size: 19px;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin: 0 5%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font:
    9px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 0.7px;
}
.site-footer button {
  font:
    10px "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: #5e7a44;
  margin-left: 5px;
}
.landing {
  max-width: 1600px;
  margin: auto;
  padding: 65px 5% 34px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  align-items: center;
  min-height: 510px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(62px, 7.8vw, 120px);
  line-height: 1;
  margin: 28px 0 27px;
  max-width: 790px;
}
.hero-copy h1 em {
  color: var(--orange);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero-copy h1 em:after {
  content: "";
  height: 6px;
  left: 0;
  right: 0;
  background: var(--orange);
  position: absolute;
  bottom: -8px;
  transform: rotate(-3deg);
  border-radius: 80%;
}
.hero-copy p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 0 28px;
  color: #57554e;
}
.button {
  border: 1px solid var(--ink);
  padding: 18px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 58px;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
.button.primary:hover {
  background: #c72b20;
}
.button.secondary:hover {
  background: #e5e5e5;
}
.button:disabled {
  background: #d0d0d0;
  border-color: #d0d0d0;
  color: #555;
  transform: none;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-cta small {
  font:
    11px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  color: var(--muted);
}
.hero-art {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  padding-left: 8px;
}
.orbit {
  position: absolute;
  width: 460px;
  height: 460px;
  max-width: 115%;
  color: var(--orange);
  transform: rotate(-5deg);
  opacity: 0.85;
}
.receipt-preview {
  width: 300px;
  background: var(--white);
  padding: 29px 28px 34px;
  transform: rotate(7deg);
  box-shadow: 10px 16px 20px #0000000e;
  position: relative;
}
.receipt-preview:before,
.receipt-preview:after,
.receipt:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(
      circle at 8px 0,
      transparent 6px,
      var(--white) 6.5px
    )
    repeat-x;
  background-size: 16px 10px;
  bottom: -9px;
}
.receipt-preview:before {
  top: -9px;
  bottom: auto;
  transform: rotate(180deg);
}
.receipt-label {
  text-align: center;
  font:
    10px/1.7 "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 1.2px;
}
.receipt-divider {
  border-top: 1px dashed #bdbdbd;
  margin: 18px 0;
}
.receipt-preview blockquote {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 18px 0 20px;
  font-weight: 700;
}
.receipt-meta {
  font:
    9px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.preview-stamp {
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 3px;
  display: block;
  padding: 9px 6px;
  margin: 30px auto 20px;
  width: max-content;
  font:
    700 13px "Spezia Narrow",
    Arial,
    sans-serif;
  transform: rotate(-12deg);
  letter-spacing: 2px;
}
.receipt-footnote {
  font:
    8px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  text-align: center;
}
.art-note {
  position: absolute;
  left: 12px;
  bottom: 22px;
  font:
    11px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  transform: rotate(-7deg);
  max-width: 120px;
}
.art-note:before {
  content: "↗";
  display: block;
  font-size: 44px;
  margin-left: 53px;
}
.flow {
  max-width: 960px;
  min-height: 650px;
  margin: 0 auto;
  padding: 36px 30px 60px;
}
.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 24px;
}
.back {
  font:
    12px "Spezia Narrow",
    Arial,
    sans-serif;
  border: 0;
  padding: 9px 0;
  background: none;
}
.back:hover {
  text-decoration: underline;
}
.stepper {
  display: flex;
  gap: 9px;
  align-items: center;
  font:
    10px "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 0.5px;
}
.stepper span {
  height: 5px;
  width: 38px;
  background: #d8d8d8;
}
.stepper span.complete {
  background: var(--orange);
}
.stepper b {
  font-weight: normal;
  margin-left: 8px;
}
.flow h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  margin: 15px 0 15px;
}
.lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 30px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.choice {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  align-items: center;
  gap: 12px;
  min-height: 108px;
  text-align: left;
  background: transparent;
  padding: 21px;
  border: 1px solid var(--line);
  transition:
    border 0.15s,
    background 0.15s;
}
.choice:hover {
  border-color: var(--ink);
  background: #e5e5e5;
}
.choice[aria-pressed="true"] {
  border-color: var(--orange);
  background: #e5e5e5;
  box-shadow: inset 0 0 0 1px var(--orange);
}
.choice-icon {
  width: 38px;
  height: 38px;
}
.choice-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 7px;
}
.choice-sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  display: block;
}
.choice-check {
  border: 1px solid #aaa;
  border-radius: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.choice[aria-pressed="true"] .choice-check {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.choice[aria-pressed="false"] .choice-check {
  color: transparent;
}
.flow-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
}
.tone-panel {
  padding: 28px 30px 26px;
  border: 1px solid var(--line);
  margin-top: 27px;
}
.tone-preview {
  padding: 24px 0 25px;
  min-height: 133px;
}
.tone-preview blockquote {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin: 0 0 10px;
  max-width: 670px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font:
    10px "Spezia Narrow",
    Arial,
    sans-serif;
  gap: 10px;
  margin: 16px 0 4px;
}
.range-labels span:last-child {
  text-align: right;
}
/* Slider: černá linka + čtvercový oranžový jezdec */
.range-control {
  display: block;
  width: 100%;
  height: 34px;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.range-control::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--ink);
}
.range-control::-moz-range-track {
  height: 2px;
  background: var(--ink);
}
.range-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin-top: -10px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 0;
}
.range-control::-moz-range-thumb {
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 0;
}
.tone-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font:
    10px "Spezia Narrow",
    Arial,
    sans-serif;
}
.tone-value {
  background: var(--ink);
  color: var(--background);
  padding: 6px 9px;
}
.name-field {
  margin-top: 25px;
}
.name-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}
.name-field label span {
  font-weight: normal;
  color: var(--muted);
  font-size: 11px;
}
.name-field input {
  background: var(--background);
  border: 1px solid var(--ink);
  width: 100%;
  padding: 14px 16px;
  border-radius: 0;
  font-size: 16px;
  outline-offset: 4px;
}
.name-field input::placeholder {
  color: #8a8a8a;
}
.name-field small {
  font:
    10px/1.6 "Spezia Narrow",
    Arial,
    sans-serif;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.checking {
  min-height: 650px;
  max-width: 700px;
  margin: auto;
  padding: 85px 30px;
  text-align: center;
}
.checking h1 {
  font-size: 46px;
  margin: 27px 0 10px;
}
.scanner {
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}
.scanner:after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1.3s linear infinite;
}
.scanner svg {
  width: 55px;
  height: 55px;
}
.result-page {
  max-width: 1100px;
  margin: auto;
  padding: 34px 40px 60px;
  min-height: 700px;
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 75px;
  align-items: start;
  margin-top: 32px;
}
.result-intro h1 {
  font-size: 62px;
  line-height: 1;
  margin: 20px 0;
}
.result-intro h1 span {
  color: var(--orange);
}
.result-intro .lead {
  max-width: 340px;
}
.result-actions {
  display: grid;
  gap: 10px;
  margin: 28px 0 16px;
}
.result-actions .button {
  width: 100%;
}
.action-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.action-pair .button {
  font-size: 12px;
  padding: 15px;
  gap: 10px;
  min-height: 50px;
}
.new-alibi {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-size: 12px;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.receipt {
  background: var(--white);
  padding: 28px 30px 30px;
  position: relative;
  box-shadow: 8px 12px 25px #0000000a;
  transform: rotate(2deg);
}
.receipt-type {
  font:
    10px/1.6 "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 0.5px;
}
.receipt-person {
  font-size: 12px;
  margin: 17px 0 7px;
  color: var(--muted);
}
.receipt blockquote {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  font-weight: 700;
  margin: 17px 0 22px;
  overflow-wrap: anywhere;
}
.receipt .receipt-footnote {
  font-size: 8px;
}
dialog {
  border: 1px solid var(--ink);
  padding: 42px;
  max-width: 520px;
  width: calc(100% - 32px);
  background: var(--background);
  color: var(--ink);
  max-height: 90dvh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #1d1d1b80;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 36px;
  line-height: 1;
  margin: 25px 0;
}
dialog p,
dialog li {
  font-size: 14px;
  line-height: 1.7;
}
dialog ol {
  padding-left: 20px;
}
dialog .button {
  width: 100%;
  margin-top: 20px;
  font-size: 13px;
  gap: 15px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 32px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--background);
  padding: 15px 22px;
  font-size: 12px;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  max-width: calc(100% - 32px);
  width: max-content;
  text-align: center;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  padding: 30px;
  text-align: center;
}
.enter {
  animation: enter 0.32s ease both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .site-footer {
    max-width: 1440px;
    margin: auto;
  }
}
@media (max-width: 950px) {
  .hero-copy h1 {
    font-size: 80px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 15px;
  }
  .receipt-preview {
    width: 260px;
    padding: 25px;
  }
  .receipt-preview blockquote {
    font-size: 23px;
  }
  .orbit {
    width: 360px;
    height: 410px;
  }
  .art-note {
    left: 0;
    font-size: 9px;
    bottom: 35px;
  }
  .result-grid {
    gap: 35px;
  }
  .result-intro h1 {
    font-size: 52px;
  }
  .result-page {
    padding: 32px 30px 50px;
  }
  .receipt {
    padding: 25px;
  }
}
@media (max-width: 680px) {
  .site-header {
    height: 81px;
    padding: 0 6%;
    gap: 17px;
  }
  .wordmark {
    font-size: 35px;
  }
  .wordmark span {
    font-size: 20px;
  }
  .header-event {
    padding-left: 17px;
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .help-button {
    font-size: 0;
  }
  .help-button span {
    font-size: 24px;
    margin: 0;
  }
  .landing {
    padding: 35px 6% 25px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
    min-height: 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-copy h1 {
    font-size: clamp(65px, 14vw, 90px);
    margin: 25px 0 27px;
    max-width: 530px;
  }
  .hero-copy p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 24px;
  }
  .hero-copy h1 em:after {
    height: 4px;
    bottom: -4px;
  }
  .hero-cta {
    gap: 14px;
  }
  .hero-cta .button {
    width: 100%;
    min-height: 61px;
  }
  .hero-cta small {
    width: 100%;
    text-align: center;
    font-size: 10px;
  }
  .hero-art {
    height: 350px;
    margin-top: 12px;
    padding-left: 0;
  }
  .receipt-preview {
    width: 245px;
    padding: 20px 25px 24px;
    transform: rotate(7deg);
  }
  .receipt-preview blockquote {
    font-size: 21px;
    margin: 12px 0 17px;
  }
  .receipt-preview .receipt-divider {
    margin: 13px 0;
  }
  .preview-stamp {
    font-size: 10px;
    margin: 19px auto 17px;
  }
  .receipt-preview .receipt-label {
    font-size: 8px;
  }
  .orbit {
    width: 345px;
    height: 345px;
    max-width: 112%;
  }
  .art-note {
    bottom: 18px;
    left: -4px;
    font-size: 8px;
    max-width: 80px;
  }
  .art-note:before {
    font-size: 27px;
    margin-left: 35px;
  }
  .site-footer {
    margin: 0 6%;
    padding: 21px 0;
    min-height: 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 8px;
    gap: 13px;
  }
  .site-footer > span:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .site-footer button {
    text-align: right;
    font-size: 9px;
  }
  .flow {
    padding: 25px 6% 40px;
    min-height: calc(100dvh - 190px);
  }
  .flow-top {
    margin-bottom: 32px;
  }
  .stepper span {
    width: 24px;
  }
  .stepper b {
    font-size: 9px;
    margin-left: 3px;
  }
  .flow h1 {
    font-size: 43px;
    margin-top: 14px;
  }
  .lead {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .choice {
    min-height: 86px;
    padding: 16px;
    grid-template-columns: 35px 1fr 20px;
    gap: 12px;
  }
  .choice-icon {
    width: 31px;
    height: 31px;
  }
  .choice-title {
    font-size: 17px;
    margin-bottom: 4px;
  }
  .choice-sub {
    font-size: 11px;
  }
  .flow-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-top: 22px;
  }
  .flow-actions .button {
    width: 100%;
  }
  .tone-panel {
    padding: 22px 18px;
  }
  .tone-preview {
    padding: 22px 0;
    min-height: 154px;
  }
  .tone-preview blockquote {
    font-size: 24px;
  }
  .tone-heading {
    font-size: 9px;
  }
  .range-labels {
    font-size: 8px;
  }
  .name-field label {
    font-size: 12px;
  }
  .name-field label span {
    font-size: 10px;
  }
  .name-field small {
    font-size: 9px;
  }
  .checking {
    padding: 70px 6%;
    min-height: calc(100dvh - 190px);
  }
  .checking h1 {
    font-size: 37px;
  }
  .result-page {
    padding: 25px 6% 40px;
  }
  .result-page .flow-top {
    margin-bottom: 25px;
  }
  .result-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
  }
  .result-intro {
    display: contents;
  }
  .result-intro h1 {
    order: 1;
    font-size: 48px;
    line-height: 1;
    margin: -15px 0 -15px;
  }
  .result-intro > .lead {
    order: 2;
    max-width: none;
    margin: -7px 0 -7px;
  }
  .receipt {
    order: 3;
    width: calc(100% - 10px);
    margin: 0 5px;
    transform: rotate(1deg);
    padding: 24px;
  }
  .result-actions {
    order: 4;
    width: 100%;
    margin: 5px 0 -21px;
  }
  .receipt blockquote {
    font-size: 23px;
  }
  .receipt .receipt-label {
    font-size: 9px;
  }
  .receipt-person {
    font-size: 11px;
  }
  dialog {
    padding: 34px 24px;
  }
  dialog h2 {
    font-size: 32px;
  }
  .toast {
    bottom: 18px;
    padding: 13px 17px;
    font-size: 11px;
  }
  .result-grid .new-alibi {
    padding: 12px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body {
    background: white;
  }
  .site-header,
  .site-footer,
  .flow-top,
  .result-intro,
  .result-actions,
  .toast,
  dialog {
    display: none !important;
  }
  .result-grid {
    display: block;
  }
  .receipt {
    transform: none;
    box-shadow: none;
    width: 390px;
    margin: 40px auto;
    display: block;
  }
  .result-page {
    padding: 0;
  }
}
h1:focus {
  outline: none;
}
@media (max-width: 680px) {
  .result-intro h1 {
    font-size: clamp(40px, 12vw, 48px);
  }
  .result-page .flow-top {
    gap: 12px;
  }
  .hero-copy h1 {
    font-size: clamp(55px, 14vw, 90px);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-event strong {
  font-size: 12px;
  font-weight: 700;
  display: block;
  letter-spacing: 1.5px;
}
.header-event span {
  font-size: 9px;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.hero-copy h1 {
  margin-top: 0;
}
.hero-cta small {
  text-transform: uppercase;
}
.landing {
  padding-bottom: 65px;
  min-height: calc(100dvh - 182px);
  display: grid;
  align-items: center;
}
.flow-actions {
  justify-content: flex-end;
}
.tone-heading {
  justify-content: flex-start;
}
.tone-value {
  font:
    11px/1.5 "Spezia Narrow",
    Arial,
    sans-serif;
  letter-spacing: 0.2px;
}
.tone-preview {
  min-height: 120px;
}
.range-labels {
  align-items: flex-start;
  gap: 15px;
}
.tone-option {
  width: 33.33%;
  text-align: center;
  line-height: 1.5;
  font: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
  min-height: 44px;
}
.tone-option:first-child {
  text-align: left;
}
.tone-option:last-child {
  text-align: right;
}
.tone-option[aria-pressed="true"] {
  color: var(--orange);
  font-weight: bold;
}
.tone-option:hover {
  color: var(--ink);
}
.processing-star {
  font-size: 65px;
  color: var(--orange);
}
.checking h1 {
  font-size: 43px;
  line-height: 1;
}
.processing-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.processing-progress span {
  height: 5px;
  width: 50px;
  background: #d8d8d8;
}
.processing-progress .complete {
  background: var(--orange);
}
.result-grid {
  margin-top: 36px;
}
.result-intro h1 {
  margin-top: 0;
}
.receipt {
  padding: 34px 30px;
}
.receipt .receipt-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 12px;
}
.receipt-person {
  text-align: center;
  font-size: 14px;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}
.receipt-type {
  color: var(--orange);
  font-size: 11px;
}
.receipt blockquote {
  margin: 25px 0 28px;
}
.receipt .receipt-footnote {
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 5px 0 3px;
}
@media (max-width: 680px) {
  .header-event strong {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .header-event span {
    font-size: 7px;
    letter-spacing: 0;
  }
  .landing {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 30px;
  }
  .hero-copy h1 {
    margin-top: 0;
  }
  .hero-copy p {
    max-width: 350px;
  }
  .hero-cta small {
    line-height: 1.6;
  }
  .tone-panel {
    padding: 22px 16px;
  }
  .tone-value {
    font-size: 10px;
  }
  .range-labels {
    font-size: 9px;
    gap: 10px;
  }
  .tone-option {
    min-height: 48px;
  }
  .result-intro h1 {
    margin: 0 0 -17px;
  }
  .result-grid {
    gap: 34px;
    margin-top: 28px;
  }
  .receipt {
    padding: 30px 23px;
  }
  .receipt .receipt-label {
    font-size: 11px;
  }
  .result-actions {
    margin-top: 8px;
  }
  .checking h1 {
    font-size: 35px;
  }
  .processing-star {
    font-size: 57px;
  }
  .flow h1 {
    font-size: clamp(34px, 10vw, 43px);
  }
}
.star-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.04em;
}
.wordmark .star-icon {
  width: 24px;
  height: 24px;
}
.button span svg,
.help-button span svg {
  display: block;
  width: 19px;
  height: 19px;
}
.help-button {
  display: flex;
  align-items: center;
  gap: 10px;
}
.help-button span {
  margin-left: 0;
}
@media (max-width: 680px) {
  .wordmark .star-icon {
    width: 20px;
    height: 20px;
  }
  .help-button {
    gap: 0;
  }
}
body {
  background-color: var(--background);
  background-image: linear-gradient(
    to right,
    transparent calc(100% - 1px),
    var(--grid-line) 0
  );
  background-size: calc(90% / 6) 100%;
  background-position: 5vw 0;
}
.site-header {
  height: 106px;
  border-color: #000;
  padding: 0 5%;
  gap: 32px;
}
.wordmark {
  width: 230px;
  display: block;
  line-height: 0;
  letter-spacing: 0;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.header-event {
  border-color: #000;
  padding-left: 28px;
}
.header-event strong {
  font:
    700 20px/1 "Spezia Narrow",
    sans-serif;
  letter-spacing: 0.6px;
}
.header-event span {
  font:
    400 10px/1.4 "Spezia Narrow",
    sans-serif;
  letter-spacing: 0.8px;
  margin-top: 7px;
}
.help-button {
  font:
    400 16px "Spezia Narrow",
    sans-serif;
}
h1,
h2 {
  font-family: "Spezia Narrow", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-copy h1 {
  font-size: clamp(72px, 8.4vw, 128px);
  line-height: 1;
  max-width: 850px;
}
.hero-copy h1 em:after {
  display: none;
}
.hero-copy p {
  font-size: 21px;
  line-height: 1.3;
  max-width: 380px;
  color: #333;
}
.hero-cta {
  gap: 24px;
}
.hero-cta small {
  font:
    400 12px/1.5 "Spezia Narrow",
    sans-serif;
  letter-spacing: 0.6px;
}
.hero-grid {
  grid-template-columns: 1.13fr 1fr;
  gap: 50px;
  min-height: 560px;
}
.landing {
  padding-top: 55px;
  padding-bottom: 55px;
  min-height: calc(100dvh - 184px);
}
.button {
  font-family: "Spezia Narrow", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  min-height: 62px;
  text-decoration: none;
  border-color: #000;
}
.button.primary {
  background: #ff5b29;
  border-color: #ff5b29;
  color: #000;
}
.button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.button.secondary {
  background: #f0f0f0;
  color: #000;
  border-color: #000;
}
.button.secondary:hover {
  background: #000;
  color: #fff;
}
.button:disabled,
.button.primary:disabled {
  background: #d0d0d0;
  border-color: #d0d0d0;
  color: #555;
}
.button span svg {
  width: 21px;
  height: 21px;
}
.hero-art {
  height: 500px;
}
.orbit {
  color: #000;
  opacity: 0.65;
}
.receipt-preview {
  width: 315px;
  border-top: 4px solid #000;
  transform: rotate(7deg);
  padding: 30px 26px;
  background: #fff;
  box-shadow: 12px 16px 0 #0000000b;
}
.receipt-preview .receipt-label {
  margin-top: 20px;
  font-family: "Spezia Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
}
.receipt-preview blockquote {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 31px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
  margin: 23px 0;
}
.receipt-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.receipt-preview .receipt-brand-logo {
  width: 100%;
}
.receipt-meta {
  font-size: 9px;
}
.preview-stamp {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  border-color: #ff5b29;
  color: #ff5b29;
}
.event-disc {
  position: absolute;
  right: -8px;
  top: 0;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #ff5b29;
  color: #000;
  display: grid;
  place-content: center;
  transform: rotate(12deg);
  z-index: 2;
  font:
    700 28px/0.85 "Spezia Narrow",
    sans-serif;
  text-align: center;
}
.art-note {
  font:
    400 13px/1.3 "Spezia Narrow",
    sans-serif;
}
.site-footer {
  border-color: #000;
  font-family: "Spezia Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.7px;
}
.site-footer button {
  font:
    400 12px "Spezia Narrow",
    sans-serif;
}
.flow h1 {
  font-size: 74px;
  line-height: 1;
  margin: 15px 0 22px;
}
.lead {
  font-size: 20px;
  line-height: 1.35;
  color: #444;
}
.flow-top {
  margin-bottom: 45px;
}
.back {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 15px;
}
.stepper {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 12px;
}
.choice {
  background: #f0f0f0;
  min-height: 112px;
  padding: 24px;
  border-color: #000;
}
.choice:hover {
  background: #e5e5e5;
  border-color: #000;
}
.choice[aria-pressed="true"] {
  background: #ff5b29;
  border-color: #000;
  box-shadow: inset 0 0 0 1px #000;
}
.choice[aria-pressed="true"] .choice-sub {
  color: #222;
}
.choice[aria-pressed="true"] .choice-check {
  color: #fff;
  background: #000;
  border-color: #000;
}
.choice-title {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 9px;
  letter-spacing: 0;
}
.choice-sub {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 16px;
  line-height: 1.25;
}
.choice-icon {
  width: 40px;
  height: 40px;
}
.flow-actions {
  margin-top: 30px;
}
.tone-panel {
  background: #fff;
  border-color: #000;
}
.tone-value {
  font:
    700 15px/1.3 "Spezia Narrow",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
}
.tone-preview {
  min-height: 138px;
  padding-top: 28px;
}
.tone-preview blockquote {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}
.range-labels {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 14px;
}
.tone-option {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  letter-spacing: 0;
}
.tone-option[aria-pressed="true"] {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.name-field label {
  font-size: 18px;
  line-height: 1.3;
}
.name-field label span {
  font-size: 15px;
}
.name-field input {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 22px;
}
.name-field small {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 13px;
  line-height: 1.3;
}
.checking h1 {
  font-size: 64px;
  line-height: 1;
  margin-top: 35px;
}
.scanner {
  border-color: #000;
}
.processing-star {
  font-size: 65px;
}
.processing-status {
  font-size: 21px;
}
.result-page {
  max-width: 1200px;
  padding: 35px 40px 65px;
  min-height: calc(100dvh - 184px);
}
.result-grid {
  grid-template-columns: 1fr 1.03fr;
  gap: 70px;
  align-items: center;
  margin-top: 30px;
}
.result-intro h1 {
  font-size: 85px;
  line-height: 1;
  margin: 0 0 26px;
}
.result-intro > .lead {
  font-size: 21px;
  max-width: 370px;
}
.result-actions {
  gap: 12px;
  margin-top: 30px;
}
.action-pair .button {
  font-size: 17px;
  min-height: 56px;
  padding: 16px 19px;
}
.new-alibi {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 15px;
  padding: 18px 0;
}
.receipt {
  border-top: 5px solid #000;
  padding: 38px 32px 28px;
  transform: rotate(2deg);
  background: #fff;
  box-shadow: 10px 14px 0 #0000000b;
}
.receipt .receipt-brand-logo {
  margin: 0 0 27px;
}
.receipt .receipt-label {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  margin-top: 0;
}
.receipt-person {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  margin: 15px 0;
}
.receipt-type {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #ff5b29;
}
.receipt blockquote {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 34px;
  line-height: 1.09;
  letter-spacing: 0;
  font-weight: 700;
  margin: 23px 0 27px;
}
.receipt-divider {
  border-top: 1px solid #c5c5c5;
}
.receipt .receipt-footnote {
  font:
    400 13px "Spezia Narrow",
    sans-serif;
  letter-spacing: 1px;
}
.alibi-print-frame {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  border: 0;
  overflow: hidden;
}
dialog {
  border-color: #000;
  background: #f0f0f0;
}
dialog h2 {
  font-size: 46px;
  line-height: 1;
}
dialog p,
dialog li {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 20px;
  line-height: 1.35;
}
dialog .button {
  font-size: 19px;
}
.toast {
  font-family: "Spezia Narrow", sans-serif;
  font-size: 16px;
  background: #000;
}
.noscript {
  font-size: 20px;
}
@media (max-width: 1050px) and (min-width: 681px) {
  .hero-grid {
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: 101px;
  }
  .receipt-preview {
    width: 275px;
  }
  .receipt-preview blockquote {
    font-size: 28px;
  }
  .event-disc {
    width: 95px;
    height: 95px;
    font-size: 25px;
    right: -4px;
  }
  .hero-art {
    height: 480px;
  }
  .result-grid {
    gap: 40px;
  }
  .result-intro h1 {
    font-size: 68px;
  }
  .receipt blockquote {
    font-size: 30px;
  }
  .flow {
    max-width: 900px;
  }
  .result-page {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 680px) {
  body {
    background-size: calc(88% / 3) 100%;
    background-position: 6vw 0;
  }
  .site-header {
    height: 83px;
    padding: 0 6%;
    gap: 14px;
  }
  .wordmark {
    width: 151px;
    flex-shrink: 0;
  }
  .header-event {
    padding-left: 14px;
    white-space: nowrap;
  }
  .header-event strong {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .header-event span {
    font-size: 6px;
    letter-spacing: 0;
    margin-top: 5px;
  }
  .help-button {
    font-size: 0;
    margin-left: auto;
  }
  .help-button span svg {
    width: 17px;
    height: 17px;
  }
  .landing {
    padding: 40px 6% 30px;
    display: block;
    min-height: 0;
  }
  .hero-grid {
    display: flex;
    gap: 12px;
    min-height: 0;
  }
  .hero-copy h1 {
    font-size: clamp(67px, 18.4vw, 100px);
    line-height: 1;
    margin: 0 0 27px;
  }
  .hero-copy p {
    font-size: 19px;
    line-height: 1.3;
    max-width: 330px;
    margin-bottom: 25px;
  }
  .hero-cta {
    gap: 13px;
  }
  .hero-cta small {
    font-size: 11px;
  }
  .hero-art {
    height: 370px;
    margin-top: 17px;
    padding: 0;
  }
  .receipt-preview {
    width: 255px;
    padding: 25px 24px;
  }
  .receipt-preview .receipt-label {
    margin-top: 18px;
    font-size: 10px;
  }
  .receipt-preview blockquote {
    font-size: 27px;
    line-height: 1.05;
    margin: 18px 0 20px;
  }
  .event-disc {
    width: 88px;
    height: 88px;
    font-size: 23px;
    right: -2px;
    top: -4px;
  }
  .orbit {
    width: 350px;
    height: 350px;
  }
  .art-note {
    font-size: 11px;
    left: -2px;
    bottom: 0;
  }
  .preview-stamp {
    font-size: 12px;
    margin: 20px auto;
  }
  .button {
    font-size: 20px;
    min-height: 61px;
  }
  .site-footer {
    font-size: 9px;
  }
  .site-footer button {
    font-size: 11px;
  }
  .flow {
    padding: 26px 6% 38px;
  }
  .flow-top {
    margin-bottom: 32px;
  }
  .back {
    font-size: 14px;
  }
  .stepper {
    font-size: 11px;
  }
  .flow h1 {
    font-size: clamp(40px, 12.2vw, 54px);
    line-height: 1;
    margin-bottom: 20px;
  }
  .lead {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 24px;
  }
  .choices {
    gap: 10px;
  }
  .choice {
    min-height: 90px;
    padding: 17px 14px;
    grid-template-columns: 32px 1fr 18px;
    gap: 12px;
  }
  .choice-title {
    font-size: 23px;
    line-height: 1.02;
    margin-bottom: 5px;
  }
  .choice-sub {
    font-size: 15px;
    line-height: 1.15;
  }
  .choice-icon {
    width: 32px;
    height: 32px;
  }
  .tone-panel {
    padding: 23px 17px;
  }
  .tone-value {
    font-size: 12px;
  }
  .tone-preview {
    min-height: 132px;
    padding-top: 26px;
  }
  .tone-preview blockquote {
    font-size: 32px;
    line-height: 1.05;
  }
  .range-labels {
    font-size: 12px;
    gap: 8px;
  }
  .tone-option {
    line-height: 1.1;
    min-height: 48px;
  }
  .name-field label {
    font-size: 17px;
  }
  .name-field label span {
    font-size: 14px;
  }
  .name-field input {
    font-size: 21px;
  }
  .name-field small {
    font-size: 12px;
  }
  .result-page {
    padding: 27px 6% 40px;
    min-height: 0;
  }
  .result-grid {
    display: flex;
    gap: 29px;
    margin-top: 25px;
    align-items: stretch;
  }
  .result-intro h1 {
    font-size: clamp(53px, 15vw, 71px);
    line-height: 1;
    margin: 0 0 -12px;
  }
  .result-intro > .lead {
    font-size: 18px;
    margin: 0 0 2px;
    max-width: none;
  }
  .receipt {
    padding: 28px 24px 25px;
    width: calc(100% - 8px);
    margin: 0 4px;
  }
  .receipt .receipt-brand-logo {
    margin-bottom: 24px;
  }
  .receipt .receipt-label {
    font-size: 19px;
  }
  .receipt-person {
    font-size: 17px;
  }
  .receipt-type {
    font-size: 14px;
  }
  .receipt blockquote {
    font-size: 31px;
    line-height: 1.08;
    margin: 23px 0 25px;
  }
  .receipt .receipt-footnote {
    font-size: 12px;
  }
  .result-actions {
    margin: 7px 0 0;
    gap: 11px;
    order: 4;
  }
  .action-pair .button {
    font-size: 16px;
    padding: 14px;
    min-height: 56px;
  }
  .new-alibi {
    font-size: 15px;
    padding: 18px 0;
  }
  .checking {
    padding-top: 60px;
  }
  .checking h1 {
    font-size: 46px;
  }
  .processing-status {
    font-size: 19px;
  }
  dialog {
    padding: 34px 23px;
  }
  dialog h2 {
    font-size: 39px;
  }
  dialog p,
  dialog li {
    font-size: 18px;
  }
  .toast {
    font-size: 15px;
  }
  .alibi-print-frame {
    width: 1px;
    height: 1px;
  }
}
@media (max-width: 350px) {
  .site-header {
    gap: 10px;
  }
  .wordmark {
    width: 132px;
  }
  .header-event {
    padding-left: 10px;
  }
  .header-event strong {
    font-size: 11px;
  }
  .header-event span {
    font-size: 6px;
  }
  .hero-copy h1 {
    font-size: 63px;
  }
  .receipt-preview {
    width: 235px;
  }
  .event-disc {
    right: -7px;
    width: 78px;
    height: 78px;
    font-size: 21px;
  }
  .receipt blockquote {
    font-size: 28px;
  }
  .action-pair .button {
    padding: 14px 12px;
    font-size: 15px;
    gap: 8px;
  }
}
