/* ================================================================
   PayStubCheck — Guided Document Packs v2
   Scoped to /document-packs/ pages. No generator, calculation,
   checkout, payment, or fulfillment rules live in this stylesheet.
   ================================================================ */

:root {
  --pack-ink: #13210d;
  --pack-ink-soft: #41513a;
  --pack-muted: #697663;
  --pack-green: #5cb800;
  --pack-green-dark: #397900;
  --pack-green-deep: #173b0b;
  --pack-lime: #a8e542;
  --pack-orange: #ec6a00;
  --pack-cream: #f7faef;
  --pack-paper: #ffffff;
  --pack-line: #dce7ce;
  --pack-line-strong: #bfd39f;
  --pack-gold: #c9972c;
  --pack-shadow-sm: 0 8px 24px rgba(35, 66, 18, 0.08);
  --pack-shadow: 0 24px 70px rgba(35, 66, 18, 0.12);
  --pack-display: "Bricolage Grotesque", "Arial Black", ui-sans-serif, system-ui, sans-serif;
  --pack-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pack-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.pack-page {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--pack-ink);
  background:
    radial-gradient(circle at 2% 4%, rgba(168, 229, 66, 0.12), transparent 23rem),
    var(--pack-cream);
  font-family: var(--pack-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pack-page img,
.pack-page svg {
  display: block;
  max-width: 100%;
}

.pack-page a {
  color: inherit;
}

.pack-page button,
.pack-page input {
  font: inherit;
}

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

.pack-skip {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--pack-green-deep);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.pack-skip:focus {
  transform: translateY(0);
}

.pack-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.pack-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(191, 211, 159, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pack-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.pack-logo {
  display: inline-flex;
  align-items: center;
  width: 220px;
  max-width: 35vw;
}

.pack-logo img {
  width: 100%;
  height: auto;
}

.pack-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
}

.pack-nav a {
  position: relative;
  color: #304128;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.pack-nav a:not(.pack-button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pack-green);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.pack-nav a:hover::after,
.pack-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pack-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--pack-line);
  border-radius: 12px;
  color: var(--pack-ink);
  background: #fff;
  cursor: pointer;
}

.pack-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.pack-mobile-menu {
  display: none;
  padding: 2px 20px 20px;
}

.pack-mobile-menu a {
  display: block;
  padding: 13px 3px;
  border-bottom: 1px solid var(--pack-line);
  font-weight: 750;
  text-decoration: none;
}

.pack-mobile-menu .pack-button {
  margin-top: 14px;
  border-bottom: 0;
}

.pack-header[data-menu-open="true"] .pack-mobile-menu {
  display: block;
}

/* Buttons and shared type */
.pack-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff !important;
  background: var(--pack-green);
  box-shadow: 0 8px 24px rgba(92, 184, 0, 0.26);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pack-button:hover {
  background: #4a9b00;
  box-shadow: 0 12px 30px rgba(75, 154, 0, 0.32);
  transform: translateY(-2px);
}

.pack-button svg {
  flex: 0 0 auto;
}

.pack-button-orange {
  background: var(--pack-orange);
  box-shadow: 0 8px 24px rgba(236, 106, 0, 0.23);
}

.pack-button-orange:hover {
  background: #cf5900;
  box-shadow: 0 12px 30px rgba(207, 89, 0, 0.3);
}

.pack-button-ghost {
  border-color: var(--pack-line-strong);
  color: var(--pack-green-dark) !important;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.pack-button-ghost:hover {
  color: #fff !important;
  background: var(--pack-green-dark);
  box-shadow: none;
}

.pack-button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 13px;
}

.pack-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--pack-green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.pack-eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--pack-green);
  content: "";
}

.pack-title {
  max-width: 780px;
  margin: 0;
  font-family: var(--pack-display);
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.pack-title em {
  color: var(--pack-orange);
  font-style: normal;
}

.pack-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--pack-ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.pack-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.pack-section-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--pack-display);
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.pack-section-copy {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--pack-muted);
  font-size: 16px;
}

/* Hub hero */
.pack-hub-hero {
  position: relative;
  padding: clamp(66px, 9vw, 112px) 0 58px;
}

.pack-hub-hero::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -15%;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(92, 184, 0, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 229, 66, 0.16), transparent 67%);
  content: "";
}

.pack-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.76fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

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

.pack-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--pack-ink-soft);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.pack-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pack-check {
  display: inline-grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--pack-green-dark);
  background: #e7f6d2;
  place-items: center;
}

