:root {
  --ink: #18201b;
  --muted: #59645d;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: #d8ddd4;
  --green: #236f51;
  --green-dark: #174a38;
  --red: #c94c3a;
  --amber: #d5aa35;
  --blue: #2d6977;
  --charcoal: #111416;
  --shadow: 0 18px 42px rgba(24, 32, 27, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

code {
  background: rgba(35, 111, 81, 0.1);
  border: 1px solid rgba(35, 111, 81, 0.18);
  border-radius: 5px;
  padding: 0.06rem 0.28rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 64px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background: rgba(17, 20, 22, 0.76);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  margin-left: auto;
}

.nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}

.nav a:hover,
.site-footer a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.language-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--green-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 72px;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 320px;
  height: min(86svh, 44.45vw);
  display: flex;
  align-items: flex-end;
  background: var(--charcoal) url("assets/pebsla-email-banner-720x320.png") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 11, 0.16), rgba(8, 10, 11, 0.02));
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 clamp(3.8rem, 8vw, 6.5rem);
}

.hero .hero-inner {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow,
.section-kicker,
.price-label {
  margin: 0 0 0.8rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--green);
}

.section-kicker.muted {
  color: var(--red);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.9;
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  font-weight: 930;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.62;
}

.hero-copy {
  max-width: 710px;
  margin-top: 1.15rem;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: #eef3ee;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

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

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.outline {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--white);
}

.band {
  padding: clamp(3.8rem, 7vw, 6.8rem) 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band,
.system-band,
.features-band,
.faq-band {
  background: var(--white);
}

.screens-band,
.pricing-band {
  background: #edf1ea;
}

.security-band {
  background: var(--charcoal);
  color: var(--white);
}

.intro-grid,
.two-column,
.split-lists {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.section-head {
  max-width: 850px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head p:not(.section-kicker) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.requirements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.requirements article,
.flow-step,
.price-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.15rem;
}

.feature-card p,
.requirements p,
.flow-step p,
.price-card p,
.security-copy p,
.faq-list p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--blue);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--red);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--green);
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.screens figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.screens img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 228px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow);
  box-sizing: content-box;
  image-rendering: auto;
}

.screens figcaption {
  margin-top: 0.8rem;
  text-align: center;
  font-weight: 850;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.95rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 950;
}

.timeline {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0 0 1.4rem;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 950;
}

.timeline strong,
.timeline span {
  grid-column: 2;
}

.timeline strong {
  font-size: 1.05rem;
}

.timeline span {
  color: var(--muted);
  line-height: 1.55;
}

.timeline a {
  color: var(--green-dark);
  font-weight: 850;
}

.requirements article {
  background: #fbfcf8;
}

.check-list,
.plain-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0.52rem;
  font-weight: 950;
}

.check-list li::before {
  content: "+";
  color: var(--green);
}

.plain-list li::before {
  content: "-";
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card.highlighted {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

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

.price {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 0.98;
}

.price-card .button {
  margin-top: auto;
}

.cost-note {
  margin-top: 1.2rem;
  border-left: 5px solid var(--amber);
  background: var(--white);
  border-radius: 8px;
  padding: 1.2rem;
}

.cost-note p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--green-dark);
  font-weight: 900;
}

.security-band .section-kicker {
  color: var(--amber);
}

.security-copy p {
  color: #d9e0db;
}

.security-copy p + p {
  margin-top: 1rem;
}

.start-main {
  padding-top: 64px;
}

.start-hero {
  background: var(--charcoal);
  color: var(--white);
  padding-top: clamp(4rem, 8vw, 7rem);
}

.start-hero .section-kicker {
  color: var(--amber);
}

.start-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
}

.start-hero .lead {
  max-width: 780px;
  margin-top: 1.1rem;
  color: #e2e9e4;
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
}

.start-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.start-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.start-card p:not(.price-label):not(.price) {
  margin-top: 0.8rem;
  color: var(--muted);
}

.light-copy p {
  color: var(--muted);
}

.start-timeline {
  max-width: 900px;
}

.compact-pricing .price-card.highlighted {
  outline: 3px solid rgba(35, 111, 81, 0.18);
}

.start-note {
  max-width: 760px;
  margin-top: 1rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-top: 0.8rem;
}

.final-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--green-dark);
  color: var(--white);
}

.final-inner {
  max-width: 860px;
}

.final-inner p {
  max-width: 720px;
  margin-top: 1rem;
  color: #e5ece7;
  font-size: 1.12rem;
}

.site-footer {
  padding: 2.4rem 0;
  background: var(--charcoal);
  color: #dce3de;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.2rem;
  align-items: start;
}

.footer-grid p {
  color: #b9c3bc;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.disclaimer {
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .requirements,
  .flow,
  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .footer-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: clamp(260px, 58vw, 420px);
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .intro-grid,
  .two-column,
  .split-lists {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .site-header {
    padding-inline: 0.75rem;
    gap: 0.55rem;
  }

  .brand span {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    min-width: 64px;
    padding-inline: 0.72rem;
  }

  .language-switch button {
    min-width: 34px;
    min-height: 30px;
  }

  .container,
  .hero-inner {
    width: min(100% - 1rem, 1180px);
  }

  .feature-grid,
  .requirements,
  .flow,
  .screens {
    grid-template-columns: 1fr;
  }

  .screens img {
    padding: 0.85rem;
  }
}
