/* landing-ads.css: part of landing.html's styles, linked from it in order (the cascade depends on the order). */
/* Ad sales are off until CONFIG.adsLive: "soon" shows a teaser, "live" the shop. */
[data-ads='soon'] .live-only,
[data-ads='live'] .soon-only,
[data-ads='soon'] .spot .tag {
  display: none !important;
}
[data-ads='soon'] .spot {
  cursor: default;
}

/* ---------- Advertisers: the blue print plate ---------- */
.plate {
  position: relative;
  background-color: var(--plate);
  background-image: radial-gradient(rgba(21, 17, 28, 0.22) 22%, transparent 25%);
  background-size: 10px 10px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
}
.plate .sec-head h2 {
  color: var(--paper);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke;
  text-shadow: 4px 4px 0 var(--ink);
}
/* Narration box, as in a comic panel */
.plate .sec-head p {
  padding: 14px 18px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.why {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.why .panel {
  padding: 22px 24px;
}
.why h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.why p {
  margin: 0;
}
@media (max-width: 900px) {
  .why {
    grid-template-columns: 1fr;
  }
}

/* Calculator */
.calc {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.calc-left {
  display: grid;
  gap: 22px;
}
.picker {
  padding: 22px;
}
.picker h3,
.result h3,
.mapbox h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.hint {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.slots {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.slot {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 4px 12px;
  align-items: start;
  padding: 12px 14px;
  border: 2.5px solid var(--ink);
  background: #fff;
  cursor: pointer;
}
.slot input {
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 2.5px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.slot input:checked {
  background: var(--yellow);
}
.slot input:checked::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: translateY(-2px) rotate(-45deg);
}
.slot:has(input:checked) {
  background: #fff9e3;
  box-shadow: 4px 4px 0 var(--ink);
}
.slot:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.slot .name {
  font-weight: 900;
  font-size: 17px;
}
.slot .price {
  font: 800 15px var(--font);
  white-space: nowrap;
}
.slot .what {
  grid-column: 2 / 4;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.tower-note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.mapbox {
  padding: 22px;
}
.yardmap {
  width: 100%;
  max-width: 460px;
  margin: 8px auto 0;
}
.yardmap .t {
  font: 800 2.3px var(--head);
  fill: var(--ink);
}
.yardmap .m {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 0.5;
  stroke-dasharray: 1.2 0.8;
  transition: fill 0.15s;
}
.yardmap .on .m {
  fill: var(--yellow);
  stroke-dasharray: none;
  stroke-width: 0.7;
}
.yardmap .hl .m {
  fill: var(--red);
}

.result {
  padding: 24px;
  position: sticky;
  top: 84px;
}
.ctl {
  margin: 18px 0 0;
}
.ctl-label {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 8px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stepper button {
  width: 40px;
  height: 40px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font: 900 22px/1 var(--head);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  flex: none;
}
.stepper button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
input[type='range'] {
  flex: 1;
  min-width: 0;
  accent-color: var(--ink);
  height: 28px;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--ink);
  background: #fff;
}
.seg label {
  position: relative;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
}
.seg label + label {
  border-left: 3px solid var(--ink);
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg label:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
}
.seg label:has(input:focus-visible) {
  outline: 3px solid var(--yellow);
  outline-offset: -6px;
}
.seg small {
  display: block;
  font: 600 12px var(--font);
  opacity: 0.8;
}
.scenario-note {
  min-height: 2.6em;
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.big-out {
  margin: 20px 0 6px;
  padding: 18px 18px 16px;
  border: 3px solid var(--ink);
  background: var(--yellow);
}
.big-out .n {
  font: 900 clamp(40px, 5vw, 56px) / 1 var(--font);
  letter-spacing: -2px;
}
.big-out .l {
  font-weight: 800;
  font-size: 17px;
}
.outs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 0;
}
.outs div {
  padding: 10px 12px;
  border: 2.5px solid var(--ink);
  background: #fff;
}
.outs dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.outs dd {
  margin: 2px 0 0;
  font: 800 21px var(--font);
}
.bill {
  margin: 18px 0 0;
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}
.bill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 15px;
}
.bill-row span:last-child {
  font-family: var(--font);
  font-weight: 700;
  white-space: nowrap;
}
.bill-row.off span:last-child {
  color: #b3261e;
}
.bill-row.total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 2px dashed var(--ink);
  font-weight: 900;
  font-size: 20px;
}
.bill-row.total span:last-child {
  font-weight: 900;
}
.compare {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.chart {
  margin: 18px 0 0;
  position: relative;
}
.chart h4 {
  margin: 0 0 6px;
  font-size: 15px;
}
.chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart .axis {
  font: 600 11px var(--font);
  fill: var(--ink-soft);
}
.chart .bar {
  fill: var(--blue);
}
.chart .hit:hover + .bar,
.chart .bar.on {
  fill: var(--ink);
}
.tip {
  position: absolute;
  pointer-events: none;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--paper);
  font: 700 13px var(--font);
  white-space: nowrap;
  transform: translate(-50%, -100%);
  opacity: 0;
}
.tip.show {
  opacity: 1;
}
.book {
  margin-top: 20px;
  width: 100%;
}
.book-note {
  margin: 8px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--ink-soft);
}
.empty {
  padding: 18px;
  border: 3px dashed var(--ink);
  font-weight: 700;
  margin-top: 20px;
}
@media (max-width: 980px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .result {
    position: static;
  }
}

/* Founding offer: one starburst sticker */
.burst {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  top: -48px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  font: 900 17px/1.1 var(--head);
  transform: rotate(8deg);
}
.burst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.burst span {
  position: relative;
  width: 96px;
}
@media (max-width: 760px) {
  .burst {
    position: relative;
    right: auto;
    top: auto;
    margin: -20px var(--gutter) 10px auto;
    width: 128px;
    height: 128px;
    font-size: 15px;
  }
}

/* Preview */
.preview {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 22px;
}
.preview .panel {
  padding: 22px 24px;
}
.preview h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  font-weight: 800;
}
.field input[type='text'] {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: #fff;
  font: 700 17px var(--head);
  color: var(--ink);
}
.file {
  position: relative;
}
.file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file:has(input:focus-visible) .btn {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.swatches label {
  width: 36px;
  height: 36px;
  border: 3px solid var(--ink);
  cursor: pointer;
  position: relative;
}
.swatches input {
  position: absolute;
  opacity: 0;
}
.swatches label:has(input:checked) {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-2px, -2px);
  outline: 3px solid #fff;
  outline-offset: -7px;
}
.swatches label:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.preview-stage {
  display: flex;
  align-items: flex-end;
  border: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--sky), var(--horizon) 70%);
}
.preview-stage .t {
  font-family: var(--head);
  font-weight: 900;
}
.privacy-line {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .preview {
    grid-template-columns: 1fr;
  }
}

