/* PODtomatic Ads — matches the podtomatic.com brand:
   navy background, teal accent (used for buttons and highlights), Plus Jakarta Sans headings. */

:root {
  --bg: #1e2e40;
  --bg-2: #243649;
  --card: #344b60;
  --line: rgb(255 255 255 / 0.1);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --soft: #d1d5db;
  --accent: #1daa9a;
  --accent-dark: #178c7e;
  --radius: 1rem;
  --max: 72rem;
}

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

html { scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, .display {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.lead { color: var(--soft); font-size: 1.125rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip {
  position: absolute; left: -999px; top: 1rem;
  background: var(--accent); color: #fff; padding: 0.5rem 1rem; border-radius: 0.5rem; z-index: 100;
}
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(30 46 64 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(29 170 154 / 0.2);
}
.nav { display: flex; align-items: center; gap: 1rem; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 2.25rem; width: auto; }
.brand .tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--bg); background: var(--accent);
  padding: 0.15rem 0.5rem; border-radius: 0.4rem;
}
.nav-links { display: none; margin-left: auto; gap: 1.75rem; align-items: center; }
.nav-links a { color: var(--soft); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav .btn-small { margin-left: auto; }
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav .btn-small { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-block;
  width: 100%; max-width: 26rem;
  border: 0; border-radius: 0.75rem;
  background: var(--accent);
  padding: 1rem 2rem;
  font: 700 1.125rem/1.2 'Plus Jakarta Sans', sans-serif;
  color: #fff; text-align: center; text-decoration: none;
  box-shadow: 0 10px 25px -5px rgb(29 170 154 / 0.35);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible, .btn-small:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-small {
  display: inline-block; border-radius: 0.5rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 700 0.8rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.7rem 1rem; white-space: nowrap;
}
.btn-small:hover { background: var(--accent-dark); }
.btn-note { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

/* Sections */
section { padding: 4.5rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }
.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-top: 1rem; }
.alt { background: var(--bg-2); }

/* Hero */
.hero { padding-top: 3rem; }
@media (min-width: 768px) { .hero { padding-top: 5rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }
.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 6vw, 3.4rem);
  font-weight: 800;
}
.hero h1 .hl {
  white-space: nowrap;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgb(29 170 154 / 0.4);
  text-decoration-thickness: 5px;
  text-underline-offset: 10px;
}
.hero .lead { margin: 1.5rem auto 0; max-width: 36rem; }
@media (min-width: 1024px) { .hero .lead { margin-left: 0; } }
.checks {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center;
  color: #e5e7eb;
}
@media (min-width: 1024px) { .checks { justify-content: flex-start; } }
.checks li::before { content: '✓'; color: var(--accent); margin-right: 0.5rem; font-weight: 700; }
.hero .cta { margin-top: 2rem; }

/* Example report card (hero visual) */
.report {
  background: #fff; color: #111827;
  border-radius: 1.5rem; padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  max-width: 30rem; margin: 0 auto; width: 100%;
}
.report-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.pill {
  display: inline-block; border-radius: 999px; padding: 0.2rem 0.7rem;
  font-size: 0.75rem; font-weight: 600;
  background: rgb(29 170 154 / 0.12); color: #127a6e;
}
.report-date { font-size: 0.75rem; color: #6b7280; }
.report h3 { margin-top: 0.9rem; font-size: 1.05rem; color: #111827; }
.kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0; border-radius: 1rem; background: #f3f4f6; padding: 0.75rem 0; text-align: center;
}
.kpis div + div { border-left: 1px solid #e5e7eb; }
.kpis dt { font-size: 0.72rem; color: #6b7280; }
.kpis dd { margin: 0; font: 800 1.15rem/1.3 'Plus Jakarta Sans', sans-serif; color: #111827; }
.kpis .good { color: #127a6e; }
.report ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.report li { display: flex; gap: 0.6rem; font-size: 0.88rem; line-height: 1.45; color: #374151; }
.report li .ic {
  flex: none; width: 1.4rem; height: 1.4rem; border-radius: 0.4rem;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}
.ic-cut { background: #fee2e2; color: #b91c1c; }
.ic-add { background: #d1fae5; color: #047857; }
.ic-up { background: #dbeafe; color: #1d4ed8; }
.report .approve {
  margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  border-top: 1px solid #e5e7eb; padding-top: 0.9rem; font-size: 0.85rem; color: #374151;
}
.report .approve span:last-child {
  background: var(--accent); color: #fff; font-weight: 700; border-radius: 0.5rem; padding: 0.45rem 0.8rem; white-space: nowrap;
}
.report-caption { text-align: center; margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }

/* Cards / grids */
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--soft); font-size: 1rem; }
.card .problem { color: #fff; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; line-height: 1.35; }
.card .fix { margin-top: 0.75rem; color: var(--soft); }
.card .fix::before { content: '→ '; color: var(--accent); font-weight: 700; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.25rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1.5rem; left: 1.5rem;
  width: 2rem; height: 2rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font: 800 1rem/1 'Plus Jakarta Sans', sans-serif;
}
.step h3, .step p { margin-top: 1rem; }
.step p { margin-top: 0.5rem; }

.feature { display: flex; gap: 1rem; }
.feature .dot {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: rgb(29 170 154 / 0.15); color: var(--accent);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 800;
}
.feature p { color: var(--soft); font-size: 1rem; margin-top: 0.35rem; }

/* Controls list */
.controls { display: grid; gap: 0.75rem; max-width: 46rem; margin: 0 auto; }
.control {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 1rem 1.25rem; border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.04); border: 1px solid var(--line);
}
.control strong { font-family: 'Plus Jakarta Sans', sans-serif; }
.control span { color: var(--soft); text-align: right; font-size: 0.95rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: 'Plus Jakarta Sans', sans-serif; color: #fff; font-weight: 700; }
td { color: var(--soft); }
th.us, td.us { background: rgb(29 170 154 / 0.1); color: #fff; }
th.us { color: var(--accent); }

/* Founder */
.founder {
  max-width: 48rem; margin: 0 auto;
  background: rgb(255 255 255 / 0.05); border: 1px solid var(--line);
  border-radius: 1.5rem; padding: 2rem;
}
.founder-head { display: flex; align-items: center; gap: 1rem; }
.founder-head img {
  width: 4rem; height: 4rem; border-radius: 999px; object-fit: cover;
  box-shadow: 0 0 0 4px rgb(29 170 154 / 0.3);
}
.founder-head strong { display: block; color: #fff; }
.founder-head span { color: var(--muted); font-size: 0.95rem; }
.founder blockquote { margin: 1.25rem 0 0; font-size: 1.125rem; color: var(--soft); }

/* Pricing */
.price-card {
  max-width: 30rem; margin: 0 auto;
  background: #fff; color: #111827;
  border-radius: 1.5rem; padding: 2rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
.price-card .pill { margin-bottom: 1rem; }
.price { font: 800 3rem/1 'Plus Jakarta Sans', sans-serif; color: #111827; }
.price small { font-size: 1rem; font-weight: 600; color: #6b7280; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.6rem; }
.price-card li { color: #374151; }
.price-card li::before { content: '✓'; color: var(--accent); font-weight: 800; margin-right: 0.6rem; }
.price-card .fine { font-size: 0.85rem; color: #6b7280; margin-top: 1rem; }

/* FAQ */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details {
  background: rgb(255 255 255 / 0.04); border: 1px solid var(--line);
  border-radius: 0.75rem; padding: 1rem 1.25rem;
}
.faq summary {
  cursor: pointer; list-style: none;
  font: 700 1.05rem/1.4 'Plus Jakarta Sans', sans-serif; color: #fff;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--soft); }

/* Join form */
.join-card {
  max-width: 36rem; margin: 0 auto;
  background: var(--card); border-radius: 1.5rem; padding: 2rem;
  border: 1px solid rgb(29 170 154 / 0.3);
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: #111827;
  background: #fff; border: 2px solid transparent; border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 1rem; font-weight: 600; min-height: 1.5rem; }
.form-msg.ok { color: #6ee7b7; }
.form-msg.err { color: #fca5a5; }

/* Footer */
.site-footer { border-top: 1px solid rgb(29 170 154 / 0.15); padding: 2.5rem 0; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.site-footer img { height: 2rem; width: auto; margin-bottom: 0.75rem; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
@media (min-width: 768px) { .footer-links { justify-content: flex-end; } }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.legal { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8rem !important; }

/* Privacy page */
.doc { max-width: 46rem; margin: 0 auto; padding: 3rem 0 4rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; }
.doc h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.doc p, .doc li { color: var(--soft); margin-top: 0.75rem; }
.doc ul { padding-left: 1.25rem; }

/* Small phones: keep logo, ADS tag and the header button on one line. */
@media (max-width: 440px) {
  .nav { gap: 0.5rem; }
  .brand { gap: 0.4rem; }
  .brand img { height: 1.6rem; }
  .brand .tag { font-size: 0.7rem; padding: 0.1rem 0.4rem; }
  .btn-small { padding: 0.6rem 0.75rem; font-size: 0.72rem; }
}

/* Join form: center the submit button and the result message. */
.join-card .btn { display: block; margin: 0.5rem auto 0; }
.join-card .form-msg { text-align: center; }
