:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #526173;
  --soft: #f8fafc;
  --panel: #ffffff;
  --line: #d8e1ea;
  --line-soft: #edf2f7;
  --slate: #0f172a;
  --cyan: #0891b2;
  --cyan-deep: #155e75;
  --cyan-soft: #ecfeff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --red: #b91c1c;
  --red-soft: #fef2f2;
  --radius: 8px;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.045);
  --measure: 68ch;
  --section-space: 68px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 9px 13px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button-primary {
  background: #22d3ee;
  color: #082f49;
}

.button-primary:hover {
  background: #67e8f9;
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    linear-gradient(90deg, rgba(8, 145, 178, 0.24), rgba(5, 150, 105, 0.16));
}

.hero-inner {
  min-height: 50vh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 76px 0;
}

.compact-hero .hero-inner {
  min-height: 38vh;
}

.eyebrow {
  width: fit-content;
  border: 1px solid rgba(165, 243, 252, 0.35);
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.15);
  padding: 7px 12px;
  color: #cffafe;
  font-size: 0.84rem;
  font-weight: 780;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.85rem, 5.1vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 2.48rem);
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  line-height: 1.28;
}

.hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: #dbeafe;
  font-size: 1.16rem;
  line-height: 1.6;
}

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

.product-hero {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.92) 45%, rgba(15, 23, 42, 0.64) 100%),
    url("/documents/timesheet-pdf/assets/pay-me-bro-example-sheet.png") right 8% center / auto 118% no-repeat,
    #0f172a;
}

.section {
  padding: var(--section-space) 0;
}

.section.alt {
  background: #ffffff;
}

.boundary-strip {
  padding: 18px 0;
  border-bottom: 1px solid #fecaca;
  background: var(--red-soft);
}

.boundary-strip p {
  max-width: 88ch;
  margin: 0;
  color: #7f1d1d;
  font-weight: 650;
  line-height: 1.52;
}

.section-head {
  max-width: var(--measure);
  margin-bottom: 28px;
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--cyan-deep);
  font-size: 0.82rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--cyan-soft);
  color: var(--cyan-deep);
  font-weight: 900;
}

.card p,
.step p,
.notice p,
li {
  color: var(--muted);
  line-height: 1.62;
  text-wrap: pretty;
}

.card p:last-child,
.step p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.checklist {
  padding-left: 20px;
  margin: 0;
}

.checklist li + li {
  margin-top: 9px;
}

.notice {
  border-color: #fde68a;
  background: #fffaf0;
}

.notice strong {
  color: #78350f;
}

.boundary {
  border-color: #fecaca;
  background: #fff7f7;
}

.boundary strong {
  color: var(--red);
}

.about-boundary {
  margin-top: 18px;
}

.sample-message {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 20px;
  color: #334155;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow-x: auto;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.66fr);
  align-items: center;
  gap: 48px;
}

.feature-band.reverse {
  grid-template-columns: minmax(300px, 0.6fr) minmax(0, 0.9fr);
}

.product-visual {
  margin: 0;
  min-width: 0;
}

.product-visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-visual figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.prose {
  max-width: var(--measure);
}

.legal-prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.22;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  color: #334155;
  line-height: 1.72;
  text-wrap: pretty;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-status {
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  background: var(--amber-soft);
  padding: 14px 16px;
}

.legal-status strong {
  color: var(--amber);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-list div {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  word-break: break-word;
}

.comparison-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--line);
}

.comparison-row span {
  padding: 15px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-row span + span {
  border-left: 1px solid var(--line);
}

.comparison-head {
  background: var(--cyan-soft);
}

.comparison-head span {
  color: var(--cyan-deep);
  font-weight: 850;
}

.workflow-panel {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.workflow-panel .section-head {
  max-width: 860px;
}

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

.workflow-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  padding: 18px;
}

.workflow-step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow-card h3 {
  margin-top: 12px;
}

.workflow-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.pdf-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.5fr);
  gap: 28px;
  align-items: stretch;
}

.pdf-preview-card,
.pdf-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  min-width: 0;
}

.pdf-preview-card {
  padding: 14px;
}

.pdf-preview-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pdf-preview-title {
  margin: 0;
  color: var(--slate);
  font-weight: 850;
}

.pdf-tag,
.pdf-open-link {
  border-radius: 999px;
  padding: 6px 9px;
  color: #0e7490;
  font-size: 0.75rem;
  font-weight: 850;
}

.pdf-tag {
  background: var(--cyan-soft);
}

.pdf-open-link {
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  text-decoration: none;
}

.sheet-preview-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.sheet-preview-scroll {
  max-height: 760px;
  overflow: auto;
  background: #f8fafc;
}

.sheet-preview-image {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
  background: #ffffff;
}

.sheet-preview-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0));
  pointer-events: none;
  animation: sheetScan 7s ease-in-out infinite;
}

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

.sheet-callout {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
}

.sheet-callout b {
  display: block;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.86rem;
}

.sheet-callout span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pdf-feature-list {
  display: grid;
  gap: 14px;
}

.pdf-feature {
  padding: 16px;
}

.pdf-feature b {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 0.98rem;
}

.pdf-feature span {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes sheetScan {
  0%,
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }

  20%,
  70% {
    opacity: 1;
  }

  50% {
    transform: translateY(720px);
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  color: var(--muted);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: 24px;
  align-items: start;
}

.footer-summary p {
  max-width: 560px;
  margin-bottom: 8px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.footer-note {
  color: var(--amber);
  font-size: 0.92rem;
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 820px) {
  :root {
    --section-space: 50px;
  }

  .page-shell {
    width: min(100% - 28px, 1100px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .grid.two,
  .grid.three,
  .feature-band,
  .feature-band.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 2.85rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.05rem);
    line-height: 1.14;
  }

  .card,
  .step,
  .notice,
  .workflow-panel {
    padding: 18px;
  }

  .comparison-row,
  .pdf-showcase,
  .workflow-grid,
  .sheet-callouts {
    grid-template-columns: 1fr;
  }

  .comparison-row span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 0;
  }

  .product-hero {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88)),
      url("/documents/timesheet-pdf/assets/pay-me-bro-example-sheet.png") center bottom / 96% auto no-repeat,
      #0f172a;
  }

  .sheet-preview-scroll {
    max-height: none;
    overflow: hidden;
  }

  .sheet-preview-image {
    min-width: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
