/* Today I Want to Kiss: public site, October 2026. Pixel world for explanation, plain words, one idea per screen. */
/* The app's own fonts (assets/fonts, both SIL Open Font License): Sligoil MicroBold for headlines, Silkscreen for pixel labels.
   Text and titles use the app's system fonts: Avenir Next for reading, Arial Rounded MT Bold for titles and buttons. */
@font-face { font-family: "Sligoil"; src: url("/assets/fonts/Sligoil-MicroBold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/Silkscreen-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #17140f;
  --paper: #fff8eb;
  --white: #fffdf7;
  --night: #1b1535;
  --purple: #5d2a86;
  --pink: #c73578;
  --red: #ff392e;
  --yellow: #ffe46b;
  --mint: #a8e6cf;
  --blue: #b9d7ff;
  --lilac: #d8c4f3;
  --sand: #f3e4c3;
  --muted: #6f685e;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --headline: "Sligoil", "Courier New", ui-monospace, monospace;
  --round: "Arial Rounded MT Bold", ui-rounded, "Nunito", system-ui, -apple-system, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: var(--headline);
  --pixel: "Silkscreen", ui-monospace, monospace;
  font-family: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgb(255 255 255 / .7) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 38%, rgb(23 20 15 / .035) 0 1px, transparent 2px),
    var(--paper);
  background-size: 23px 23px, 31px 31px, auto;
  line-height: 1.55;
}
img, video { max-width: 100%; display: block; }
a { color: var(--purple); text-underline-offset: 4px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible { outline: 4px solid var(--purple); outline-offset: 5px; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 8px 12px; color: var(--white); background: var(--ink); border-radius: 999px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 10px; }
.logo { width: 108px; height: 82px; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-weight: 900; }
nav a { color: var(--ink); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--purple); text-decoration: underline; }

