/* Ecology Cash For Cars Los Angeles — "Pacific Sun Loop" */

@font-face {
  font-family: "SunRound";
  src: url("type/la-sunloop-round.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "SunText";
  src: url("type/la-sunloop-text.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "SunText";
  src: url("type/la-sunloop-text-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #fff9ee;
  --shell: #fffdf8;
  --sunbeam: #ffc83d;
  --sunbeam-soft: #ffe7a3;
  --sunbeam-pale: #fff3d1;
  --coral: #ff6f59;
  --coral-ink: #b33a26;
  --coral-pale: #ffe6df;
  --lagoon: #0e7c86;
  --lagoon-deep: #0a5961;
  --lagoon-night: #073f45;
  --lagoon-pale: #def3f2;
  --ink: #1f2a33;
  --ink-soft: #46535e;
  --line: #eadfca;
  --ring: #0e7c86;
  --round: "SunRound", "Trebuchet MS", system-ui, sans-serif;
  --text: "SunText", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pill: 999px;
  --soft: 22px;
  --lift: 0 14px 34px -18px rgba(31, 42, 51, 0.35);
  --lift-strong: 0 26px 50px -24px rgba(7, 63, 69, 0.45);
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

picture {
  display: block;
}

a {
  color: var(--lagoon-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-ink);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--round);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.jump-past {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--pill);
  z-index: 50;
}

.jump-past:focus {
  left: 12px;
  color: #fff;
}

.hidden-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.frame {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

/* ---------- top bar ---------- */

.sunbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.sunbar .frame {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.brandloop {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brandloop svg {
  width: 46px;
  height: 46px;
  flex: none;
}

.brandloop-words {
  white-space: nowrap;
  font-family: var(--round);
  font-weight: 700;
  line-height: 1.05;
  font-size: 1.12rem;
}

.brandloop-words span {
  display: block;
  color: var(--coral-ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.navloop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.navloop a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--pill);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.navloop a:hover,
.navloop a[aria-current="page"] {
  background: var(--sunbeam-pale);
  color: var(--ink);
}

.callpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--pill);
  background: var(--lagoon);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.callpill:hover {
  background: var(--lagoon-deep);
  color: #fff;
}

.callpill svg {
  width: 18px;
  height: 18px;
}

.navtoggle {
  display: none;
  min-width: 46px;
  min-height: 46px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--shell);
  color: var(--ink);
  cursor: pointer;
}

.navtoggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1279px) {
  .navtoggle {
    display: inline-grid;
    place-items: center;
  }

  .navloop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--shell);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--lift);
    display: none;
  }

  .navloop.is-open {
    display: block;
  }

  .navloop ul {
    flex-direction: column;
    padding: 10px 16px 16px;
  }

  .navloop a {
    width: 100%;
  }

  .callpill .callpill-num {
    display: none;
  }

  .callpill {
    padding: 0 14px;
  }
}

@media (max-width: 420px) {
  .brandloop svg {
    width: 38px;
    height: 38px;
  }

  .brandloop-words {
    font-size: 0.98rem;
  }

  .brandloop-words span {
    font-size: 0.88rem;
  }

  .sunbar .frame {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .sunbar .frame {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .brandloop {
    gap: 6px;
  }

  .brandloop svg {
    width: clamp(32px, 10vw, 38px);
    height: clamp(32px, 10vw, 38px);
  }

  .brandloop-words {
    font-size: clamp(0.8rem, 4.1vw, 0.98rem);
  }

  .brandloop-words span {
    font-size: clamp(0.74rem, 3.7vw, 0.88rem);
  }

  .callpill {
    padding: 0 12px;
  }

  .navtoggle {
    min-width: 44px;
    min-height: 44px;
  }
}

/* full menu: keep clear space after the logo */
@media (min-width: 1280px) {
  .sunbar .frame {
    width: min(100% - 32px, 1240px);
  }

  .brandloop {
    padding-right: 24px;
  }
}

/* ---------- buttons ---------- */

.btn-sun,
.btn-lagoon,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--pill);
  border: 0;
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-sun {
  background: var(--sunbeam);
  color: var(--ink);
  box-shadow: 0 6px 0 #e3a915;
}

.btn-sun:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #e3a915;
}

.btn-sun:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #e3a915;
}

.btn-lagoon {
  background: var(--lagoon);
  color: #fff;
}