.pack-record-stack {
  position: relative;
  min-width: 0;
  padding: 42px 32px 34px;
  border: 1px solid rgba(191, 211, 159, 0.85);
  border-radius: 32px;
  color: #edf8e6;
  background:
    radial-gradient(circle at 110% -10%, rgba(168, 229, 66, 0.34), transparent 44%),
    var(--pack-green-deep);
  box-shadow: 0 34px 90px rgba(22, 59, 11, 0.24);
  transform: rotate(1.5deg);
}

.pack-record-stack::before,
.pack-record-stack::after {
  position: absolute;
  z-index: -1;
  inset: 13px -13px -13px 13px;
  border: 1px solid var(--pack-line-strong);
  border-radius: 32px;
  background: #fff;
  content: "";
}

.pack-record-stack::after {
  z-index: -2;
  inset: 26px -26px -26px 26px;
  opacity: 0.58;
}

.pack-record-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pack-lime);
  font-family: var(--pack-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-record-title {
  margin: 23px 0 7px;
  font-family: var(--pack-display);
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pack-record-sub {
  margin: 0 0 25px;
  color: rgba(237, 248, 230, 0.68);
  font-size: 14px;
}

.pack-record-list {
  display: grid;
  gap: 11px;
}

.pack-record-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.pack-record-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--pack-green-deep);
  background: var(--pack-lime);
  font-family: var(--pack-mono);
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.pack-record-row span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pack-record-row strong {
  color: #fff;
  font-family: var(--pack-mono);
  font-size: 12px;
}

.pack-record-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.pack-record-total span {
  color: rgba(237, 248, 230, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.pack-record-total strong {
  color: #fff;
  font-family: var(--pack-mono);
  font-size: 27px;
  line-height: 1;
}

.pack-value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--pack-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--pack-shadow-sm);
}

.pack-value-item {
  min-width: 0;
  padding: 19px 20px;
  border-right: 1px solid var(--pack-line);
}

.pack-value-item:last-child {
  border-right: 0;
}

.pack-value-item strong,
.pack-value-item span {
  display: block;
}

.pack-value-item strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.pack-value-item span {
  color: var(--pack-muted);
  font-size: 12px;
}

/* Selector and hub cards */
.pack-chooser {
  padding: 96px 0 80px;
}

.pack-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pack-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--pack-line);
  border-radius: 999px;
  color: var(--pack-ink-soft);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.pack-filter:hover,
.pack-filter[aria-pressed="true"] {
  border-color: var(--pack-green-dark);
  color: #fff;
  background: var(--pack-green-dark);
}

.pack-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pack-choice-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--pack-line);
  border-radius: 25px;
  background: var(--pack-paper);
  box-shadow: var(--pack-shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pack-choice-card:hover {
  border-color: var(--pack-line-strong);
  box-shadow: var(--pack-shadow);
  transform: translateY(-5px);
}

.pack-choice-card[hidden] {
  display: none;
}

.pack-choice-card-featured {
  grid-column: 1 / -1;
  min-height: 440px;
  color: #f5faef;
  background:
    linear-gradient(90deg, rgba(22, 59, 11, 0.98) 0%, rgba(22, 59, 11, 0.94) 56%, rgba(22, 59, 11, 0.15) 100%),
    url("/assets/images/tax-gig-worker.png") right 6% center / auto 112% no-repeat,
    var(--pack-green-deep);
  border-color: transparent;
}

.pack-choice-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
}

.pack-choice-card-featured .pack-choice-card-content {
  max-width: 64%;
  padding: 42px;
}

