/* Guides (/guides/*) and the website cost estimator.
   Loaded only on guide pages, after site.css; uses its tokens. */

.gd-title {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5.25rem);
  font-weight: 820;
  font-stretch: 112%;
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 13em;
}
.gd-byline {
  color: var(--muted);
}
.gd-byline a {
  color: var(--ink);
}
.gd-answer {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 44rem;
  padding: clamp(18px, 2.5vw, 26px) clamp(18px, 2.5vw, 28px);
  border-left: 4px solid var(--lime);
  background: var(--paper-hi);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.6;
}
.gd-answer-lead {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink);
}
.gd-answer p:not(.gd-answer-lead) {
  color: var(--ink-soft);
}

.gd-sec {
  padding-block: clamp(40px, 6vw, 80px);
}
.gd-h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  font-weight: 760;
  font-stretch: 106%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 20em;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.gd-h3 {
  font-family: var(--f-display);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.25;
  margin-bottom: 8px;
}
.gd-prose p {
  max-width: 44em;
  line-height: 1.65;
  color: var(--ink-soft);
}
.gd-prose p + p {
  margin-top: 1em;
}
.gd-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--t-small);
}
.gd-cite {
  color: var(--muted);
  font-size: 0.875em;
}
.gd-cite a {
  color: inherit;
}

/* Price table: rows become cards on phones */
.gd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.gd-table th,
.gd-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.gd-table thead th {
  padding-top: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--t-mono);
  font-family: var(--f-mono);
  border-bottom-color: var(--line-strong);
}
.gd-table tbody th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  width: 24%;
}
.gd-table td {
  color: var(--ink-soft);
}
.gd-table td.mono {
  white-space: nowrap;
}
.gd-table .gd-price {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .gd-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .gd-table,
  .gd-table tbody,
  .gd-table tr,
  .gd-table th,
  .gd-table td {
    display: block;
    width: 100%;
  }
  .gd-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .gd-table th,
  .gd-table td {
    padding: 2px 0;
    border: 0;
  }
  .gd-table tbody th {
    width: auto;
    margin-bottom: 4px;
  }
  .gd-table td.gd-price,
  .gd-table td.mono {
    display: inline;
    width: auto;
    margin-right: 12px;
  }
}

/* Three ways */
.gd-cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.gd-card {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-hi);
  line-height: 1.55;
  color: var(--ink-soft);
}
.gd-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--ink);
}
.gd-ways-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: var(--t-small);
}
.gd-card-sub {
  margin: -4px 0 12px;
  color: var(--muted);
}
.gd-card--featured {
  border-color: var(--night);
  background: var(--night);
  color: var(--on-night-muted);
}
.gd-card--featured .gd-card-title {
  color: var(--on-night);
}
.gd-card--featured .gd-card-price {
  color: var(--lime);
}
.gd-card--featured .gd-card-sub {
  color: var(--on-night-muted);
}
.gd-card-price {
  margin: 6px 0 10px;
  font-family: var(--f-display);
  font-weight: 760;
  font-stretch: 108%;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 860px) {
  .gd-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Numbered drivers */
.gd-list {
  display: grid;
  gap: 0;
  max-width: 52rem;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gd-list > li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
  color: var(--ink-soft);
}
.gd-num {
  color: var(--moss);
  padding-top: 4px;
}

/* After-launch costs */
.gd-dl {
  display: grid;
  max-width: 52rem;
  border-top: 1px solid var(--line);
}
.gd-dl > div {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.gd-dl dt {
  font-weight: 700;
}
.gd-dl dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .gd-dl > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Ask / red flags */
.gd-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 64rem;
}
@media (max-width: 760px) {
  .gd-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
.gd-bullets {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  line-height: 1.55;
  color: var(--ink-soft);
}
.gd-bullets li {
  position: relative;
  padding-left: 26px;
}
.gd-bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 1.5px var(--moss);
}
.gd-bullets--flag li::before {
  border-radius: 2px;
  background: var(--ginger);
  box-shadow: none;
  transform: rotate(45deg);
}

/* About */
.gd-about {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  max-width: 56rem;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.gd-about .hero-actions {
  margin-top: 18px;
}
.gd-about-photo {
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 50% 8px;
  background-color: #8b7a5c;
  background-size: 300%;
  background-position: 50.5% 33%;
}

.gd-sources ul {
  display: grid;
  gap: 6px;
  padding: 0;
  list-style: none;
  font-size: var(--t-small);
  color: var(--muted);
}
.gd-sources a {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.gd-sources li:target {
  background: var(--paper-hi);
  outline: 2px solid var(--lime);
}

/* ---- Estimator --------------------------------------------------------------
   Without JS every question shows at once. With JS (.is-enhanced) it becomes a
   step-by-step flow; the side panel holds a live preview (.pv), the price and
   a meter against typical agency pricing. Preview sizes use cqw so the little
   site scales with its panel. */
.est {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  scroll-margin-top: calc(var(--header-h) + 16px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper-hi);
}
.est-main {
  min-width: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}
.est-head .gd-h2 {
  margin-bottom: 6px;
}
.est-intro {
  color: var(--muted);
}

/* Progress */
.est-top {
  display: grid;
  gap: 8px;
}
.est-top[hidden] {
  display: none;
}
.est-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--paper-deep);
  overflow: hidden;
}
.est-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--moss);
  transition: width 0.5s var(--ease);
}
.est-step-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.est-top-price {
  display: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 600;
}

