:root {
  /* Brand: Material 3 ColorScheme (light) */
  --pb-primary: #006B5E;
  --pb-on-primary: #ffffff;
  --pb-primary-container: #9FF2E1;
  --pb-on-primary-container: #005046;

  --pb-surface: #F4FBF8;
  --pb-on-surface: #171D1B;
  --pb-outline: #6F7976;
  --pb-outline-variant: #BEC9C5;

  /* Brand: Material 3 ColorScheme (dark surface) */
  --pb-surface-dark: #0E1513;
  --pb-on-surface-dark: #DEE4E1;
  --pb-outline-dark: #3F4946;

  /* Canvas / layer palette (editor-adjacent) */
  --pb-board: #081208;
  --pb-layer-top: #2196F3;
  --pb-layer-bottom: #4CAF50;
  --pb-layer-via: #00BCD4;
  --pb-layer-silk-top: #F44336;
  --pb-layer-silk-bottom: #FFC107;
  --pb-selection: #FF8A65;

  /* Layout */
  --pb-max: 1120px;
  --pb-gutter: clamp(16px, 4vw, 32px);
  --pb-radius-lg: 20px;
  --pb-radius-md: 14px;
  --pb-radius-sm: 10px;
  --pb-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--pb-on-surface);
  background: var(--pb-surface);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

.pb-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.pb-container {
  max-width: var(--pb-max);
  margin: 0 auto;
  padding: 0 var(--pb-gutter);
}

.pb-skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--pb-on-surface);
  color: var(--pb-surface);
  padding: 10px 12px;
  border-radius: 10px;
  transform: translateY(-200%);
  z-index: 999;
}

.pb-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--pb-primary-container);
  outline-offset: 2px;
}

/* Header / nav */
.pb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 251, 248, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(190, 201, 197, 0.6);
}

.pb-nav {
  max-width: var(--pb-max);
  margin: 0 auto;
  padding: 14px var(--pb-gutter);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.pb-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.pb-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.pb-brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pb-brand__tag {
  color: rgba(23, 29, 27, 0.68);
  font-size: 13px;
}

.pb-nav__toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(111, 121, 118, 0.25);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.pb-nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pb-nav__link {
  color: rgba(23, 29, 27, 0.76);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

.pb-nav__link:hover {
  background: rgba(190, 201, 197, 0.35);
  text-decoration: none;
}

/* Buttons */
.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.pb-btn:focus-visible {
  outline: 3px solid var(--pb-primary-container);
  outline-offset: 2px;
}

.pb-btn--primary {
  background: var(--pb-primary);
  color: var(--pb-on-primary);
  box-shadow: 0 14px 30px rgba(0, 107, 94, 0.24);
}

.pb-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 107, 94, 0.28);
}

.pb-btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(111, 121, 118, 0.25);
  color: rgba(23, 29, 27, 0.92);
}

.pb-btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.75);
}

.pb-btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

/* Hero */
.pb-main {
  overflow-x: clip;
}

.pb-hero {
  padding: clamp(44px, 7vw, 76px) 0 22px;
  position: relative;
}

.pb-hero::before {
  content: "";
  position: absolute;
  inset: -120px -40px auto -40px;
  height: 520px;
  background:
    radial-gradient(circle at 18% 40%, rgba(159, 242, 225, 0.85) 0%, rgba(159, 242, 225, 0) 55%),
    radial-gradient(circle at 82% 20%, rgba(0, 107, 94, 0.15) 0%, rgba(0, 107, 94, 0) 58%),
    radial-gradient(circle at 70% 75%, rgba(190, 201, 197, 0.55) 0%, rgba(190, 201, 197, 0) 52%);
  pointer-events: none;
}

.pb-hero__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(23, 29, 27, 0.72);
}

.pb-hero__title {
  margin: 12px 0 10px;
  font-size: clamp(34px, 4.8vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.pb-hero__subtitle {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 18px);
  color: rgba(23, 29, 27, 0.8);
  max-width: 56ch;
}

.pb-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pb-hero__bullets {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(23, 29, 27, 0.78);
}

.pb-pill {
  display: inline-block;
  font-weight: 800;
  color: var(--pb-on-primary-container);
  background: rgba(159, 242, 225, 0.75);
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}

/* Preview */
.pb-preview {
  border-radius: var(--pb-radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(190, 201, 197, 0.7);
  box-shadow: var(--pb-shadow);
}

.pb-preview__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(244, 251, 248, 0.8);
  border-bottom: 1px solid rgba(190, 201, 197, 0.65);
}

.pb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.pb-dot--r { background: #ef4444; }
.pb-dot--y { background: #f59e0b; }
.pb-dot--g { background: #22c55e; }

.pb-preview__title {
  margin-left: 6px;
  font-weight: 800;
  color: rgba(23, 29, 27, 0.7);
  letter-spacing: -0.02em;
}

.pb-preview__media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 12%, rgba(159, 242, 225, 0.18) 0%, rgba(159, 242, 225, 0) 55%),
    radial-gradient(circle at 80% 20%, rgba(0, 107, 94, 0.14) 0%, rgba(0, 107, 94, 0) 58%),
    var(--pb-surface-dark);
  /* Keeps the hero stable while the image decodes */
  aspect-ratio: 984 / 768;
}

.pb-preview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.8;
}

.pb-preview__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.pb-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(190, 201, 197, 0.65);
  color: rgba(23, 29, 27, 0.72);
  font-size: 13px;
}

