/* The landing page in the onboarding's colours (web-app/src/styles/lens.css):
 * an off-white ground, near-black ink, warm grey for what is said second,
 * hairline white cards, and ink on the one thing to press. No green: the page
 * that leads to /start now looks like /start.
 *
 * A layer over landing.css and start.css, loaded after them, so the page can
 * go back to its dark self by dropping one <link>. It changes colour, and only
 * colour: sizes, spacing and the face are landing.css's.
 *
 * What stays dark, on purpose: the hero's phone (it is a phone), the three
 * small app screens (each is somebody's app, in its own colours), and the
 * builder window (the builder is dark). Inside those the brand is the
 * builder's own -- white ink, not green -- set again on each below. */

:root {
  --ink: #1c1c1e;
  --ink-hover: #3a3a3c;
  --muted: #6e6e73;
  --ground: #fbfbfd;
  --hairline: rgba(0, 0, 0, 0.08);
  --well: #f5f5f7;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px -18px rgba(0, 0, 0, 0.12);

  --os-brand: var(--ink);
  --os-brand-hover: var(--ink-hover);
  --os-brand-text: var(--ink);
  --os-brand-ink: #ffffff;
  --os-brand-subtle: rgba(0, 0, 0, 0.05);
  --os-brand-glow: rgba(0, 0, 0, 0.06);
  --os-focus: var(--ink);
}

/* Where the drawing is of something dark, the brand is the dark builder's. */
.phone,
.miniGym,
.miniYoga,
.builderWindow {
  --os-brand: #fafafa;
  --os-brand-hover: #e5e5e5;
  --os-brand-text: #fafafa;
  --os-brand-ink: #0a0a0a;
  --os-brand-subtle: rgba(255, 255, 255, 0.08);
  --os-brand-glow: rgba(255, 255, 255, 0.1);
}

body { background: var(--ground); }

.page {
  color: var(--ink);
  background: var(--ground);
}

/* ---------------------------------------------------------------- header */
/* The mark's O is drawn in the text colour, so it is ink here; its $ keeps
   its green. */
.headLogo,
.footLogo { color: var(--ink); }

.isFloating .headBar {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.14);
}
.headNav a,
.headTrigger { color: var(--muted); }
.headNav a:hover,
.headTrigger:hover,
.headTrigger[aria-expanded="true"] {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}
.headViewport {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.2);
}
.headPanel a { color: var(--ink); }
.headPanel a:hover { background-color: rgba(0, 0, 0, 0.04); }
.headPanel span { color: var(--muted); }
.headPanel i { border-color: var(--hairline); color: var(--muted); }

