:root {
  --ink: #071426;
  --muted: #536072;
  --line: #d9e0e8;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --blue: #1677ff;
  --cyan: #21b9df;
  --violet: #6547e8;
  --green: #2d9a63;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfcfe;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.checkout-page {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(33, 185, 223, 0.1), transparent 34%),
    linear-gradient(305deg, rgba(101, 71, 232, 0.12), transparent 38%),
    #fbfcfe;
}

.checkout-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.checkout-result-card {
  width: min(720px, 100%);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-result-card img {
  width: 150px;
  margin-bottom: 28px;
}

.checkout-result-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.claim-result {
  margin-top: 22px;
}

.claim-result dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.claim-result dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.claim-result dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.claim-result dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.claim-warning {
  margin: 16px 0;
  color: #8a4b08;
  font-size: 0.92rem;
  font-weight: 800;
}

.checkout-back-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 800;
}

[data-claim-status].is-error {
  color: #b42318;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 224, 232, 0.8);
  background: rgba(251, 252, 254, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 152px;
  height: auto;
}

.brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.header-legal-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(217, 224, 232, 0.95);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.header-legal-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(400px, 1.04fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 72px) 30px;
  background:
    linear-gradient(115deg, rgba(33, 185, 223, 0.1), transparent 34%),
    linear-gradient(305deg, rgba(101, 71, 232, 0.12), transparent 38%),
    #fbfcfe;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.1vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.pricing-benefits,
.checkout-guide {
  display: block;
  max-width: 560px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1), max-height 900ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: softReveal 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-benefits h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 3.25rem);
}

.pricing-benefits ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  box-shadow: none;
}

.pricing-benefits li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9f8ef;
  color: var(--green);
  font-weight: 950;
}

.hero-copy.is-pricing-copy > .eyebrow,
.hero-copy.is-pricing-copy > h1,
.hero-copy.is-pricing-copy > .hero-text {
  display: none;
}