.btn-lagoon:hover {
  background: var(--lagoon-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

button[disabled],
.btn-sun[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- hero ---------- */

.dawn {
  position: relative;
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, var(--sunbeam-soft) 0 140px, transparent 141px),
    radial-gradient(circle at 6% 92%, var(--coral-pale) 0 110px, transparent 111px),
    var(--cream);
}

.dawn .frame {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.dawn h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.35em;
}

.dawn h1 .h1-name {
  display: block;
}

.dawn h1 .h1-line {
  display: block;
  margin-top: 0.25em;
  font-size: 0.5em;
  font-weight: 600;
  color: var(--lagoon-deep);
}

.dawn-sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.sundisc-photo {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}

.sundisc-photo::before {
  content: "";
  position: absolute;
  inset: -6% -6% 12% 12%;
  border-radius: 50%;
  background: var(--sunbeam);
}

.sundisc-photo::after {
  content: "";
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  left: -4%;
  bottom: 2%;
  border-radius: 50%;
  border: 10px solid var(--coral);
  background: var(--shell);
}

.sundisc-photo picture {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.sundisc-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid var(--shell);
  box-shadow: var(--lift-strong);
}

@media (max-width: 860px) {
  .dawn .frame {
    grid-template-columns: 1fr;
  }

  .sundisc-photo {
    max-width: 300px;
  }
}

/* phones: headline + the whole starter form on the first screen */
@media (max-width: 640px) {
  .dawn {
    padding-top: 18px;
  }

  .dawn h1 {
    font-size: 1.95rem;
    margin-bottom: 0.2em;
  }

  .dawn h1 .h1-line {
    font-size: 0.6em;
    margin-top: 0.15em;
  }

  .dawn .loopcard {
    margin-top: 12px;
    padding: 16px;
  }

  .dawn .loopcard-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .dawn .loopcard-note {
    display: none;
  }

  .dawn .starter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  .dawn .starter-grid > .fieldbit:first-child {
    grid-column: 1 / -1;
  }

  .dawn .picker-status {
    font-size: 0.82rem;
    margin-top: 2px;
  }

  .dawn .picker-status:empty {
    display: none;
  }

  .dawn .btn-sun {
    width: 100%;
  }

  .dawn-sub {
    margin-top: 18px;
  }
}

/* ---------- starter + quote card ---------- */

.loopcard {
  background: var(--shell);
  border-radius: var(--soft);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--lift);
  border: 2px solid var(--line);
  margin-top: 24px;
}

.loopcard-title {
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.loopcard-note {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .starter-grid {
    grid-template-columns: 1fr;
  }
}

.fieldbit label,
.fieldbit .fieldbit-label {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.fieldbit input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid #cdbf9f;
  border-radius: 14px;
}

.fieldbit input::placeholder {
  color: #6c7680;
}

.fieldbit input:focus {
  outline: none;
  border-color: var(--lagoon);
  box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.22);
}

.fieldbit input[aria-invalid="true"] {
  border-color: var(--coral-ink);
}

.fieldbit input:disabled {
  background: #f4efe4;
  color: #6c7680;
  cursor: not-allowed;
}

.fieldbit-oops {
  color: var(--coral-ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 6px 0 0;
  min-height: 0;
}

.fieldbit-oops:empty {
  display: none;
}

/* searchable picker */

.picker {
  position: relative;
}

.picker input {
  padding-right: 44px;
}

.picker::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--ink-soft);
  border-bottom: 2.5px solid var(--ink-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.picker-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--shell);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 0 0 2px var(--sunbeam), 0 24px 48px -18px rgba(7, 63, 69, 0.45);
  scrollbar-width: thin;
  scrollbar-color: var(--sunbeam) transparent;
  animation: picker-rise 0.16s ease-out;
}

@keyframes picker-rise {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.picker-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 12px 6px 8px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}

.picker-coin {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--sunbeam-pale);
  color: var(--ink);
}

.picker-list li:nth-child(3n + 2) .picker-coin {
  background: var(--coral-pale);
}

.picker-list li:nth-child(3n) .picker-coin {
  background: var(--lagoon-pale);
}

.picker-word {
  flex: 1;
}

.picker-word mark {
  background: none;
  color: var(--coral-ink);
  text-decoration: underline 3px var(--sunbeam);
  text-underline-offset: 3px;
}

.picker-list li:hover {
  background: var(--sunbeam-pale);
}

.picker-list li[aria-selected="true"] {
  background: var(--lagoon);
  color: #fff;
}

.picker-list li[aria-selected="true"] mark {
  color: #fff;
}

.picker-list li.is-chosen::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231f2a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--sunbeam);
}

/* years: a grid of round chips */
.picker-list.picker-chips {
  right: auto;
  width: max(100%, 300px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 6px;
}

.picker-list.picker-chips[hidden] {
  display: none;
}

.picker-chips li {
  justify-content: center;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--line);
  font-family: var(--round);
  font-weight: 600;
}

