/* The road, the stones, and every section. Phone first. */

/* ---- Hero: the road ---- */

.hero {
  background: var(--asphalt);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* asphalt grain, drawn in CSS: two faint dot fields */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.5px), radial-gradient(rgb(0 0 0 / 0.25) 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 28px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 9vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 0.4em;
}

.kicker-road {
  color: var(--cap);
}

.hero-text {
  font-size: 1.15rem;
  color: var(--on-dark-2);
  max-width: 54ch;
}

.hero .btn-line {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero .btn-line:hover {
  background: rgb(255 255 255 / 0.1);
}

/* A stone: a cap (half disc) over a white body. */
.stone-cap {
  aspect-ratio: 2 / 1;
  background: var(--cap);
  color: var(--ink);
  border-radius: 999px 999px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 6%;
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
}

.cap-num {
  font-size: 1.5rem;
}

.cap-unit {
  font-size: 0.8rem;
}

.stone-body {
  background: var(--stone);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  padding: 10px 12px 14px;
  border-radius: 0 0 3px 3px;
}

/* The zero stone: the facts to check. */
.zero {
  max-width: 460px;
  width: 100%;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.35));
}

.zero-cap {
  aspect-ratio: 2.6 / 1;
}

.zero-cap .cap-num {
  font-size: clamp(3rem, 14vw, 4.6rem);
  font-family: var(--font);
  font-weight: 900;
}

.zero-cap .cap-unit {
  font-size: 1.2rem;
  padding-bottom: 0.5em;
}

.zero-body {
  padding: 16px 18px 18px;
}

