@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800&display=swap');

:root {
  --bg: #1f342a;
  --bg-dark: #172820;
  --bg-card: #253d31;
  --bg-card2: #2b4537;
  --cream: #faf3dd;
  --cream-70: rgba(250, 243, 221, 0.7);
  --cream-40: rgba(250, 243, 221, 0.4);
  --cream-10: rgba(250, 243, 221, 0.08);
  --wine: #582630;
  --sky: #84acce;
  --ocean: #3c91e6;
  --green: #9fe88d;
  --green-dark: #7dc970;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

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

.website-root {
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg);
  color: var(--cream);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  min-height: 100%;
  margin: 0;
  background-color: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: var(--bg);
  scroll-behavior: smooth;
}

#root {
  min-height: 100%;
  margin: 0;
  background-color: var(--bg);
}

.website-root img {
  max-width: 100%;
  display: block;
}

.website-root a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(23, 40, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cream-10);
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream-70);
  transition: color 0.2s;
}

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

.nav-links .nav-cta {
  background: var(--green);
  color: var(--bg-dark);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-links .nav-cta:hover {
  background: var(--green-dark);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn .btn-small {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn .btn-big {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.store-btn.apple {
  background: #0a0a0a;
  color: #fff;
}

.store-btn.google {
  background: #fff;
  color: #0a0a0a;
}

.footer-sentry-test {
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(250, 243, 221, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
}

.footer-sentry-test:hover,
.footer-sentry-test:focus-visible {
  color: rgba(250, 243, 221, 0.62);
  outline: none;
}

.hero-marquee {
  display: none; /* hidden on desktop, enabled in mobile breakpoint */
}

@keyframes hero-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 60px;
  left: -80px;
  right: -80px;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' viewBox='0 0 1400 700'%3E%3Cpath d='M-50 600 Q300 100 700 350 Q1100 600 1450 100' stroke='%23FAF3DD' stroke-width='5' stroke-dasharray='20 18' fill='none' opacity='0.12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-pill {
  display: inline-block;
  background: var(--cream);
  color: var(--bg-dark);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.hero-headline {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cream);
}

.hero-headline span {
  color: var(--green);
}

.hero-sub {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream-70);
  max-width: 440px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-tag {
  background: var(--cream-10);
  border: 1px solid var(--cream-40);
  color: var(--cream-70);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
}

.hero-product-shot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product-shot img {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.42));
  transform: rotate(2deg);
}

@media (min-width: 1200px) {
  .hero-inner {
    max-width: 1120px;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.95fr);
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    gap: 1.65rem;
  }

  .hero-product-shot img {
    width: auto;
    height: min(84vh, 680px);
    max-width: min(42vw, 620px);
    object-fit: contain;
  }

  .features .container {
    max-width: 1080px;
  }

  .feature-row {
    gap: 3rem;
  }
}

.features {
  padding: 7rem 0;
  position: relative;
  scroll-margin-top: 92px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream-70);
  max-width: 520px;
  line-height: 1.7;
}

.features-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.features-header .section-sub {
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-screenshot {
  order: 2;
}

.feature-row.reverse .feature-text {
  order: 1;
}

.feature-row.no-image {
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
}

.feature-row.no-image .feature-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.feature-screenshot {
  position: relative;
}

.feature-screenshot img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.feature-screenshot img[src*="website-"] {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.36));
  max-width: 500px;
}

.feature-screenshot img:hover {
  transform: scale(1.02) rotate(-1deg);
}

.feature-pill {
  display: inline-block;
  background: var(--green);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.feature-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.feature-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream-70);
  line-height: 1.8;
}

.how-it-works {
  padding: 7rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-40), transparent);
}

.how-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--cream-10);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--cream-40);
}

.step-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.step p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream-70);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 3rem;
  color: var(--cream-40);
}

.step-arrow svg {
  width: 28px;
  height: 28px;
}

.share-section {
  padding: 7rem 0;
}

.share-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.share-inner.no-image {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.share-screenshot img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 340px;
  margin: 0 auto;
}

.share-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.share-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
}

.share-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream-70);
  line-height: 1.8;
}

.download-cta {
  padding: 7rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-40), transparent);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cta-product-shot {
  display: flex;
  justify-content: center;
}

.cta-product-shot img {
  width: 100%;
  max-width: 430px;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.38));
  transform: rotate(-2deg);
}

.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
}

.cta-content p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream-70);
  line-height: 1.7;
}

.footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--cream-10);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cream-70);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-40);
}

