@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --navy: #071426;
  --navy-soft: #0d203b;
  --panel: #102847;
  --blue: #287cff;
  --blue-dark: #1263df;
  --cyan: #83c8ff;
  --white: #f7faff;
  --muted: #aebed5;
  --line: rgba(171, 205, 255, 0.18);
  --light: #f5f8fc;
  --ink: #0b1a2d;
  --light-muted: #56657a;
  --ko-fi: #ff5e5b;
  --shadow: 0 28px 80px rgba(0, 8, 24, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--navy); color: var(--white); font-family: "DM Sans", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.shell { width: min(100% - 2rem, 80rem); margin-inline: auto; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(7, 20, 38, 0.9); backdrop-filter: blur(16px); }
.nav { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .65rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links .nav-install { padding: .65rem 1rem; border: 1px solid rgba(131, 200, 255, .35); border-radius: 999px; color: var(--white); }

.hero { padding-block: 6rem 3.5rem; }
.hero-copy { max-width: 58rem; }
.kicker { margin: 0 0 1rem; color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.045em; line-height: 1.03; }
h1 { max-width: 16ch; font-size: clamp(3rem, 7vw, 6.4rem); }
.hero-lede { max-width: 39rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--blue); color: white; }
.button-support { border-color: var(--ko-fi); background: var(--ko-fi); color: white; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .8rem; }
.trust-row a { width: 14rem; padding: .55rem .75rem; border-radius: .75rem; background: white; box-shadow: 0 10px 30px rgba(0, 6, 20, .22); }
.trust-row a img { width: 100%; height: auto; }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row span::before { content: "✓"; color: var(--cyan); }

.showcase { padding-bottom: 4.5rem; }
.hero-carousel { min-width: 0; }
.carousel-viewport { overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #020b17; box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform 650ms cubic-bezier(.22,.75,.2,1); }
.carousel-slide { flex: 0 0 100%; min-width: 0; margin: 0; }
.carousel-slide img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.carousel-dots, .carousel-arrows { display: flex; align-items: center; gap: .5rem; }
.carousel-dots button { width: 2.5rem; height: .3rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.22); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--blue); }
.carousel-arrows button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); color: var(--white); cursor: pointer; font: inherit; }

.proof-strip { border-block: 1px solid var(--line); background: var(--navy-soft); }
.proof-grid { display: grid; }
.proof-grid p { margin: 0; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.proof-grid p:last-child { border-bottom: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-family: "Manrope", sans-serif; font-size: 1rem; }
.proof-grid span { margin-top: .35rem; color: var(--muted); font-size: .875rem; }

.section { padding-block: 6rem; }
.section-intro { max-width: 46rem; }
.section-intro h2, .privacy-section h2, .final-cta h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.section-intro > p:last-child { max-width: 40rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; margin-top: 3.5rem; border-top: 1px solid var(--line); }
.feature-grid article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.feature-grid article > span { color: var(--cyan); font: 600 .75rem "DM Sans", sans-serif; }
.feature-grid h3 { margin-top: .9rem; font-size: 1.35rem; }
.feature-grid p { max-width: 37rem; margin: .75rem 0 0; color: var(--muted); }

.demo-section { padding-block: 6rem; background: var(--light); color: var(--ink); }
.demo-grid { display: grid; gap: 3rem; align-items: center; }
.demo-section .kicker { color: var(--blue-dark); }
.demo-section .section-intro > p:last-child { color: var(--light-muted); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background: #071426; box-shadow: 0 24px 70px rgba(7,20,38,.2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.privacy-section { display: grid; gap: 2.5rem; padding-block: 6rem; border-bottom: 1px solid var(--line); }
.privacy-section p:not(.kicker) { max-width: 40rem; margin: 0 0 1.5rem; color: var(--muted); font-size: 1.1rem; }
.text-link { color: var(--cyan); font-weight: 700; text-underline-offset: .3em; }
.final-cta { padding-block: 5rem; background: var(--navy-soft); }
.final-cta-inner { display: grid; gap: 2rem; align-items: end; }
.final-cta h2 { max-width: 12ch; }
.footer { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 2.5rem; color: var(--muted); font-size: .8rem; }
.footer p { max-width: 60rem; margin: 0; }
.footer div { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer a { white-space: nowrap; }

.faq-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 1.35rem; }
.faq-list summary { cursor: pointer; list-style: none; font-family: "Manrope", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--cyan); font-weight: 700; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { max-width: 42rem; margin: .9rem 0 0; color: var(--muted); }
.faq-list a { color: var(--cyan); font-weight: 600; }
.related-guides { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.related-guides a { color: var(--cyan); font-weight: 700; text-underline-offset: .3em; }

.reviews-section { padding-block: 6rem; border-top: 1px solid var(--line); }
.reviews-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1rem; margin: 2rem 0 0; color: var(--muted); font-size: .95rem; }
.reviews-score strong { color: var(--white); font-size: 1.35rem; font-family: "Manrope", sans-serif; }
.reviews-stars { color: #f5c542; letter-spacing: .08em; font-size: .95rem; }
.reviews-grid { display: grid; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.review { margin: 0; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.review figcaption { color: var(--white); font-weight: 700; font-size: .95rem; }
.review blockquote { margin: .9rem 0 0; }
.review blockquote p { max-width: 40rem; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.reviews-more { margin: 2rem 0 0; }

.guide-hero { padding-block: 4.5rem 2.5rem; }
.guide-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.guide-lede { max-width: 40rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.15rem; }
.guide-meta { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.guide-layout { display: grid; gap: 3rem; padding-bottom: 5rem; }
.guide-content { max-width: 44rem; }
.guide-content h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.guide-content h3 { margin: 2rem 0 .75rem; font-size: 1.2rem; }
.guide-content p, .guide-content li { color: var(--muted); font-size: 1.05rem; }
.guide-content p { margin: 0 0 1.1rem; }
.guide-content ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.guide-content li { margin-bottom: .55rem; }
.guide-content a { color: var(--cyan); font-weight: 600; }
.guide-figure { margin: 2rem 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: #020b17; box-shadow: var(--shadow); }
.guide-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.guide-figure figcaption { padding: .85rem 1rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.guide-aside { align-self: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--navy-soft); }
.guide-aside h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.guide-aside ol { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.guide-aside li { margin-bottom: .65rem; }
.guide-aside .button { width: 100%; margin-top: 1.25rem; }
.guide-links { display: grid; gap: .85rem; margin-top: 1.25rem; }
.guide-links a { color: var(--cyan); font-weight: 700; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--white); }
  .button-primary:hover { background: var(--blue-dark); }
  .button-support:hover { border-color: #df4340; background: #df4340; }
  .carousel-arrows button:hover { background: rgba(255,255,255,.11); }
}

@media (min-width: 48rem) {
  .shell { width: min(100% - 4rem, 80rem); }
  .hero { min-height: 0; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-grid p { padding-inline: 1.5rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .proof-grid p:first-child { padding-left: 0; }
  .proof-grid p:last-child { padding-right: 0; border-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid article:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
  .feature-grid article:nth-child(even) { padding-left: 2rem; }
  .demo-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .privacy-section, .final-cta-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .final-cta .hero-actions { justify-content: flex-end; }
  .footer { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .guide-layout { grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem); align-items: start; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
  .review:nth-child(even) { padding-left: 2rem; }
}

@media (max-width: 38rem) {
  .nav-links > a:not(.nav-install) { display: none; }
  .hero { padding-top: 3.5rem; }
  .carousel-controls { margin-top: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
  .button { transition: none; }
}