.pb-sep {
  opacity: 0.55;
}

/* Sections */
.pb-section {
  padding: clamp(44px, 7vw, 72px) 0;
}

.pb-section--alt {
  background: rgba(0, 107, 94, 0.04);
  border-top: 1px solid rgba(190, 201, 197, 0.55);
  border-bottom: 1px solid rgba(190, 201, 197, 0.55);
}

.pb-h1 {
  margin: 0 0 12px;
  letter-spacing: -0.035em;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.pb-h2 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
}

.pb-h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.15;
}

.pb-lede {
  margin: 0 0 22px;
  color: rgba(23, 29, 27, 0.8);
  font-size: 16px;
  max-width: 72ch;
}

.pb-p {
  margin: 0;
  color: rgba(23, 29, 27, 0.78);
}

.pb-hr {
  border: none;
  border-top: 1px solid rgba(190, 201, 197, 0.7);
  margin: 18px 0;
}

/* Prose-style content blocks (e.g., legal pages) */
.pb-prose p {
  margin: 0 0 12px;
  color: rgba(23, 29, 27, 0.78);
  max-width: 80ch;
}

.pb-prose .pb-list {
  margin-top: 10px;
}

.pb-prose .pb-h2 {
  margin-top: 22px;
}

.pb-prose .pb-h3 {
  margin-top: 16px;
}

.pb-grid {
  display: grid;
  gap: 14px;
}

.pb-grid--features {
  grid-template-columns: 1fr;
}

.pb-grid--exports {
  grid-template-columns: 1fr;
}

.pb-grid--audience {
  grid-template-columns: 1fr;
}

.pb-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(190, 201, 197, 0.75);
  border-radius: var(--pb-radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.pb-card--export {
  padding: 18px;
}

.pb-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pb-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(159, 242, 225, 0.5);
  color: rgba(0, 80, 70, 0.95);
  border: 1px solid rgba(159, 242, 225, 0.85);
  flex: 0 0 auto;
}

.pb-icon svg {
  width: 22px;
  height: 22px;
}

.pb-icon--accent {
  background: rgba(0, 107, 94, 0.1);
  border-color: rgba(0, 107, 94, 0.18);
  color: var(--pb-primary);
}

.pb-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(23, 29, 27, 0.78);
}

.pb-list--compact li {
  margin-bottom: 6px;
}

/* Workflow */
.pb-workflow {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.pb-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.pb-steps li {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(190, 201, 197, 0.7);
  border-radius: var(--pb-radius-lg);
  padding: 16px;
}

.pb-step__kicker {
  font-size: 12px;
  color: rgba(23, 29, 27, 0.66);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pb-step__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.pb-step__body {
  margin-top: 6px;
  color: rgba(23, 29, 27, 0.78);
}

.pb-callout {
  background: var(--pb-surface-dark);
  color: var(--pb-on-surface-dark);
  border: 1px solid rgba(63, 73, 70, 0.8);
  border-radius: var(--pb-radius-lg);
  padding: 18px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
}

.pb-callout .pb-h3 {
  color: var(--pb-on-surface-dark);
  margin-bottom: 8px;
}

.pb-callout .pb-list {
  color: rgba(222, 228, 225, 0.86);
}

/* CTA */
.pb-cta {
  padding: clamp(44px, 7vw, 72px) 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(159, 242, 225, 0.9) 0%, rgba(159, 242, 225, 0) 55%),
    radial-gradient(circle at 80% 30%, rgba(0, 107, 94, 0.18) 0%, rgba(0, 107, 94, 0) 58%),
    var(--pb-surface);
  border-top: 1px solid rgba(190, 201, 197, 0.6);
}

.pb-cta__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.pb-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.pb-footer {
  padding: 30px 0 18px;
  background: var(--pb-surface-dark);
  color: var(--pb-on-surface-dark);
}

.pb-footer__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: center;
}

.pb-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.pb-footer__name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pb-footer__meta {
  color: rgba(222, 228, 225, 0.72);
  font-size: 12px;
  margin-top: 4px;
}

.pb-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pb-footer__links a {
  color: rgba(222, 228, 225, 0.82);
  font-weight: 650;
  font-size: 14px;
}

.pb-footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 73, 70, 0.9);
  color: rgba(222, 228, 225, 0.65);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (min-width: 760px) {
  .pb-nav__toggle { display: none; }
  .pb-hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .pb-grid--features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-grid--exports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-grid--audience { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-workflow { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
  .pb-footer__grid { grid-template-columns: 1.3fr 0.7fr; }
}

@media (min-width: 1040px) {
  .pb-grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 759px) {
  .pb-nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    margin: 0;
    background: rgba(244, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(190, 201, 197, 0.7);
    padding: 12px var(--pb-gutter) 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pb-nav__links.is-open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pb-btn { transition: none; }
}

