:root {
  --ink: #12100e;
  --cream: #f1ede4;
  --paper: #fbf8f1;
  --orange: #f36b21;
  --rust: #c34c18;
  --muted: #6c665e;
  --line: #d9d2c7;
}
[hidden] {
  display: none !important;
}
.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 78px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 16, 14, 0.1);
}
.site-header .brand {
  display: flex;
  align-items: center;
}
.site-header .brand img {
  display: block;
  height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.header-link {
  font-size: 13px;
  font-weight: 700;
}
.header-cta {
  background: var(--ink);
  color: #fff;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
}
.flow-main {
  padding: 28px clamp(20px, 5vw, 72px) 64px;
}
.flow-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 800;
  color: var(--rust);
  margin: 0 0 14px;
}
h1,
.flow-title {
  font-family: Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 640px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: 0.25s;
  min-height: 48px;
}
.button:hover {
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.button-hot {
  background: var(--orange);
  color: #17100c;
}
.button-hot:hover {
  background: #ff7b31;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-line {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.progress-status {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
}
.progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0 0 36px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.progress-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
}
.progress-step b {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.progress-step.is-current span,
.progress-step.is-done span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.progress-step.is-current b {
  color: var(--ink);
}
.draft-hint,
.notice {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.draft-hint p,
.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
}
.panel + .panel {
  margin-top: 18px;
}
.panel h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.panel .intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.plan-card {
  border: 1px solid var(--line);
  padding: 22px;
  cursor: pointer;
  background: var(--paper);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-card.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.plan-card .package-number {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: var(--rust);
  font-weight: 800;
}
.plan-card h3 {
  font-family: Georgia, serif;
  font-size: 32px;
  margin: 0;
}
.plan-card .price {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 4px 0;
}
.plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.field,
.choice-group {
  margin: 0 0 22px;
}
.field label,
.choice-group legend,
.check-row label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}
.optional {
  font-weight: 700;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  padding: 14px 14px;
  min-height: 48px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field textarea.tall {
  min-height: 180px;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.choice-chip input:focus-visible + span,
.check-row input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.choice-group {
  border: 0;
  padding: 0;
  min-width: 0;
}
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice-chip {
  display: inline-flex;
  cursor: pointer;
}
.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
}
.choice-chip input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
}
.check-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--ink);
}
.check-row label {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}
.consent-row {
  margin: 18px 0;
}
.field-error {
  color: #9b1c1c;
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 0;
}
.is-invalid {
  border-color: #9b1c1c !important;
}
.form-nav {
  position: relative;
  margin: 24px 0 0;
  padding: 18px 0 calc(12px + env(safe-area-inset-bottom));
  background: transparent;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  z-index: 20;
}
.form-nav .button {
  min-width: 140px;
}
.pay-box {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 22px;
  margin: 18px 0 24px;
}
.pay-box strong {
  font-family: Georgia, serif;
  font-size: 28px;
  display: block;
}
.pay-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.summary-block {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.summary-block:first-child {
  border-top: 0;
  padding-top: 0;
}
.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.summary-head h3 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.summary-edit {
  border: 0;
  background: none;
  color: var(--ink);
  font: 800 13px Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.summary-block dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.summary-block dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}
.summary-block dt {
  color: var(--muted);
  font-size: 13px;
}
.summary-block dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.status-msg {
  color: #9b1c1c;
  font-size: 14px;
  font-weight: 700;
  min-height: 1.4em;
  margin: 12px 0 0;
}
.success-card h1 {
  margin-bottom: 16px;
}
.meta-list {
  border-top: 1px solid var(--line);
  margin: 28px 0;
  padding-top: 18px;
}
.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee8df;
  font-size: 14px;
}
.meta-list span {
  color: var(--muted);
}
footer.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 38px clamp(24px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-wordmark {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.footer-wordmark span {
  color: var(--orange);
}
.footer-wordmark small {
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-left: 3px;
}
.site-footer p,
.site-footer a {
  font-size: 11px;
  color: #9f9992;
  margin: 0;
}
.legal-copy h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  margin: 32px 0 12px;
}
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}
.draft-banner {
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
}
.draft-banner-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.draft-banner p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.draft-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.draft-banner .button-line {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.draft-banner .button-dark {
  background: #fff;
  color: var(--ink);
}
.inline-links a {
  text-decoration: underline;
  font-weight: 800;
}
.pay-cta-wrap,
.pay-actions {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pay-actions {
  display: grid;
  gap: 12px;
}
.button-skip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.button-skip:hover {
  border-color: var(--ink);
}
.skip-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.payment-status-box {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 18px 20px;
  margin: 0 0 24px;
}
.payment-status-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.payment-status-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.pay-cta-wrap .button,
.pay-actions .button,
#yc-final-submit,
#yc-enquiry-submit {
  width: 100%;
}
@media (max-width: 800px) {
  .plan-grid,
  .check-grid,
  .summary-block dl > div {
    grid-template-columns: 1fr;
  }
  .progress b {
    display: none;
  }
  .form-nav .button,
  .pay-cta-wrap .button,
  #yc-final-submit,
  #yc-enquiry-submit {
    width: 100%;
  }
  .form-nav {
    flex-direction: column-reverse;
  }
  .site-header .brand img {
    height: 42px;
    max-width: 145px;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }
  .flow-main {
    padding: 20px 16px 48px;
  }
  .panel {
    padding: 20px 16px;
  }
  footer.site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .choice-chip span {
    width: 100%;
    justify-content: center;
  }
  .choice-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}
