.s27-wrap {
  --s27-red: var(--red, #D60A0E);
  --s27-red-dark: #a8080b;
  --s27-black: var(--ink, #19191b);
  --s27-ink: var(--ink, #19191b);
  --s27-paper: #ffffff;
  --s27-soft: #f3f1ec;
  --s27-line: rgba(17, 17, 17, 0.16);
  color: var(--s27-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.58;
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.st2027-page .wp-content-area { max-width: none; padding-block: 0; width: 100%; }
.st2027-page .wp-content-area > h1:first-child { display: none; }

.s27-wrap *, .s27-wrap *::before, .s27-wrap *::after { box-sizing: border-box; }
.s27-wrap h1, .s27-wrap h2, .s27-wrap h3, .s27-wrap p { margin-top: 0; }
.s27-wrap h1, .s27-wrap h2, .s27-wrap h3 { color: inherit; font-weight: 400; letter-spacing: -0.025em; line-height: 1.04; }
.s27-wrap h1 { font-size: clamp(3rem, 7vw, 5.375rem); max-width: 13ch; }
.s27-wrap h2 { font-size: clamp(2.1rem, 5vw, 4.4rem); max-width: 13ch; }
.s27-wrap h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.s27-wrap a { text-underline-offset: 0.18em; }

.s27-hero { min-height: min(780px, 86vh); padding-block: clamp(4rem, 9vw, 8rem); display: flex; flex-direction: column; justify-content: center; }
.s27-eyebrow, .s27-kicker { color: var(--s27-red); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 1rem; text-transform: uppercase; }
.s27-dot { color: var(--s27-red); }
.s27-lead { font-size: clamp(1.2rem, 2.2vw, 1.7rem); max-width: 760px; }
.s27-practical { border-left: 4px solid var(--s27-red); font-size: 1rem; margin: 1.5rem 0 2rem; padding-left: 1rem; }
.s27-actions, .s27-payment-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.s27-payment-grid form { margin: 0; }
.s27-button { align-items: center; appearance: none; border: 2px solid var(--s27-black); border-radius: 0; cursor: pointer; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 50px; padding: 0.8rem 1.2rem; text-align: center; text-decoration: none; transition: background .16s ease, color .16s ease, transform .16s ease; }
.s27-button:hover, .s27-button:focus-visible { transform: translateY(-2px); }
.s27-button--primary { background: var(--s27-red); border-color: var(--s27-red); color: #fff; }
.s27-button--primary:hover, .s27-button--primary:focus-visible { background: var(--s27-red-dark); border-color: var(--s27-red-dark); color: #fff; }
.s27-button--outline { background: transparent; color: var(--s27-black); }
.s27-button--outline:hover, .s27-button--outline:focus-visible { background: var(--s27-black); color: #fff; }
.s27-button--disabled { border-color: #999; color: #777; cursor: not-allowed; opacity: .75; }
.s27-button--disabled:hover { transform: none; }
.s27-button:disabled { cursor: wait; opacity: .7; }

.s27-section { border-top: 1px solid var(--s27-line); padding-block: clamp(4rem, 8vw, 7rem); scroll-margin-top: 4rem; }
.s27-two-col { display: grid; gap: 2rem; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.s27-copy { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 720px; }
.s27-section-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 720px; }
.s27-section--dark { background: var(--s27-black); color: #fff; margin-inline: calc(50% - 50vw); padding-inline: max(calc((100vw - 1180px) / 2 + clamp(1rem, 3vw, 2.5rem)), clamp(1rem, 3vw, 2.5rem)); }
.s27-rule-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; background: rgba(255,255,255,.25); }
.s27-rule-grid article { background: var(--s27-black); padding: 1.5rem; }
.s27-rule-grid article > span { color: var(--s27-red); font-size: .75rem; font-weight: 800; }
.s27-section--dark blockquote { border-left: 5px solid var(--s27-red); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; margin: 3rem 0 0; max-width: 900px; padding: .5rem 0 .5rem 1.5rem; }
.s27-how-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.s27-card { background: var(--s27-soft); min-height: 300px; padding: clamp(1.5rem, 4vw, 3rem); }
.s27-card--red { background: var(--s27-red); color: #fff; }
.s27-card li + li { margin-top: .6rem; }
.s27-text-link { color: inherit; font-weight: 800; }
.s27-small { font-size: .88rem; opacity: .8; }

.s27-form-section { max-width: 980px; margin-inline: auto; }
.s27-form { margin-top: 2.5rem; }
.s27-fieldset { border: 0; border-top: 1px solid var(--s27-line); margin: 0; padding: 2.5rem 0; }
.s27-fieldset legend { display: block; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.025em; padding: 0; width: 100%; }
.s27-fieldset legend span { color: var(--s27-red); display: inline-block; font-size: .8rem; letter-spacing: .1em; margin-right: .5rem; vertical-align: middle; }
.s27-field-help { color: #5a5a5a; margin: .75rem 0 1.5rem; }
.s27-tutorial { border: 1.5px solid var(--s27-black); margin: 1.5rem 0 2rem; }
.s27-tutorial summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; list-style-position: inside; padding: 1rem 1.2rem; }
.s27-tutorial summary:focus-visible { outline: 3px solid var(--s27-red); outline-offset: 3px; }
.s27-tutorial[open] summary { border-bottom: 1.5px solid var(--s27-line); }
.s27-tutorial__body { padding: .25rem 1.2rem 1.2rem; }
.s27-tutorial__body ol { margin: 1rem 0 0; padding-left: 1.25rem; }
.s27-tutorial__body li + li { margin-top: .65rem; }
.s27-fields { display: grid; gap: 1.1rem; }
.s27-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s27-field-wide { grid-column: 1 / -1; }
.s27-form label { display: block; font-weight: 700; }
.s27-form input[type="text"], .s27-form input[type="email"], .s27-form input[type="tel"], .s27-form input[type="url"], .s27-form input[type="date"], .s27-form select, .s27-form textarea { background: #fff; border: 1.5px solid #777; border-radius: 0; color: var(--s27-black); display: block; font: inherit; font-weight: 400; margin-top: .4rem; min-height: 48px; padding: .72rem .8rem; width: 100%; }
.s27-form textarea { min-height: 100px; resize: vertical; }
.s27-form input:focus, .s27-form select:focus, .s27-form textarea:focus { border-color: var(--s27-red); box-shadow: 0 0 0 3px rgba(227,39,25,.18); outline: none; }
.s27-form small { color: #666; display: block; font-size: .78rem; font-weight: 400; margin-top: .3rem; }
.s27-roster-picker { background: var(--s27-soft); border-left: 4px solid var(--s27-red); margin-top: .25rem; padding: 1rem 1.1rem; }
.s27-roster-summary { font-weight: 700; margin: .9rem 0 0; }
.s27-project-editor { border: 1.5px solid var(--s27-line); margin-top: 1.25rem; }
.s27-project-editor summary { cursor: pointer; font-weight: 800; padding: 1rem 1.1rem; }
.s27-project-editor summary:focus-visible { outline: 3px solid var(--s27-red); outline-offset: 3px; }
.s27-project-editor[open] summary { border-bottom: 1.5px solid var(--s27-line); }
.s27-project-editor__body { padding: 1.1rem; }
.s27-choice-grid { display: grid; gap: .75rem; grid-template-columns: repeat(3, 1fr); }
.s27-choice-grid--two { grid-template-columns: repeat(2, 1fr); }
.s27-choice-grid label { align-items: flex-start; border: 1.5px solid var(--s27-line); cursor: pointer; display: flex; gap: .75rem; min-height: 110px; padding: 1.2rem; }
.s27-choice-grid label:has(input:checked) { border-color: var(--s27-red); box-shadow: inset 0 -4px 0 var(--s27-red); }
.s27-choice-grid input, .s27-declarations input { accent-color: var(--s27-red); flex: 0 0 auto; height: 1.1rem; margin-top: .2rem; width: 1.1rem; }
.s27-declarations > label { align-items: flex-start; display: flex; gap: .75rem; font-weight: 500; margin: 1rem 0; }
.s27-summary-row { border-block: 2px solid var(--s27-black); display: flex; font-size: 1.2rem; justify-content: space-between; padding: 1rem 0; }
.s27-legal-note { color: #555; font-size: .86rem; max-width: 720px; }
.s27-submit { margin-top: 1rem; }
.s27-hp { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }

.s27-notice, .s27-confirmation { border-left: 6px solid var(--s27-red); background: var(--s27-soft); padding: clamp(1.25rem, 4vw, 2.5rem); }
.s27-notice--error { background: #fff0ef; color: #6e130d; margin: 1.5rem 0; }
.s27-reference { background: #fff; border: 1px solid var(--s27-line); display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .05em; padding: .15rem .35rem; }
.s27-payment-box { border-top: 1px solid var(--s27-line); margin-top: 2rem; padding-top: 1.5rem; }
.s27-payment-box--fallback { opacity: .9; }
.s27-result { display: grid; min-height: min(720px, 78vh); padding-block: clamp(3rem, 8vw, 7rem); place-items: center; }
.s27-result__panel { background: var(--s27-paper); border-top: 6px solid var(--s27-red); box-shadow: 0 18px 55px rgba(17,17,17,.1); max-width: 820px; padding: clamp(1.5rem, 5vw, 4rem); width: 100%; }
.s27-result__panel h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 1.5rem; max-width: 12ch; }
.s27-result__panel h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.s27-result__lead { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.s27-payment-box--primary { border-top-width: 2px; }
.s27-result__back { margin: 2rem 0 0; }
.s27-faq details { border-top: 1px solid var(--s27-line); padding: 1.2rem 0; }
.s27-faq details:last-child { border-bottom: 1px solid var(--s27-line); }
.s27-faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 800; }
.s27-faq details p { max-width: 720px; padding-top: .8rem; }

@media (max-width: 760px) {
  .s27-hero { min-height: auto; }
  .s27-two-col, .s27-how-grid, .s27-fields--two, .s27-choice-grid { grid-template-columns: 1fr; }
  .s27-rule-grid { grid-template-columns: repeat(2, 1fr); }
  .s27-choice-grid label { min-height: auto; }
  .s27-actions .s27-button, .s27-payment-grid .s27-button { width: 100%; }
  .s27-payment-grid form { width: 100%; }
}

@media (max-width: 430px) {
  .s27-rule-grid { grid-template-columns: 1fr; }
  .s27-wrap h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .s27-button { transition: none; }
}
