/* franciscoandroid.com. Values copied from the Framer site (see the capture notes). Phone layout below 810px. */

@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-vietnamese.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #020817;
  --muted: #64748b;
  --slate: #334155;
  --teal: #008080;
  --gray-bg: #ececee;
  --dark: #333333;
  --text-gray: #888888;
  --link-blue: #0099ff;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --gs: "General Sans", system-ui, sans-serif;
  --sg: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--gs); color: var(--ink); -webkit-font-smoothing: antialiased; }
body.gray { background: var(--gray-bg); }
body.white { background: #ffffff; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Footer, on the home page and the app pages */
.site-footer { max-width: 1200px; margin: 0 auto; padding: 50px; }
.site-footer p { font-weight: 400; font-size: 14px; line-height: 16.8px; letter-spacing: -0.2px; color: #666666; }

/* Home page */
.home-top { padding: 64px 24px 56px; }
.home-header { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-header h1 { font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -1.6px; margin-bottom: 8px; }
.location { display: flex; align-items: center; gap: 4px; font-weight: 400; font-size: 12px; line-height: 16px; color: var(--muted); margin-bottom: 16px; }
.bio { font-weight: 500; font-size: 18px; line-height: 28px; color: var(--muted); }
.bio a { color: var(--ink); text-decoration: underline; text-decoration-color: #cbd5e1; }
.social { display: flex; gap: 16px; margin-top: 20px; }
.social a { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; line-height: 20px; color: #475569; }

.apps { max-width: 960px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-card { position: relative; background: #ffffff; border: 1px solid transparent; border-radius: 24px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: 16px; padding: 24px 24px 12px; }
.app-icon { width: 56px; height: 56px; border-radius: 14px; background: #f1f5f9; flex: none; }
.app-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.app-card h3 { font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -0.4px; }
/* The name link covers the whole card. The Google Play badge sits above it. */
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.app-card h3 a:focus-visible { outline: none; }
.app-card h3 a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.app-blurb { font-weight: 500; font-size: 14px; line-height: 22.75px; color: var(--muted); padding: 0 24px 24px; }

.badges { display: flex; align-items: center; gap: 4px; }
.badge { display: flex; align-items: center; border-radius: 6px; padding: 0 6px; font-size: 10px; line-height: 15px; border: 1px solid transparent; white-space: nowrap; }
.badge.category { background: var(--teal); color: #ffffff; font-weight: 500; }
.badge.platform { border-color: #e2e8f0; color: var(--muted); font-weight: 400; }
.badge.play { position: relative; z-index: 1; gap: 4px; padding: 0 7px; line-height: 18px; background: #ffffff; border-color: #cbd5e1; color: var(--ink); font-weight: 500; }

.lists { max-width: 1008px; margin: 0 auto; padding: 24px; display: flex; align-items: flex-start; gap: 24px; }
.list-card { flex: 1 1 0; min-width: 0; background: #ffffff; border-radius: 24px; padding: 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.list-card h2 { font-family: var(--sg); font-weight: 500; font-size: 18px; line-height: 21.6px; color: var(--ink); }
.list-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* The live site falls back to sans-serif here, which draws the arrow of "View all →". */
.list-card a { font-family: "General Sans", sans-serif; font-weight: 500; font-size: 18px; line-height: 21.6px; color: var(--slate); }
.list-card a.view-all { color: var(--teal); }

/* App pages */
.app-page { max-width: 1000px; margin: 0 auto; padding: 50px; }
.back { display: flex; width: fit-content; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--muted); }
.hero { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.hero-icon { width: 80px; height: 80px; flex: none; border-radius: 18px; overflow: hidden; background: #ffffff; border: 1px solid rgba(226, 232, 240, 0.3); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.hero-icon img { width: 100%; height: 100%; }
.hero-text { display: flex; flex-direction: column; gap: 8px; }
.hero-text h1 { font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
.intro { max-width: 640px; margin-top: 24px; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--slate); }
.play-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--gray-bg); font-weight: 500; font-size: 14px; line-height: 20px; }
.media { position: relative; margin-top: 32px; border-radius: 24px; overflow: hidden; box-shadow: var(--card-shadow); }
.media-video { aspect-ratio: 900 / 506; background: #000000; }
.media-video img, .media-video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.media-video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border: 0; border-radius: 50%; background: rgba(2, 8, 23, 0.75); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 0 0 4px; }
.media-image { height: 600px; border-radius: 32px; box-shadow: none; }
.media-image img { position: absolute; left: 50%; width: 350px; transform: translateX(-50%); }
.content-card { margin-top: 32px; background: #ffffff; border-radius: 24px; padding: 32px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; gap: 20px; }
.content-card h2 { font-weight: 700; font-size: 32px; line-height: 38.4px; color: var(--ink); }
.content-card p { font-weight: 500; font-size: 24px; line-height: 36px; color: var(--muted); }
.content-card p.extra { font-size: 18px; line-height: 21.6px; }
.content-card .extra a { font-weight: 500; color: var(--link-blue); }

/* Articles, the privacy policy, and other text pages */
.doc { max-width: 1000px; margin: 0 auto; padding: 50px; display: flex; flex-direction: column; gap: 20px; }
.crumb { font-weight: 500; font-size: 18px; line-height: 21.6px; color: #000000; }
.doc h1 { font-weight: 700; font-size: 50px; line-height: 60px; letter-spacing: -2px; color: var(--dark); }
.dates { font-weight: 500; font-size: 18px; line-height: 21.6px; color: #000000; }

.prose { font-weight: 500; font-size: 24px; line-height: 36px; color: var(--text-gray); }
.prose > * + * { margin-top: 20px; }
.prose > h2 { margin-top: 40px; font-weight: 700; font-size: 32px; line-height: 38.4px; color: var(--dark); }
.prose > h3 { font-family: var(--sg); font-weight: 500; font-size: 18px; line-height: 21.6px; color: var(--dark); }
.prose > ul, .prose > ol, .prose > .table-wrap { margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 700; }
.prose a { color: var(--link-blue); }
.prose blockquote > * + * { margin-top: 20px; }
.prose blockquote > ul, .prose blockquote > ol { margin-top: 32px; }
.prose ul, .prose ol { list-style: none; padding: 0; }
.prose ol { counter-reset: item; }
.prose li { position: relative; padding-left: 1.194em; }
.prose ul > li::before { content: "•"; position: absolute; left: 0; width: 0.5em; }
.prose ol > li { counter-increment: item; padding-left: 1.6em; }
.prose ol > li::before { content: counter(item) "."; position: absolute; left: 0; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 18px; line-height: 27px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e5e5e5; }
.prose th { font-weight: 700; color: var(--dark); border-bottom-color: #cccccc; }
.prose th:first-child, .prose td:first-child { padding-left: 0; }
.prose.flat > h2 { margin-top: 20px; }
.prose.flat > ul, .prose.flat > ol { margin-top: 20px; }

/* Articles index */
.index { padding: 160px 20px; }
.index-inner { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.index h1 { font-family: var(--sg); font-weight: 700; font-size: 60px; line-height: 66px; letter-spacing: -3px; color: var(--dark); }
.index section { display: flex; flex-direction: column; gap: 20px; }
.index h2 { font-weight: 700; font-size: 32px; line-height: 38.4px; color: var(--dark); }
.index a { font-weight: 500; font-size: 18px; line-height: 21.6px; color: #000000; }

/* 404 */
.not-found { max-width: 640px; margin: 0 auto; padding: 120px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.not-found h1 { font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
.not-found p { font-weight: 500; font-size: 18px; line-height: 28px; color: var(--muted); }
.not-found a { color: var(--ink); text-decoration: underline; text-decoration-color: #cbd5e1; }

@media (max-width: 809.98px) {
  .site-footer { padding: 30px; }
  .home-header h1 { font-size: 34px; line-height: 40px; letter-spacing: -1.36px; }
  .bio { font-size: 16px; line-height: 26px; }
  .apps { margin-top: 40px; grid-template-columns: 1fr; gap: 16px; }
  .app-card h3 { font-size: 18px; line-height: 26px; letter-spacing: -0.36px; }
  .lists { margin-top: 50px; padding: 20px; flex-direction: column; align-items: stretch; gap: 24px; }

  .app-page { padding: 20px; }
  .hero { gap: 16px; }
  .hero-icon { width: 64px; height: 64px; border-radius: 14px; }
  .hero-text h1 { font-size: 30px; line-height: 36px; letter-spacing: -1.2px; }
  .intro { font-size: 16px; line-height: 26px; }
  .media { margin-top: 24px; }
  .media.media-image { margin-top: 32px; }
  .media-video { border-radius: 16px; }
  .media-video .play { width: 56px; height: 56px; }
  .content-card h2 { font-size: 24px; line-height: 28.8px; }
  .content-card p { font-size: 20px; line-height: 30px; }

  .doc { padding: 20px; }
  .doc h1 { font-size: 32px; line-height: 38.4px; letter-spacing: -1px; }
  .prose { font-size: 20px; line-height: 30px; }
  .prose > h2 { font-size: 24px; line-height: 28.8px; }
  .prose table { font-size: 16px; line-height: 24px; }
  .index h2 { font-size: 24px; line-height: 28.8px; }
}