.picker-chips .picker-word {
  flex: none;
}

.picker-chips li.is-chosen {
  background: var(--sunbeam);
  box-shadow: none;
}

.picker-chips li.is-chosen::after {
  display: none;
}

.picker-chips li:hover {
  box-shadow: inset 0 0 0 2px var(--lagoon);
  background: #fff;
}

.picker-chips li[aria-selected="true"] {
  background: var(--lagoon);
  box-shadow: none;
}

.picker-list li.picker-empty {
  color: var(--ink-soft);
  cursor: default;
  background: none;
  grid-column: 1 / -1;
  justify-content: center;
}

.picker-status {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- waves & sections ---------- */

.wave-cut {
  display: block;
  width: 100%;
  height: clamp(36px, 6vw, 72px);
}

.band {
  padding: clamp(48px, 7vw, 96px) 0;
}

.band-sky {
  background: var(--lagoon-pale);
}

.band-blush {
  background: var(--coral-pale);
}

.band-night {
  background: var(--lagoon-night);
  color: #fff;
}

.band-night a {
  color: var(--sunbeam);
}

.band-head {
  max-width: 44em;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.band-head p {
  font-size: 1.12rem;
  color: var(--ink-soft);
}


.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

.roundshot {
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  overflow: hidden;
  box-shadow: var(--lift-strong);
  border: 8px solid var(--shell);
}

.roundshot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* benefits */

.sunspots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.sunspots li {
  background: var(--shell);
  border-radius: var(--soft);
  padding: 26px 22px;
  border: 2px solid var(--line);
  position: relative;
}

.sunspots .spot-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--sunbeam-pale);
  color: var(--ink);
}

.sunspots li:nth-child(3n + 2) .spot-icon {
  background: var(--coral-pale);
}

.sunspots li:nth-child(3n) .spot-icon {
  background: var(--lagoon-pale);
}

.sunspots .spot-icon svg {
  width: 28px;
  height: 28px;
}

.sunspots h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.sunspots p {
  margin: 0;
  color: var(--ink-soft);
}

/* step dots (teaser + full page) */

.dotpath {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.dotpath::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  border-top: 4px dotted var(--coral);
}

.dotpath li {
  position: relative;
  text-align: center;
  font-weight: 800;
}

.dotpath .dot-num {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--sunbeam);
  border: 6px solid var(--shell);
  box-shadow: var(--lift);
}

.dotpath li:nth-child(2) .dot-num {
  background: var(--coral);
}

.dotpath li:nth-child(3) .dot-num {
  background: #7fd0c9;
}

.dotpath li:nth-child(4) .dot-num {
  background: var(--sunbeam-soft);
}

@media (max-width: 700px) {
  .dotpath {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }

  .dotpath::before {
    display: none;
  }
}

/* photo band */

.photo-sail {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--lift-strong);
}

.photo-sail img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.photo-sail-card {
  position: absolute;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 36px);
  max-width: 420px;
  background: var(--shell);
  border-radius: var(--soft);
  padding: 24px 26px;
  box-shadow: var(--lift);
}

.photo-sail-card p:last-child {
  margin: 0;
}

@media (max-width: 760px) {
  .photo-sail img {
    aspect-ratio: 4 / 3;
  }

  .photo-sail-card {
    position: static;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
}

/* phone band */

.ring-call {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}

.ring-call-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sunbeam);
  color: var(--ink);
  box-shadow: 0 0 0 12px rgba(255, 200, 61, 0.25), 0 0 0 26px rgba(255, 200, 61, 0.12);
}

.ring-call-badge svg {
  width: 46px;
  height: 46px;
}

.ring-call h2 {
  color: #fff;
}

.ring-call p {
  margin: 0;
  color: #e6f4f3;
}

@media (max-width: 760px) {
  .ring-call {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* closing */

.sendoff {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.sendoff .roundshot {
  max-width: 280px;
  margin: 0 auto 26px;
  border-radius: 50%;
}

.sendoff .roundshot img {
  aspect-ratio: 1;
}

.sendoff p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- inner pages ---------- */

.pagetop {
  padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 92% 30%, var(--sunbeam-soft) 0 90px, transparent 91px),
    radial-gradient(circle at 84% 80%, var(--lagoon-pale) 0 50px, transparent 51px),
    var(--cream);
}

.pagetop h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  max-width: 18em;
}

.pagetop .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40em;
}

.crumbs ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.crumbs li + li::before {
  content: "•";
  margin-right: 6px;
  color: var(--coral);
}

.crumbs a {
  color: var(--ink-soft);
}

