/* JWYN: the app's own world. Sheets of paper on a desk, ink and one green. */
.jwyn {
  --paper: #ffffff; --desk: #f2f2ee; --desk-deep: #e9e9e4; --ink: #1a1c1a; --ink-muted: #575c57;
  --hairline: #e4e4df; --rule: #cfd0c9; --brand: #1b6b3a; --brand-deep: #0f3d22; --brand-tint: #e3efe6;
  margin: 0; background: var(--desk); color: var(--ink);
  font: 400 18px/1.55 "Public Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums;
}
.jwyn ::selection { background: var(--brand); color: #fff; }
.jwyn :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.jwyn main a { color: var(--brand); text-underline-offset: 0.18em; }
.jwyn main .wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.jwyn main :is(h1, h2, h3) { text-wrap: balance; letter-spacing: -0.015em; }

/* Hero: the green of the app's own store art. */
.jw-hero { background: var(--brand-deep); color: #fff; padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.jw-hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.jw-hero .text { padding-bottom: clamp(48px, 7vw, 96px); }
.jw-hero .icon { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18); }
.jw-hero h1 { margin-top: 28px; font-size: clamp(56px, 7.6vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
.jw-hero h1 span { display: block; font-size: 0.34em; font-weight: 600; letter-spacing: -0.01em; margin-top: 12px; color: #c3d8cb; }
.jw-hero .lede { margin-top: 24px; max-width: 40ch; font-size: clamp(19px, 1.6vw, 22px); color: #e6efe9; }
.jw-get { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.jw-get .store { min-height: 52px; padding: 8px 18px; border: 1px solid rgb(255 255 255 / 0.32); border-radius: 8px; display: grid; align-content: center; }
.jw-get .store b { font-weight: 700; font-size: 17px; line-height: 1.2; }
.jw-get .store span { font-size: 14px; color: #c3d8cb; line-height: 1.3; }
.jw-hero .note { margin-top: 16px; font-size: 16px; color: #c3d8cb; max-width: 44ch; }
.jw-hero .shot { align-self: end; justify-self: center; width: min(100%, 380px); margin-bottom: -2px; }
.jw-hero .shot img { width: 100%; height: auto; display: block; }

/* A sheet: paper on the desk, ruled rows, headings on a green rule. */
.sheet-section { padding-block: clamp(48px, 7vw, 88px) 0; }
.sheet-section > .wrap > h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; max-width: 22ch; }
.sheet-section > .wrap > p { margin-top: 12px; color: var(--ink-muted); max-width: 60ch; font-size: 19px; }
.sheet { margin-top: 32px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet .group { padding: 28px 28px 12px; }
.sheet .group + .group { border-left: 1px solid var(--hairline); }
.sheet h3 { font-size: 19px; font-weight: 700; padding-bottom: 10px; border-bottom: 1.5px solid var(--brand); }
.sheet ul { margin: 0; padding: 0; list-style: none; }
.sheet li { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; }
.sheet li:last-child { border-bottom: 0; }

.jw-screens { padding-block: clamp(48px, 7vw, 88px); }
.jw-screens h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.jw-reel { margin-top: 28px; padding: 0 0 12px; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.jw-reel img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); }

/* Facts, read like the app's own forms: a label above each value. */
/* Pricing: the price sits under each sheet heading; one plain button below. */
.jw-price { margin: 16px 0 4px; font-size: 32px; font-weight: 800; line-height: 1.1; }
.jw-price span { font-size: 17px; font-weight: 500; color: var(--ink-muted); }
.jw-start-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.jw-start-row span { color: var(--ink-muted); font-size: 16px; }
.jw-start { display: inline-block; min-height: 48px; padding: 12px 22px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.jw-start:hover { filter: brightness(1.08); }
.jw-start:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.facts-sheet { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts-sheet div { padding: 20px 28px; border-bottom: 1px solid var(--hairline); }
.facts-sheet div:nth-child(odd) { border-right: 1px solid var(--hairline); }
.facts-sheet dt { font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.facts-sheet dd { margin: 4px 0 0; font-size: 18px; }
.jw-help { padding-bottom: clamp(56px, 8vw, 96px); }
.jw-help h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin-bottom: 24px; }

@media (max-width: 860px) {
  .jw-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .jw-hero .text { padding-bottom: 0; }
  .jw-hero .shot { width: min(78%, 340px); }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet .group + .group { border-left: 0; border-top: 1px solid var(--hairline); }
  .jw-reel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); overflow-x: auto; scroll-snap-type: x mandatory; }
  .jw-reel li { scroll-snap-align: start; }
  .facts-sheet { grid-template-columns: minmax(0, 1fr); }
  .facts-sheet div:nth-child(odd) { border-right: 0; }
}