.hero-copy.is-pricing-copy .pricing-benefits {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-copy.is-checkout-copy .pricing-benefits {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.hero-copy.is-checkout-copy .checkout-guide {
  max-height: 760px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-copy.is-checkout-copy .hero-actions {
  display: none;
}

.hero-copy.is-checkout-copy {
  align-self: start;
  z-index: 1;
  padding-top: clamp(8px, 2vw, 24px);
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-text {
  animation: softReveal 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-guide h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.6vw, 2.9rem);
}

.checkout-guide ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-guide li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
}

.checkout-guide li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.checkout-guide li.is-complete > span {
  border-color: transparent;
  background: #e9f8ef;
  color: var(--green);
}

.checkout-guide b {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.checkout-guide p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-provider-shell {
  display: none;
  padding: 14px;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.hero-pricing-panel.is-checkout-mode .payment-provider-shell {
  position: absolute;
  top: 78px;
  bottom: 26px;
  left: 26px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc((100% - 64px) / 2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.08);
}

.payment-provider-shell b {
  font-size: 0.95rem;
}

.payment-provider-shell > div:first-child p {
  margin-top: 2px;
  font-size: 0.78rem;
}

.payment-provider-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.payment-provider-list button {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.payment-provider-list button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.payment-provider-list button:hover {
  border-color: rgba(22, 119, 255, 0.5);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.09);
  transform: translateY(-1px);
}

.payment-provider-list button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 20, 38, 0.16);
}

.payment-provider-list span {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 850;
  text-overflow: ellipsis;
}

.payment-provider-list small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-provider-list button.is-selected small {
  color: rgba(255, 255, 255, 0.72);
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.checkout-form label {
  display: grid;
  gap: 5px;
}

.checkout-form label > span,
.checkout-form legend {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"] {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
}

.checkout-form input:focus {
  border-color: rgba(22, 119, 255, 0.62);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.checkout-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-form legend {
  grid-column: 1 / -1;
  margin-bottom: -2px;
}

.checkout-form fieldset label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-legal-checks {
  display: grid;
  gap: 8px;
}

.checkout-legal-checks label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.checkout-legal-checks input {
  margin-top: 2px;
  accent-color: var(--ink);
}

.checkout-legal-checks button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.checkout-legal-checks button:hover {
  color: var(--blue);
}

.checkout-submit {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.checkout-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-status {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.checkout-status.is-error {
  color: #b42318;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 38, 0.42);
  backdrop-filter: blur(10px);
}

.legal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  width: min(940px, 100%);
  height: min(820px, 92vh);
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) clamp(30px, 4vw, 42px);
  border: 1px solid rgba(217, 224, 232, 0.95);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.legal-b2b-notice {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(45, 154, 99, 0.25);
  border-radius: var(--radius);
  background: #eefaf3;
}

.legal-b2b-notice b {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 0.95rem;
}

.legal-b2b-notice p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.legal-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.legal-close-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.legal-scroll {
  overflow: auto;
  min-height: 0;
  max-height: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.legal-scroll > * {
  max-width: 100%;
}

.legal-scroll h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.legal-scroll h2 {
  margin: 22px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 224, 232, 0.85);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.legal-scroll h3 {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 1rem;
}

.legal-scroll p,
.legal-scroll li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-scroll ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
}

.legal-confirm-button {
  justify-self: end;
  min-width: 0;
  min-height: 34px;
  margin-top: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.legal-confirm-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.legal-confirm-button[hidden] {
  display: none;
}

@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.hero-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-toggle.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.18);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-visual.is-checkout-open {
  z-index: 8;
}

.hero-feature-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 -8px 14px;
}

.hero-feature-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(7, 20, 38, 0.1);
  backdrop-filter: blur(14px);
}

.hero-feature-strip span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9f8ef;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
}

.hero-feature-strip h3 {
  margin-bottom: 3px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.hero-feature-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.28;
}

.hero-visual.is-checkout-open .hero-feature-strip {
  display: none;
}

@media (min-width: 981px) {
  .hero-copy::before {
    content: none;
  }

  .hero-visual {
    margin-left: -44px;
    transform: scale(1.16);
    transform-origin: center right;
  }

  .hero-copy.is-pricing-copy::before {
    content: none;
  }

  .hero-visual.is-pricing-open {
    margin-left: -44px;
    transform: scale(1.16);
  }
}

.browser-shell {
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-product-slider {
  position: relative;
  min-height: 620px;
}

.browser-shell {
  position: relative;
}

.hero-switch-panel {
  position: absolute;
  inset: 0;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1080ms cubic-bezier(0.16, 1, 0.3, 1), transform 1080ms cubic-bezier(0.16, 1, 0.3, 1), visibility 1080ms ease;
}

.hero-switch-panel.is-panel-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.hero-product-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 620px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 1080ms cubic-bezier(0.16, 1, 0.3, 1), transform 1080ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-product-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slider-controls {
  position: absolute;
  right: auto;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-slider-controls button {
  width: 34px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #c5ced8;
  cursor: pointer;
}

.hero-slider-controls button.is-active {
  background: var(--blue);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #f7f9fb;
}

.product-sidebar img {
  width: 64px;
  margin-bottom: 8px;
}

.product-sidebar span {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-sidebar b {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.86rem;
}

.product-sidebar b.is-selected {
  background: var(--ink);
  color: #fff;
}

.product-screen {
  height: 100%;
  min-width: 0;
  padding: 22px 22px 62px;
}

.product-screen-image {
  display: grid;
  align-content: stretch;
}

.product-shot {
  width: 100%;
  height: 100%;
  max-height: 536px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1420;
  object-fit: contain;
  object-position: center center;
  box-shadow: 0 16px 38px rgba(7, 20, 38, 0.12);
}

.preview-head {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 20px;
}

.preview-head small {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #e9f8ef;
  color: var(--green);
  font-weight: 800;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.week-grid div,
.focus-row span,
.task-board div,
.task-board b,
.member-row,
.status-strip div,
.metric,
.kanban-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.week-grid div {
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.week-grid span,
.task-board span,
.status-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.week-grid b {
  margin-top: 22px;
  font-size: 0.94rem;
}

.week-grid small,
.kanban-card small,
.metric small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.good {
  color: var(--green);
}

.focus-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr;
  gap: 12px;
  margin-top: 16px;
}

.focus-row span {
  height: 54px;
}

.focus-row span:nth-child(1) {
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.14), #fff);
}

.focus-row span:nth-child(2) {
  background: linear-gradient(90deg, rgba(33, 185, 223, 0.13), #fff);
}

.focus-row span:nth-child(3) {
  background: linear-gradient(90deg, rgba(101, 71, 232, 0.12), #fff);
}

.task-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.task-board div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 310px;
  padding: 14px;
  background: #f8fafc;
}

.task-board b {
  display: block;
  padding: 13px;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.06);
}

.task-board b.highlight {
  border-color: rgba(22, 119, 255, 0.32);
  background: #eef6ff;
}

.team-overview {
  display: grid;
  gap: 12px;
}

.member-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.member-row b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
}

.member-row span {
  font-weight: 800;
}

.member-row small {
  color: var(--muted);
  font-weight: 800;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.status-strip div {
  padding: 18px;
}

.status-strip b {
  display: block;
  font-size: 1.65rem;
}

.hero-pricing-panel {
  min-height: 620px;
  padding: 18px;
}

.checkout-back-button {
  position: absolute;
  top: 12px;
  left: 18px;
  z-index: 500;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 28px rgba(7, 20, 38, 0.1);
}

.checkout-back-button span {
  position: relative;
  width: 20px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  pointer-events: none;
}

.checkout-back-button span::before,
.checkout-back-button span::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: 2px center;
  transition: background 180ms ease;
}

.checkout-back-button span::before {
  transform: translateY(-50%) rotate(-45deg);
}

.checkout-back-button span::after {
  transform: translateY(-50%) rotate(45deg);
}

.checkout-back-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.16);
  transform: translateX(0) translateY(-1px);
}

.checkout-back-button:hover span,
.checkout-back-button:hover span::before,
.checkout-back-button:hover span::after {
  background: #fff;
}

.hero-visual.is-checkout-open .checkout-back-button {
  opacity: 1;
  pointer-events: auto !important;
  transform: translateX(0);
}

.hero-pricing-panel.is-checkout-mode {
  padding: 26px;
}

.hero-pricing-panel.is-checkout-mode .hero-pricing-head {
  display: none;
}

.hero-pricing-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.hero-pricing-head h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.1vw, 2.3rem);
}

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