/* Questions */
.est-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.est-step + .est-step {
  margin-top: 28px;
}
.est.is-enhanced .est-step + .est-step {
  margin-top: 0;
}
.est.is-enhanced .est-step:not(.is-active) {
  display: none;
}
.est-step.is-from-right {
  animation: est-in-r 0.45s var(--ease) both;
}
.est-step.is-from-left {
  animation: est-in-l 0.45s var(--ease) both;
}
.est-q {
  float: left;
  width: 100%;
  margin: 2px 0 6px;
  padding: 0;
  font-family: var(--f-display);
  font-weight: 760;
  font-stretch: 106%;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  outline: none;
}
.est-n {
  display: none;
}
.est-tip {
  clear: both;
  max-width: 40em;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
}

/* Option cards */
.est-opts {
  display: grid;
  gap: 12px;
}
.est-opts--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.est-opts--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.est-opts--sizes {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
/* 2 or 4 sizes: two per row, so big numbers never crowd the tick; 3 sizes: one row */
.est-opts--n2,
.est-opts--n4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.est-opts--n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.est-opts--migrate {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
@media (max-width: 640px) {
  .est-opts--migrate {
    grid-template-columns: minmax(0, 1fr);
  }
}
.est-opt {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.est-opt[hidden] {
  display: none;
}
.est-opt input,
.est-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.est-card {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  height: 100%;
  padding: 18px 46px 18px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.est-card--ico {
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
}
.est-card--ico > :not(.est-ico):not(.est-tick) {
  grid-column: 2;
}
.est-card--ico .est-ico {
  grid-row: 1 / span 3;
}
.est-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--paper-hi);
  color: var(--moss);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--spring);
}
.est-ico svg {
  width: 22px;
  height: 22px;
}
.est-card-t {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
.est-card-d {
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
  text-wrap: pretty;
}
/* Price hint: a small pill so it reads as a price, not more description */
.est-card-p {
  justify-self: start;
  align-self: end;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(72, 97, 0, 0.1);
  color: var(--moss);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.est-card-p--none {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--muted);
  font-weight: 500;
}
.est-opt input:checked + .est-card .est-card-p {
  background: var(--lime);
  color: var(--ink);
}
.est-opt input:checked + .est-card .est-card-p--none {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.est-big {
  font-family: var(--f-display);
  font-weight: 780;
  font-stretch: 108%;
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.est-card--big .est-card-t {
  color: var(--muted);
  font-weight: 600;
}
.est-tick {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: background-color 0.2s, border-color 0.2s;
}
.est-tick svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
@media (hover: hover) {
  .est-opt:hover .est-card {
    border-color: var(--ink-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(17, 25, 19, 0.08);
  }
  .est-opt:hover .est-ico {
    transform: rotate(-6deg) scale(1.06);
  }
}
.est-opt:active .est-card {
  transform: scale(0.985);
}
.est-opt input:checked + .est-card {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink);
}
.est-opt input:checked + .est-card .est-ico {
  background: var(--lime);
  color: var(--ink);
}
.est-opt input:checked + .est-card .est-tick {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
  animation: est-pop 0.4s var(--spring);
}
.est-opt input:focus-visible + .est-card,
.est-chip input:focus-visible + span {
  outline: 2.5px solid var(--moss);
  outline-offset: 2px;
}

/* Replacing a site: one card + page-count chips */
.est-replace {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.est-replace:has(input:checked) {
  border-style: solid;
  border-color: var(--ink);
  background: #fff;
}
.est-replace-t {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.est-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.est-chip {
  position: relative;
  cursor: pointer;
}
.est-chip span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.est-chip em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.75rem;
}
@media (hover: hover) {
  .est-chip:hover span {
    border-color: var(--ink);
  }
}
.est-chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-hi);
}
.est-chip input:checked + span em {
  color: var(--lime);
}

/* Step navigation */
.est-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.est-nav[hidden] {
  display: none;
}
.est-back,
.est-skip,
.est-change,
.est-restart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.est-back[hidden],
.est-skip[hidden] {
  display: none;
}
.est-back-ico {
  transform: rotate(180deg);
}
.est-skip {
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.est-next {
  margin-left: auto;
}

/* Side panel: preview, price, meter */
.est-side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 16px;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 14px;
  background: var(--night);
  color: var(--on-night);
}
.est-fig {
  position: relative;
  display: grid;
  gap: 6px;
}
.est-fig-label {
  color: var(--on-night-muted);
}
.est-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.est-delta {
  position: absolute;
  top: -4px;
  right: 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.4s var(--spring);
}
.est-delta.is-up {
  background: rgba(203, 243, 92, 0.16);
  color: var(--lime);
}
.est-delta.is-down {
  background: rgba(233, 237, 226, 0.12);
  color: var(--on-night);
}
.est-delta.is-show {
  opacity: 1;
  transform: none;
}
.est-hours {
  color: var(--on-night-muted);
  font-size: var(--t-small);
  line-height: 1.45;
}
.est-meter {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--night-line);
}
.est-meter-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--night-2);
}
.est-meter-you,
.est-meter-agency {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  transition: left 0.55s var(--ease), width 0.55s var(--ease);
}
.est-meter-you {
  z-index: 2;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--night);
}
.est-meter-you.is-over {
  border-radius: 999px 0 0 999px;
}
.est-meter-agency {
  top: 2px;
  bottom: 2px;
  background: repeating-linear-gradient(135deg, rgba(233, 237, 226, 0.4) 0 2px, transparent 2px 6px);
  box-shadow: inset 0 0 0 1px rgba(233, 237, 226, 0.45);
}
.est-meter-agency[hidden],
.est-meter-legend li[hidden] {
  display: none;
}
.est-meter-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--on-night-muted);
  font-size: 0.6875rem;
}
.est-meter-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--on-night-muted);
}
.est-sw {
  display: inline-block;
  width: 18px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  vertical-align: 1px;
}
.est-sw--you {
  background: var(--lime);
}
.est-sw--agency {
  background: repeating-linear-gradient(135deg, rgba(233, 237, 226, 0.5) 0 2px, transparent 2px 5px);
  box-shadow: inset 0 0 0 1px rgba(233, 237, 226, 0.5);
}

