/* Flow — Creator growth agency (temporary mark)
   Dark elegant / premium editorial. Mobile-first. */

:root {
  --bg: #0c0d10;
  --bg-elev: #12141a;
  --bg-soft: #161922;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ece8e1;
  --muted: #9a958c;
  --faint: #6e6a63;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.14);
  --accent-ink: #1a1610;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1080px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 165, 116, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(120, 140, 180, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 13, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.nav-cta {
  color: var(--accent-ink) !important;
  background: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.85rem;
}

.nav-cta:hover {
  filter: brightness(1.06);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem var(--pad) 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 13, 16, 0.95);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--muted);
  border-radius: 8px;
}

.mobile-nav a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 8vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--bg-elev);
}

.btn-block {
  width: 100%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--faint);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Sections */
.section {
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  border-block: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-lede {
  margin: 0;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Trial */
.trial-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .trial-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3rem;
  }
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.trial-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.trial-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.trial-panel dl {
  margin: 0 0 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.trial-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.trial-panel dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trial-panel dt {
  color: var(--faint);
  font-size: 0.88rem;
}

.trial-panel dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1rem;
}

.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-inner {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact-note {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-email {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--accent);
  margin-bottom: 0.65rem;
  word-break: break-all;
}

.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-hint {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #090a0c;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(196, 165, 116, 0.25);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}

.footer-meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--faint);
}

@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .footer-meta {
    flex-basis: 100%;
  }
}

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

  .btn {
    transition: none;
  }
}