/* ------------------------------------------------------------------ hero */
.heroBadge {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--card-shadow);
  color: var(--ink);
}
.heroAvatar { box-shadow: 0 0 0 2px #ffffff; }
.heroLede,
.heroApp,
.sectionLede,
.priceAmount,
.priceAlt,
.priceHow,
.priceNote,
.worksProof,
.bentoCopy p:last-child,
.closingCopy p,
.faqItem p,
.footBrand p,
.footCols a,
.footBottom small { color: var(--muted); }
.footCols a:hover { color: var(--ink); }

/* The one green besides the mark's $: "money" and every graph keep the
   page's original green, glow and all -- their own rules in landing.css
   read --os-brand, so it is set back here and nothing else is overridden. */
.moneyWithGraph,
.heroSparkLine,
.heroSparkDot,
.dashLine,
.dashPoint,
.finalGraphLine { --os-brand: #22e04e; }

/* "Open Still Focus, built here": a quiet link under the button. */
.proof a {
  color: var(--muted);
  border-bottom-color: rgba(0, 0, 0, 0.2);
}
.proof a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* The one thing to press: ink, lit faintly from above, no glow. */
.cta,
.headCta,
.startForm button {
  background: linear-gradient(180deg, #3a3a3c 0%, var(--ink) 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 10px 20px -10px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}
.cta:hover,
.headCta:hover,
.startForm button:hover,
.cta:active,
.headCta:active,
.startForm button:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.14),
    0 14px 26px -12px rgba(0, 0, 0, 0.4);
}
.cta::before,
.headCta::before,
.startForm button::before {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

/* The phone stays a phone; only its green goes. */
.phone {
  background: radial-gradient(120% 65% at 50% 0%, #2c2c2e 0%, #1a1a1c 40%, #0b0b0c 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.phoneGlow { background: rgba(255, 255, 255, 0.05); }
/* A notification's app name sets no colour of its own, so it took the page's
   ink and vanished on the dark lock screen. White, as a phone draws it. */
.phone .notificationCopy strong { color: #ffffff; }

/* The month's total floats half off the phone, on the page: a white card. */
.heroTotal {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 24px 48px -20px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  --os-brand: var(--ink);
  --os-brand-text: var(--ink);
}
.heroMrr { border-top-color: var(--hairline); }
.heroMrrLabel { color: var(--muted); }
.heroMrrValue { color: var(--ink); }

.mockTag { border-color: var(--hairline); color: var(--muted); }

/* ------------------------------------------------------------ the cards */
.followersSection,
.siteFoot,
.footBottom,
.startSection { border-top-color: var(--hairline); }

.bentoCard,
.closingCard,
.faqItem,
.proofCard {
  border-color: var(--hairline);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--card-shadow);
}
.bentoCard::before { background: transparent; }
.closingCard { background: #ffffff; }

.widget,
.planCard {
  background: var(--well);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.widgetTitle,
.widgetSmall span,
.planHead > span:last-child,
.shareHead div span,
.dashAgainst,
.proofStats span,
.proofWho span { color: var(--muted); }
.dashRule { stroke: rgba(0, 0, 0, 0.07); }
.dashDelta,
.planLock,
.publishLive { background: rgba(0, 0, 0, 0.06); }
.planList li { background: #ffffff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }

/* The creator's own words, as a message they sent: ink, not green. */
.chatBubble {
  background: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

/* A home screen and its share sheet, as an iPhone shows them in light. */
.homeGrid {
  background: var(--well);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.homeApp small { color: var(--ink); }
.shareSheet {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 18px 40px -18px rgba(0, 0, 0, 0.25);
  color: var(--ink);
}
.shareRow { background: var(--well); color: var(--ink); }
.publishStore {
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  text-decoration-color: rgba(185, 28, 28, 0.7);
}

.miniPhone { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 24px 40px -18px rgba(0, 0, 0, 0.3); }

/* Its contents are a photograph of the builder (builder.jpg), so only its
   frame changes here. */
.builderWindow {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 60px 120px -50px rgba(0, 0, 0, 0.45);
}

.caseCard {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--card-shadow);
}
.caseWho span,
.caseRevenue span,
.caseRevenue a,
.caseStory,
.caseNote,
.caseLinks .caseSource { color: var(--muted); }
/* The darker of the two greens, for text on white. */
.caseRevenue { background: rgba(22, 163, 74, 0.07); }
.caseRevenue strong { color: #16a34a; }

.proofStats { border-color: var(--hairline); background: var(--hairline); }
.proofStats > div { background: #ffffff; }
.proofCard blockquote { color: var(--ink); }
.proofCard:hover { border-color: rgba(0, 0, 0, 0.16); background: #ffffff; }
.proofNotice { background: rgba(220, 38, 38, 0.05); color: #b91c1c; }

/* ------------------------------------------------------------------ faq */
.faqItem:hover,
.faqItem[open] { background: #ffffff; }
.faqItem[open] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), var(--card-shadow); }
.faqIcon { background: var(--well); }
.faqItem[open] .faqIcon { background: var(--ink); color: #ffffff; }

/* ------------------------------------------------------- the last card */
.closingNote {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--hairline), 0 12px 28px -14px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.closingNote .notificationCopy span,
.closingNote .notificationCopy p { color: var(--muted); }
.closingNote .notificationCopy strong { color: var(--ink); }
.finalCtaSection { background: transparent; }

/* --------------------------------------------------------------- footer */
.footWordmark {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ------------------------------------------------- the signup, if shown */
.startInner {
  border-color: var(--hairline);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}
.startLede { color: var(--muted); }
.googleBtn {
  border-color: rgba(0, 0, 0, 0.14);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--ink);
}
.googleBtn:hover { border-color: rgba(0, 0, 0, 0.28); }

@media (prefers-reduced-transparency: reduce) {
  .closingNote { background: #ffffff; }
}

/* --------------------------------------------------------------- pricing */
.priceCard {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--card-shadow);
  color: var(--ink);
}
.priceAmount strong { color: var(--ink); }
