/* HubSpot alternative guide (.pha-) */
.pha-hero, .pha-short, .pha-why, .pha-hubs, .pha-build, .pha-stay, .pha-others, .pha-move, .pha-trust, .pha-start {
  --ha-ink: #082238; --ha-body: #334155; --ha-muted: #475569; --ha-line: #E2E8F0; --ha-paper: #F3F7F9;
  --ha-blue: #0A6FA8; --ha-teal: #00897F; --ha-hs: #B4432A; --ha-amber: #FFB81C;
}
.pha-short a:not(.btn):not(.pg-btn-ghost), .pha-p a, .pha-why__note a, .pha-stay__note a { color: var(--ha-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pha-paths a { text-decoration: none !important; }

/* ---------- hero: split-flap board ---------- */
.pha-hero__grid { align-items: center; }
.pha-board { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); padding: 20px 18px 16px; border-radius: 22px; background: linear-gradient(160deg, #0B1E33, #10314F 60%, #0B4A55); color: #CFE0EC; box-shadow: 0 48px 80px -46px rgba(8,34,56,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.pha-board::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
.pha-board__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; position: relative; }
.pha-board__t { margin: 0; }
.pha-board__t b { display: block; font: 800 18px/1.2 var(--f-display); color: #fff; letter-spacing: -.01em; }
.pha-board__t em { font: 600 11px/1.4 var(--f-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #9FC0D6; }
.pha-board__sw { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.pha-board__sw button { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; font: 600 13px/1.2 var(--f-body); color: #D3E2EE; cursor: pointer; transition: background 200ms, color 200ms; }
.pha-board__sw button.is-on { background: var(--ha-amber); color: var(--ha-ink); }
.pha-board__sw button[data-pha-view="hs"].is-on { background: #FFD9CC; color: #6B2412; }
.pha-board__rows { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pha-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 6px 8px 6px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.04); color: inherit; text-align: left; cursor: pointer; transition: background 200ms, border-color 200ms; }
.pha-row:hover { background: rgba(255,255,255,.08); }
.pha-row.is-sel { border-color: var(--ha-amber); background: rgba(255,184,28,.1); }
.pha-row:focus-visible, .pha-board__sw button:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pha-row__job { font: 600 14px/1.3 var(--f-body); color: #E6EFF6; }
.pha-flap { display: inline-flex; gap: 2px; font: 700 14px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #fff; }
.pha-flap i { position: relative; display: inline-grid; place-items: center; width: 15px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, #2B4D6E 0 49%, #20405F 51% 100%); font-style: normal; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.4); }
.pha-flap i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.pha-flap i.is-flip { animation: pha-flip 260ms cubic-bezier(.3,.7,.3,1); }
@keyframes pha-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }
.pha-board.is-hs .pha-flap { color: #FFC9B8; }
.pha-board__plan { position: relative; margin: 12px 2px 0; min-height: 2.9em; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.07); font: 500 13.5px/1.45 var(--f-body); color: #E6EFF6; }
.pha-board__cap { position: relative; margin: 10px 2px 0; font-size: 12.5px; line-height: 1.5; color: #A9C3D6; }

/* ---------- short answer ---------- */
.pha-short__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 10px; }
.pha-short__copy p, .pha-p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--ha-body); max-width: 68ch; }
.pha-paths { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pha-paths a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ha-line); background: #fff; color: var(--ha-ink); transition: transform 200ms, border-color 200ms, box-shadow 200ms; }
.pha-paths a:hover { transform: translateX(4px); border-color: #9DC6DE; box-shadow: 0 14px 28px -22px rgba(8,34,56,.5); }
.pha-paths a:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pha-paths img { flex: none; }
.pha-paths b { display: block; font: 700 15.5px/1.25 var(--f-display); }
.pha-paths span span, .pha-paths a > span { font: 500 13.5px/1.4 var(--f-body); color: var(--ha-muted); }
.pha-paths b { color: var(--ha-ink); }
.pha-price { padding: 20px; border-radius: 22px; background: linear-gradient(150deg, #061A2E, #0A3A63 60%, #07605E); color: #BFD3E2; box-shadow: 0 40px 70px -44px rgba(8,34,56,.75); }
.pha-price__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pha-price__t { margin: 0; font: 800 18px/1.2 var(--f-display); color: #fff; }
.pha-bill { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.pha-bill button { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; font: 600 13px/1.2 var(--f-body); color: #D3E2EE; cursor: pointer; }
.pha-bill button.is-on { background: var(--ha-amber); color: var(--ha-ink); }
.pha-bill button:focus-visible { outline: 3px solid #00A3D9; outline-offset: 1px; }
.pha-price__tw { overflow-x: auto; }
.pha-price__tbl { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.pha-price__tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pha-price__tbl th, .pha-price__tbl td { padding: 10px 12px; background: rgba(255,255,255,.07); vertical-align: middle; }
.pha-price__tbl th { display: flex; align-items: center; gap: 10px; border-radius: 12px 0 0 12px; text-align: left; font: 700 14.5px/1.3 var(--f-display); color: #fff; }
.pha-price__tbl th img { flex: none; }
.pha-price__tbl th small { display: block; font: 500 12px/1.35 var(--f-body); color: #B6CADA; }
.pha-price__tbl td { border-radius: 0 12px 12px 0; text-align: right; white-space: nowrap; }
.pha-price__tbl td b { font: 800 22px/1 var(--f-display); color: #fff; letter-spacing: -.02em; transition: opacity 180ms; }
.pha-price__tbl td b.is-swap { opacity: 0; }
.pha-price__tbl tr.is-pick th, .pha-price__tbl tr.is-pick td { background: #fff; }
.pha-price__tbl tr.is-pick th, .pha-price__tbl tr.is-pick td b { color: var(--ha-ink); }
.pha-price__tbl tr.is-pick small { color: var(--ha-muted); }
.pha-price__note { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.5; color: #B6CADA; }

/* ---------- why / hubs / stay notes ---------- */
.pha-swipe, .pha-vs, .pha-deal { margin-top: 26px; }
.pha-why__note, .pha-stay__note { margin: 22px 0 0; font-size: 16px; line-height: 1.6; color: var(--ha-body); max-width: 72ch; }

/* ---------- stack builder ---------- */
.pha-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); margin-top: 18px; }
.pha-calc__in { display: grid; gap: 14px; align-content: start; }
.pha-set { margin: 0; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.05); display: grid; gap: 12px; }
.pha-set legend { padding: 0 6px; font: 700 15px/1.2 var(--f-display); color: #fff; }
.pha-num { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: 12px; }
.pha-num span { font: 600 14.5px/1.35 var(--f-body); color: #E6EFF6; }
.pha-num em { display: block; font: 500 12.5px/1.35 var(--f-body); font-style: normal; color: #A9C3D6; }
.pha-num input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(4,18,32,.55); color: #fff; font: 700 17px/1.2 var(--f-display); text-align: right; }
.pha-num input::placeholder { color: #8FAEC4; font: 500 13px/1.2 var(--f-body); }
.pha-num input:focus-visible { outline: 3px solid #00A3D9; outline-offset: 1px; }
.pha-num--hs input { border-color: rgba(255,201,184,.5); }
.pha-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 14px; background: rgba(255,255,255,.08); }
.pha-seg button { flex: 1 1 auto; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 11px; background: transparent; font: 600 13.5px/1.2 var(--f-body); color: #D3E2EE; cursor: pointer; }
.pha-seg button.is-on { background: #fff; color: var(--ha-ink); }
.pha-seg button:focus-visible, .pha-filter button:focus-visible { outline: 3px solid #00A3D9; outline-offset: 1px; }
.pha-calc__out { padding: 22px; border-radius: 20px; background: #fff; color: var(--ha-body); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); align-self: start; }
.pha-calc__head { margin: 0 0 12px; font: 700 12px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ha-muted); }
.pha-routes { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pha-route { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ha-line); transition: border-color 300ms, background 300ms; }
.pha-route.is-low { border-color: var(--ha-blue); background: #EEF7FC; }
.pha-route p { margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pha-route span { font: 700 15px/1.25 var(--f-display); color: var(--ha-ink); }
.pha-route small { display: block; font: 500 12.5px/1.35 var(--f-body); color: var(--ha-muted); }
.pha-route b { font: 800 22px/1 var(--f-display); color: var(--ha-ink); letter-spacing: -.02em; white-space: nowrap; }
.pha-route i { display: block; height: 10px; border-radius: 9px; background: #EDF2F6; overflow: hidden; }
.pha-route em { display: block; height: 100%; width: var(--w, 0%); border-radius: 9px; background: linear-gradient(90deg, #00A3D9, #3FB97A); transition: width 600ms cubic-bezier(.2,.7,.2,1); }
.pha-route--hs em { background: linear-gradient(90deg, #E07A5F, var(--ha-hs)); }
.pha-route--hs b { color: #8A3320; }
.pha-calc__say { margin: 16px 0 4px; font: 600 15px/1.5 var(--f-body); color: var(--ha-ink); }
.pha-calc__math { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--ha-muted); }
.pha-calc__go { width: 100%; justify-content: center; }
.pha-calc__sent { margin: 10px 0 0; min-height: 1.2em; font-size: 13px; color: var(--ha-teal); }
.pha-build__fine, .pha-build__tip { margin: 18px 0 0; max-width: 80ch; font-size: 13.5px; line-height: 1.6; color: #B6CADA; }
.pha-build__tip { color: #E6EFF6; font-size: 15px; }

/* ---------- other alternatives ---------- */
.pha-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.pha-filter button { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ha-line); background: #fff; font: 600 14px/1.2 var(--f-body); color: var(--ha-body); cursor: pointer; transition: background 200ms, color 200ms, border-color 200ms; }
.pha-filter button.is-on { background: var(--ha-ink); border-color: var(--ha-ink); color: #fff; }
.pha-alts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pha-alts li { transition: opacity 300ms, transform 300ms; }
.pha-alts li.is-off { opacity: .32; transform: scale(.98); }
.pha-alts li.is-off a { border-style: dashed; }
.pha-alts li[hidden] { display: none; }
.pha-alts a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--ha-line); background: #fff; text-decoration: none; color: var(--ha-body); transition: border-color 200ms, box-shadow 200ms, transform 200ms; }
.pha-alts a:hover { border-color: #9DC6DE; box-shadow: 0 18px 30px -24px rgba(8,34,56,.5); transform: translateY(-2px); }
.pha-alts a:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pha-alts b { font: 700 16.5px/1.25 var(--f-display); color: var(--ha-ink); }
.pha-alts span { font-size: 14.5px; line-height: 1.5; }
.pha-alts em { margin-top: auto; font: 600 13.5px/1.3 var(--f-body); font-style: normal; color: var(--ha-blue); }
.pha-alts li:first-child a { border-color: #9DC6DE; background: #F3F9FD; }
.pha-count { margin: 12px 0 0; font-size: 13.5px; color: var(--ha-muted); }

/* ---------- switching ---------- */
.pha-move__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pha-map { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: m; }
.pha-map li { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--ha-line); }
.pha-map span { font: 600 14px/1.3 var(--f-body); color: #8A3320; }
.pha-map b { font: 700 14px/1.3 var(--f-display); color: var(--ha-blue); }
.pha-map i { position: relative; height: 2px; background: linear-gradient(90deg, #E9A08B, #7FC0E3); }
.pha-map i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid #7FC0E3; border-right: 0; }

/* ---------- trust ---------- */
.pha-trust__box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pha-trust__creds { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pha-trust__creds li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ha-line); font: 600 13px/1.2 var(--f-body); color: var(--ha-ink); }
.pha-trust__facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pha-trust__facts li { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ha-line); }
.pha-trust__facts b { display: block; font: 800 30px/1 var(--f-display); color: var(--ha-ink); letter-spacing: -.02em; }
.pha-trust__facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--ha-muted); }
.pha-trust__foot { grid-column: 1 / -1; }
.pha-trust__foot p { margin: 0; font-size: 16px; color: var(--ha-body); }

/* ---------- start steps ---------- */
.pha-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pha-steps li { padding: 20px; border-radius: 18px; border: 1px solid var(--ha-line); background: #fff; display: grid; gap: 6px; align-content: start; }
.pha-steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ha-ink); color: #fff; font: 800 15px/1 var(--f-display); }
.pha-steps b { font: 700 17px/1.25 var(--f-display); color: var(--ha-ink); }
.pha-steps li > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--ha-body); }
.pha-steps__next { margin: 18px 0 0; font-size: 15px; color: var(--ha-body); }
.pha-steps__next a { color: var(--ha-blue); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .pha-short__grid, .pha-calc, .pha-move__grid, .pha-trust__box { grid-template-columns: minmax(0, 1fr); }
  .pha-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pha-board { padding: 16px 12px 14px; }
  .pha-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px 10px; }
  .pha-flap i { width: 13px; height: 23px; }
  .pha-flap { font-size: 12.5px; }
  .pha-num { grid-template-columns: minmax(0, 1fr) 88px; }
  .pha-steps { grid-template-columns: minmax(0, 1fr); }
  .pha-map li { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); padding: 10px; }
  .pha-route b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .pha-flap i.is-flip { animation: none; }
  .pha-route em, .pha-alts li, .pha-paths a { transition: none; }
}

.pha-move .pg-answer { margin-bottom: 16px; }
