/* ============================================================
   base44 LP - style.css
   v3: founder case-study. White, indigo accent, rounded cards.
   mobile-first; desktop gets 2-col hero + wider grids.
   ============================================================ */

:root {
  /* surfaces */
  --bg:          #ffffff;
  --bg-alt:      #f7f8fa;
  --surface:     #f6f7f9;
  --border:      #ebedf1;
  --border-soft: #f1f2f5;

  /* type */
  --text:        #0a0a0a;
  --text-muted:  #52525b;
  --text-faint:  #9b9ba3;

  /* indigo accent */
  --accent:        #4f46e5;
  --accent-hover:  #4338ca;
  --accent-soft:   #eef0fe;
  --accent-fg:     #ffffff;

  /* semantic */
  --ok: #16a34a;

  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-xs: 0 1px 2px rgba(10,10,12,0.05);
  --shadow-sm: 0 1px 3px rgba(10,10,12,0.06), 0 0 0 1px rgba(10,10,12,0.04);
  --shadow-md: 0 10px 28px -14px rgba(10,10,12,0.20), 0 2px 6px rgba(10,10,12,0.05);
  --shadow-lg: 0 36px 72px -28px rgba(40,40,90,0.30), 0 14px 28px -16px rgba(10,10,12,0.14);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-hero:    1120px;
  --max-content: 760px;
  --max-narrow:  560px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; text-wrap: pretty; }
ul { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.topbar__inner {
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent); position: relative; flex: none;
  box-shadow: 0 2px 6px -1px rgba(79,70,229,0.5);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 3px; background: #fff;
}
.brand__name { font-weight: 700; letter-spacing: -0.01em; }
.brand__tag {
  font-size: 11px; color: var(--text-faint);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 9px; white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cta-group { width: 100%; max-width: 380px; display: flex; flex-direction: column; }
.cta-group--centered { margin-left: auto; margin-right: auto; align-items: center; }

.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 54px; padding: 15px 26px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 16px; font-weight: 600; letter-spacing: -0.006em;
  border: 1px solid var(--accent); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 20px -8px rgba(79,70,229,0.55);
  transition: background-color 140ms ease, transform 100ms ease, box-shadow 140ms ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.cta-btn .arrow {
  font-size: 18px; line-height: 1; transform: translateY(-1px);
  transition: transform 140ms ease;
}
.cta-btn:active { background: var(--accent-hover); transform: scale(0.985); }
@media (hover:hover) {
  .cta-btn:hover { background: var(--accent-hover); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 26px -8px rgba(79,70,229,0.6); }
  .cta-btn:hover .arrow { transform: translateX(3px) translateY(-1px); }
}

.cta-sub {
  font-size: 12.5px; color: var(--text-muted);
  text-align: center; margin-top: 11px; line-height: 1.45;
}
.cta-group--left .cta-sub { text-align: left; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 40px 20px 52px; }
.hero__inner {
  max-width: var(--max-hero); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.hero__copy {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; max-width: 540px; text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 13px; border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.16);
}

.hero-headline {
  font-size: 33px; line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 700; color: var(--text);
}
.hero-sub {
  font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 38ch;
}

.disclosure {
  font-size: 12px; line-height: 1.45; color: var(--text-faint);
  max-width: 42ch;
}
.disclosure--inline {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--bg-alt); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 10px 13px; text-align: left;
}
.disclosure--inline .i {
  flex: none; width: 15px; height: 15px; margin-top: 1px;
  border-radius: 50%; border: 1.5px solid var(--text-faint);
  color: var(--text-faint); font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal;
}

/* hero visual */
.hero__visual {
  position: relative; width: 100%; max-width: 290px;
  display: flex; justify-content: center; padding: 8px 0 0;
}
.hero__visual::before {
  content: ""; position: absolute; inset: -8% -12% 6%;
  background: radial-gradient(ellipse at 50% 60%, rgba(10,10,20,0.10), transparent 64%);
  z-index: 0;
}
.phone-shot {
  position: relative; z-index: 1; width: 100%;
  filter: drop-shadow(0 22px 38px rgba(20,20,40,0.16)) drop-shadow(0 6px 12px rgba(10,10,12,0.08));
}
.phone-shot--tilt { transform: rotate(-2deg); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 52px 20px; }
.section__inner { max-width: var(--max-content); margin: 0 auto; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: 26px; line-height: 1.16; letter-spacing: -0.022em;
  font-weight: 700; color: var(--text);
}
.section-title + .section-body { margin-top: 16px; }
.section-body {
  font-size: 17px; line-height: 1.65; color: var(--text-muted);
}
.section-body strong { color: var(--text); font-weight: 600; }