/* Summary */
.est-sum {
  display: grid;
  gap: 14px;
  outline: none;
  animation: est-in-r 0.45s var(--ease) both;
}
.est-sum[hidden] {
  display: none;
}
.est-sum-kicker {
  color: var(--moss);
}
.est-sum-title {
  font-family: var(--f-display);
  font-weight: 780;
  font-stretch: 108%;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.est-sum-line {
  max-width: 42em;
  color: var(--ink-soft);
  line-height: 1.55;
}
.est-sum-h {
  margin-top: 10px;
  font-family: var(--f-body);
  font-size: var(--t-small);
  font-weight: 700;
}
.est-complex {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(232, 135, 74, 0.14);
  color: var(--ginger-ink);
  font-size: var(--t-small);
}
.est-bars {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.est-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  animation: est-in-r 0.4s var(--ease) both;
  animation-delay: var(--d);
}
.est-bar-t {
  font-size: var(--t-small);
}
.est-bar-v {
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: right;
  white-space: nowrap;
}
.est-bar {
  position: relative;
  grid-column: 1 / -1;
  height: 10px;
}
.est-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 0 4px 4px 0;
  transform-origin: left;
  animation: est-grow 0.7s var(--ease) both;
  animation-delay: var(--d);
}
.est-bar-hi {
  background: rgba(72, 97, 0, 0.26);
}
.est-bar-lo {
  background: var(--moss);
}
.est-facts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--t-small);
  line-height: 1.5;
}
.est-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.est-copy {
  background: transparent;
}
.est-answers {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}
.est-answers > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2px 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
}
.est-answers dt {
  padding: 8px 0;
  color: var(--muted);
}
.est-answers dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-weight: 600;
}
.est-change {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.est-fine {
  color: var(--muted);
  font-size: 0.8125rem;
}
.est-restart {
  margin-left: 4px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .est-answers > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .est-answers dt {
    padding: 0;
  }
}

/* Phones and tablets: heading, then the preview and price, then the questions */
@media (max-width: 900px) {
  .est {
    grid-template-columns: minmax(0, 1fr);
  }
  .est-main {
    display: contents;
  }
  .est-head {
    order: 1;
  }
  .est-side {
    order: 2;
    position: static;
  }
  .est-top {
    order: 3;
  }
  .est-form {
    order: 4;
  }
  .est-sum {
    order: 5;
  }
  .est-top-price {
    display: inline-block;
  }
  .est:not(.is-summary) .est-meter {
    display: none;
  }
}

/* ---- The live preview -------------------------------------------------------- */
.pv {
  position: relative;
  aspect-ratio: 5 / 4;
  container-type: inline-size;
  user-select: none;
}
@media (max-width: 900px) {
  .pv {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 16 / 11;
  }
}
.pv-win,
.pv-stack i {
  position: absolute;
  left: 13%;
  right: 11%;
  top: 13%;
  bottom: 12%;
  border-radius: 2.4cqw;
}
.pv-win {
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper-hi);
  color: var(--ink);
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.4);
}
.pv-stack i {
  z-index: 1;
  background: var(--paper-deep);
  opacity: 0;
  transition: transform 0.55s var(--spring), opacity 0.35s;
}
.pv-stack i.is-on:nth-child(1) { opacity: 0.8; transform: translate(2cqw, -2cqw); }
.pv-stack i.is-on:nth-child(2) { opacity: 0.6; transform: translate(4cqw, -4cqw); }
.pv-stack i.is-on:nth-child(3) { opacity: 0.45; transform: translate(6cqw, -6cqw); }
.pv-stack i.is-on:nth-child(4) { opacity: 0.32; transform: translate(8cqw, -8cqw); }
.pv-stack i.is-on:nth-child(5) { opacity: 0.2; transform: translate(10cqw, -10cqw); }