/* type */
.eyebrow { margin: 0 0 12px; font-family: var(--pixel); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
h1, h2, h3 { line-height: 1; letter-spacing: -.04em; }
h1, h2 { font-family: var(--headline); font-weight: 700; letter-spacing: -.01em; }
h3, nav, .button, .tagline, .tile span, .problems span { font-family: var(--round); }
p, li { font-family: var(--body); font-weight: 500; }
h1 { margin: 0; font-size: clamp(3.4rem, 9vw, 6.8rem); }
h2 { margin: 0 0 16px; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h1 em, h2 em { color: var(--red); font-style: normal; }
.tagline { margin-top: 16px; color: var(--pink); font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 950; }
.lede { max-width: 600px; margin-top: 14px; color: var(--muted); font-size: clamp(1.08rem, 1.9vw, 1.3rem); }
.note { color: var(--muted); font-size: .95rem; }

/* buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 950; text-decoration: none; box-shadow: 5px 5px 0 var(--ink); }
.button:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button--red { background: var(--red); color: var(--white); }
.button--red:hover { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding: 36px 0 70px; }
.phone { width: min(330px, 100%); margin: 0 auto; padding: 12px; border: var(--line); border-radius: 44px; background: var(--ink); box-shadow: var(--shadow); }
.phone video { width: 100%; aspect-ratio: 978 / 1508; border-radius: 32px; background: #000; }
.phone-caption { margin-top: 12px; text-align: center; font-family: var(--pixel); font-size: .7rem; color: var(--muted); }

/* sections */
section { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border: var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 848 / 1264; object-fit: cover; border-bottom: var(--line); }
.card--wide img { aspect-ratio: 4 / 3; object-position: center 20%; }
.card-body { padding: 20px 22px 24px; }
.card-body p { margin-top: 8px; color: var(--muted); }
.card-body .button { margin-top: 16px; }
.card--yellow .card-body { background: var(--yellow); }
.card--mint .card-body { background: var(--mint); }
.card--lilac .card-body { background: var(--lilac); }
.card--blue .card-body { background: var(--blue); }
.card--yellow .card-body p, .card--mint .card-body p, .card--lilac .card-body p, .card--blue .card-body p { color: var(--ink); }

/* steps on the brain page */
.steps { display: grid; gap: 36px; counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: clamp(22px, 4vw, 48px); align-items: center; padding: 28px; border: var(--line); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.step:nth-child(even) { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-number { font-family: var(--pixel); font-size: .8rem; color: var(--purple); }
.step h3 { margin-top: 6px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 1.08rem; }
.step p strong { color: var(--ink); }
.step img { width: 100%; border: var(--line); border-radius: 18px; }
.step-art--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* library cards */
.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.story-card { border: var(--line); border-radius: 18px; background: var(--sand); box-shadow: var(--shadow); padding: 22px; }
.story-card .source { font-family: var(--pixel); font-size: .66rem; color: var(--purple); line-height: 1.6; }
.story-card h3 { margin-top: 10px; font-size: 1.3rem; }
.story-card p { margin-top: 10px; font-size: .98rem; }
.story-card .twist { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--ink); font-size: .95rem; }
.story-card .twist b { color: var(--pink); }
.problems { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.problems span { padding: 3px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .78rem; font-weight: 900; }
.band .story-card h3, .band .story-card p { color: var(--ink); }
.band .story-card .source { color: var(--purple); }

/* dark band */
.band { padding: 60px 0; color: var(--white); background: var(--night); }
.band .eyebrow { color: var(--yellow); }
.band h2 { color: var(--white); }
.band p { color: #d9d3ea; }
.band .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.band img { border: 3px solid var(--white); border-radius: 18px; }

/* plain list */
.plain { display: grid; gap: 14px; max-width: 760px; padding: 0; margin: 0; list-style: none; }
.plain li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 1.06rem; }
.plain li::before { content: "✦"; color: var(--red); font-weight: 900; }

/* footer */
footer { padding: 36px 0 60px; border-top: var(--line); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { gap: 14px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-text { order: 0; }
  .step img { max-width: 360px; margin: 0 auto; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* library counter */
.counter { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 8px; }
.tile { padding: 22px 20px; border: var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.tile b { display: block; font-family: var(--pixel); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; color: var(--purple); }
.tile--red b { color: var(--red); }
.tile span { display: block; margin-top: 10px; font-weight: 900; }
.tile small { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.card-body .story-card { box-shadow: 4px 4px 0 var(--ink); }
.card-body .story-card h3 { font-size: 1.2rem; }

/* an old sentence next to its plain reading */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { padding: 22px 24px; border: var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.quote .source { margin-bottom: 12px; font-family: var(--pixel); font-size: .66rem; line-height: 1.6; color: var(--purple); }
.quote--old { background: var(--sand); font-family: var(--body); font-style: italic; font-size: 1.22rem; line-height: 1.45; }
.quote--new { background: var(--yellow); font-size: 1.1rem; font-weight: 900; }

/* the Burn page */
.step-art--three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.step h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.plain--light li { color: #d9d3ea; }
.band .plain li::before { color: var(--yellow); }
@media (max-width: 820px) { .step-art--three { max-width: 420px; margin: 0 auto; } }

/* legal pages: the whole policy, readable */
.legal { display: grid; gap: 18px; max-width: 800px; }
.legal-section { padding: 20px 22px; border: var(--line); border-radius: 16px; background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.legal-section h3 { margin: 0 0 8px; font-size: 1.2rem; }
.legal-section p { color: var(--ink); font-size: 1rem; line-height: 1.6; }
.legal-section:target { background: var(--yellow); }

/* real answers on the home page */
.films { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.film { border: var(--line); border-radius: 22px; background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-body { padding: 16px 20px 20px; background: var(--white); border-top: var(--line); }
.film-q { font-family: var(--round); font-size: 1.25rem; line-height: 1.3; }
.film-body .note { margin-top: 8px; }

/* three short films: vertical reels, a swipeable row on phones */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; }
.reel { margin: 0; scroll-snap-align: start; border: var(--line); border-radius: 26px; background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.reel video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--night); object-fit: cover; }
.reel figcaption { padding: 14px 16px 16px; background: var(--white); border-top: var(--line); font-family: var(--body); font-size: .98rem; line-height: 1.35; }
.reel figcaption b { display: block; margin-bottom: 4px; font-family: var(--headline); font-size: 1.25rem; font-weight: 700; color: var(--purple); }
@media (max-width: 720px) { .reels { grid-auto-columns: 78%; } }

/* The app, screen by screen (15 October 2026) */
.guide-title { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
.screen-shot { margin: 0 auto; width: min(320px, 100%); }
.screen-shot img, .screen-shot video { width: 100%; padding: 10px; border: var(--line); border-radius: 40px; background: var(--ink); box-shadow: var(--shadow); }
.screen-shot img { border-radius: 40px; }
.screen-shot figcaption { margin-top: 12px; text-align: center; font-family: var(--pixel); font-size: .7rem; color: var(--muted); }
.screen-shot--wide { width: min(420px, 100%); }
.screen-shot--wide video { aspect-ratio: 978 / 1508; border-radius: 30px; padding: 8px; }
.step--text { grid-template-columns: 1fr !important; }
.step--text .step-text { order: 0 !important; max-width: 780px; }
.step img[src*="/screens/"] { max-width: 260px; margin: 0 auto; border-radius: 28px; padding: 6px; background: var(--ink); }
.tab-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.tab-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 18px; border: var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.tab-card:hover { transform: translate(2px, 2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.tab-card img { width: 100%; aspect-ratio: 600 / 900; object-fit: cover; object-position: top; border: var(--line); border-radius: 18px; margin-bottom: 8px; }
.tab-card .eyebrow { margin: 0; }
.tab-card b { font-family: var(--round); font-size: 1.35rem; line-height: 1.1; }
.tab-card span:not(.eyebrow) { color: var(--muted); font-size: .98rem; }
.tab-card .tab-card-more { margin-top: auto; padding-top: 8px; color: var(--purple) !important; font-weight: 900; }
.next-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.next-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: var(--line); border-radius: 20px; background: var(--yellow); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.next-card:nth-child(2) { background: var(--mint); }
.next-card:nth-child(3) { background: var(--lilac); }
.next-card:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 6px 6px 0 var(--ink); }
.next-card .eyebrow { margin: 0; color: var(--ink); }
.next-card b { font-family: var(--round); font-size: 1.4rem; line-height: 1.1; }
.example-row, .poster-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; }
.poster-row { grid-auto-columns: minmax(250px, 1fr); }
.example, .poster { margin: 0; scroll-snap-align: start; border: var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.example img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: var(--line); background: var(--sand); }
.poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-bottom: var(--line); }
.example figcaption, .poster figcaption { padding: 12px 14px 14px; font-family: var(--round); font-size: 1rem; line-height: 1.3; }
.poster figcaption { font-family: var(--pixel); font-size: .72rem; color: var(--purple); }
.band b { color: var(--white); }
.essays { display: grid; gap: 22px; max-width: 820px; }
.essay { padding: 24px 26px; border: var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.essay h3 { color: var(--purple); }
.essay p { margin-top: 10px; font-size: 1.08rem; color: var(--ink); }
@media (max-width: 720px) { .example-row { grid-auto-columns: 70%; } .poster-row { grid-auto-columns: 78%; } }
.split { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
/* compact navigation on phones: one swipeable line instead of three */
@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; gap: 6px; }
  .site-header nav[aria-label="Main"] { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 18px; padding: 6px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-header nav[aria-label="Main"]::-webkit-scrollbar { display: none; }
  .site-header nav[aria-label="Main"] a { white-space: nowrap; }
  .logo { width: 84px; height: 64px; }
}
