/* ==========================================================================
   /website-sprint — "Built with AI | Limited Website Sprint" offer page.
   Temporary page (requests through December 15). Class prefix: ws-
   Teal palette to match the social media carousel.
   ========================================================================== */

.ws {
  --ws-teal: #0a7d80;
  --ws-teal-dark: var(--colors--brand-text);
  --ws-teal-soft: #b9dfe0;
}

.ws-h2 {
  margin: 0 0 16px;
  color: var(--colors--ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.ws-h3 {
  margin: 0 0 20px;
  color: var(--colors--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.ws-body {
  color: var(--colors--ink);
  font-size: 16px;
  line-height: 1.4;
}

.ws-muted {
  margin-top: 12px;
  color: var(--colors--ink-muted);
}

.ws-section {
  padding: 120px 0 0;
}

.ws-head {
  max-width: 40em;
  margin: 0 auto 48px;
  text-align: center;
}

/* --- Buttons ------------------------------------------------------------ */

.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--colors--button-radius);
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.ws-btn-light {
  background-color: var(--colors--canvas);
  color: var(--colors--ink);
}

.ws-btn-light:hover {
  background-color: var(--colors--surface-white);
}

.ws-btn-outline {
  border-color: rgba(255, 255, 255, .6);
  color: var(--colors--surface-white);
}

.ws-btn-outline:hover {
  border-color: var(--colors--surface-white);
  background-color: rgba(255, 255, 255, .1);
}

.ws-btn-dark {
  background-color: var(--colors--ink);
  color: var(--colors--canvas);
}

.ws-btn-dark:hover {
  background-color: var(--colors--brand-text);
}

/* --- Hero --------------------------------------------------------------- */

.ws-hero {
  position: relative;
  overflow: hidden;
  padding: 200px 0 140px;
  background-color: var(--ws-teal);
  /* Large soft circle, as on the carousel */
  background-image:
    radial-gradient(circle at 115% 55%, rgba(255, 255, 255, .09) 0 38%, rgba(255, 255, 255, 0) 38.2%),
    linear-gradient(160deg, var(--ws-teal) 0%, var(--ws-teal-dark) 100%);
  color: var(--colors--surface-white);
}

.ws-tag {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ws-title {
  max-width: 13em;
  margin: 0;
  color: var(--colors--surface-white);
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.ws-lead {
  max-width: 36em;
  margin: 32px 0 0;
  color: var(--colors--surface-white);
  font-size: 18px;
  line-height: 1.4;
}

/* --- Intro: hook from the post + key facts ----------------------------- */

.ws-statement {
  max-width: 15em;
  margin: 0;
  color: var(--colors--brand-text);
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.ws-statement-soft {
  color: var(--colors--brand);
}

.ws-facts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 36px 0 0;
  padding: 0;
  border: 1px solid var(--colors--border-light);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .6);
  list-style: none;
  color: var(--colors--ink);
  font-size: 16px;
  line-height: 1.4;
}

.ws-facts li {
  padding: 12px 24px;
}

.ws-facts li + li {
  border-left: 1px solid var(--colors--border-light);
}

.ws-facts strong {
  font-weight: 600;
}

.ws-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.ws-hero-actions .ws-btn {
  min-width: 220px;
}

/* --- Tiers -------------------------------------------------------------- */

.ws-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-tier {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid rgba(10, 125, 128, .45);
  border-radius: 16px;
  background-color: var(--colors--surface-white);
  box-shadow: 0 24px 48px -32px rgba(10, 110, 112, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ws-tier:hover {
  box-shadow: 0 32px 56px -28px rgba(10, 110, 112, .45);
  transform: translateY(-6px);
}

/* Price colors step from teal to ink, as on the carousel */
.ws-tier:nth-child(1) { --ws-tier-color: #0a7d80; }
.ws-tier:nth-child(2) { --ws-tier-color: var(--colors--brand-text); }
.ws-tier:nth-child(3) { --ws-tier-color: var(--colors--ink); }

.ws-tier-name {
  margin: 0;
  color: var(--ws-tier-color);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}

.ws-tier-time {
  margin-top: 4px;
  color: var(--ws-tier-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.ws-tier-price {
  margin: 28px 0;
  color: var(--ws-tier-color);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ws-tier-label {
  margin-bottom: 8px;
  color: var(--colors--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.ws-tier-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.ws-tier-list li {
  padding: 3px 0;
  color: var(--colors--ink);
  font-size: 16px;
  line-height: 1.4;
}

.ws-tier .ws-btn {
  width: 100%;
  margin-top: auto;
}

/* --- Included / You provide --------------------------------------------- */

/* Terms under the intro: "What's included" on the left, "You provide" and
   "Bonus" stacked on the right (unlike the three equal tier columns) */
.ws-details {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 64px auto 0;
  text-align: left;
}

.ws-details-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ws-details-side .ws-panel {
  flex: 1;
}

.ws-panel {
  padding: 40px;
  border: 1px solid var(--colors--border-light);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, .6);
}

/* "You provide" appears a moment after "What's included" */
/* Panels appear one after another: included, you provide, bonus */
html.js .ws-panel-later[data-anim] {
  transition-delay: .25s;
}

html.js .ws-panel-last[data-anim] {
  transition-delay: .5s;
}

.ws-panel-bonus {
  border-color: rgba(148, 210, 189, .7);
  background-color: rgba(148, 210, 189, .12);
}

.ws-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-check li {
  position: relative;
  padding: 6px 0 6px 32px;
  color: var(--colors--ink);
  font-size: 16px;
  line-height: 1.4;
}

.ws-check li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(148, 210, 189, .5);
}

.ws-check li::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid var(--colors--brand-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --- How it works ------------------------------------------------------- */

.ws-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ws-step;
}

.ws-steps li {
  position: relative;
  counter-increment: ws-step;
}

/* Number in a circle, with a thin line to the next step */
.ws-steps li::before {
  content: counter(ws-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--colors--brand-text);
  border-radius: 50%;
  background-color: var(--colors--canvas);
  color: var(--colors--brand-text);
  font-size: 16px;
  font-weight: 500;
}

.ws-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -12px;
  height: 1px;
  background-color: var(--colors--border-light);
}

.ws-step-title {
  margin: 0 0 6px;
  color: var(--colors--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.ws-steps p {
  color: var(--colors--ink-muted);
  font-size: 16px;
  line-height: 1.4;
}

/* --- Add-ons ------------------------------------------------------------ */

.ws-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ws-tags li {
  padding: 10px 22px;
  border: 1px solid var(--colors--border-light);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .6);
  color: var(--colors--brand-text);
  line-height: 1.4;
}

.ws-tags .ws-tags-accent {
  border-color: rgba(148, 210, 189, .7);
  background-color: rgba(148, 210, 189, .15);
  font-weight: 500;
}

/* --- FAQ ---------------------------------------------------------------- */

.ws-faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--colors--border-light);
}

.ws-faq details {
  border-bottom: 1px solid var(--colors--border-light);
}

.ws-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--colors--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

/* Plus icon that turns into a minus when open */
.ws-faq summary::before,
.ws-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 1.5px;
  background-color: var(--colors--brand-text);
  transition: transform .3s ease;
}

.ws-faq summary::after {
  transform: rotate(90deg);
}

.ws-faq details[open] summary::after {
  transform: rotate(0);
}

.ws-faq summary:focus-visible {
  outline: 2px solid var(--colors--brand-text);
  outline-offset: 4px;
}

.ws-faq details p {
  max-width: 40em;
  padding: 0 0 24px;
  color: var(--colors--ink-muted);
  font-size: 16px;
  line-height: 1.4;
}

/* --- Request form ------------------------------------------------------- */

.ws-cta {
  margin-top: 120px;
  padding: 110px 0;
  background-color: var(--colors--brand-text);
}

.ws-cta-text {
  max-width: 40em;
  margin: 0 auto 48px;
  text-align: center;
}

.ws-on-dark {
  color: var(--colors--surface-white);
}

.ws-on-dark-muted {
  color: rgba(255, 255, 255, .92);
}

.ws-on-dark-muted a {
  color: var(--colors--surface-white);
  text-decoration: underline;
}

.ws-form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
  background-color: var(--colors--canvas);
}

.ws-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ws-form .input-field {
  width: 100%;
  min-height: 42px;
}

/* Room between a field and the next label, so labels sit with their own field */
.ws-form .input-block {
  margin-bottom: 18px;
}

.ws-form .field-label {
  display: block;
  margin-bottom: 4px;
}

/* Tier choice: plain radios in one row, price under the name
   (two columns on phones) */
.ws-tier-pick {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 8px 32px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.ws-tier-pick legend {
  margin-bottom: 4px;
  padding: 0;
}

.ws-tier-pick label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--colors--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.ws-tier-pick input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--colors--brand-text);
}

.ws-tier-pick-price {
  display: block;
  color: var(--colors--ink-muted);
  font-size: 14px;
}

.ws-form .form-submit {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-submit {
  width: 100%;
}

.ws-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.ws-form-card .w-form-done {
  padding: 24px;
  background-color: var(--colors--surface-white);
}

.ws-form-card .w-form-fail {
  margin-top: 16px;
}

.ws-crosslink {
  margin-top: 40px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.ws-crosslink a {
  color: var(--colors--surface-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Open/closed state: js/website-sprint.js adds .ws-closed after the deadline */
.ws-closed-only {
  display: none;
}

.ws-closed .ws-closed-only {
  display: block;
}

.ws-closed .ws-open-only {
  display: none;
}

/* --- Centered layout ---------------------------------------------------- */
/* Section content is centered; card contents, the FAQ and the form stay
   left-aligned for readability. */

.ws-hero,
.ws-intro,
.ws-steps li {
  text-align: center;
}

.ws-title,
.ws-lead,
.ws-statement {
  margin-right: auto;
  margin-left: auto;
}

.ws-hero-actions,
.ws-facts {
  justify-content: center;
}

/* Step numbers centered, the connecting line runs between circles */
.ws-steps li::before {
  margin-right: auto;
  margin-left: auto;
}

.ws-steps li:not(:last-child)::after {
  left: calc(50% + 30px);
  right: calc(-50% + 18px);
}

/* --- Responsive --------------------------------------------------------- */

@media screen and (max-width: 991px) {
  .ws-hero {
    padding: 160px 0 110px;
  }

  .ws-tiers,
  .ws-details {
    grid-template-columns: 1fr;
  }

  .ws-details {
    max-width: 520px;
  }

  .ws-tiers {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Steps as a vertical timeline */
  .ws-steps {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 0;
  }

  .ws-steps li {
    padding: 0 0 48px;
  }

  .ws-steps li::before {
    margin-bottom: 12px;
  }

  /* Short vertical line from each step down to the next one */
  .ws-steps li:not(:last-child)::after {
    top: auto;
    bottom: 12px;
    left: 50%;
    right: auto;
    width: 1px;
    height: 24px;
  }

  .ws-section {
    padding-top: 88px;
  }

  .ws-cta {
    margin-top: 88px;
    padding: 80px 0;
  }
}

@media screen and (max-width: 767px) {
  .ws-hero {
    padding: 140px 0 88px;
  }

  .ws-tag {
    margin-bottom: 28px;
  }

  .ws-lead {
    font-size: 16px;
  }

  /* Facts stack inside a rounded box on phones */
  .ws-facts {
    flex-direction: column;
    border-radius: 16px;
  }

  .ws-facts li + li {
    border-top: 1px solid var(--colors--border-light);
    border-left: 0;
  }

  .ws-hero-actions .ws-btn {
    width: 100%;
  }

  .ws-tier {
    padding: 28px 24px 24px;
  }

  .ws-panel,
  .ws-form-card {
    padding: 24px;
  }

  .ws-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* One column on phones, price next to the name */
  .ws-tier-pick {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ws-tier-pick-price {
    display: inline;
  }

  .ws-tier-pick-price::before {
    content: " · ";
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-tier,
  .ws-tier:hover {
    transform: none;
    transition: box-shadow .3s ease;
  }
}
