:root {
  --offblack: #2F2F2F;
  --grey: #666666;
  --grey-light: #E4E4E4;
  --white: #FFFFFF;
  --cream: #FFFAE3;
  --yellow: #FFE04B;
  --yellow-mid: #FFEB7B;
  --yellow-light: #FFF5A6;
  --sans: "New Transport", Arial, sans-serif;
  --serif: "Reckless", Georgia, serif;
  --plate: "UK Number Plate", "New Transport", sans-serif;
  --max: 1120px;
}

* {
  box-sizing: border-box
}

html {
  scroll-padding-top: 84px
}

body {
  margin: 0;
  background: var(--white);
  color: var(--offblack);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px
}

:focus-visible {
  outline: 3px solid var(--offblack);
  outline-offset: 3px;
  border-radius: 6px
}

p {
  margin: 0
}

/* buttons */
.btn,
[dir] a.helpRequestSection__btn,
[dir] button.helpRequestSection__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 17px/1 var(--sans);
  padding: 17px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease
}

.btn--dark,
[dir] a.helpRequestSection__btn,
[dir] button.helpRequestSection__btn {
  background: var(--offblack);
  color: var(--white)
}

.btn--dark:hover,
[dir] a.helpRequestSection__btn:hover,
[dir] button.helpRequestSection__btn:hover {
  background: #474747
}

.btn--yellow {
  background: var(--yellow);
  color: var(--offblack)
}

.btn--yellow:hover {
  background: var(--yellow-mid)
}

.btn--outline {
  background: transparent;
  color: var(--offblack);
  border: 1.5px solid var(--offblack);
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500
}

/* hero */
.probate-valuation-certificate-hero {
  background: var(--yellow);
  padding: 40px 0 88px
}

.crumbs {
  font-size: 14px;
  margin-bottom: 36px
}

.crumbs a {
  text-decoration: none
}

.crumbs a:hover {
  text-decoration: underline
}

.hero__grid {
  display: grid;
  grid-template-columns:1.1fr .9fr;
  gap: 64px;
  align-items: start
}

h1 {
  font: 600 clamp(36px,4.2vw,52px)/1.06 var(--serif);
  letter-spacing: -.015em;
  margin: 0 0 24px
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 31em;
  margin-bottom: 16px
}

.lede--small {
  font-size: 17px
}

.trust {
  margin-top: 28px;
  font-size: 15px;
  display: flex;
  gap: 12px;
  align-items: center
}

.stars {
  display: inline-flex;
  gap: 2px
}

.stars i {
  width: 17px;
  height: 17px;
  background: #00B67A;
  border-radius: 2px;
  position: relative
}

.stars i.half {
  background: linear-gradient(90deg, #00B67A 50%, #DCDCE6 50%)
}

.stars i::after {
  content: "★";
  color: #fff;
  font-size: 12px;
  font-style: normal;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center
}

@media (max-width: 920px) {
  .hero__grid {
    grid-template-columns:1fr;
    gap: 36px
  }
  .probate-valuation-certificate-hero {
    padding: 24px 0 56px
  }
}

/* form card */
.card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px
}

.card h2 {
  font: 600 26px/1.2 var(--sans);
  margin: 0 0 6px
}

.card .sub {
  font-size: 15px;
  margin-bottom: 24px
}

.field, [dir] .form-field {
  margin-bottom: 18px
}

.field label, [dir] .form-field label[for] {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px
}

.opt {
  font-weight: 400;
  color: var(--grey)
}

.hint,
[dir] .form-field > p {
  font-size: 14px;
  color: var(--grey);
  margin-top: 6px
}

.plate,
#request_custom_fields_9319588748828 {
  display: block;
  width: 100%;
  font: 400 34px/1 var(--plate);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  background: var(--yellow);
  color: var(--offblack);
  border: 2px solid var(--offblack);
  border-radius: 10px;
  padding: 14px 12px;
  height: 66px;
  max-height: 66px;
}

.plate::placeholder,
#request_custom_fields_9319588748828::placeholder {
  color: rgba(47, 47, 47, .45)
}

.plate:focus,
#request_custom_fields_9319588748828:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--offblack)
}

.inp,
[dir] .form-field input[type="text"],
[dir] .form-field .nesty-input {
  width: 100%;
  height: 52px;
  max-height: 52px;
  font: 400 17px var(--sans);
  color: var(--offblack);
  padding: 14px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: 10px;
  background: var(--white)
}

.inp:focus,
[dir] .form-field input[type="text"]:focus,
[dir] .form-field .nesty-input:focus {
  outline: none;
  border-color: var(--offblack)
}

.inp.err, .plate.err,
[dir] .form-field.is-error input[type="text"],
[dir] .form-field.is-error .nesty-input {
  border-color: #B3261E !important;
}

.errmsg {
  display: none;
  font-size: 14px;
  margin-top: 6px;
  color: var(--offblack)
}

.errmsg::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B3261E;
  margin-right: 8px;
  vertical-align: middle
}

.labelrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px
}

.labelrow label {
  margin: 0 !important;
}

.tipbtn {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--offblack);
  background: var(--white);
  color: var(--offblack);
  font: 600 13px/1 var(--serif);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0
}

.tipbtn[aria-expanded="true"] {
  background: var(--offblack);
  color: var(--white)
}

.tip {
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45
}

.tip p {
  margin: 0 0 6px
}

.tip p:last-child {
  margin: 0
}

.tip b {
  font-weight: 600
}

.card .btn:disabled,
[dir] a.helpRequestSection__btn:disabled,
[dir] button.helpRequestSection__btn:disabled {
  opacity: .6;
  cursor: wait
}