.storyflow {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.storyflow aside {
  position: sticky;
  top: 100px;
}

@media (max-width: 860px) {
  .storyflow {
    grid-template-columns: minmax(0, 1fr);
  }

  .storyflow aside {
    position: static;
  }
}

.storyblock + .storyblock {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 3px dotted var(--sunbeam);
}

.contactcoin {
  margin-top: 22px;
  background: var(--shell);
  border-radius: var(--soft);
  padding: 22px;
  border: 2px solid var(--line);
}

.contactcoin p {
  margin: 0 0 6px;
}

.contactcoin strong {
  font-family: var(--round);
  font-weight: 600;
}

/* how it works */

.steptrail {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: trail;
}

.steptrail > li {
  position: relative;
  padding: 0 0 38px 98px;
  min-height: 90px;
}

.steptrail > li::before {
  counter-increment: trail;
  content: counter(trail);
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--sunbeam);
  box-shadow: var(--lift);
}

.steptrail > li:nth-child(even)::before {
  background: var(--coral);
}

.steptrail > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 82px;
  bottom: 8px;
  border-left: 4px dotted var(--lagoon);
}

.steptrail h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

@media (max-width: 520px) {
  .steptrail > li {
    padding-left: 76px;
  }

  .steptrail > li::before {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .steptrail > li:not(:last-child)::after {
    left: 26px;
    top: 66px;
  }
}

.readybox {
  background: var(--shell);
  border-radius: var(--soft);
  padding: clamp(22px, 3vw, 32px);
  border: 2px dashed var(--lagoon);
}

/* faq */

.askstack {
  max-width: 860px;
}

.askstack details {
  background: var(--shell);
  border: 2px solid var(--line);
  border-radius: 18px;
  margin-bottom: 12px;
}

.askstack details[open] {
  border-color: var(--sunbeam);
}

.askstack summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px;
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.15rem;
}

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

.askstack summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sunbeam-pale);
  font-size: 1.4rem;
  line-height: 1;
}

.askstack details[open] summary::after {
  content: "–";
  background: var(--sunbeam);
}

.askstack .ask-answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.askstack .ask-answer p {
  margin: 0;
}

/* legal */

.legalcopy {
  max-width: 780px;
}

.legalcopy h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}

.legalcopy .stamp {
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- quote wizard ---------- */

.wizard {
  max-width: 720px;
  margin-inline: auto;
}

.wizard .loopcard {
  margin-top: 0;
}

.trackbar {
  height: 12px;
  background: var(--sunbeam-pale);
  border-radius: var(--pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.trackbar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sunbeam), var(--coral));
  border-radius: var(--pill);
  transition: width 0.3s ease;
}

.trackbar-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.stepscreen[hidden] {
  display: none;
}

.stepscreen fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.stepscreen legend,
.stepscreen .step-q {
  font-family: var(--round);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.4vw, 1.9rem);
  line-height: 1.2;
  padding: 0;
  margin-bottom: 6px;
}

.step-help {
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.tapchoices {
  display: grid;
  gap: 12px;
}

.tapchoice {
  position: relative;
}

.tapchoice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.tapchoice label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 18px;
  border: 2px solid #cdbf9f;
  border-radius: 16px;
  background: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tapchoice label::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #9a8f78;
  background: #fff;
}

.tapchoice label:hover {
  border-color: var(--lagoon);
}

.tapchoice input:checked + label {
  border-color: var(--lagoon);
  background: var(--lagoon-pale);
}