.pack-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.pack-card-audience {
  color: var(--pack-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-choice-card-featured .pack-card-audience {
  color: var(--pack-lime);
}

.pack-card-badge {
  padding: 5px 10px;
  border: 1px solid #ead9ad;
  border-radius: 999px;
  color: #795814;
  background: #fff8e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pack-choice-card-featured .pack-card-badge {
  border-color: rgba(168, 229, 66, 0.35);
  color: var(--pack-lime);
  background: rgba(168, 229, 66, 0.08);
}

.pack-card-name {
  margin: 0;
  font-family: var(--pack-display);
  font-size: clamp(27px, 3.2vw, 39px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.pack-card-copy {
  max-width: 570px;
  margin: 12px 0 20px;
  color: var(--pack-muted);
  font-size: 15px;
  line-height: 1.58;
}

.pack-choice-card-featured .pack-card-copy {
  color: rgba(245, 250, 239, 0.72);
}

.pack-card-docs {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.pack-card-docs li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pack-ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.pack-choice-card-featured .pack-card-docs li {
  color: rgba(245, 250, 239, 0.9);
}

.pack-doc-dot {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--pack-green-dark);
  background: #ebf7dc;
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.pack-choice-card-featured .pack-doc-dot {
  color: var(--pack-green-deep);
  background: var(--pack-lime);
}

.pack-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--pack-line);
}

.pack-choice-card-featured .pack-card-footer {
  border-color: rgba(255, 255, 255, 0.2);
}

.pack-card-total span,
.pack-card-total strong {
  display: block;
}

.pack-card-total span {
  margin-bottom: 4px;
  color: var(--pack-muted);
  font-size: 11px;
}

.pack-choice-card-featured .pack-card-total span {
  color: rgba(245, 250, 239, 0.65);
}

.pack-card-total strong {
  font-family: var(--pack-mono);
  font-size: 23px;
}

.pack-progress-chip {
  display: none;
  margin-top: 11px;
  color: var(--pack-green-dark);
  font-size: 11px;
  font-weight: 850;
}

.pack-choice-card-featured .pack-progress-chip {
  color: var(--pack-lime);
}

.pack-progress-chip[data-visible="true"] {
  display: block;
}

.pack-model-note {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid #d8e5c5;
  border-radius: 19px;
  background: #f0f8e4;
}

.pack-model-icon {
  display: grid;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: var(--pack-green-dark);
  background: #fff;
  box-shadow: var(--pack-shadow-sm);
  font-family: var(--pack-mono);
  font-size: 21px;
  font-weight: 900;
  place-items: center;
}

.pack-model-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.pack-model-note p {
  margin: 0;
  color: var(--pack-muted);
  font-size: 13px;
}

.pack-bottom-cta {
  margin: 0 0 90px;
  padding: clamp(34px, 6vw, 62px);
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(168, 229, 66, 0.27), transparent 33%),
    var(--pack-green-deep);
}

.pack-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.pack-bottom-cta h2 {
  max-width: 670px;
  margin: 0;
  font-family: var(--pack-display);
  font-size: clamp(30px, 4.3vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.pack-bottom-cta p {
  max-width: 650px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Detail pages */
.pack-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 25px;
  color: var(--pack-muted);
  font-size: 12px;
  font-weight: 700;
}

.pack-breadcrumb a {
  color: var(--pack-green-dark);
  text-decoration: none;
}

.pack-detail-hero {
  padding: clamp(56px, 8vw, 94px) 0 58px;
}

.pack-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 7vw, 86px);
}

.pack-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.pack-platforms span {
  padding: 7px 11px;
  border: 1px solid var(--pack-line);
  border-radius: 999px;
  color: var(--pack-ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.pack-summary-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--pack-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--pack-shadow);
}

.pack-summary-card::before {
  position: absolute;
  top: -1px;
  right: 26px;
  left: 26px;
  height: 5px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--pack-green), var(--pack-lime), var(--pack-orange));
  content: "";
}

.pack-summary-label {
  margin: 0 0 5px;
  color: var(--pack-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pack-summary-card h2 {
  margin: 0 0 19px;
  font-family: var(--pack-display);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.pack-summary-list {
  display: grid;
  gap: 10px;
}

.pack-summary-row {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-bottom: 10px;
  border-bottom: 1px dotted #c8d6b8;
}

.pack-summary-number {
  display: grid;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: var(--pack-green-dark);
  background: #eef8e1;
  font-family: var(--pack-mono);
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.pack-summary-row span:nth-child(2) {
  min-width: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.pack-summary-row strong {
  font-family: var(--pack-mono);
  font-size: 12px;
}

.pack-summary-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.pack-summary-total span {
  max-width: 180px;
  color: var(--pack-muted);
  font-size: 11px;
  line-height: 1.4;
}

.pack-summary-total strong {
  font-family: var(--pack-mono);
  font-size: 28px;
  line-height: 1;
}

.pack-summary-note {
  margin: 17px 0 0;
  padding: 12px 13px;
  border-radius: 11px;
  color: #4b5f40;
  background: #f1f7e9;
  font-size: 11px;
  line-height: 1.5;
}

.pack-detail-value {
  margin: 0 0 76px;
}

.pack-plan-section {
  padding: 82px 0 88px;
  border-top: 1px solid var(--pack-line);
  background: rgba(255, 255, 255, 0.58);
}

.pack-progress-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 17px 19px;
  border: 1px solid var(--pack-line);
  border-radius: 16px;
  background: #fff;
}

.pack-progress-panel > strong {
  font-family: var(--pack-mono);
  font-size: 12px;
}

.pack-progress-track {
  min-width: 0;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efdd;
}

.pack-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pack-green), var(--pack-lime));
  transition: width 220ms ease;
}

.pack-progress-panel small {
  color: var(--pack-muted);
  font-size: 10px;
}

.pack-steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.pack-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 25px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--pack-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--pack-shadow-sm);
}

