:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f0f5ff;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;

  --primary: #2563eb;
  --primary-dark: #1748ba;
  --primary-soft: #eaf1ff;

  --success: #067647;
  --success-soft: #ecfdf3;

  --shadow:
    0 20px 50px
    rgba(16, 24, 40, 0.08);

  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid
    rgba(228, 231, 236, 0.88);
  background:
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background:
    linear-gradient(
      145deg,
      #2563eb,
      #5b8cff
    );
  font-size: 20px;
  font-weight: 900;
  box-shadow:
    0 9px 20px
    rgba(37, 99, 235, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.desktop-nav a {
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav .active-link {
  color: var(--primary);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 12px;
  color: white;
  background: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  overflow: hidden;
  padding: 85px 0 78px;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(37, 99, 235, 0.12),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f5f8ff
    );
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(340px, 0.72fr);
  align-items: center;
  gap: 75px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(
    42px,
    6vw,
    72px
  );
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 850;
}

.button-primary {
  color: white;
  background: var(--primary);
  box-shadow:
    0 12px 28px
    rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  margin-top: 39px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 14px;
}

.trust-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  padding: 24px;
  border: 1px solid
    rgba(228, 231, 236, 0.8);
  border-radius: 28px;
  background:
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  color: var(--success);
}

.social-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 29px 0;
}

.preview-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  background:
    linear-gradient(
      145deg,
      #111827,
      #344054
    );
  font-size: 29px;
}

.social-preview small {
  color: var(--muted);
  font-weight: 700;
}

.social-preview h2 {
  margin: 3px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.preview-features {
  display: grid;
  gap: 9px;
  padding: 17px;
  border-radius: 16px;
  background: #f8fafc;
  color: #475467;
  font-size: 13px;
  font-weight: 650;
}

.preview-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.preview-price small,
.preview-price strong {
  display: block;
}

.preview-price small {
  color: var(--muted);
  font-size: 11px;
}

.preview-price strong {
  margin-top: 2px;
  font-size: 29px;
}

.mini-button {
  padding: 11px 17px;
  border-radius: 11px;
  color: white;
  background: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.section {
  padding: 78px 0;
}

.section-soft {
  background: white;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-size: clamp(
    30px,
    4vw,
    46px
  );
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

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

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: #bdd0ff;
  box-shadow:
    0 14px 32px
    rgba(16, 24, 40, 0.07);
}

.platform-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 22px;
  font-weight: 900;
}

.platform-card h3 {
  margin: 0;
  font-size: 16px;
}

.platform-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.arrow {
  margin-left: auto;
  color: #98a2b3;
  font-size: 22px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: white;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.category-pill {
  color: var(--primary);
  background: var(--primary-soft);
}

.badge {
  color: var(--success);
  background: var(--success-soft);
}

.product-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.product-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.product-details {
  display: grid;
  gap: 7px;
  margin: 18px 0 25px;
  color: #475467;
  font-size: 12px;
}

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

.product-footer small,
.product-footer strong {
  display: block;
}

.product-footer small {
  color: var(--muted);
  font-size: 10px;
}

.product-footer strong {
  margin-top: 3px;
  font-size: 22px;
}

.product-button {
  padding: 11px 14px;
  border-radius: 11px;
  color: white;
  background: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.how-section {
  padding: 80px 0;
  color: white;
  background: #101828;
}

.how-section .eyebrow {
  color: #8fb1ff;
}

.steps-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-top: 35px;
}

.steps-grid article {
  padding: 25px;
  border: 1px solid
    rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    rgba(255, 255, 255, 0.045);
}

.steps-grid article > span {
  color: #8fb1ff;
  font-size: 12px;
  font-weight: 900;
}

.steps-grid h3 {
  margin: 25px 0 9px;
  font-size: 18px;
}

.steps-grid p {
  margin: 0;
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.65;
}

.platform-hero {
  padding: 68px 0 52px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f4f7ff
    );
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.large-platform-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 22px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 31px;
  font-weight: 900;
}

.platform-hero h1 {
  margin: 10px 0;
  font-size: clamp(
    38px,
    5vw,
    57px
  );
  letter-spacing: -0.05em;
}

.platform-hero p {
  margin: 0;
  color: var(--muted);
}

.product-page {
  min-height: 75vh;
  padding: 55px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, 0.78fr);
  gap: 70px;
  align-items: start;
}

.product-icon-large {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 24px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 35px;
}

.product-information h1 {
  max-width: 670px;
  margin: 18px 0 18px;
  font-size: clamp(
    39px,
    5vw,
    62px
  );
  line-height: 1;
  letter-spacing: -0.055em;
}

.product-description {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.feature-list > div {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.feature-check {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 900;
}

.feature-list strong {
  display: block;
  font-size: 14px;
}

.feature-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.order-card {
  position: sticky;
  top: 102px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.order-card-heading h2 {
  margin: 8px 0 22px;
  font-size: 26px;
  letter-spacing: -0.035em;
}

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

.package-option {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 13px;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #fafbfc;
  transition: 0.15s ease;
}

.package-option span {
  color: #475467;
  font-size: 11px;
  font-weight: 700;
}

.package-option strong {
  font-size: 17px;
}

.package-option:hover {
  border-color: #9ab5f4;
}

.package-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow:
    inset 0 0 0 1px
    var(--primary);
}

.target-field {
  margin-top: 22px;
}

.target-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
}

.target-field input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #f8fafc;
}

