/* Follower Insta Board — site styles (marketing / support / privacy).
   Dark editorial look derived from the app itself: near-black plum canvas,
   one warm pink accent, serif display type, hairline rules. */

:root {
  --bg: #0d0812;
  --surface: rgba(255, 255, 255, 0.04);
  --ink: #f2edf3;
  --muted: rgba(242, 237, 243, 0.56);
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ff5f8f;
  --accent-2: #ffa24d;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* faint ambient glow, echoing the app background.
     NOTE: no background-attachment:fixed — combined with the blurred sticky
     header it triggers a Chromium repaint bug (whole page paints black). */
  background-image:
    radial-gradient(1100px 700px at 85% -10%, rgba(255, 95, 143, 0.10), transparent 60%),
    radial-gradient(900px 640px at -10% 30%, rgba(120, 60, 200, 0.10), transparent 60%);
  background-repeat: no-repeat;
}

::selection { background: rgba(255, 95, 143, 0.35); color: #fff; }

a { color: var(--ink); text-decoration-color: rgba(255, 95, 143, 0.6); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 8, 18, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-weight: 650; letter-spacing: -0.01em; font-size: 16px; }
.site-nav { margin-left: auto; display: flex; gap: 26px; }
.site-nav a {
  text-decoration: none; color: var(--muted);
  font-size: 14.5px; letter-spacing: 0.02em;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }

/* ---------- shared type ---------- */
.label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 18px 0 22px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
}
h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section { padding: 84px 0 10px; }
.section > .wrap > .label { display: block; margin-bottom: 6px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 84px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 40px; }
.hero .wrap { position: relative; }
.hero-mark {
  /* oversized faded brand motif */
  position: absolute; right: -40px; top: -70px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(14rem, 30vw, 24rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 95, 143, 0.14);
  pointer-events: none; user-select: none;
}
.cta-row { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.appstore-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #14101a;
  border-radius: 14px; padding: 12px 22px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 26px rgba(255, 95, 143, 0.18);
}
.appstore-btn:hover { transform: translateY(-2px); color: #000; box-shadow: 0 10px 32px rgba(255, 95, 143, 0.30); }
.appstore-btn .apple { font-size: 24px; line-height: 1; }
.appstore-btn small { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.7; letter-spacing: 0.04em; }
.appstore-btn strong { display: block; font-size: 16.5px; line-height: 1.15; }
.cta-note { color: var(--muted); font-size: 14px; }

/* ---------- screenshot strip ---------- */
.shots {
  display: flex; gap: 26px; align-items: flex-start;
  padding: 70px 0 20px;
}
.shots figure { flex: 1; min-width: 0; }
.shots img {
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.shots figure:nth-child(2) { transform: translateY(34px); }
.shots figcaption {
  margin-top: 40px; text-align: center;
  font-size: 13px; color: var(--muted); letter-spacing: 0.06em;
}
.shots figure:nth-child(2) figcaption { margin-bottom: -34px; }

/* ---------- feature list (editorial rows) ---------- */
.features { margin-top: 30px; }
.feature {
  display: grid; grid-template-columns: 4.2rem 15rem 1fr; gap: 18px;
  padding: 26px 0; border-top: 1px solid var(--line);
  align-items: baseline;
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 1.1rem;
}
.feature h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.005em; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ---------- ipad panel ---------- */
.panel {
  margin-top: 54px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center;
}
.panel img {
  border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.panel p { color: var(--muted); margin-top: 12px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 40px; }
.step .num {
  font-family: var(--serif); font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 95, 143, 0.55);
}
.step h3 { margin: 14px 0 6px; font-size: 1.02rem; font-weight: 650; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- footer ---------- */
.site-footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 44px 0 60px; }
.site-footer .wrap { display: grid; gap: 18px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.disclaimer { color: var(--muted); font-size: 13px; max-width: 62em; }
.copyright { color: var(--muted); font-size: 13px; }

/* ---------- document pages (support / privacy) ---------- */
.doc { padding: 76px 0 20px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 1.45rem; margin: 46px 0 10px; }
.doc p, .doc li { color: rgba(242, 237, 243, 0.82); }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }

.contact-card {
  margin: 34px 0 8px; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.contact-card .mail {
  display: inline-block; background: var(--ink); color: #14101a;
  padding: 10px 20px; border-radius: 12px; font-weight: 600;
  text-decoration: none; transition: transform 0.18s ease;
}
.contact-card .mail:hover { transform: translateY(-2px); color: #000; }
.contact-card p { color: var(--muted); font-size: 15px; }

/* FAQ disclosures */
details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0; font-weight: 600; font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary .chev {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
summary .chev::before {
  content: ""; position: absolute; left: 7px; top: 5px;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
}
details[open] summary .chev { transform: rotate(180deg); border-color: rgba(255, 95, 143, 0.5); }
details .answer { padding: 0 0 20px 36px; color: var(--muted); max-width: 60em; }
details .answer p + p { margin-top: 8px; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .appstore-btn, .contact-card .mail, summary .chev { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 3rem 1fr; }
  .feature p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 64px; }
  .shots { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 30px; }
  .shots figure { flex: 0 0 72%; scroll-snap-align: center; }
  .shots figure:nth-child(2) { transform: none; }
  .shots figure:nth-child(2) figcaption { margin-bottom: 0; }
  .brand span { display: none; }
}