.hero-pricing-panel.is-checkout-mode .hero-price-list {
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 4.1em auto auto;
  align-content: start;
  gap: 11px;
  min-height: 300px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: opacity 1150ms cubic-bezier(0.16, 1, 0.3, 1), transform 1250ms cubic-bezier(0.16, 1, 0.3, 1), padding 1050ms cubic-bezier(0.16, 1, 0.3, 1), min-height 1050ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 900ms ease;
}

.hero-price-card.is-hidden-plan {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-16px) scale(0.96);
}

.hero-price-card.is-selected-plan {
  min-height: 560px;
  padding: 28px;
  z-index: 2;
  transform: scale(1.04);
  transform-origin: center right;
}

.hero-pricing-panel.is-starter-selected .hero-price-card.is-selected-plan {
  transform: translateX(calc(100% + 12px)) scale(1.04);
}

.hero-pricing-panel.is-starter-selected .hero-price-card.is-hidden-plan {
  transform: translateX(18px) scale(0.96);
}

.hero-price-card.featured {
  border-color: rgba(22, 119, 255, 0.55);
  background: #f5f9ff;
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.1);
}

.hero-price-card h3,
.hero-price-card p {
  margin-bottom: 0;
}

.hero-price-card .badge {
  position: absolute;
  top: -12px;
  left: 14px;
  margin: 0;
}

.hero-price-card .price {
  font-size: 1.35rem;
}

.hero-price-card > p:not(.price) {
  height: 4.1em;
  color: var(--muted);
  font-size: 0.9rem;
  overflow: hidden;
}

.plan-details-toggle,
.hero-price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  white-space: nowrap;
}