.pv-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 6cqw;
  padding: 0 2.4cqw;
  background: var(--paper-deep);
}
.pv-bar i {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: var(--line-strong);
}
.pv-url {
  margin-left: 2cqw;
  padding: 0 2cqw;
  border-radius: 999px;
  background: var(--paper-hi);
  font-family: var(--f-mono);
  font-size: 1.9cqw;
  line-height: 3cqw;
  color: var(--muted);
  white-space: nowrap;
}
.pv-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  padding: 3cqw 3.4cqw;
  overflow: hidden;
}
.pv-nav {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}
.pv-logo {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 1cqw;
  background: var(--ink);
}
.pv-menu {
  display: flex;
  gap: 1.4cqw;
  margin-left: 2cqw;
  transition: opacity 0.3s;
}
.pv-menu i {
  width: 6cqw;
  height: 1.3cqw;
  border-radius: 999px;
  background: var(--line-strong);
}
.pv-cart {
  display: none;
  width: 3.2cqw;
  height: 3cqw;
  margin-left: auto;
  border: 0.5cqw solid var(--ink);
  border-radius: 0.5cqw 0.5cqw 1cqw 1cqw;
}
.pv-navcta {
  width: 9cqw;
  height: 3.4cqw;
  margin-left: auto;
  border-radius: 999px;
  background: var(--ink);
}
.pv-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3cqw;
  align-items: center;
  min-height: 19cqw;
}
.pv-copy {
  display: grid;
  gap: 1.3cqw;
  justify-items: start;
}
.pv-h1 {
  width: 30cqw;
  height: 3.2cqw;
  border-radius: 0.8cqw;
  background: var(--ink);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-radius 0.4s, background-color 0.3s, box-shadow 0.3s;
}
.pv-h1--2 {
  width: 21cqw;
}
.pv-ln {
  display: block;
  width: 28cqw;
  height: 1.3cqw;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color 0.3s;
}
.pv-ln--s {
  width: 19cqw;
}
.pv-cta {
  width: 12cqw;
  height: 3.6cqw;
  margin-top: 0.6cqw;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: inset 0 0 0 0.35cqw var(--moss);
}
.pv-art {
  position: relative;
  height: 18cqw;
}
.pv-photo,
.pv-blob,
.pv-bag {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s, transform 0.55s var(--spring);
}
.pv-photo {
  overflow: hidden;
  border-radius: 1.6cqw;
  background: linear-gradient(170deg, #dfe5d3, #c4cdb4);
}
.pv-photo::before {
  content: '';
  position: absolute;
  top: 16%;
  right: 18%;
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 50%;
  background: var(--lime);
}
.pv-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: var(--moss);
  clip-path: polygon(0 100%, 28% 34%, 50% 68%, 72% 18%, 100% 100%);
}
.pv-blob {
  inset: 4% 10%;
  background: var(--lime);
  border-radius: 48% 52% 60% 40% / 45% 40% 60% 55%;
  box-shadow: inset 0 0 0 0.5cqw var(--moss);
  animation: pv-blob 9s ease-in-out infinite alternate;
}
.pv-bag {
  border-radius: 1.6cqw;
  background: var(--paper-deep);
}
.pv-bag::before {
  content: '';
  position: absolute;
  left: 34%;
  right: 34%;
  top: 34%;
  bottom: 18%;
  border-radius: 0.6cqw 0.6cqw 1.2cqw 1.2cqw;
  background: var(--ink);
}
.pv-bag::after {
  content: '';
  position: absolute;
  left: 42%;
  right: 42%;
  top: 22%;
  height: 16%;
  border: 0.6cqw solid var(--ink);
  border-bottom: 0;
  border-radius: 3cqw 3cqw 0 0;
}
.pv-sections,
.pv-cards,
.pv-products {
  display: none;
}
.pv-sections {
  flex-direction: column;
  gap: 1.6cqw;
}
.pv-sections i {
  display: none;
  height: 6cqw;
  border-radius: 1.2cqw;
  background: var(--paper-deep);
}
.pv-sections i:nth-child(even) {
  background: var(--ink);
}
.pv-sections i.is-on {
  display: block;
  animation: pv-pop 0.45s var(--spring) both;
}
.pv-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2cqw;
  animation: pv-pop 0.5s var(--spring) both;
}
.pv-cards span {
  display: grid;
  gap: 1cqw;
  align-content: end;
  height: 13cqw;
  padding: 1.6cqw;
  border-radius: 1.2cqw;
  background: var(--paper-deep);
  transition: transform 0.5s var(--spring), border-radius 0.4s, background-color 0.3s;
}
.pv-cards .pv-ln {
  width: 100%;
}
.pv-cards .pv-ln--s {
  width: 60%;
}
.pv-products {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.4cqw;
}
.pv-products span {
  display: none;
  aspect-ratio: 1;
  border-radius: 1cqw;
  background: var(--paper-deep);
}
.pv-products span:nth-child(3n + 2) {
  background: #d5dcc8;
}
.pv-products span.is-on {
  display: block;
  animation: pv-pop 0.4s var(--spring) both;
}
.pv-products span.is-on:nth-child(n + 7) {
  animation-delay: 0.06s;
}
.pv-products span.is-on:nth-child(n + 13) {
  animation-delay: 0.12s;
}
.pv-count {
  position: absolute;
  right: 2cqw;
  bottom: 1.8cqw;
  padding: 0.6cqw 1.6cqw;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-hi);
  font-size: 2cqw;
}

