:root {
  --navy: #101a33;
  --navy-2: #17233f;
  --gold: #f4a300;
  --gold-soft: #fff2cf;
  --red: #ef4f52;
  --ink: #101a33;
  --muted: #5a6680;
  --paper: #fbf8f0;
  --white: #ffffff;
  --line: #e7e0d1;
  --trust: #176a54;
  --trust-soft: #e8f4ef;
  --shadow: 0 18px 50px rgba(16, 26, 51, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 26, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 51, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 106px 106px;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sandbox-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 20px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 163, 0, 0.18);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 18px;
}

.texas-star { color: var(--red); font-size: 14px; }

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { color: var(--ink); }

.intro-section {
  padding: 44px 0 38px;
  background: linear-gradient(135deg, #fffdf8 0%, #f7f2e7 100%);
  border-bottom: 1px solid var(--line);
}

.progress {
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto;
  align-items: center;
  max-width: 730px;
  margin-bottom: 46px;
}

.progress-step {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  color: #8a91a2;
}

.progress-step > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #cdd1da;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

.progress-step strong { font-size: 13px; }
.progress-step small { font-size: 11px; }
.progress-step.complete, .progress-step.current { color: var(--ink); }
.progress-step.complete > span { border-color: var(--trust); color: #fff; background: var(--trust); }
.progress-step.current > span { border-color: var(--gold); color: var(--ink); background: var(--gold-soft); }

.progress-line { height: 2px; margin: 0 14px; background: #d8dbe2; }
.progress-line.complete { background: var(--trust); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 54px;
  align-items: end;
}

.eyebrow, .controls-kicker, .embed-kicker {
  margin: 0 0 9px;
  color: var(--trust);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.handoff-card {
  padding: 22px;
  border: 1px solid #d7e6df;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(23, 106, 84, 0.08);
}

.handoff-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.handoff-heading div { display: grid; gap: 2px; }
.handoff-heading small { color: var(--muted); }

.handoff-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--trust);
  border-radius: 50%;
  font-weight: 700;
}

.handoff-card dl { display: grid; gap: 10px; margin: 16px 0 0; }
.handoff-card dl > div { display: flex; justify-content: space-between; gap: 20px; }
.handoff-card dt { color: var(--muted); font-size: 13px; }
.handoff-card dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }

.shop-section { padding: 42px 0 70px; }

.shop-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.controls-card, .embed-column {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.controls-card {
  position: sticky;
  top: 20px;
  padding: 24px;
  border-radius: 20px;
}

.controls-card h2 { margin-bottom: 9px; font-size: 25px; }
.controls-card > p:not(.controls-kicker) { color: var(--muted); font-size: 13px; line-height: 1.55; }

form { display: grid; gap: 10px; margin-top: 24px; }
label, legend { font-size: 13px; font-weight: 700; }

input, select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid #d9d2c4;
  border-radius: 12px;
  background: #fbfaf6;
  font: inherit;
}

input:focus, select:focus { outline: 3px solid rgba(244, 163, 0, 0.2); border-color: var(--gold); }

.field-error { min-height: 18px; margin: -4px 0 0; color: #b83235; font-size: 12px; }

fieldset { display: grid; gap: 8px; margin: 6px 0; padding: 0; border: 0; }
legend { margin-bottom: 2px; }

.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block;
  padding: 11px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.choice input:checked + span { color: var(--ink); border-color: var(--navy); background: #f0f3f8; }

.primary-button {
  min-height: 50px;
  margin-top: 6px;
  padding: 0 16px;
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(244, 163, 0, 0.23);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-button:hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgba(244, 163, 0, 0.3); }

.privacy-note {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 13px;
  color: #235746;
  border-radius: 12px;
  background: var(--trust-soft);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-note p { margin: 0; }

.embed-column { overflow: hidden; border-radius: 22px; }

.embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.embed-header h2 { margin: 0; font-size: 25px; }
.embed-kicker { margin-bottom: 4px; color: var(--gold); }

.embed-shell { position: relative; min-height: 760px; background: #fff; }

#powerhq-frame {
  display: block;
  width: 100%;
  min-height: 920px;
  border: 0;
  background: #fff;
}

.embed-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  background: #fff;
  font-size: 14px;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.embed-shell.ready .embed-loading { opacity: 0; visibility: hidden; }

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e4dfd3;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.disclosure {
  margin: 0;
  padding: 18px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
}

.why-two-steps { margin: 0 24px 24px; padding: 15px 16px; border-radius: 12px; background: #f7f4ed; }
.why-two-steps summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.why-two-steps p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

footer { color: #d8deeb; background: var(--navy); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer-inner span:first-child { color: #fff; font-size: 15px; font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .shop-layout { grid-template-columns: 1fr; }
  .controls-card { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1180px); }
  .sandbox-ribbon { font-size: 10px; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .back-link { font-size: 0; }
  .back-link::after { content: "← Back"; font-size: 13px; }
  .intro-section { padding-top: 28px; }
  .progress { margin-bottom: 32px; }
  .progress-step { grid-template-columns: 32px; grid-template-rows: 32px auto; justify-items: center; }
  .progress-step > span { grid-row: 1; width: 32px; height: 32px; }
  .progress-step strong { margin-top: 6px; font-size: 11px; }
  .progress-step small { display: none; }
  .progress-line { margin: 0 6px 22px; }
  h1 { font-size: 42px; }
  .lede { font-size: 16px; }
  .shop-section { padding-top: 24px; }
  .controls-card { padding: 20px; }
  .embed-header { padding: 17px 18px; }
  .embed-header h2 { font-size: 20px; }
  #powerhq-frame { min-height: 1030px; }
  .disclosure { padding-inline: 18px; }
  .why-two-steps { margin-inline: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .spinner { animation: none; }
  .primary-button:hover { transform: none; }
}