/* Booking steps, rules, FAQ */
.steps {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: book;
}
.steps li {
  padding: 18px;
  background: var(--paper);
  border: 3px solid var(--ink);
  font-size: 15px;
}
.steps strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.steps strong::before {
  counter-increment: book;
  content: counter(book) '. ';
}
@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.after {
  background: var(--horizon);
}
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rules .panel {
  padding: 20px 22px;
}
.rules h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rules h3 i {
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  flex: none;
}
.rules ul {
  margin: 0;
  padding-left: 20px;
}
.rules li {
  margin: 4px 0;
}
.art-rules {
  margin-top: 18px;
  padding: 18px 22px;
  border: 3px dashed var(--ink);
}
.art-rules p {
  margin: 0;
}
@media (max-width: 900px) {
  .rules {
    grid-template-columns: 1fr;
  }
}
.faq {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  align-items: start;
}
.faq h2 {
  grid-column: 1 / -1;
  font: 900 clamp(28px, 3.6vw, 40px) / 1.05 var(--head);
  letter-spacing: -1px;
  margin-bottom: 12px;
}
details {
  border: 3px solid var(--ink);
  background: #fff;
}
summary {
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font: 900 22px/1 var(--head);
}
details[open] summary::after {
  content: '–';
}
details[open] {
  box-shadow: 4px 4px 0 var(--ink);
}
details p {
  padding: 0 18px;
  font-size: 16px;
}
@media (max-width: 760px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
.final {
  margin-top: 64px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: center;
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.final h2 {
  font: 900 clamp(28px, 3.6vw, 42px) / 1.05 var(--head);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.final p {
  margin: 0;
  font-size: 18px;
}
@media (max-width: 760px) {
  .final {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* One quiet line for brands while ads are off (the tip card is in the thank-you row, item 212) */
.support {
  padding: 0 0 48px;
}
.brands-line {
  margin: 0;
  padding-top: 20px;
  border-top: 3px dashed var(--sand-shade);
  font-size: 15px;
  color: var(--ink-soft);
}
.brands-line a {
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}

footer {
  padding: 36px 0 48px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-left: auto;
}
footer .logo {
  -webkit-text-stroke: 0;
  text-shadow: none;
  font-size: 22px;
}
footer small {
  flex-basis: 100%;
  opacity: 0.7;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}
.footer-social a:hover {
  color: var(--yellow);
}
.footer-social svg {
  width: 22px;
  height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cloud,
  .blimp {
    animation: none;
  }
  .spot .tag {
    transition: none;
  }
}