.legal-page {
  padding-top: 100px;
  padding-bottom: 6rem;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 760px;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream-10);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.legal-header .effective {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream-40);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.6rem;
  margin-top: 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--cream-70);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-content a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--ocean);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--cream-10);
  margin: 1rem 0;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem 2.75rem;
    gap: 1.5rem;
  }

  .hero-content {
    align-items: center;
    gap: 1.1rem;
  }

  .hero-product-shot {
    order: -1;
  }

  .hero-product-shot img {
    max-width: 280px;
    transform: none;
  }

  .hero-sub,
  .hero-pill {
    margin: 0 auto;
  }

  .hero-tags {
    justify-content: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .features {
    padding: 4rem 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .feature-row.reverse .feature-screenshot,
  .feature-row.reverse .feature-text {
    order: 0;
  }

  .feature-pill {
    display: block;
    width: fit-content;
    margin: 0 auto 0.75rem;
  }

  .how-it-works {
    padding: 4rem 0;
  }

  .how-header {
    margin-bottom: 2.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1rem;
    margin: 0 auto;
  }

  .step {
    padding: 1.5rem 1.25rem;
  }

  .step-arrow {
    display: none;
  }

  .share-section {
    padding: 4rem 0;
  }

  .share-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .share-screenshot img {
    max-width: 280px;
  }

  .download-cta {
    padding: 4rem 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-content {
    align-items: center;
  }

  .cta-product-shot img {
    max-width: 280px;
    transform: none;
  }

  .cta-content .store-buttons {
    justify-content: center;
  }

  .features-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 580px) {
  /* ── Nav ── */
  .nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  /* ── Hero: full viewport, vertical stack ── */
  .hero {
    padding-top: 56px;
    min-height: 100svh;
    align-items: stretch;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 56px);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.55rem;
    text-align: center;
  }

  .hero-content {
    display: contents;
  }

  .hero-pill {
    display: none;
  }

  /* swap static shot for marquee on mobile */
  .hero-product-shot {
    display: none;
  }

  .hero-marquee {
    display: block;
    order: -1;
    width: calc(100% + 2.5rem); /* bleed past the hero-inner padding */
    margin-left: -1.25rem;
    overflow: hidden;
  }

  .hero-marquee-track {
    display: flex;
    gap: 0.15rem;
    width: max-content;
    animation: hero-marquee-scroll 28s linear infinite;
  }

  .hero-marquee-item {
    flex-shrink: 0;
  }

  .hero-marquee-item img {
    width: 240px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
  }

  .hero-headline {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    line-height: 1.06;
    margin: 0;
  }

  .hero-sub {
    max-width: 30ch;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--cream-70);
    margin: 0 auto;
  }

  .hero-tags {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
  }

  .hero-tag {
    font-size: 0.55rem;
    padding: 0.18rem 0.38rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero .store-buttons {
    gap: 0.55rem;
    width: 100%;
    justify-content: center;
  }

  .hero .store-btn {
    flex: 1 1 0;
    max-width: 168px;
    min-width: 0;
    gap: 0.45rem;
    padding: 0.65rem 0.8rem;
  }

  .hero .store-btn svg {
    width: 18px;
    height: auto;
    flex-shrink: 0;
  }

  .hero .store-btn .btn-small {
    font-size: 0.58rem;
  }

  .store-btn .btn-big {
    font-size: 0.88rem;
  }

  /* ── Features ── */
  .features {
    padding: 3rem 0;
  }

  .features-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .section-sub {
    font-size: 0.92rem;
  }

  .feature-row {
    gap: 0.6rem;
    margin-bottom: 2.5rem;
  }

  .feature-screenshot img {
    max-width: 220px;
  }

  .feature-screenshot img[src*="website-"] {
    max-width: 280px;
  }

  .feature-text h3 {
    font-size: 1.35rem;
  }

  .feature-text p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* ── How it works ── */
  .how-it-works {
    padding: 3rem 0;
  }

  .how-header {
    margin-bottom: 1.75rem;
  }

  .step {
    padding: 1.25rem 1rem;
  }

  .step-number {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .step h3 {
    font-size: 1.05rem;
  }

  .step p {
    font-size: 0.88rem;
  }

  /* ── Share ── */
  .share-section {
    padding: 3rem 0;
  }

  .share-screenshot img {
    max-width: 220px;
  }

  .share-text h2 {
    font-size: 1.65rem;
  }

  .share-text p {
    font-size: 0.92rem;
  }

  /* ── Download CTA ── */
  .download-cta {
    padding: 3rem 0;
  }

  .cta-product-shot img {
    max-width: 220px;
  }

  .cta-content h2 {
    font-size: 1.65rem;
  }

  .cta-content p {
    font-size: 0.92rem;
  }

  /* ── Footer ── */
  .footer-nav {
    gap: 1rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  .hero-marquee-track {
    animation-play-state: paused;
  }
}