.zero-label {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.zero-phone {
  display: block;
  font-size: clamp(2rem, 9vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
  margin: 2px 0 12px;
}

.zero-phone:hover {
  color: var(--go);
}

.zero-facts {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.zero-facts > div {
  display: grid;
  gap: 0 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.zero-facts dt {
  font-size: 0.8rem;
  color: var(--ink-2);
}

.zero-facts dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.zero-check {
  display: block;
  font-weight: 800;
  padding-top: 10px;
  border-top: 3px solid var(--ink);
}

/* The road of route stones. */
.road {
  position: relative;
  background: var(--asphalt-2);
  padding: 18px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.road-label {
  font-size: 0.92rem;
  color: var(--on-dark-2);
  margin-bottom: 12px;
}

.road-checked {
  white-space: nowrap;
}

.stones {
  list-style: none;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 136px;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.stone {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.stone .stone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}

.stone-town {
  font-size: 1.08rem;
  font-weight: 900;
}

.stone-days {
  color: var(--ink-2);
}

.stone-price {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.road > .road-line {
  height: 5px;
  margin-top: 0;
  background-color: transparent;
}

/* ---- Bands ---- */

.band {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.band-head {
  margin-bottom: 24px;
}

.band-road {
  background: var(--asphalt);
  color: var(--on-dark);
  border-bottom: 0;
}

.band-road .kicker {
  color: var(--cap);
}

.band-road h2 {
  color: #fff;
}

.band-road .lede {
  color: var(--on-dark-2);
}

.band-road a {
  color: #fff;
}

.page-head {
  padding: 36px 0 32px;
  border-bottom: 3px solid var(--ink);
  background: var(--dust);
}

.page-head h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
}

.page-price {
  font-size: 1.1rem;
  font-weight: 700;
}

.more {
  font-weight: 800;
}

.more::after {
  content: " →";
}

.two {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}

.panel {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 18px 6px;
  background: var(--stone);
}

.panel h3 {
  margin-bottom: 0.7em;
}

.panel-cap {
  border-top: 14px solid var(--cap);
}

.panel-warn {
  border-color: var(--warn);
  background: var(--warn-tint);
}

.big-fact {
  font-size: clamp(1.25rem, 4.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.bullets li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
}

.bullets:not(.bullets-yes):not(.bullets-no) li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--ink);
  border-radius: 50% 50% 0 0;
}

.bullets-yes .ico {
  color: var(--go);
  margin-top: 4px;
}

.bullets-no .ico {
  color: var(--warn);
  margin-top: 4px;
}

.numbered {
  padding-left: 1.4em;
  margin: 0 0 1em;
}

.numbered li {
  padding: 4px 0;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px 1px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: 1px;
}

.tag-fake {
  background: var(--warn);
  color: #fff;
}

.tag-us {
  background: var(--go);
  color: #fff;
}

.tag-paper {
  background: var(--cap);
  color: var(--ink);
}

.tag-check {
  background: #fff;
  color: var(--ink);
}

/* ---- Is it us? ---- */

.band-check {
  background: var(--stone);
  border-bottom: 3px solid var(--ink);
}

.kicker-warn {
  color: var(--warn);
}

.check-grid {
  display: grid;
  gap: 28px;
}

.check-form {
  margin: 18px 0 10px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--dust);
  max-width: 640px;
}

.check-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.check-row {
  display: flex;
  gap: 8px;
}

.check-row input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 10px 12px;
  font: inherit;
  font-family: var(--mono);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.verdict {
  margin-top: 16px;
  padding: 16px 18px 4px;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  background: #fff;
  max-width: 640px;
}

.verdict-ours {
  border-color: var(--go);
  box-shadow: inset 8px 0 0 var(--go);
}

.verdict-fake,
.verdict-not-ours {
  border-color: var(--warn);
  box-shadow: inset 8px 0 0 var(--warn);
  background: var(--warn-tint);
}

.verdict-q {
  font-size: 0.92rem;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.verdict-head {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.3em;
}

.verdict-ours .verdict-head {
  color: var(--go);
}

.verdict-fake .verdict-head,
.verdict-not-ours .verdict-head {
  color: var(--warn);
}

.tricks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 3px solid var(--ink);
}

.tricks li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 4px 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.trick-n {
  grid-row: span 2;
  font-weight: 700;
  color: var(--ink-2);
  padding-top: 2px;
}

.tricks p {
  margin: 0;
}

.trick-fake {
  color: var(--ink-2);
}

.trick-us {
  font-weight: 700;
}

.ours {
  margin: 0 0 16px;
  display: grid;
  gap: 0;
}

.ours > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.ours dt {
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 700;
}

.ours dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.ours .kv-sub {
  display: block;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.fakes {
  margin-top: 28px;
}

.fake-val {
  color: var(--warn);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}

.band-warn {
  background: var(--dust);
}

/* ---- GSTIN ---- */

.gstin {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.gstin > .num {
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}

.gstin > .num span + span {
  margin-left: 0.28em;
}

.gstin .g1 {
  background: var(--dust);
  padding: 0 3px;
  border-radius: 2px;
}

.gstin .g4 {
  box-shadow: inset 0 -3px 0 var(--cap);
}

.check-link {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.gstin-legal {
  flex-basis: 100%;
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* ---- Tables ---- */

.tbl-wrap {
  overflow-x: auto;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tbl th,
.tbl td {
  text-align: left;
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tbl thead th {
  font-size: 0.8rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border-bottom: 3px solid var(--ink);
  vertical-align: bottom;
}

.tbl .r {
  text-align: right;
}

.price-tbl {
  min-width: 720px;
}

.price-tbl tbody th {
  font-weight: 900;
  font-size: 1.05rem;
  min-width: 170px;
}

.price-tbl td {
  white-space: nowrap;
}

.row-note {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-2);
  max-width: 24ch;
}

.tbl-narrow {
  max-width: 560px;
}

.factors {
  margin: 0;
  display: grid;
  gap: 0;
}

.factors > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.factors dt {
  font-weight: 800;
}

.factors dd {
  margin: 2px 0 0;
  color: var(--ink-2);
}

/* ---- Day by day: stones along a road ---- */

.step-road {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  position: relative;
}

.step-road::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: repeating-linear-gradient(180deg, #fff 0 22px, transparent 22px 40px);
  opacity: 0.7;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 0 0 26px;
}

.step-stone {
  width: 46px;
  height: 54px;
  background: #fff;
  border-radius: 23px 23px 3px 3px;
  border-top: 16px solid var(--cap);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.band-road .step-body,
.step-body {
  min-width: 0;
}

.step-when {
  font-size: 0.85rem;
  color: var(--cap);
  margin: 0 0 2px;
  font-weight: 700;
}

.step-body h3 {
  margin-bottom: 0.3em;
}

.band-road .step-body h3 {
  color: #fff;
}

.step-body p {
  margin: 0 0 6px;
}

.band-road .step-body > p:not(.step-when) {
  color: var(--on-dark-2);
}

.band-road .step-paper,
.band-road .step-check {
  color: var(--on-dark);
}

.more-light {
  color: #fff;
}

/* ---- Services ---- */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.service {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  display: flex;
  flex-direction: column;
}

.service img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.service-body {
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-kind {
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin: 0 0 4px;
}

.service h3 a {
  color: var(--ink);
  text-decoration: none;
}

.service h3 a:hover {
  text-decoration: underline;
}

.service-price {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.service-photo {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 20px;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 1.4em;
}

/* ---- Insurance and papers ---- */

.paper-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  counter-reset: paper;
}

.paper-list li {
  counter-increment: paper;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.paper-list li::before {
  content: counter(paper, decimal-leading-zero) "  ";
  font-family: var(--mono);
  color: var(--ink-2);
  white-space: pre;
}

.papers {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 16px;
}

.paper {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 16px 4px;
  position: relative;
}

.paper-n {
  position: absolute;
  top: 12px;
  right: 14px;
  margin: 0;
  color: var(--ink-2);
  font-weight: 700;
}

.paper-when {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-top: -0.4em;
}

.materials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.materials li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.materials span {
  color: var(--ink-2);
}

.materials .mat-price {
  color: var(--ink);
  font-weight: 700;
}

/* ---- Reviews ---- */

.reviews {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.review {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 6px;
}

.stars {
  color: #8a6400;
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.stars-off {
  color: var(--line);
}

.review-route {
  font-weight: 800;
  text-align: right;
}

.review blockquote {
  margin: 0;
  font-size: 1.05rem;
}

.review-who {
  font-size: 0.88rem;
  color: var(--ink-2);
}

.review-money {
  display: flex;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 10px;
  background: var(--dust);
  border-radius: 3px;
}

.money-diff {
  background: #fff4d6;
}

.review-reply {
  font-size: 0.95rem;
  border-left: 4px solid var(--go);
  padding-left: 10px;
}

/* ---- Branches ---- */

.branches {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.branch {
  display: flex;
  flex-direction: column;
}

.branch-cap {
  background: var(--cap);
  color: var(--ink);
  border-radius: 80px 80px 0 0;
  padding: 18px 16px 8px;
  text-align: center;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.branch-head {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.branch-body {
  flex: 1;
  border: 2px solid var(--ink);
  border-top: 3px solid var(--ink);
  padding: 14px 16px 4px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.branch-body p {
  margin-bottom: 0.6em;
}

.branch-hours,
.branch-note {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.branch-gst {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.branch-gst-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* ---- Questions ---- */

.faqs {
  border-top: 3px solid var(--ink);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 14px 32px 14px 0;
  font-weight: 800;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.4rem;
  font-weight: 400;
}

.faq[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 68ch;
}

/* ---- Forms ---- */

.form-grid {
  display: grid;
  gap: 28px;
}

.form-box {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: var(--stone);
}

.form-box form {
  display: grid;
  gap: 16px;
}

.unrigid-field {
  display: grid;
  gap: 5px;
}

.unrigid-field label {
  font-weight: 700;
}

.unrigid-field input:not([type="checkbox"]),
.unrigid-field select,
.unrigid-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink-2);
  border-radius: var(--radius);
}

.unrigid-field textarea {
  min-height: 96px;
}

.unrigid-field input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--go);
}

.unrigid-required {
  font-weight: 400;
  color: var(--ink-2);
  font-size: 0.9em;
}

.unrigid-help {
  font-size: 0.9rem;
  color: var(--ink-2);
}

.unrigid-error {
  color: var(--warn);
  font-weight: 700;
}

.unrigid-form-status {
  font-weight: 700;
}

.form-box button[type="submit"] {
  min-height: 54px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--go);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}

.form-box button[type="submit"]:hover {
  background: var(--go-dark);
}

.form-box button[type="submit"]:disabled {
  background: var(--ink-2);
  cursor: wait;
}

.form-side .panel {
  margin: 16px 0;
}

/* ---- Closing ---- */

.band-close {
  background: var(--dust);
  border-bottom: 0;
}

/* ---- Phone fixes ---- */

.hero-grid,
.check-grid,
.form-grid,
.two {
  grid-template-columns: minmax(0, 1fr);
}

.check-row input {
  width: 100%;
}

@media (max-width: 559px) {
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .actions .btn-go {
    grid-column: 1 / -1;
  }

  .actions .btn-big {
    padding-left: 10px;
    padding-right: 10px;
  }

  .actions .btn-line .num {
    display: none;
  }

  .zero-cap {
    aspect-ratio: 3.4 / 1;
  }
}

.unrigid-field:has(> input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 10px;
}

.unrigid-field:has(> input[type="checkbox"]) > :not(input):not(label) {
  grid-column: 2;
}
