/* ===== GoPassy Website Styles ===== */
/* Colors from the iOS app: Navy #002B6B, Teal #2BFFFF */

:root {
  --navy: #002B6B;
  --navy-light: #003d99;
  --teal: #2BFFFF;
  --teal-muted: #1ad4d4;
  --teal-bg: #e6ffff;
  --white: #ffffff;
  --off-white: #f8fafb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --red: #ef4444;
  --green: #22c55e;
  --shadow: 0 4px 24px rgba(0, 43, 107, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 43, 107, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--teal-muted);
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 43, 107, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--teal) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--navy);
  color: var(--teal);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal-muted), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 43, 107, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 43, 107, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--navy);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.phone-screen img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #FFFFFF;
}

.phone-screen .mock-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px;
  width: 90%;
  text-align: center;
}

.phone-screen .mock-card h3,
.phone-screen .mock-card .mock-title {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.phone-screen .mock-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.mock-qr {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--teal-bg);
  color: #00717f;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gray-200);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-muted));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--off-white), var(--white));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--teal);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.pricing-features li .check {
  color: var(--green);
  font-weight: 700;
}

.pricing-features li .cross {
  color: var(--gray-400);
  font-weight: 700;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--teal-muted);
}

.faq-chevron {
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--gray-400);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== OUR STORY SECTION ===== */
.story {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--navy) 0%, #001a42 100%);
  color: var(--white);
}

.story .section-tag {
  background: rgba(43, 255, 255, 0.15);
  color: var(--teal);
}

.story .section-header h2 {
  color: var(--white);
}

.story .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.story-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--teal);
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4,
.footer .footer-title {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--teal);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links svg {
  fill: rgba(255, 255, 255, 0.5);
  transition: fill 0.2s;
}

.footer-bottom-links a:hover svg {
  fill: var(--teal);
}

/* ===== LEGAL PAGES (Privacy / Terms) ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page ul {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page ul li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--teal-muted);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== How it works (home) ===== */
.features.how-it-works {
  background: var(--off-white);
}

.how-it-works .feature-card {
  background: var(--white);
}

.how-it-works .feature-icon {
  color: var(--navy);
  font-weight: 800;
}

.how-for {
  text-align: center;
  margin-top: 40px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.how-for a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Platform note under hero buttons ===== */
.hero .platform-note,
.pro-hero .platform-note {
  margin: 20px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* The Pro hero is navy, so the note switches to light text there. */
.pro-hero .platform-note {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.75);
}

.pro-hero .platform-note strong,
.pro-hero .platform-note a {
  color: var(--teal);
}

.platform-note strong {
  color: var(--navy);
}

.platform-note a {
  white-space: nowrap;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Guides ===== */
.guide {
  padding: 130px 0 80px;
  background: var(--white);
}

.guide-inner {
  max-width: 720px;
  margin: 0 auto;
}

.guide-crumb {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.guide h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
  text-wrap: balance;
}

.guide-meta {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.guide-answer {
  background: var(--teal-bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 36px;
}

.guide-inner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 44px 0 14px;
  text-wrap: balance;
}

.guide-inner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 8px;
}

.guide-inner p,
.guide-inner li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.guide-inner p {
  margin-bottom: 16px;
}

.guide-inner ul,
.guide-inner ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.guide-inner li {
  margin-bottom: 8px;
}

.guide-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-inner code {
  font-size: 0.95em;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 6px;
}

.guide-cta {
  margin-top: 48px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--navy);
  text-align: center;
}

.guide-inner .guide-cta h2 {
  color: var(--white);
  margin: 0 0 8px;
}

.guide-inner .guide-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}

.guide-inner .guide-cta a {
  text-decoration: none;
}

.guide-cta .btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.guides-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}

.guide-card {
  display: block;
  color: inherit;
}

.guide-card:hover {
  color: inherit;
  transform: translateY(-4px);
}

.guide-card-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 640px) {
  .guide h1,
  .guides-title {
    font-size: 2rem;
  }
}

/* ===== Real app screenshots ===== */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.screen {
  margin: 0;
  text-align: center;
}

.screen img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 30px;
  border: 6px solid #0b1320;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.screen figcaption {
  max-width: 250px;
  margin: 18px auto 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.screen figcaption strong {
  display: block;
  color: var(--teal);
}

.guide-shot {
  margin: 4px 0 24px;
  text-align: center;
}

.guide-shot img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 28px;
  border: 6px solid #0b1320;
  box-shadow: var(--shadow-lg);
}

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

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

/* ===== Product Hunt launch pill (shown by script.js on launch days) ===== */
.ph-launch {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 7px 16px 7px 7px;
  border: 1px solid #f3cfc3;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--gray-800);
  font-size: 0.92rem;
  font-weight: 600;
}

.ph-launch:hover {
  color: #da552f;
}

/* The class sets display, so [hidden] needs restating to win. */
.ph-launch[hidden] {
  display: none;
}

.ph-launch-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #da552f;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ===== LinkedIn QR code tool ===== */
.tool {
  padding: 130px 0 70px;
  background: linear-gradient(170deg, var(--teal-bg) 0%, var(--white) 60%);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.tool h1 {
  font-size: 2.8rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 14px;
  text-wrap: balance;
}

.tool-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 28px;
}

.tool-form > label,
.tool-colors legend {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.tool-form input[type="url"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1.05rem;
  color: var(--gray-800);
  background: var(--white);
}

.tool-form input[type="url"]:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 43, 107, 0.14);
}

.tool-msg {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.tool-msg.is-error {
  color: #b42318;
}

.tool-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 0;
  border: 0;
}

.tool-colors legend {
  float: left;
  margin: 0 6px 0 0;
}

.tool-colors label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-800);
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.tool-actions button.btn-primary {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.tool-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qr-card {
  max-width: 360px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.qr-card canvas {
  display: block;
  width: 100%;
  height: auto;
}

.qr-caption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.tool-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.guide.guide-after {
  padding-top: 40px;
}

.guide-after .guide-cta {
  margin: 0 0 12px;
}

/* ===== Comparison page ===== */
.guide-inner.guide-wide {
  max-width: 920px;
}

.compare-scroll {
  overflow-x: auto;
  margin: 8px 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

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

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
  line-height: 1.5;
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.compare-table thead th:nth-child(2) {
  background: #0a3d8a;
}

.compare-table tbody th {
  font-weight: 700;
  color: var(--navy);
  width: 180px;
}

.compare-table tbody td:first-of-type {
  background: var(--teal-bg);
  font-weight: 600;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-sources {
  font-size: 0.88rem;
  color: var(--gray-400);
}

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

@media (max-width: 640px) {
  .tool h1 {
    font-size: 2.1rem;
  }
}

/* ===== Founder card (homepage Our Story) ===== */
.founder-card {
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.founder-photo {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border: 4px solid var(--teal);
  border-radius: 50%;
  object-fit: cover;
}

.founder-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
}

.founder-role {
  margin: 2px 0 16px;
  font-weight: 600;
  color: var(--teal);
}

.founder-facts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.founder-facts li {
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.founder-quote {
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.founder-link {
  font-weight: 700;
  color: var(--teal);
}

.founder-link:hover {
  color: var(--white);
}

.byline-avatar {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

.legal-page h3 {
  margin: 20px 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* Footer column titles are h2 now (they were h4); keep the old spacing. */
.footer .footer-title {
  margin-top: 0;
}

/* Was an h3; keep the bold weight the heading used to give it. */
.phone-screen .mock-card .mock-title {
  font-weight: 700;
}
