* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fff;
  --text: #000;
  --text-muted: #666;
  --link: #000;
  --border: #ccc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --text: #fff;
    --text-muted: #999;
    --link: #fff;
    --border: #333;
  }
}

html {
  font-size: clamp(14px, 0.5vw + 14px, 18px);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 0;
}

.container {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem) 2.5rem;
}

/* Links */
a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  color: #000;
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  a:hover {
    color: #fff;
  }
}

/* Site Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 12px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

@media (min-width: 600px) {
  .site-header {
    padding: 20px 60px 12px;
  }
}

.logo {
  height: 36px;
  width: auto;
}

.logo img {
  height: 100%;
  width: auto;
}

@media (min-width: 600px) {
  .logo {
    height: 45px;
  }
}

/* Logo visibility based on theme */
.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  .logo-light {
    display: block;
  }
  .logo-dark {
    display: none;
  }
}

.header-nav {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

@media (min-width: 600px) {
  .header-nav {
    gap: 16px;
  }
}

.header-nav a {
  color: var(--text);
  text-decoration: underline;
}

.header-nav a:hover {
  color: #000;
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .header-nav a:hover {
    color: #fff;
  }
}

/* Hero */
.hero {
  margin-bottom: 40px;
  text-align: center;
  text-wrap: balance;
  scroll-margin-top: 30px;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}


/* Sections */
.section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section {
  scroll-margin-top: 30px;
}

.section h2 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
  text-align: left;
}

.section h2 a {
  color: inherit;
  text-decoration: none;
}

.section h2 a:hover {
  color: #333;
}

.hero h1 a {
  color: inherit;
  text-decoration: none;
  display: inline;
}

.hero h1 a:hover {
  color: #333;
}

@media (prefers-color-scheme: dark) {
  .section h2 a:hover,
  .hero h1 a:hover {
    color: #ccc;
  }
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.section p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Lists */
ul {
  margin: 0 0 12px 20px;
  color: var(--text-muted);
}

li {
  margin-bottom: 4px;
}

/* Features list */
.features {
  list-style: none;
  margin-left: 0;
}

.features li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  line-height: 1.5;
  font-size: 0.875rem;
}

.feature-icon {
  width: 1rem;
  margin-right: 0.5rem;
  color: var(--text);
}

.features li:last-child {
  border-bottom: none;
}

.features strong {
  color: var(--text);
}

/* Pricing */
.pricing-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

@media (min-width: 600px) {
  .pricing-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0;
  }
}

.pricing-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.pricing-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-price-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 600px) {
  .pricing-price-btn {
    padding: 0.5rem 1rem;
  }
}

.pricing-price-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  opacity: 1;
}

@media (min-width: 600px) {
  .crew-row {
    align-items: flex-start;
  }
}

.crew-features {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.crew-features li {
  margin-bottom: 0.125rem;
}

.crew-features li:before {
  content: "– ";
}

.pricing-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

/* Coming Soon */
.features li.coming-soon {
  color: var(--text-muted);
}

.features li.coming-soon strong {
  color: var(--text-muted);
}

.soon-label {
  font-size: 0.625rem;
  color: #fff;
  background: #000;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  white-space: nowrap;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
  .soon-label {
    background: #fff;
    color: #000;
  }
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  padding-left: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  padding-right: 0;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table th {
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  width: 25%;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3) {
  width: 37.5%;
}

.comparison-table th[scope="row"],
.comparison-table td:first-child {
  font-weight: 500;
}

.comparison-table td:nth-child(2) {
  color: var(--text-muted);
}

.comparison-table td:nth-child(3) {
  color: var(--text);
}

.table-x {
  color: var(--text-muted);
  margin-right: 0.375rem;
}

.table-check {
  color: var(--text);
  margin-right: 0.375rem;
}

/* FAQ */
.faq {
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

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

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 600px) {
  .faq summary {
    padding: 16px 20px;
  }
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 300;
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0 16px 16px;
  margin: 0;
  line-height: 1.7;
}

@media (min-width: 600px) {
  .faq details p {
    padding: 0 20px 20px;
  }
}

/* Static FAQ (always open, no interactivity) */
.faq-static summary {
  cursor: default;
}

.faq-static summary::after {
  display: none;
}

.faq-static details:hover {
  background: #f9f9f9;
}

@media (prefers-color-scheme: dark) {
  .faq-static details:hover {
    background: #1a1a1a;
  }
}

/* Footer */
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

/* Footer logo visibility based on theme */
.footer-logo-light {
  display: none;
}

.footer-logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  .footer-logo-light {
    display: block;
  }
  .footer-logo-dark {
    display: none;
  }
}

.footer-tagline {
  font-style: italic;
}

footer a {
  color: var(--text-muted);
}

footer p {
  margin-bottom: 8px;
}

/* Showcase */
.showcase {
  margin: 0 0 40px 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.showcase .founder-card {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.showcase-caption {
  text-align: center;
  margin-bottom: 12px;
}

.browser {
  border: 1px solid #e5e5e5;
  border-bottom: none;
  background: #fff;
  overflow: hidden;
}

@media (min-width: 600px) {
  .browser {
    margin-left: -4rem;
    margin-right: -4rem;
  }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.url {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #888;
}

.browser-content {
  max-height: clamp(18rem, 40vw, 25rem);
  overflow: hidden;
  position: relative;
}

.browser-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(4rem, 8vw, 6rem);
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

.browser-content img {
  width: 140%;
  margin-left: -20%;
  display: block;
  animation: scrollDown 12s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); }
  40% { transform: translateY(calc(-100% + 400px)); }
  60% { transform: translateY(calc(-100% + 400px)); }
  100% { transform: translateY(0); }
}

.showcase .hero {
  position: relative;
  margin-top: clamp(1.5rem, 2vw, 2.5rem);
  z-index: 10;
}


.showcase .hero h1 {
  display: block;
}

@media (min-width: 600px) {
  .showcase .hero h1 {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .showcase .hero h1::before,
  .showcase .hero h1::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ccc;
  }
}


@media (prefers-color-scheme: dark) {
  .browser {
    background: #1a1a1a;
    border-color: #333;
  }
  .browser-bar {
    background: #222;
    border-bottom-color: #333;
  }
  .dots span {
    background: #444;
  }
  .url {
    color: #666;
  }
  .browser-content {
    background: #111;
  }
}

/* Founder Card */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  transform: rotate(-0.5deg);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 30px;
}

@media (min-width: 600px) {
  .founder-card {
    grid-template-columns: 1fr 1fr;
    margin-left: -4rem;
    margin-right: -4rem;
  }

  .founder-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 20px;
    transform: translateX(-50%);
    background: #f9f9f9;
    filter: blur(10px);
    pointer-events: none;
  }
}