.target-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.order-summary {
  display: grid;
  gap: 13px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 15px;
  background: #f8fafc;
}

.order-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.order-summary span {
  color: var(--muted);
  font-size: 11px;
}

.order-summary strong {
  text-align: right;
  font-size: 13px;
}

.order-summary .total-price {
  font-size: 22px;
}

.checkout-button {
  width: 100%;
  min-height: 52px;
  margin-top: 15px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: #98a2b3;
  font-size: 13px;
  font-weight: 850;
  cursor: not-allowed;
}

.development-note {
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
}

.site-footer {
  padding: 37px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer strong {
  font-size: 14px;
}

.site-footer p,
.footer-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.empty-state {
  padding: 30px;
  border: 1px dashed #cfd6e2;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: white;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.error-card {
  max-width: 520px;
  text-align: center;
}

.error-code {
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.error-card h1 {
  margin: 12px 0;
  font-size: 43px;
  letter-spacing: -0.045em;
}

.error-card p {
  margin-bottom: 25px;
  color: var(--muted);
}

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-card {
    max-width: 600px;
  }

  .platform-grid,
  .product-grid,
  .steps-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .order-card {
    position: static;
  }

}

@media (max-width: 640px) {

  .shell {
    width: min(
      100% - 24px,
      1180px
    );
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .nav-button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero {
    padding: 57px 0;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .trust-row {
    gap: 21px;
  }

  .section {
    padding: 57px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .platform-grid,
  .product-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .platform-hero {
    padding: 50px 0 40px;
  }

  .product-page {
    padding-top: 34px;
  }

  .product-information h1 {
    font-size: 41px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-option {
    min-height: 64px;
  }

  .footer-grid {
    display: block;
  }

  .footer-note {
    margin-top: 17px;
  }

}

/* =========================================================
   PUBLIC CHECKOUT V1
   ========================================================= */

.public-checkout-error {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #fecdca;
  border-radius: 12px;
  background: #fef3f2;
}

.public-checkout-error strong {
  color: #b42318;
  font-size: 13px;
}

.public-checkout-error span {
  color: #912018;
  font-size: 12px;
  line-height: 1.45;
}

.public-order-form {
  display: block;
}

.public-customer-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 17px;
}

.public-customer-grid label {
  display: block;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.public-customer-grid input {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 13px;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  background: #fff;
  color: #101828;
  outline: none;
  box-sizing: border-box;
}

.public-customer-grid input:focus,
.target-field input:focus {
  border-color: #2f6bea;
  box-shadow:
    0 0 0 3px
    rgba(47, 107, 234, .10);
}

.public-checkout-note {
  margin: 12px 0 0;
  color: #667085;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.checkout-button:disabled {
  opacity: .65;
  cursor: wait;
}

/* =========================================================
   PUBLIC ORDER CREATED
   ========================================================= */

.public-order-created-page {
  width: min(
    calc(100% - 32px),
    620px
  );
  margin: 0 auto;
  padding: 45px 0 70px;
}

.public-order-store-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #2f6bea;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.public-order-created-card {
  padding: 30px;
  border: 1px solid #e4e7ec;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 18px 50px
    rgba(16, 24, 40, .07);
}

.public-order-success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #067647;
  background: #ecfdf3;
  font-size: 25px;
  font-weight: 900;
}

.public-order-created-card h1 {
  margin: 7px 0 5px;
  color: #101828;
  font-size: 34px;
}

.public-order-number {
  margin: 0 0 25px;
  color: #667085;
  font-size: 14px;
}

.public-created-details {
  display: grid;
  border-top: 1px solid #eaecf0;
}

.public-created-details > div {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #eaecf0;
}

.public-created-details span {
  color: #667085;
  font-size: 12px;
}

.public-created-details strong {
  max-width: 65%;
  color: #101828;
  text-align: right;
  font-size: 13px;
}

.public-payment-pending {
  color: #b54708 !important;
}

.public-order-safe-note {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid #fedf89;
  border-radius: 13px;
  background: #fffaeb;
}

.public-order-safe-note strong {
  color: #93370d;
  font-size: 12px;
}

.public-order-safe-note span {
  color: #7a2e0e;
  font-size: 11px;
  line-height: 1.5;
}

.public-order-continue-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 12px;
  color: #fff !important;
  background: #2f6bea;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

@media (max-width: 600px) {

  .public-customer-grid {
    grid-template-columns: 1fr;
  }

  .public-customer-grid input,
  .target-field input {
    font-size: 16px;
  }

  .public-order-created-page {
    width: calc(100% - 24px);
    padding-top: 25px;
  }

  .public-order-created-card {
    padding: 21px;
    border-radius: 18px;
  }

  .public-order-created-card h1 {
    font-size: 29px;
  }

}