.pack-step-card[data-pack-status="completed"] {
  border-color: #99cc65;
  background: linear-gradient(115deg, #fff, #f2fae8);
}

.pack-step-marker {
  display: grid;
  align-content: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  color: #fff;
  background: var(--pack-green-deep);
  box-shadow: 0 12px 28px rgba(22, 59, 11, 0.18);
  text-align: center;
}

.pack-step-marker span {
  color: var(--pack-lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pack-step-marker strong {
  font-family: var(--pack-mono);
  font-size: 24px;
  line-height: 1.1;
}

.pack-step-purpose {
  margin: 0 0 5px;
  color: var(--pack-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pack-step-main h3 {
  margin: 0;
  font-family: var(--pack-display);
  font-size: clamp(23px, 3vw, 31px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pack-step-main > p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--pack-muted);
  font-size: 14px;
}

.pack-step-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--pack-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pack-step-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9c8aa;
  content: "";
}

.pack-step-card[data-pack-status="started"] .pack-step-status::before {
  background: var(--pack-orange);
}

.pack-step-card[data-pack-status="completed"] .pack-step-status::before {
  background: var(--pack-green);
}

.pack-step-action {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-left: 25px;
  border-left: 1px dashed var(--pack-line-strong);
}

.pack-step-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pack-step-price span {
  color: var(--pack-muted);
  font-size: 10px;
}

.pack-step-price strong {
  font-family: var(--pack-mono);
  font-size: 18px;
}

.pack-reset {
  justify-self: end;
  padding: 0;
  border: 0;
  color: var(--pack-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.pack-story-section {
  padding: 90px 0;
}

.pack-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(35px, 7vw, 90px);
}

.pack-story-panel {
  padding: 31px;
  border: 1px solid var(--pack-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--pack-shadow-sm);
}

.pack-story-panel h3 {
  margin: 0 0 16px;
  font-family: var(--pack-display);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.pack-story-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pack-story-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 11px;
  color: var(--pack-ink-soft);
  font-size: 14px;
}

.pack-story-list .pack-check {
  width: 25px;
  height: 25px;
}

.pack-story-callout {
  margin-top: 20px;
  padding: 17px;
  border-left: 4px solid var(--pack-orange);
  border-radius: 10px;
  color: #664018;
  background: #fff7ed;
  font-size: 13px;
}

.pack-prepare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pack-prepare-item {
  padding: 18px;
  border: 1px solid var(--pack-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.pack-prepare-item strong,
.pack-prepare-item span {
  display: block;
}

.pack-prepare-item strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.pack-prepare-item span {
  color: var(--pack-muted);
  font-size: 12px;
}

.pack-help-section {
  padding: 0 0 90px;
}

.pack-faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.pack-faq-list details {
  border: 1px solid var(--pack-line);
  border-radius: 15px;
  background: #fff;
}

.pack-faq-list summary {
  position: relative;
  padding: 18px 48px 18px 19px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.pack-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 19px;
  color: var(--pack-green-dark);
  font-size: 20px;
  content: "+";
  transform: translateY(-50%);
}

.pack-faq-list details[open] summary::after {
  content: "−";
}

.pack-faq-list details p {
  margin: 0;
  padding: 0 19px 19px;
  color: var(--pack-muted);
  font-size: 14px;
}

.pack-workspace-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--pack-line);
  border-radius: 19px;
  background: #fff;
}

.pack-workspace-callout h3 {
  margin: 0 0 4px;
  font-family: var(--pack-display);
  font-size: 21px;
}

.pack-workspace-callout p {
  margin: 0;
  color: var(--pack-muted);
  font-size: 13px;
}

.pack-mobile-action {
  display: none;
}

/* Footer */
.pack-footer {
  color: rgba(239, 248, 233, 0.78);
  background: #102807;
}

.pack-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(140px, 0.45fr));
  gap: 45px;
  padding: 46px 0;
}

.pack-footer-logo {
  width: 196px;
  filter: brightness(0) invert(1);
}

.pack-footer p {
  max-width: 620px;
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.pack-footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 12px;
}

.pack-footer a {
  display: block;
  margin: 7px 0;
  font-size: 12px;
  text-decoration: none;
}

.pack-footer a:hover {
  color: var(--pack-lime);
}

.pack-legal-line {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(239, 248, 233, 0.55);
  font-size: 11px;
}

/* Focus and motion */
.pack-page a:focus-visible,
.pack-page button:focus-visible,
.pack-page summary:focus-visible {
  outline: 3px solid rgba(92, 184, 0, 0.42);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .pack-nav {
    display: none;
  }

  .pack-menu-button {
    display: block;
  }

  .pack-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .pack-hub-grid,
  .pack-detail-grid {
    grid-template-columns: 1fr;
  }

  .pack-hub-grid {
    gap: 58px;
  }

  .pack-record-stack {
    width: min(540px, calc(100% - 26px));
    margin-inline: auto;
  }

  .pack-detail-grid {
    align-items: start;
  }

  .pack-summary-card {
    max-width: 620px;
  }

  .pack-step-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .pack-step-marker {
    width: 64px;
    height: 64px;
  }

  .pack-step-action {
    grid-column: 2;
    grid-template-columns: minmax(130px, auto) minmax(190px, 260px);
    align-items: center;
    padding: 18px 0 0;
    border-top: 1px dashed var(--pack-line-strong);
    border-left: 0;
  }

  .pack-step-price {
    justify-content: flex-start;
  }

  .pack-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pack-shell {
    width: calc(100% - 28px);
  }

  .pack-header-inner {
    min-height: 66px;
  }

  .pack-logo {
    width: 185px;
    max-width: 60vw;
  }

  .pack-title {
    font-size: clamp(39px, 12vw, 58px);
  }

  .pack-hub-hero,
  .pack-detail-hero {
    padding-top: 52px;
  }

  .pack-record-stack {
    padding: 30px 21px 26px;
    border-radius: 24px;
    transform: rotate(0.7deg);
  }

  .pack-record-stack::before,
  .pack-record-stack::after {
    border-radius: 24px;
  }

  .pack-record-title {
    font-size: 26px;
  }

  .pack-value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pack-value-item:nth-child(2) {
    border-right: 0;
  }

  .pack-value-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--pack-line);
  }

  .pack-chooser {
    padding: 72px 0 64px;
  }

  .pack-section-head,
  .pack-bottom-cta-inner,
  .pack-workspace-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .pack-card-grid {
    grid-template-columns: 1fr;
  }

  .pack-choice-card-featured {
    grid-column: auto;
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(22, 59, 11, 0.98) 0%, rgba(22, 59, 11, 0.95) 66%, rgba(22, 59, 11, 0.62) 100%),
      url("/assets/images/tax-gig-worker.png") right bottom / auto 50% no-repeat,
      var(--pack-green-deep);
  }

  .pack-choice-card-featured .pack-choice-card-content {
    max-width: none;
    padding: 30px;
  }

  .pack-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pack-model-note {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    padding: 20px;
  }

  .pack-model-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .pack-model-note .pack-button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .pack-bottom-cta {
    margin-bottom: 70px;
    border-radius: 24px;
  }

  .pack-progress-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pack-progress-panel small {
    display: none;
  }

  .pack-step-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 17px;
    padding: 21px;
  }

  .pack-step-marker {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .pack-step-marker strong {
    font-size: 20px;
  }

  .pack-step-action {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .pack-step-action .pack-button {
    width: 100%;
  }

  .pack-prepare-grid {
    grid-template-columns: 1fr;
  }

  .pack-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .pack-footer-brand {
    grid-column: 1 / -1;
  }

  .pack-mobile-action {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 15px;
    border: 1px solid var(--pack-line-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 45px rgba(22, 59, 11, 0.22);
    backdrop-filter: blur(16px);
  }

  .pack-mobile-action span,
  .pack-mobile-action strong {
    display: block;
  }

  .pack-mobile-action span {
    color: var(--pack-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .pack-mobile-action strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pack-mobile-action .pack-button {
    min-height: 42px;
    padding-inline: 15px;
    font-size: 12px;
  }

  .pack-footer {
    padding-bottom: 82px;
  }
}

@media (max-width: 460px) {
  .pack-shell {
    width: calc(100% - 22px);
  }

  .pack-title {
    font-size: 39px;
  }

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

  .pack-hero-actions {
    display: grid;
  }

  .pack-hero-actions .pack-button {
    width: 100%;
  }

  .pack-value-item {
    padding: 16px 14px;
  }

  .pack-choice-card-content,
  .pack-choice-card-featured .pack-choice-card-content {
    padding: 24px;
  }

  .pack-card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .pack-summary-card {
    padding: 24px 20px;
  }

  .pack-step-card {
    grid-template-columns: 1fr;
  }

  .pack-step-main,
  .pack-step-action {
    grid-column: 1;
  }

  .pack-step-marker {
    width: 50px;
    height: 50px;
  }

  .pack-footer-inner {
    grid-template-columns: 1fr;
  }

  .pack-footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pack-page *,
  .pack-page *::before,
  .pack-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
