/* Homepage only. Loaded after styles.css. */

body.home {
  background: var(--bg);
}

.home .announce {
  background: var(--ink);
  color: #dfe8f1;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}
.home .announce p {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 8px 16px;
  box-sizing: border-box;
}
.home .announce a {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  margin: 0 0 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.home .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: none;
  min-height: 64px;
  padding: 8px 16px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.home .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 11px;
  white-space: nowrap;
}
.home .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.home .nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.home .nav a.nav-link {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.home .nav a.nav-link:hover { color: var(--ink); }
.home .nav a.nav-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.home a.btn {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 12px;
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}
.home .nav a.btn {
  font-size: 14px;
  padding: 8px 12px;
  white-space: nowrap;
}
.home a.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.home a.btn:hover { filter: brightness(1.06); color: #fff; }
.home a.btn.ghost:hover {
  filter: none;
  color: var(--ink);
  border-color: var(--gold);
  background: #fff;
}
.home a.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.home .hero,
.home .section {
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px;
  box-sizing: border-box;
  border-top: 0;
}
.home .hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 16px;
}
.home .hero-copy { min-width: 0; }
.home .kicker {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.home .hero h1 {
  font-size: clamp(34px, 4.2vw + 0.5rem, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16em;
  margin: 8px 0 16px;
  text-wrap: balance;
}
.home .lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 40em;
  margin: 0;
}
.home .cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 24px;
}
.home .cta-row .btn { width: 100%; }
.home .fine {
  margin: 16px 0 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.home #demoHint:empty {
  margin: 0 !important;
  padding: 0;
  height: 0;
  font-size: 0 !important;
  line-height: 0;
  overflow: hidden;
}
.home .proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.home .proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.home .proof li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}

.home .hero-shots {
  position: relative;
  padding: 0;
  min-width: 0;
}
.home .hero-art,
.home .hero-shots .shot-main {
  transform: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(1, 126, 206, 0.16);
}
.home .hero-art img {
  width: 100%;
  height: auto;
  display: block;
}

.home .section h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.home .problem {
  padding-top: 8px;
  padding-bottom: 8px;
}
.home .problem h2 {
  margin: 0;
  max-width: 22em;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}
.home .steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.home .steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.home .snum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(1, 126, 206, 0.1);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.home .steps strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.home .steps .muted {
  font-size: 15px;
  line-height: 1.5;
}

.home .tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.home .tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 32px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.home .tool-card h3,
.home .plan h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.home .tool-card .tool-lead {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.home .tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.home .tool-card .tool-price {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.home .tool-card .btn { margin-top: auto; width: 100%; }

.home .included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
.home .included p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.home .free-callout {
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid rgba(1, 126, 206, 0.35);
  border-radius: 12px;
  background: rgba(1, 126, 206, 0.08);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.home .plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}
.home .plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: none;
}
.home .price {
  margin: 16px 0 8px;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.home .price span {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
}
.home .pack {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.home .plan ul {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  width: 100%;
}
.home .plan li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}
.home .plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--ok);
  font-weight: 700;
}
.home .plan .btn {
  margin-top: auto;
  width: 100%;
}
.home .price-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.home .fees { margin-top: 64px; }
.home .fees .lede { margin-bottom: 24px; }
.home .compare {
  width: 100%;
  max-width: none;
  margin: 0;
  table-layout: fixed;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--panel);
  font-size: 13px;
}
.home .compare th,
.home .compare td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.home .compare tr:last-child td { border-bottom: 0; }
.home .compare th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--panel-2);
}
.home .compare td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.home .compare td:nth-child(2),
.home .compare th:nth-child(2) { width: 28%; }
.home .compare td:nth-child(2) { color: var(--ok); }
.home .compare td:nth-child(3),
.home .compare th:nth-child(3) { width: 38%; }

.home .faq details {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 0;
  margin: 0 0 8px;
  max-width: none;
}
.home .faq summary {
  min-height: 44px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}
.home .faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.home .final-cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}
.home .final-cta .inner {
  width: min(720px, 100%);
  margin: 0 auto;
}
.home .final-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.home .final-cta p {
  margin: 0 0 24px;
  color: #dfe8f1;
  font-size: 18px;
  line-height: 1.45;
}
.home .final-cta .btn { width: 100%; }

.home footer.footer-cols {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 24px;
  padding: 48px 20px 32px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.home .footer-cols div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.home .footer-cols .brand { margin-bottom: 8px; }
.home .footer-cols p { margin: 0; line-height: 1.5; }
.home .footer-cols strong {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-height: 32px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 4px;
}
.home .footer-cols a {
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.home .footer-cols a.brand { color: var(--ink); }
.home .footer-cols a:hover { color: var(--ink); }
.home .footer-legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.home #method,
.home #tools,
.home #pricing,
.home #fees,
.home #faq { scroll-margin-top: 80px; }

@media (min-width: 720px) {
  .home .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .home .cta-row .btn,
  .home .tool-card .btn,
  .home .plan .btn,
  .home .final-cta .btn { width: auto; }
}

@media (min-width: 800px) {
  .home .plans { grid-template-columns: 1fr 1fr; }
  .home .included { grid-template-columns: 1fr 1fr; }
  .home footer.footer-cols {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-left: max(24px, calc((100% - 1120px) / 2));
    padding-right: max(24px, calc((100% - 1120px) / 2));
  }
}

@media (min-width: 900px) {
  .home .nav a.nav-link { display: inline-flex; }
  .home .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home .tool-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .home .topbar {
    padding-left: max(24px, calc((100% - 1120px) / 2));
    padding-right: max(24px, calc((100% - 1120px) / 2));
  }
  .home .brand { letter-spacing: 0.16em; font-size: 12px; }
  .home .brand img { width: 36px; height: 36px; }
  .home .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 24px;
  }
  .home .lede { font-size: 18px; }
  .home .section { padding-top: 80px; padding-bottom: 80px; }
  .home .hero,
  .home .section { padding-left: 24px; padding-right: 24px; }
  .home .compare { font-size: 15px; }
  .home .compare th,
  .home .compare td { padding: 16px; }
  .home .compare th { font-size: 14px; }
}

.home .contact-wrap { width: min(640px, 100%); }
.home .contact-wrap h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin: 0 0 8px;
}
.home .contact-form {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.home .contact-form textarea { min-height: 140px; resize: vertical; }
.home .contact-form .btn { margin-top: 16px; min-height: 44px; }
.home .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