.tapchoice input:checked + label::before {
  border-color: var(--lagoon);
  background: radial-gradient(circle, var(--lagoon) 0 6px, #fff 7px);
}

.tapchoice input:focus-visible + label {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.stepnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.backlink {
  min-height: 44px;
  padding: 0 6px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
  color: var(--lagoon-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.backlink:hover {
  color: var(--coral-ink);
}

.modeswitch {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--sunbeam-pale);
  border-radius: var(--pill);
  margin-bottom: 18px;
}

.modeswitch button {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.modeswitch button[aria-pressed="true"] {
  background: var(--shell);
  box-shadow: var(--lift);
}

.vehicle-grid {
  display: grid;
  gap: 14px;
}

.vinrow {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.vinrow .fieldbit {
  flex: 1;
}

@media (max-width: 520px) {
  .vinrow {
    flex-direction: column;
    align-items: stretch;
  }
}

.vinhelp {
  margin-top: 14px;
  background: var(--lagoon-pale);
  border-radius: 14px;
  padding: 4px 16px;
}

.vinhelp summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 800;
  color: var(--lagoon-deep);
}

.vinhelp p {
  margin: 0 0 12px;
}

.vehicle-found {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sunbeam-pale);
  border: 2px solid var(--sunbeam);
}

.vehicle-found strong {
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.2rem;
}

.chosen-car {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--lagoon-pale);
  font-weight: 700;
}

.chosen-car[hidden] {
  display: none;
}

.money {
  position: relative;
}

.money span {
  position: absolute;
  left: 16px;
  bottom: 13px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.money input {
  padding-left: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.okline {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 20px 0 0;
}

.formalert {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--coral-pale);
  border: 2px solid var(--coral);
  font-weight: 700;
  color: #7a2617;
}

.formalert:empty {
  display: none;
}

.thanks {
  text-align: center;
}

.thanks-badge {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sunbeam);
  box-shadow: 0 0 0 12px rgba(255, 200, 61, 0.25);
}

.thanks-badge svg {
  width: 44px;
  height: 44px;
}

.recap {
  text-align: left;
  margin: 22px auto;
  max-width: 420px;
  padding: 0;
  list-style: none;
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.recap li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.recap li + li {
  border-top: 1px solid var(--line);
}

.recap span {
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.groundline {
  background: var(--lagoon-night);
  color: #e6f4f3;
  padding: 56px 0 28px;
}

.groundline a {
  color: #fff;
}

.groundline a:hover {
  color: var(--sunbeam);
}

.groundline-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 760px) {
  .groundline-grid {
    grid-template-columns: 1fr;
  }
}

.groundline h2 {
  font-size: 1.15rem;
  color: var(--sunbeam);
  margin-bottom: 12px;
}

.groundline ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.groundline li {
  margin-bottom: 8px;
}

.groundline li a {
  display: inline-block;
  padding: 6px 0;
}

.groundline address {
  font-style: normal;
}

.groundline .brandloop {
  color: #fff;
  margin-bottom: 14px;
}

.groundline .brandloop-words span {
  color: var(--sunbeam);
}

.groundline-base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* layout helpers (kept out of inline styles for the content security policy) */

.band-snug {
  padding-top: 0;
}

.duo-top {
  align-items: start;
}

.readybox-gap {
  margin-top: 28px;
}

.wave-flip {
  transform: scaleY(-1);
}

.spots-head {
  font-size: 1.5rem;
  margin-top: 8px;
}

/* long email addresses may break instead of widening the page */

a[href^="mailto:"],
.contactcoin p {
  overflow-wrap: anywhere;
}

.band-night .btn-sun,
.band-night .btn-sun:hover {
  color: var(--ink);
}

/* wave strips take the color of the section above them */
.wave-on-blush {
  background: var(--coral-pale);
}

/* hero crop follows the person in the photo */
.sundisc-photo img {
  object-position: 64% 40%;
}

/* contact postcard */
.postcard {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #fffef9;
  outline: 3px dotted var(--coral);
  outline-offset: -10px;
}

.postcard .step-q {
  padding-right: 76px;
}

.postcard-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 62px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--sunbeam-pale);
  border-radius: 6px;
  box-shadow: 0 0 0 4px #fffef9, 0 0 0 6px var(--sunbeam);
  transform: rotate(6deg);
}

.postcard-stamp svg {
  width: 40px;
  height: 40px;
}

.postcard-lines {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.postcard-lines .fieldbit label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lagoon-deep);
  margin-bottom: 0;
}

.postcard-lines .fieldbit input {
  min-height: 50px;
  padding: 8px 2px 6px;
  border: 0;
  border-bottom: 3px dotted var(--ink-soft);
  border-radius: 0;
  background: transparent;
  font-family: var(--round);
  font-size: 1.3rem;
  font-weight: 500;
}

.postcard-lines .fieldbit input:focus {
  border-bottom: 3px solid var(--lagoon);
  box-shadow: 0 6px 0 -3px rgba(14, 124, 134, 0.25);
}

.postcard-lines .fieldbit input[aria-invalid="true"] {
  border-bottom-color: var(--coral-ink);
}

@media (max-width: 480px) {
  .postcard {
    padding: 22px 18px 18px;
  }

  .postcard-stamp {
    width: 50px;
    height: 58px;
  }

  .postcard-stamp svg {
    width: 32px;
    height: 32px;
  }

  .postcard .step-q {
    padding-right: 58px;
  }
}

/* footer social link */
.groundline-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  margin-top: 6px;
  border-radius: var(--pill);
  border: 2px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-weight: 800;
}

.groundline-social a:hover {
  border-color: var(--sunbeam);
}

.groundline-social svg {
  width: 20px;
  height: 20px;
  color: var(--sunbeam);
}