/* By type */
.pv[data-type='landing'] .pv-menu { opacity: 0; }
.pv[data-type='landing'] .pv-hero { grid-template-columns: minmax(0, 1fr); min-height: 16cqw; }
.pv[data-type='landing'] .pv-copy { justify-items: center; }
.pv[data-type='landing'] .pv-art { display: none; }
.pv[data-type='landing'] .pv-h1 { width: 42cqw; }
.pv[data-type='landing'] .pv-h1--2 { width: 30cqw; }
.pv[data-type='landing'] .pv-sections { display: flex; }
.pv[data-type='business'] .pv-cards,
.pv[data-type='custom'] .pv-cards { display: grid; }
.pv[data-type='business'] .pv-photo { opacity: 1; transform: none; }
.pv[data-type='custom'] .pv-blob { opacity: 1; transform: none; }
.pv[data-type='custom'] .pv-h1 { height: 4.4cqw; border-radius: 2.2cqw; }
.pv[data-type='custom'] .pv-cards span:nth-child(2) { transform: translateY(-2.4cqw); background: var(--ink); }
.pv[data-type='custom'] .pv-cards span:nth-child(2) .pv-ln { background: var(--moss); }
.pv[data-type='custom'] .pv-cards span:nth-child(3) { border-radius: 6.5cqw 6.5cqw 1.2cqw 1.2cqw; }
.pv[data-type='store'] .pv-cart { display: block; }
.pv[data-type='store'] .pv-navcta { margin-left: 1.6cqw; width: 7cqw; }
.pv[data-type='store'] .pv-hero { min-height: 14cqw; }
.pv[data-type='store'] .pv-art { height: 13cqw; }
.pv[data-type='store'] .pv-bag { opacity: 1; transform: none; }
.pv[data-type='store'] .pv-products { display: grid; }

