@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

.siegfried-calculator {
  --siegfried-primary: #BDD7B6;
  --sc-ink: #202a24;
  --sc-muted: #66736a;
  --sc-line: #dce3dc;
  --sc-paper: #fbfcf9;
  --sc-white: #fff;
  --sc-deep: #264638;
  --sc-error: #a33c32;
  box-sizing: border-box;
  color: var(--sc-ink);
  background-color: var(--sc-paper);
  background-image: radial-gradient(#cad8c7 0.65px, transparent 0.65px);
  background-size: 16px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  padding: 0 24px 48px;
}

.siegfried-calculator *,
.siegfried-calculator *::before,
.siegfried-calculator *::after { box-sizing: border-box; }
.siegfried-calculator [hidden] { display: none !important; }
.siegfried-calculator button,
.siegfried-calculator input { font: inherit; }
.siegfried-calculator button { cursor: pointer; }

.sc-header {
  align-items: center;
  border-bottom: 1px solid #d7dfd6;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 82px;
}
.sc-wordmark {
  color: var(--sc-deep);
  display: inline-flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}
.sc-wordmark span { font: 700 9px/1.5 'DM Sans', sans-serif; letter-spacing: 0; }
.sc-header-note { color: var(--sc-muted); font-size: 13px; margin: 0; }
.sc-main { margin: 0 auto; max-width: 760px; }
.sc-intro { padding: 56px 0 36px; }
.sc-eyebrow { color: #53735c; font-size: 11px; font-weight: 700; margin: 0 0 8px; }
.sc-intro h1,
.sc-section-heading h2 { color: var(--sc-deep); font-family: 'Manrope', sans-serif; font-weight: 700; margin: 0; }
.sc-intro h1 { font-size: 38px; line-height: 1.12; }
.sc-intro > p:last-child { color: var(--sc-muted); margin: 12px 0 0; max-width: 540px; }

.sc-progress { border-bottom: 1px solid var(--sc-line); padding-bottom: 19px; }
.sc-progress-copy { display: flex; font-size: 12px; font-weight: 600; justify-content: space-between; }
.sc-progress-copy span:last-child { color: var(--sc-muted); font-weight: 500; }
.sc-progress-track { background: #e7ece6; border-radius: 2px; height: 6px; margin-top: 10px; overflow: hidden; }
.sc-progress-track span { background: var(--siegfried-primary); border-radius: inherit; display: block; height: 100%; transition: width 180ms ease; width: 25%; }
.sc-step-labels { color: #78847b; display: flex; font-size: 11px; justify-content: space-between; list-style: none; margin: 8px 0 0; padding: 0; }
.sc-step-labels .is-current { color: var(--sc-deep); font-weight: 700; }
.sc-form { padding-top: 25px; }
.sc-step { animation: sc-reveal 220ms ease both; }
@keyframes sc-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.sc-section-heading { margin-bottom: 24px; }
.sc-section-heading h2 { font-size: 25px; line-height: 1.25; }
.sc-section-heading > p:not(.sc-eyebrow) { color: var(--sc-muted); margin: 10px 0 0; }
.sc-fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.sc-fieldset legend,
.sc-field > label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sc-event-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-event-option { cursor: pointer; display: block; min-width: 0; position: relative; }
.sc-event-option input,
.sc-choice input { height: 1px; left: 1px; opacity: 0; position: absolute; top: 1px; width: 1px; }
.sc-event-card {
  background: var(--sc-white);
  border: 1px solid var(--sc-line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 81px;
  padding: 13px 15px;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.sc-event-card strong { font-family: 'Manrope', sans-serif; font-size: 14px; }
.sc-event-card small { color: var(--sc-muted); font-size: 12px; margin-top: 3px; }
.sc-event-option input:checked + .sc-event-card { background: #eff6ed; border-color: #789a78; box-shadow: inset 0 0 0 1px #789a78; }
.sc-event-option input:focus-visible + .sc-event-card,
.sc-choice input:focus-visible + span { outline: 3px solid #668b6b; outline-offset: 2px; }
.sc-field { min-width: 0; }
.sc-number-wrap { align-items: center; display: flex; max-width: 260px; position: relative; }
.sc-number-wrap input { padding-right: 74px; }
.sc-number-wrap span { color: var(--sc-muted); font-size: 13px; pointer-events: none; position: absolute; right: 13px; }
.siegfried-calculator input[type='number'] {
  background: var(--sc-white);
  border: 1px solid #aebbb0;
  border-radius: 3px;
  color: var(--sc-ink);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}
.siegfried-calculator input[type='number']:focus { border-color: #557b5d; outline: 2px solid #bdd7b6; outline-offset: 1px; }
.sc-guest-details { border-top: 1px solid var(--sc-line); margin-top: 24px; padding-top: 17px; }
.sc-guest-details summary { color: var(--sc-deep); cursor: pointer; font-size: 14px; font-weight: 700; list-style-position: inside; }
.sc-help,
.sc-custom-hours small { color: var(--sc-muted); font-size: 12px; }
.sc-guest-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.sc-guest-grid .sc-field label { font-size: 12px; min-height: 36px; }
.sc-duration-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-choice { cursor: pointer; display: block; position: relative; }
.sc-choice > span { background: var(--sc-white); border: 1px solid var(--sc-line); border-radius: 4px; display: flex; flex-direction: column; font-weight: 700; min-height: 80px; padding: 14px; }
.sc-choice input:checked + span { background: #eff6ed; border-color: #789a78; box-shadow: inset 0 0 0 1px #789a78; }
.sc-choice small { color: var(--sc-muted); font-size: 12px; font-weight: 400; margin-top: 5px; }
.sc-custom-hours { margin-top: 20px; max-width: 260px; }
.sc-custom-hours small { display: block; margin-top: 6px; }
.sc-share-list { border-top: 1px solid var(--sc-line); }
.sc-share-row { align-items: center; border-bottom: 1px solid var(--sc-line); display: flex; gap: 18px; justify-content: space-between; min-height: 67px; padding: 10px 0; }
.sc-share-row label { font-size: 14px; font-weight: 700; }
.sc-share-row label small { color: var(--sc-muted); display: block; font-size: 12px; font-weight: 400; }
.sc-share-control { align-items: center; display: flex; flex: 0 0 104px; gap: 8px; }
.sc-share-control input { min-height: 40px !important; padding: 7px 9px !important; text-align: right; }
.sc-share-control span { color: var(--sc-muted); }
.sc-share-total { font-size: 13px; font-weight: 700; margin: 12px 0 0; text-align: right; }
.sc-share-total.has-error { color: var(--sc-error); }
.sc-model-note { background: #eef4eb; border-left: 3px solid var(--siegfried-primary); color: #45594a; font-size: 12px; margin: 16px 0 0; padding: 11px 13px; }
.sc-error { color: var(--sc-error); font-size: 13px; font-weight: 600; margin: 14px 0 0; }
.sc-navigation { align-items: center; border-top: 1px solid var(--sc-line); display: flex; justify-content: space-between; margin-top: 28px; min-height: 76px; padding-top: 18px; }
.sc-navigation button { border: 0; border-radius: 3px; font-size: 14px; font-weight: 700; min-height: 46px; padding: 0 19px; transition: background-color 140ms ease, color 140ms ease; }
.sc-back { background: transparent; color: var(--sc-deep); margin-left: -12px; }
.sc-back:hover { background: #edf3eb; }
.sc-next { background: var(--sc-deep); color: white; margin-left: auto; }
.sc-next:hover { background: #3c624a; }
.sc-restart { background: var(--sc-deep); color: white; }
.sc-restart:hover { background: #3c624a; }
.sc-navigation button:focus-visible,
.sc-cta:focus-visible { outline: 3px solid #6d916d; outline-offset: 3px; }
.sc-footnote { color: var(--sc-muted); font-size: 11px; margin: 6px 0 0; text-align: center; }
.sc-result-caption { font-size: 14px; }
.sc-total-panel { align-items: baseline; background: var(--sc-deep); border-radius: 4px; color: white; display: flex; justify-content: space-between; padding: 21px 22px; }
.sc-total-panel span { font-size: 14px; }
.sc-total-panel strong { font-family: 'Manrope', sans-serif; font-size: 34px; line-height: 1; }
.sc-result-list { margin-top: 22px; }
.sc-result-row { align-items: center; border-bottom: 1px solid var(--sc-line); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
.sc-result-name { font-weight: 700; }
.sc-result-name small { color: var(--sc-muted); display: block; font-size: 12px; font-weight: 400; }
.sc-result-amount { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; white-space: nowrap; }
.sc-result-meter { background: #e6ece4; border-radius: 2px; grid-column: 1 / -1; height: 5px; overflow: hidden; }
.sc-result-meter span { background: #819e7a; display: block; height: 100%; }
.sc-beer-split { color: var(--sc-muted); font-size: 12px; margin: 12px 0 0; }
.sc-assumptions { background: #f0f4ee; margin-top: 24px; padding: 17px 19px; }
.sc-assumptions h3 { color: var(--sc-deep); font-family: 'Manrope', sans-serif; font-size: 15px; margin: 0 0 8px; }
.sc-assumptions ul { color: #48564b; font-size: 12px; margin: 0; padding-left: 18px; }
.sc-assumptions li + li { margin-top: 5px; }
.sc-caveat { color: var(--sc-muted); font-size: 12px; margin: 16px 0 0; }
.sc-cta-row { margin-top: 22px; }
.sc-cta { align-items: center; background: var(--siegfried-primary); border-radius: 3px; color: #233628; display: inline-flex; font-size: 14px; font-weight: 700; gap: 12px; min-height: 48px; padding: 0 18px; text-decoration: none; }
.sc-cta:hover { background: #a8c6a2; }

@media (max-width: 600px) {
  .siegfried-calculator { padding: 0 17px 30px; }
  .sc-header { min-height: 67px; }
  .sc-header-note { font-size: 11px; }
  .sc-intro { padding: 39px 0 28px; }
  .sc-intro h1 { font-size: 31px; }
  .sc-section-heading h2 { font-size: 22px; }
  .sc-event-grid,
  .sc-duration-grid { grid-template-columns: 1fr; }
  .sc-event-card { min-height: 69px; }
  .sc-guest-grid { grid-template-columns: 1fr; }
  .sc-guest-grid .sc-field label { min-height: 0; }
  .sc-choice > span { min-height: 67px; }
  .sc-total-panel { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px; }
  .sc-total-panel strong { font-size: 31px; }
  .sc-navigation { gap: 8px; }
  .sc-navigation button { padding: 0 13px; }
  .sc-restart { font-size: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .siegfried-calculator *, .siegfried-calculator *::before, .siegfried-calculator *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}