/* ==========================================================================
   Penmark Studio — shared stylesheet
   Palette: ink #1C2541 · bronze #A67B5B · cream #F7F4EF
   Type: Lora (headings) · Inter (body/UI)
   ========================================================================== */

:root {
  --ink: #1C2541;
  --ink-soft: #2B3558;
  --bronze: #A67B5B;
  --bronze-dark: #8F674A;
  --cream: #F7F4EF;
  --white: #FFFFFF;
  --rule: rgba(28, 37, 65, 0.12);
  --rule-dark: rgba(247, 244, 239, 0.18);
  --text-muted: #5A6079;
  --cream-muted: rgba(247, 244, 239, 0.75);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --measure: 62ch;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-dark); text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--rule); }

.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--white { background: var(--white); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}

.center { text-align: center; }
.measure { max-width: var(--measure); }
.measure--center { margin-left: auto; margin-right: auto; }

.muted { color: var(--text-muted); }
.section--dark .muted { color: var(--cream-muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--bronze);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--bronze-dark);
  color: var(--cream);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.btn--small { padding: 10px 18px; font-size: 0.9rem; }

.cta-note {
  font-size: 0.85rem;
  margin-top: 14px;
  color: var(--cream-muted);
}
.cta-note--light { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.site-nav a:hover { color: var(--bronze); text-decoration: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-header__inner { flex-wrap: wrap; }

  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    order: 4;
    margin: 0;
    padding: 12px 0 4px;
    border-top: 1px solid var(--rule);
  }

  .site-header.is-open .site-nav a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .site-header.is-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 5;
    padding: 8px 0 20px;
  }

  .site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 96px 0; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__copy .cta-note { margin-bottom: 0; }

.hero p.subhead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--cream-muted);
  max-width: 34rem;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Report card mockup */

.report-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  margin: 0 auto;
}

.report-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}

.report-card__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.report-card__summary {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.report-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.report-card__item + .report-card__item { border-top: 1px solid var(--rule); }

.report-card__check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--bronze);
  border-radius: 5px;
  position: relative;
}

.report-card__item.is-done .report-card__check {
  background: var(--bronze);
}

.report-card__item.is-done .report-card__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--cream);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.report-card__item.is-done span { color: var(--text-muted); text-decoration: line-through; }

/* --------------------------------------------------------------------------
   Positioning strip
   -------------------------------------------------------------------------- */

.positioning {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.positioning p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  text-align: center;
  max-width: 46ch;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Problem section
   -------------------------------------------------------------------------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 48px 0;
}

.problem-grid p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 2px solid var(--bronze);
}

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   Review type cards
   -------------------------------------------------------------------------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px;
  background: var(--cream);
}

.review-card:nth-child(even) { background: var(--white); }

.review-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--bronze);
  margin-bottom: 16px;
}

.review-card h3 { margin-bottom: 8px; }
.review-card p { margin: 0; color: var(--text-muted); }

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

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 56px 0;
  counter-reset: step;
}

.step { counter-increment: step; }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--bronze);
  margin-bottom: 12px;
}

.step h3 { color: var(--cream); margin-bottom: 8px; }
.step p { color: var(--cream-muted); margin: 0; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   Differentiators
   -------------------------------------------------------------------------- */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  margin-top: 48px;
}

.diff-item h3 {
  font-size: 1.15rem;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.diff-item p { margin: 0; color: var(--text-muted); }

@media (max-width: 700px) {
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; margin-top: 48px; }

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th, .compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.compare thead th {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  vertical-align: bottom;
}

.compare thead th small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }

.compare .col-pm { background: rgba(166, 123, 91, 0.08); }

.compare .yes { color: var(--bronze); font-weight: 600; }
.compare .no { color: var(--text-muted); }

.compare-closing {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 1.1rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 32px 0 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.billing-toggle button {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.billing-toggle button.is-active {
  background: var(--ink);
  color: var(--cream);
}

.billing-savings {
  display: block;
  font-size: 0.82rem;
  color: var(--bronze);
  min-height: 1.4em;
  margin-bottom: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
  text-align: left;
}

.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 28px;
  background: var(--cream);
  position: relative;
}

.tier--featured { border-color: var(--bronze); border-width: 2px; }

.tier__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier h3 { margin-bottom: 4px; }

.tier__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier__price {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.tier__period { font-family: var(--sans); font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

.tier__features {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  font-size: 0.92rem;
  flex-grow: 1;
}

.tier__features li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.tier__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 5px;
  height: 9px;
  border: solid var(--bronze);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tier .btn { width: 100%; }

.pricing-note {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}

.founding-callout {
  margin: 48px auto 0;
  max-width: 640px;
  border: 2px solid var(--bronze);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
}

.founding-callout p { margin: 0; font-family: var(--serif); font-size: 1.1rem; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  border-top: 1px solid var(--rule);
}

.faq-item { border-bottom: 1px solid var(--rule); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
}

.faq-item__q::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--bronze);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }

.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-item.is-open .faq-item__a { max-height: 300px; }

.no-js .faq-item__a { max-height: none; }

.faq-item__a p {
  margin: 0;
  padding: 0 32px 20px 0;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta { text-align: center; padding: 104px 0; }
.final-cta p.lede { font-size: 1.15rem; color: var(--cream-muted); margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.site-footer .wordmark { color: var(--cream); }
.site-footer .wordmark:hover { color: var(--cream); }

.site-footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-muted);
  margin: 12px 0 8px;
}

.site-footer__company { font-size: 0.85rem; color: var(--cream-muted); margin: 0; }

.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }

.site-footer a { color: var(--cream); font-size: 0.95rem; }
.site-footer a:hover { color: var(--bronze); text-decoration: none; }

.site-footer__bottom {
  border-top: 1px solid var(--rule-dark);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.site-footer__bottom a { font-size: 0.85rem; color: var(--cream); }

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   Simple content pages (privacy, terms, support, delete account)
   -------------------------------------------------------------------------- */

.page-content { padding: 72px 0 96px; }
.page-content .container { max-width: 760px; }
.page-content h1 { margin-bottom: 24px; }
.page-content h2 { font-size: 1.35rem; margin-top: 40px; }
.page-content ul { padding-left: 20px; }
.page-content li { margin-bottom: 8px; }

.embed-slot {
  border: 2px dashed var(--bronze);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 32px;
}