.plan-details-toggle {
  width: 100%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero-pricing-panel.is-checkout-mode .plan-details-toggle {
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: default;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-price-card.featured .plan-details-toggle,
.hero-price-card.featured a {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.hero-pricing-panel.is-checkout-mode .hero-price-card.featured .plan-details-toggle {
  border: 0;
  background: transparent;
  color: var(--blue);
}

.plan-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease;
}

.hero-price-card.is-expanded .plan-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.plan-details ul {
  display: grid;
  gap: 7px;
  min-height: 0;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow: hidden;
}

.plan-details li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.plan-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 950;
}

.plan-note {
  height: auto !important;
  margin: 2px 0 0;
  color: var(--muted) !important;
  font-size: 0.64rem !important;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
}

.plan-details a {
  margin-top: 10px;
}

.badge {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: #eaf3ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.price {
  margin-bottom: 16px;
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
    transform: none;
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 118px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .hero-product-slide {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }

  .hero-pricing-head {
    flex-direction: column;
  }

  .hero-price-list {
    grid-template-columns: 1fr;
  }

  .hero-pricing-panel.is-checkout-mode .hero-price-list {
    grid-template-columns: 1fr;
  }

  .hero-pricing-panel.is-checkout-mode .payment-provider-shell {
    position: static;
    width: auto;
    margin-bottom: 12px;
  }

  .hero-price-card.is-selected-plan {
    min-height: 0;
    transform: none;
  }

  .hero-pricing-panel.is-starter-selected .hero-price-card.is-selected-plan {
    transform: none;
  }

  .hero-feature-strip {
    grid-template-columns: 1fr;
  }

  .week-grid div,
  .task-board div {
    min-height: auto;
  }

}

@media (max-width: 460px) {
  .brand span {
    display: none;
  }

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

/* Full-page product slideshow; pricing and checkout retain their existing flow. */
.product-website { --site-header-height: 76px; background: #0a1423; isolation: isolate; }
.product-website .site-background { position: fixed; inset: var(--site-header-height) 0 0; z-index: -1; min-height: 0; }
.product-website .site-background::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,14,27,.94), rgba(5,14,27,.76) 36%, rgba(5,14,27,.2) 76%), linear-gradient(0deg, rgba(5,14,27,.8), transparent 30%); }
.site-background .hero-product-slide { min-height: 0; transform: none; }
.site-background .product-screen { --window-bar-crop: max(2.8vw, 5svh); height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #0a1423; }
.site-background .product-shot { width: 100%; height: calc(100% + var(--window-bar-crop)); max-height: none; object-fit: cover; object-position: center top; transform: translateY(calc(-1 * var(--window-bar-crop))); }
.product-website .site-header { background: rgba(250,252,255,.94); }
.product-website .hero { min-height: calc(100svh - 76px); background: transparent; grid-template-columns: minmax(0, 1fr); padding-bottom: 100px; overflow: visible; }
.product-website .hero-copy { max-width: 570px; }
.product-website .hero-copy > h1 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1.07; }
.product-website .hero-copy > .hero-text { color: #d3deed; }
.product-website .hero-copy > .eyebrow { color: #7bc6ff; }
.product-website .hero-actions { flex-wrap: wrap; }
.product-website .hero-visual { display: none; transform: none; margin: 0; min-width: 0; }
.product-website .hero-toggle { background: #fff; color: #15263d; border-color: #fff; }
.product-website .hero-toggle.is-active { background: #1479e8; color: #fff; border-color: #1479e8; }
.site-background .hero-slider-controls { position: fixed; bottom: 26px; left: auto; right: clamp(20px,5vw,72px); transform: none; align-items: center; padding: 12px 16px; border: 1px solid #ffffff30; border-radius: 50px; background: #0a1423d9; z-index: 4; }
.site-background .hero-slider-controls button { min-height: 24px; height: 24px; width: 32px; border-radius: 6px; background: #ffffff25; }
.site-background .hero-slider-controls button.is-active { background: #72beff; }
.site-background .hero-slider-controls [data-slider-pause] { width: auto; padding: 0 10px; background: transparent; color: #fff; font: inherit; font-size: .8rem; }
.product-website button:focus-visible { outline: 3px solid #75c6ff; outline-offset: 4px; }
.product-website.is-pricing-view .hero { grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 30px; align-items: start; }
.product-website.is-pricing-view .hero-copy { padding: 28px; border-radius: 16px; background: rgba(250,252,255,.97); }
.product-website.is-pricing-view .hero-visual { display: block; }
.product-website.is-pricing-view .hero-feature-strip { display: none; }
.product-website.is-pricing-view .browser-shell { min-height: 0; overflow: visible; border-radius: 16px; }
.product-website.is-pricing-view .hero-pricing-panel { position: relative; min-height: 620px; }
.product-website.is-pricing-view .site-background::after { background: rgba(5,14,27,.8); }
.product-website.is-pricing-view .hero-slider-controls { display: none; }
@media (max-width: 980px) {
  .product-website.is-pricing-view .hero { grid-template-columns: minmax(0,1fr); }
  .product-website.is-pricing-view .hero-copy { max-width: none; }
}
@media (max-width: 600px) {
  .product-website .hero { padding: 36px 22px 100px; }
  .product-website .site-background::after { background: rgba(5,14,27,.78); }
  .product-website .hero-copy > h1 { font-size: 2.6rem; }
  .product-website .brand span { display: none; }
  .product-website.is-pricing-view .hero-copy { padding: 22px; }
}
@media (max-width: 760px) {
  .product-website { --site-header-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-website *, .product-website *::before, .product-website *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
