/* MicHunts.com — shared styles.
   Brand values copied from the app (src/index.css) so the marketing site and
   the product look like the same thing. */

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

:root {
  --background: hsl(267 41% 10%);
  --card: hsl(267 70% 16%);
  --foreground: hsl(220 14% 96%);
  --muted-foreground: hsl(220 10% 70%);
  --primary: hsl(333 99% 53%);
  --accent: hsl(165 85% 45%);
  --border: hsl(258 30% 22%);

  --font-heading: 'Work Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-top: 2.5rem; }
h3 { font-size: 1.2rem; margin-top: 2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow { max-width: 760px; }

/* ---------- header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 15, 36, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

header.site img { height: 68px; width: auto; display: block; }

nav.site a {
  color: var(--foreground);
  font-size: .9rem;
  font-weight: 600;
  margin-left: 1.4rem;
  white-space: nowrap;
}
nav.site a:hover { color: var(--primary); text-decoration: none; }

/* ---------- Get the App dropdown ----------
   Built on <details>/<summary> rather than JavaScript: it works with keyboard
   and screen readers for free, and still functions if scripts are blocked. */

.get-app {
  position: relative;
  display: inline-block;
  margin-left: 1.4rem;
}

.get-app > summary {
  list-style: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  user-select: none;
}
.get-app > summary::-webkit-details-marker { display: none; }
.get-app > summary::after {
  content: '▾';
  margin-left: .4rem;
  font-size: .75rem;
}
.get-app[open] > summary::after { content: '▴'; }
.get-app > summary:hover { opacity: .92; }

.get-app-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  min-width: 190px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .4rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  z-index: 60;
}

.get-app-menu a {
  display: block;
  margin: 0;
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--foreground);
}
.get-app-menu a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--primary);
  text-decoration: none;
}
.get-app-menu a small {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--muted-foreground);
}
.get-app-menu a[aria-disabled="true"] {
  opacity: .5;
  pointer-events: none;
}

@media (max-width: 640px) {
  .get-app { margin-left: .9rem; }
  .get-app > summary { font-size: .78rem; padding: .45rem .8rem; }
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 4rem 0 2.5rem;
}

.hero .tagline {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.gradient {
  background: linear-gradient(90deg, #ffb3ec 0%, #ff7ad9 25%, var(--primary) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- buttons / badges ---------- */

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; opacity: .92; }

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.badges {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .7rem 1.2rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: .95rem;
}
.store-badge:hover { border-color: var(--primary); text-decoration: none; }
.store-badge small {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

/* ---------- audience split ---------- */

.audience-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 .5rem;
}

/* Outlined pink buttons rather than filled, so they read as a secondary choice
   next to the filled store badges above them. */
.audience-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: .95rem 1.25rem;
  transition: background-color .15s, transform .15s;
}
.audience-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Keeps a jumped-to heading clear of the sticky header. */
.anchor-target { scroll-margin-top: 90px; }

@media (max-width: 560px) {
  .audience-split { grid-template-columns: 1fr; }
}

/* ---------- screenshots ---------- */

/* Fixed 3-up on desktop rather than auto-fit. With six screenshots that gives
   two clean rows; auto-fit was fitting five and leaving one stranded. */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 2.5rem 0;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  /* Pink outline so the dark screenshots don't melt into the purple page. */
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  display: block;
}

@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .shots { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

/* ---------- cards / callouts ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  margin: 1.25rem 0;
}

/* Faint pink wash rather than the old teal — keeps the callout on-brand and
   still reads as "pay attention to this bit". */
.callout {
  background: rgba(254, 10, 129, .08);
  border: 1px solid rgba(254, 10, 129, .35);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  margin: 1.75rem 0;
}
/* Bigger and white rather than pink — pink type on a pink wash was washing out. */
.callout h3 {
  margin-top: 0;
  margin-bottom: .6rem;
  font-size: 1.6rem;
  color: var(--foreground);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

/* pricing */

.price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: .25rem 0 0;
  line-height: 1.1;
}
.price span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}
.price-alt {
  color: var(--muted-foreground);
  font-size: .9rem;
  margin: .1rem 0 .9rem;
}

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .6rem;
}
ul.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- steps ---------- */

ol.steps { counter-reset: step; list-style: none; padding: 0; }
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.75rem;
}
ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.steps > li h3 { margin-top: 0; }

/* ---------- legal pages ---------- */

.legal { padding: 2.5rem 0 4rem; }
.legal h2 { font-size: 1.35rem; }
.legal .updated { color: var(--muted-foreground); font-size: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.5rem 0 3rem;
  color: var(--muted-foreground);
  font-size: .9rem;
}
footer.site a { color: var(--muted-foreground); }
footer.site a:hover { color: var(--primary); }
footer.site .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}
footer.site nav a { margin-right: 1.1rem; }
footer.site .fine { margin-top: 1.5rem; font-size: .82rem; }

@media (max-width: 640px) {
  nav.site a { margin-left: .9rem; font-size: .82rem; }
  header.site img { height: 46px; }
  .hero { padding: 2.5rem 0 1.5rem; }
}