/* ============================================================
   PROOF CARDS
   ============================================================ */
.cards {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px;
}
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  box-shadow: var(--shadow-xs);
}
.card__icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card__icon svg { width: 19px; height: 19px; }
.card__title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.card__desc { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin-top: 7px; }

.soft-note {
  margin-top: 26px; padding: 18px 20px;
  background: var(--accent-soft); border-radius: var(--radius-lg);
  font-size: 15.5px; line-height: 1.6; color: #312e81;
}
.disclaimer {
  margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--text-faint);
}

/* ============================================================
   PRODUCT FEATURE LIST
   ============================================================ */
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.feature {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 2px; border-bottom: 1px solid var(--border-soft);
}
.feature:last-child { border-bottom: 0; }
.feature__check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.feature__check svg { width: 13px; height: 13px; }
.feature__text { font-size: 16px; line-height: 1.5; color: var(--text); }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.compare {
  margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 16px;
}
.compare__col {
  border-radius: var(--radius-lg); padding: 22px 20px;
}
.compare__col--before {
  background: var(--bg-alt); border: 1px solid var(--border);
}
.compare__col--after {
  background: var(--text); color: #fff;
  box-shadow: var(--shadow-md);
}
.compare__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 14px;
}
.compare__col--before .compare__label { color: var(--text-faint); }
.compare__col--after .compare__label { color: rgba(255,255,255,0.6); }
.compare__list { display: flex; flex-direction: column; gap: 11px; }
.compare__item { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; }
.compare__item .m { flex: none; width: 18px; height: 18px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.compare__col--before .compare__item { color: var(--text-muted); }
.compare__col--before .m { color: var(--text-faint); }
.compare__col--after .compare__item { color: rgba(255,255,255,0.92); }
.compare__col--after .m { color: #a5b4fc; }

/* ============================================================
   AUDIENCE FIT
   ============================================================ */
.audience { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.audience__item {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 15px 17px;
  font-size: 15.5px; line-height: 1.4; color: var(--text);
  box-shadow: var(--shadow-xs);
}
.audience__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 60px 20px; }
.cta-band__inner {
  max-width: var(--max-narrow); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.cta-band--boxed .cta-band__inner {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 28px;
}
.cta-band__title { font-size: 24px; line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
.cta-band__body { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 40ch; }

/* mid inline cta */
.cta-inline { padding: 8px 20px 4px; }
.cta-inline__inner { max-width: var(--max-narrow); margin: 0 auto; display: flex; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 40px 20px calc(44px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-soft); background: var(--bg-alt);
}
.site-footer__inner {
  max-width: var(--max-content); margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px; text-align: center;
}
.footer-disclosure { font-size: 12.5px; line-height: 1.6; color: var(--text-muted); }
.footer-fine { font-size: 11.5px; line-height: 1.6; color: var(--text-faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ============================================================
   DESKTOP  (>= 760px)
   ============================================================ */
@media (min-width: 760px) {
  body { font-size: 17px; }

  .topbar__inner { padding: 15px 32px; }

  .hero { padding: 64px 32px 88px; }
  .hero__inner {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 56px;
  }
  .hero__copy {
    align-items: flex-start; text-align: left; flex: 1 1 0; max-width: 560px; gap: 22px;
  }
  .hero-headline { font-size: 52px; letter-spacing: -0.038em; line-height: 1.03; }
  .hero-sub { font-size: 19px; max-width: 42ch; }
  .hero__visual { flex: 0 0 300px; max-width: 300px; padding: 0; }
  .hero__visual::before { inset: -10% -14% 4%; }

  .section { padding: 88px 32px; }
  .section-title { font-size: 32px; }
  .section-body { font-size: 18px; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
  .card { padding: 26px 22px; }

  .feature-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px;
  }
  .feature { padding: 16px 2px; }

  .compare { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
  .compare__col { padding: 28px 26px; }

  .audience { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }

  .cta-band { padding: 96px 32px; }
  .cta-band--boxed .cta-band__inner { padding: 56px 48px; }
  .cta-band__title { font-size: 30px; }

  .site-footer { padding: 56px 32px 64px; }
}

@media (min-width: 1100px) {
  .hero { padding: 88px 32px 112px; }
  .hero__inner { gap: 88px; }
  .hero-headline { font-size: 58px; }
  .hero__visual { flex: 0 0 320px; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media print {
  .topbar { display: none; }
  .section--alt, .cta-band--boxed .cta-band__inner, .compare__col--after { box-shadow: none; }
}