.founder-left,
.founder-right {
  padding: 32px;
}

@media (min-width: 600px) {
  .founder-left {
    padding: 60px 32px 60px 60px;
  }

  .founder-right {
    padding: 60px 60px 60px 32px;
  }
}

.founder-left {
  border-bottom: 1px solid #ccc;
  background: #f9f9f9 !important;
  color: #000 !important;
}

.founder-left p {
  color: #000 !important;
}

.founder-left strong {
  color: #000 !important;
}

.founder-right {
  background: #fff !important;
  color: #000 !important;
}

.founder-right p {
  color: #000 !important;
}

.founder-right strong {
  color: #000 !important;
}

.founder-right .founder-name {
  color: #000 !important;
}

.founder-right .founder-title,
.founder-right .founder-email {
  color: #666 !important;
}

.founder-right .founder-sig {
  border-top-color: #ccc !important;
}

.founder-right .signature-img {
  filter: none !important;
}

/* Dark mode: invert founder card to dark background with border */
@media (prefers-color-scheme: dark) {
  .founder-card {
    border-color: #333 !important;
  }
  .founder-left {
    background: #1a1a1a !important;
    color: #fff !important;
    border-bottom-color: #333 !important;
  }
  .founder-left p,
  .founder-left strong {
    color: #fff !important;
  }
  .founder-right {
    background: #111 !important;
    color: #fff !important;
  }
  .founder-right p,
  .founder-right strong,
  .founder-right .founder-name {
    color: #fff !important;
  }
  .founder-right .founder-title,
  .founder-right .founder-email {
    color: #999 !important;
  }
  .founder-right .founder-sig {
    border-top-color: #333 !important;
  }
  .founder-card::after {
    background: #222 !important;
  }
}

@media (min-width: 600px) {
  .founder-left {
    border-bottom: none;
  }
}

.founder-left p,
.founder-right p {
  margin-bottom: 14px;
}

.founder-left p:last-child,
.founder-right p:last-of-type {
  margin-bottom: 0;
}

.founder-sig {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.signature-img {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
}

@media (min-width: 600px) {
  .signature-img {
    width: 180px;
  }
}

@media (prefers-color-scheme: dark) {
  .signature-img {
    filter: invert(1);
  }
}

.founder-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.founder-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-name {
  font-weight: 600;
  font-size: 14px;
}

.founder-title {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.founder-email {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
}

.founder-email:hover {
  text-decoration: underline;
  color: #000;
}

@media (prefers-color-scheme: dark) {
  .founder-email:hover {
    color: #fff;
  }
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 32px 0;
}

@media (min-width: 600px) {
  .final-cta {
    padding: 48px 0;
  }
}

.final-cta p {
  margin: 0;
  line-height: 1.4;
  color: var(--text);
}

.final-headline {
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 600px) {
  .final-headline {
    font-size: 20px;
  }
}

.final-sub {
  margin-top: 4px !important;
  margin-bottom: 16px !important;
}

.final-cta .btn {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.final-cta .btn:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
}

.final-guarantee {
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--text-muted);
}

.final-guarantee a {
  color: var(--text-muted);
}