/* Words and photos */
.pv[data-content='polish'] .pv-ln--s {
  background: var(--lime);
}
.pv[data-content='write'] .pv-ln,
.pv[data-content='write'] .pv-h1 {
  background: linear-gradient(90deg, var(--paper-deep) 0%, #fdfdf8 45%, var(--paper-deep) 90%);
  background-size: 220% 100%;
  box-shadow: inset 0 0 0 0.25cqw var(--line-strong);
  animation: pv-shimmer 1.6s linear infinite;
}

/* Stickers and add-on modules float around the window */
.pv-sticker,
.pv-mod,
.pv-time,
.pv-launch,
.pv-old {
  position: absolute;
  pointer-events: none;
}
.pv-sticker {
  z-index: 5;
  left: 3%;
  top: 33%;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 2.2cqw 1.2cqw 1.6cqw;
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--ink);
  font-size: 2.6cqw;
  font-weight: 700;
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.6) rotate(-14deg);
  transition: opacity 0.25s, transform 0.5s var(--spring);
}
.pv-sticker b {
  font-family: var(--f-display);
  font-size: 3.2cqw;
  color: var(--moss);
}
.pv-sticker-ico {
  display: grid;
  color: var(--moss);
}
.pv-sticker-ico svg {
  width: 3.2cqw;
  height: 3.2cqw;
}
.pv[data-content='polish'] .pv-pen,
.pv[data-content='write'] .pv-aa {
  opacity: 1;
  transform: rotate(-6deg);
}
.pv-mod {
  z-index: 6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1cqw 1.2cqw;
  width: 25cqw;
  padding: 1.8cqw;
  border-radius: 1.8cqw;
  background: var(--paper-hi);
  color: var(--ink);
  box-shadow: 0 1.4cqw 3.6cqw rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: scale(0.5) translateY(3cqw) rotate(0deg);
  transition: opacity 0.25s, transform 0.55s var(--spring);
}
.pv-mod.is-on {
  opacity: 1;
  transform: rotate(var(--r, 0deg));
}
.pv-mod-ico {
  display: grid;
  color: var(--moss);
}
.pv-mod-ico svg {
  width: 3.4cqw;
  height: 3.4cqw;
}
.pv-mod-t {
  font-size: 2.4cqw;
  font-weight: 700;
  white-space: nowrap;
}
.pv-mod > i,
.pv-cal,
.pv-slider {
  grid-column: 1 / -1;
}
.pv-mod > i {
  height: 1.1cqw;
  border-radius: 999px;
  background: var(--line-strong);
}
.pv-mod > i + i {
  width: 65%;
}
.pv-mod--blog { right: 0; top: 17%; --r: 4deg; }
.pv-mod--booking { right: 1%; top: 47%; --r: -3deg; }
.pv-mod--crm { left: 0; top: 55%; --r: -4deg; }
.pv-mod--feature { left: 36%; bottom: 0; --r: 3deg; }
.pv-mod--wholesale { right: 4%; bottom: 1%; --r: -2deg; }
.pv-mod--crm > i {
  height: 2.6cqw;
  border-radius: 0.6cqw;
  background: var(--lime);
  box-shadow: inset 0 0 0 0.3cqw var(--moss);
}
.pv-cal {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6cqw;
}
.pv-cal i {
  aspect-ratio: 1;
  border-radius: 0.4cqw;
  background: var(--paper-deep);
}
.pv-cal i:nth-child(9) {
  background: var(--lime);
  box-shadow: inset 0 0 0 0.3cqw var(--moss);
}
.pv-slider {
  position: relative;
  height: 1.2cqw;
  margin: 1cqw 0;
  border-radius: 999px;
  background: var(--paper-deep);
}
.pv-slider i {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 3.2cqw;
  height: 3.2cqw;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 0.4cqw var(--ink);
  transform: translate(-50%, -50%);
  animation: pv-slide 3.2s ease-in-out infinite alternate;
}
.pv-time {
  z-index: 7;
  top: 1%;
  left: 3%;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 2.2cqw 1.2cqw 1.6cqw;
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--ink);
  font-size: 2.5cqw;
  font-weight: 700;
  transform: rotate(-4deg);
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.5s var(--spring);
}
.pv-time-ico {
  display: grid;
}
.pv-time-ico svg {
  width: 3.2cqw;
  height: 3.2cqw;
}
.pv[data-timeline='asap'] .pv-time {
  background: var(--ginger);
  transform: rotate(3deg) scale(1.05);
}
.pv[data-timeline='1-2-months'] .pv-time {
  background: var(--lime);
}
.pv-old {
  z-index: 3;
  left: 0;
  bottom: 2%;
  width: 28%;
  opacity: 0;
  transform: translate(-4cqw, 4cqw) scale(0.85);
  transition: opacity 0.3s, transform 0.55s var(--spring);
}
.pv[data-migrate='move'] .pv-old {
  opacity: 1;
  transform: none;
}
.pv-old-win {
  display: grid;
  gap: 1cqw;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background: #7f897b;
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.35);
}
.pv-old-win b {
  height: 1.2cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.pv-old-win b:first-child {
  width: 60%;
  height: 2cqw;
}
.pv-old-arrow {
  position: absolute;
  left: 70%;
  bottom: 55%;
  width: 22cqw;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pv-old-arrow path:first-child {
  stroke-dasharray: 6 6;
  animation: pv-dash 1s linear infinite;
}
.pv-old-label {
  display: block;
  margin-top: 1.2cqw;
  font-size: 2.2cqw;
  color: var(--on-night-muted);
}
.pv-launch {
  z-index: 8;
  left: 50%;
  bottom: 1%;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.3cqw 2.6cqw 1.3cqw 2cqw;
  border: 0.3cqw solid var(--lime);
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 2.6cqw;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4cqw) scale(0.8);
  transition: opacity 0.3s, transform 0.6s var(--spring);
}
.pv-launch-ico {
  display: grid;
}
.pv-launch-ico svg {
  width: 3cqw;
  height: 3cqw;
  stroke-width: 2.4;
}
.pv.is-done .pv-launch {
  opacity: 1;
  transform: translate(-50%, 0);
}
.pv.is-done .pv-win {
  animation: pv-done 0.6s var(--spring);
}

@keyframes est-in-r {
  from { opacity: 0; transform: translateX(22px); }
}
@keyframes est-in-l {
  from { opacity: 0; transform: translateX(-22px); }
}
@keyframes est-pop {
  from { transform: scale(0.4); }
}
@keyframes est-grow {
  from { transform: scaleX(0); }
}
@keyframes pv-pop {
  from { opacity: 0; transform: scale(0.85); }
}
@keyframes pv-shimmer {
  to { background-position: -220% 0; }
}
@keyframes pv-blob {
  50% { border-radius: 60% 40% 45% 55% / 50% 60% 40% 50%; }
  to { border-radius: 40% 60% 55% 45% / 60% 45% 55% 40%; }
}
@keyframes pv-dash {
  to { stroke-dashoffset: -24; }
}
@keyframes pv-slide {
  from { left: 22%; }
  to { left: 78%; }
}
@keyframes pv-done {
  40% { transform: translateY(-1.6cqw) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .est *,
  .est *::before,
  .est *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Size cards: big number on one line, with room for the tick */
.est-big {
  white-space: nowrap;
  padding-right: 4px;
}


/* Option layouts follow the width of the question area itself (a container
   query on the form), so they read well at every screen size:
   - 3-up cards (words and photos, moving, timeline): three across with the icon
     above the text when there's room, otherwise one per row with the icon left.
   - 2-up cards (extras, types): icon left when wide, icon above the text when
     narrower, one per row on small phones.
   - Size cards: the big number shrinks before it can reach the tick. */
.est-form {
  container-type: inline-size;
}
@container (min-width: 600px) {
  .est-opts--3 .est-card--ico {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 18px;
  }
  .est-opts--3 .est-card--ico > :not(.est-ico):not(.est-tick) {
    grid-column: 1;
  }
  .est-opts--3 .est-card--ico .est-ico {
    grid-row: auto;
    margin-bottom: 10px;
  }
}
@container (max-width: 599px) {
  .est-opts--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container (min-width: 420px) and (max-width: 599px) {
  .est-opts--2 .est-card--ico {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 18px;
  }
  .est-opts--2 .est-card--ico > :not(.est-ico):not(.est-tick) {
    grid-column: 1;
  }
  .est-opts--2 .est-card--ico .est-ico {
    grid-row: auto;
    margin-bottom: 10px;
  }
}
@container (max-width: 419px) {
  .est-opts--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container (max-width: 560px) {
  .est-big {
    font-size: 1.5rem;
  }
}
/* Three sizes on a phone: one per row, number and unit on one line */
@container (max-width: 480px) {
  .est-opts--n3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .est-opts--n3 .est-card--big {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
  }
  .est-opts--n3 .est-card--big .est-card-p {
    grid-column: 1 / -1;
  }
}
@container (max-width: 400px) {
  .est-big {
    font-size: 1.3125rem;
  }
  .est-card--big {
    padding: 16px 38px 16px 16px;
  }
  .est-card--big .est-tick {
    top: 10px;
    right: 10px;
  }
}

/* The price already sits right above the summary's title on phones */
.est-top.is-done .est-top-price {
  display: none;
}

/* Summary next step: email box + booking */
.est-cta {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: #fff;
}
.est-mail {
  display: grid;
  gap: 10px;
}
.est-mail[hidden],
.est-mail-done[hidden] {
  display: none;
}
.est-cta-t {
  font-family: var(--f-display);
  font-weight: 760;
  font-stretch: 106%;
  font-size: 1.25rem;
  line-height: 1.2;
}
.est-mail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.est-mail-input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-hi);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.est-mail-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(203, 243, 92, 0.6);
}
.est-mail-input[aria-invalid='true'] {
  border-color: #b4532a;
}
.est-mail-btn {
  flex: 0 0 auto;
}
.est-mail-note {
  color: var(--muted);
  font-size: 0.8125rem;
}
.est-mail-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6e3da;
  color: #7a2d12;
  font-size: var(--t-small);
}
.est-mail-error[hidden] {
  display: none;
}
.est-mail-done {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  outline: none;
  line-height: 1.5;
  animation: est-in-r 0.4s var(--ease) both;
}
.est-mail-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  animation: est-pop 0.45s var(--spring);
}
.est-mail-check svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}
.est-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.est-book {
  background: transparent;
  min-height: 46px;
}
.est-book-ico {
  display: grid;
}
.est-book-ico svg {
  width: 18px;
  height: 18px;
}
.est-alt-link {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 560px) {
  .est-mail-btn,
  .est-book {
    width: 100%;
  }
}