.card .btn,
[dir] .card a.helpRequestSection__btn,
[dir] .card button.helpRequestSection__btn {
  width: 100%;
  margin-top: 6px
}

.fine,
.fine a {
  font-size: 14px;
  color: var(--grey);
  text-align: center;
  margin-top: 14px
}

.row {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 12px
}

@media (max-width: 480px) {
  .row {
    grid-template-columns:1fr
  }
  .card {
    padding: 24px
  }
}

.consent,
.request_custom_fields_31595528211228 {
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  margin: 6px 0 16px
}

.consent input,
.request_custom_fields_31595528211228 input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--offblack)
}

.step2, .done {
  display: none
}

.done {
  text-align: center;
  padding: 8px 0
}

.done .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 28px
}

.done h2 {
  margin-bottom: 10px
}

.done p {
  margin-bottom: 22px
}

/* sections */
section {
  padding: 88px 0
}

.sec-h {
  font: 600 clamp(28px,3.2vw,38px)/1.15 var(--sans);
  margin: 0 0 14px;
  letter-spacing: -.01em
}

.sec-sub {
  font-size: 19px;
  max-width: 36em;
  margin-bottom: 44px
}

/* what you receive */
.receive {
  display: grid;
  grid-template-columns:1.15fr .85fr;
  gap: 64px;
  align-items: center
}

.receive__img {
  background: var(--cream);
  border-radius: 28px;
  padding: 44px 44px 0;
  overflow: hidden
}

.sheet {
  position: relative;
  background: #fff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(47, 47, 47, .06), 0 24px 48px -24px rgba(47, 47, 47, .35)
}

.sheet img {
  width: 100%
}

.sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff)
}

.receive__cap {
  font-size: 14px;
  color: var(--grey);
  margin-top: 14px
}

.receive ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px
}

.receive li {
  padding-left: 34px;
  position: relative
}

.receive li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow)
}

.receive li strong {
  font-weight: 600;
  display: block
}

@media (max-width: 880px) {
  .receive {
    grid-template-columns:1fr;
    gap: 40px
  }
  .receive__img {
    padding: 20px 20px 0;
    border-radius: 20px
  }
}

/* steps (a real sequence, so numbered) */
.steps-sec {
  background: var(--cream)
}

.steps {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 40px;
  counter-reset: s
}

.step {
  counter-increment: s
}

.step::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 20px
}

.step h3 {
  font: 600 21px/1.25 var(--sans);
  margin: 0 0 8px
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns:1fr;
    gap: 32px
  }
}

/* price */
.price {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 72px;
  align-items: center
}

.zero {
  font: 600 clamp(96px,13vw,168px)/.9 var(--sans);
  letter-spacing: -.04em
}

.zero-cap {
  font-size: 19px;
  margin-top: 16px;
  max-width: 24em
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px
}

.tbl th, .tbl td {
  padding: 15px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--grey-light)
}

.tbl th {
  font-weight: 500;
  font-size: 14px;
  color: var(--grey)
}

.tbl td:first-child {
  white-space: nowrap
}

.tbl td:last-child, .tbl th:last-child {
  text-align: right;
  white-space: nowrap
}

.tbl tr.us td {
  background: var(--yellow-light);
  font-weight: 600;
  border-bottom-color: var(--yellow-light)
}

.tbl tr.us td:first-child {
  border-radius: 10px 0 0 10px
}

.tbl tr.us td:last-child {
  border-radius: 0 10px 10px 0
}

.src {
  font-size: 14px;
  color: var(--grey);
  margin-top: 14px
}

.tbl-wrap {
  overflow-x: auto
}

@media (max-width: 880px) {
  .price {
    grid-template-columns:1fr;
    gap: 40px
  }
}

/* why it holds up */
.why {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 20px
}

.why > div {
  background: var(--yellow-light);
  border-radius: 20px;
  padding: 30px 28px
}

.why > div:nth-child(2) {
  background: var(--yellow-mid)
}

.why > div:nth-child(3) {
  background: var(--yellow)
}

.why h3 {
  font: 600 20px/1.25 var(--sans);
  margin: 0 0 10px
}

@media (max-width: 820px) {
  .why {
    grid-template-columns:1fr
  }
}

/* faq */
.faq {
  max-width: 820px
}

details {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0
}

details:first-of-type {
  border-top: 1px solid var(--grey-light)
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-weight: 600;
  font-size: 18px
}

summary::-webkit-details-marker {
  display: none
}

summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%232F2F2F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat
}

details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10' stroke='%232F2F2F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
}

details p {
  margin-top: 12px;
  max-width: 44em
}

/* bereavement band */
.band {
  background: var(--cream);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns:1.3fr .7fr;
  gap: 40px;
  align-items: center
}

.band h2 {
  font: 600 clamp(28px,3.4vw,40px)/1.1 var(--serif);
  margin: 0 0 14px;
  letter-spacing: -.01em
}

.band .btn {
  justify-self: end
}

@media (max-width: 820px) {
  .band {
    grid-template-columns:1fr;
    padding: 32px
  }
  .band .btn {
    justify-self: start
  }
}

.form-field.request_description,
.form-field.request_attachments,
.form-field.request_subject,
.form-field.required label::after,
.request_custom_fields_31595528211228 label::after {
  display: none !important;
}

.form-field.optional label::after {
  content: ' (optional)';
  font-weight: 400;
  color: #666666;
}

[dir] .form-field ~ .form-field {
  margin-top: 0 !important;
}