/* ---- Shared bits added with the Shopify guide ------------------------------- */
.gd-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
}
.gd-row-link {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.est-fact-more a {
  font-weight: 600;
  color: var(--ink);
}
.pv-mod--pos { left: 42%; top: 0; --r: 2deg; }

/* Shopify plan table: 7 columns; on phones every value gets its label */
.gd-table--plans tbody th {
  width: auto;
}
.gd-table--plans td.mono {
  white-space: normal;
}
@media (max-width: 760px) {
  .gd-table--plans td,
  .gd-table--plans td.mono,
  .gd-table--plans td.gd-price {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 3px 0;
  }
  .gd-table--plans td::before {
    content: attr(data-th);
    color: var(--muted);
    font-family: var(--f-body);
    font-weight: 400;
  }
}

/* ---- Monthly cost calculator (Shopify guide) ----------------------------------
   Inputs on the left, a dark panel with the live total and breakdown on the
   right. On phones: inputs first with a sticky running total, then the panel. */
.gd-calc-wrap {
  margin-top: clamp(28px, 4vw, 48px);
}
.calc {
  scroll-margin-top: calc(var(--header-h) + 16px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper-hi);
}
.calc-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}
.calc-head .gd-h2 {
  margin-bottom: 6px;
}
.calc-intro {
  color: var(--muted);
}
.calc-form {
  display: grid;
  gap: 24px;
}
.calc-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
  font-weight: 700;
}
.calc-field > .calc-label {
  margin-bottom: 0;
}
.calc-out {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--f-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc-seg {
  display: grid;
  gap: 8px;
}
.calc-seg--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.calc-seg--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.calc-opt {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.calc-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc-opt > span {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.calc-opt em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8125rem;
}
@media (hover: hover) {
  .calc-opt:hover > span {
    border-color: var(--ink-soft);
  }
}
.calc-opt input:checked + span {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink);
}
.calc-opt input:checked + span em {
  color: var(--moss);
}
.calc-opt input:focus-visible + span {
  outline: 2.5px solid var(--moss);
  outline-offset: 2px;
}
/* Sliders */
.calc-range {
  --fill: 0%;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--moss) var(--fill), var(--paper-deep) var(--fill));
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 2px 8px rgba(17, 25, 19, 0.2);
}
.calc-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: var(--paper-deep);
}
.calc-range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--moss);
}
.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}
.calc-range:focus-visible {
  outline: 2.5px solid var(--moss);
  outline-offset: 4px;
  border-radius: 6px;
}
.calc-ends {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.75rem;
}
.calc-field--aov {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
}
.calc-field--aov .calc-label {
  width: auto;
}
.calc-field--aov .calc-help {
  grid-column: 1 / -1;
}
.calc-money {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 140px;
  padding: 0 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 600;
}
.calc-money:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.calc-money input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
}
.calc-help {
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.45;
}
/* Result panel */
.calc-side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 14px;
  background: var(--night);
  color: var(--on-night);
}
.calc-total {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(2.5rem, 1.7rem + 2.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.calc-sub {
  color: var(--on-night-muted);
  font-size: var(--t-small);
}
.calc-rows {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--night-line);
  list-style: none;
}
.calc-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  font-size: var(--t-small);
}
.calc-rows li[hidden] {
  display: none;
}
.calc-row-v {
  font-variant-numeric: tabular-nums;
}
.calc-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: var(--night-2);
  overflow: hidden;
}
.calc-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--lime);
  transition: width 0.45s var(--ease);
}
.calc-tip {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--night-2);
  font-size: var(--t-small);
  line-height: 1.45;
}
.calc-tip.is-cheaper {
  background: rgba(203, 243, 92, 0.14);
  color: var(--lime);
}
.calc-once,
.calc-fine {
  color: var(--on-night-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.calc-mini {
  display: none;
}
@media (max-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-side {
    position: static;
  }
  .calc.is-enhanced .calc-mini {
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper-hi);
    box-shadow: 0 6px 18px rgba(17, 25, 19, 0.18);
  }
  .calc-mini b {
    color: var(--lime);
    font-size: 1.125rem;
    font-variant-numeric: tabular-nums;
  }
}
@media (max-width: 560px) {
  .calc-seg--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-seg--3 .calc-opt > span {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calc *,
  .calc *::before,
  .calc *::after {
    transition: none !important;
  }
}
