/* watashiapp.com: one stylesheet, no build. Planes light tokens from docs/DESIGN.md; light only (owner, 2026-10-20). */
:root {
  --bg: #FFFFFF;
  --text: #000000;
  --meta: #666666;
  --line: #C1C2C5;
  --card: #EEEFF2;
  --fill: #DFE0E3;
  --btn: #0064C9;
  --btn-hover: #0050A1;
  --btn-text: #FFFFFF;
  /* Place colours (DESIGN.md, Place colours): the glyphs only, never text or buttons */
  --station: #008000; --restaurant: #D9A300; --konbini: #E86A00; --taxi: #3A3A3C; --hotel: #27408B;
  --izakaya: #8B5A2B; --shops: #C2185B; --temple: #6A3D9A; --pharmacy: #008577; --help: #0064C9;
  --r-card: 14px;
  --r-tile: 16px;
  --r-btn: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--sans); overflow-x: hidden; }
:lang(ja) { font-family: var(--ja); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--btn); text-decoration: none; }
.meta a, dd a, .faq a, p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--btn-hover); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
/* Headlines as on the store art (owner, 2026-10-20): bold, the key word in blue, the hero's tilted */
h1, h2 { font-weight: 700; letter-spacing: -0.035em; }
h1 em, h2 em { font-style: normal; color: var(--btn); }
.tilt { transform: rotate(-3deg); }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
strong { font-weight: 500; }
.meta { color: var(--meta); }
.small { font-size: 0.9rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; font-size: 1.1rem; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 18px; margin-left: auto; font-size: 0.95rem; }
.top nav a { color: var(--meta); }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); text-decoration: none; }
@media (max-width: 519px) { .top nav { order: 3; flex-basis: 100%; margin-left: 0; } .top .soon { margin-left: auto; } }

/* "Coming soon": not a link until the App Store URL exists (README) */
.soon { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--card); color: var(--text); font-weight: 500; font-size: 1rem; white-space: nowrap; }
.top .soon { min-height: 36px; padding: 6px 14px; font-size: 0.85rem; }

/* Sections */
section { position: relative; overflow: clip; padding: 56px 0; }
section > .wrap { position: relative; z-index: 1; }
@media (min-width: 720px) { section { padding: 88px 0; } }
section + section { border-top: 1px solid var(--line); }
.intro { max-width: 46ch; }
.intro h2 { margin-bottom: 10px; }
.intro .sub { font-size: 1.2rem; margin-bottom: 18px; }
.intro p + p { margin-top: 12px; }
.intro p { color: var(--meta); }
.intro ul { margin: 18px 0 0; padding-left: 1.1em; color: var(--meta); }
.intro li { margin-bottom: 6px; }
.intro li::marker { color: var(--line); }

.hero { padding-top: 32px; text-align: center; }
.hero h1 { margin: 0 auto 22px; font-size: clamp(2.3rem, 9.6vw, 4.8rem); line-height: 1.05; }
.hero .lead { max-width: 40ch; margin: 0 auto 28px; font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--meta); }
.hero .phone { max-width: 300px; margin: 48px auto 0; }
.hero .note { margin-top: 14px; }
.trust { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 500; font-size: 0.95rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }

/* Place glyphs: Phosphor (MIT, assets/icons/LICENSE) drawn as a mask in one colour; no discs, no pills */
.g { display: block; width: var(--s); height: var(--s); background: var(--c); pointer-events: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.g-train { --i: url("/assets/icons/train.svg"); --c: var(--station); }
.g-fork { --i: url("/assets/icons/fork-knife.svg"); --c: var(--restaurant); }
.g-bag { --i: url("/assets/icons/handbag.svg"); --c: var(--konbini); }
.g-taxi { --i: url("/assets/icons/taxi.svg"); --c: var(--taxi); }
.g-bed { --i: url("/assets/icons/bed.svg"); --c: var(--hotel); }
.g-beer { --i: url("/assets/icons/beer-stein.svg"); --c: var(--izakaya); }
.g-tag { --i: url("/assets/icons/tag.svg"); --c: var(--shops); }
.g-bank { --i: url("/assets/icons/bank.svg"); --c: var(--temple); }
.g-aid { --i: url("/assets/icons/first-aid-kit.svg"); --c: var(--pharmacy); }
.g-buoy { --i: url("/assets/icons/lifebuoy.svg"); --c: var(--help); }
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 40px auto 0; --s: clamp(22px, 5.5vw, 44px); }
.places .g:nth-child(odd) { transform: rotate(-12deg); }
.places .g:nth-child(even) { transform: rotate(13deg); }
/* Large glyphs at a section's edge, turned and bleeding off it, behind the content */
.g.big { position: absolute; z-index: 0; --s: clamp(72px, 10vw, 140px); --off: calc(var(--s) * -0.38); }
.at-l { left: var(--off); top: 12%; transform: rotate(-13deg); }
.at-l2 { left: var(--off); bottom: 10%; transform: rotate(14deg); }
.at-r { right: var(--off); top: 10%; transform: rotate(12deg); }
.at-r2 { right: var(--off); bottom: 12%; transform: rotate(-12deg); }
.at-r3 { right: var(--off); bottom: 6%; transform: rotate(-14deg); }

/* A flat iPhone frame in ink: no shadows (DESIGN.md) */
.phone { padding: 8px; border-radius: 16% / 7.4%; background: var(--text); }
.phone img { width: 100%; border-radius: 13% / 6%; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split .phone { max-width: 300px; margin: 0 auto; }
.pair, .trio { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; margin: 0 auto; }
.trio { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-top: 40px; }
@media (max-width: 559px) { .trio { grid-template-columns: 1fr 1fr; } .trio > :last-child { display: none; } }
figure { margin: 0; }
figcaption { font-size: 0.85rem; color: var(--meta); text-align: center; margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border-radius: var(--r-tile); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--btn); color: var(--btn-text); font-weight: 500; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--meta); }

/* Pricing: the only place prices appear (CONTEXT.md, Pricing rules) */
.passes { list-style: none; padding: 0; margin: 36px 0 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .passes { grid-template-columns: repeat(3, 1fr); } }
.passes li { background: var(--card); border-radius: var(--r-card); padding: 24px; }
.passes h3 { font-size: 1rem; color: var(--meta); }
.passes .amount { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.free { max-width: 62ch; }
.free h2 { margin-bottom: 14px; }
.free p + p { margin-top: 12px; }
.price .soon { margin-top: 28px; }

.req { padding: 32px 0; }
.req p { max-width: 70ch; }

.faq dl { max-width: 760px; margin: 28px 0 0; }
.faq dt { font-weight: 500; padding-top: 18px; border-top: 1px solid var(--line); }
.faq dd { margin: 6px 0 18px; color: var(--meta); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 0.9rem; color: var(--meta); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
footer a { color: var(--meta); }
footer a:hover { color: var(--text); }

/* Text pages */
.prose { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.prose .dateline { color: var(--meta); margin-bottom: 32px; }
.prose h2 { font-size: 1.4rem; margin: 44px 0 10px; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 6px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 12px; }
.prose li::marker { color: var(--meta); }
.prose dt { font-weight: 500; margin-top: 20px; }
.prose dd { margin: 4px 0 0; color: var(--meta); }
.prose .toc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.95rem; }
.facts { background: var(--card); border-radius: var(--r-card); padding: 20px 24px; margin: 0 0 12px; }
.facts p + p { margin-top: 8px; }
.table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-card); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--card); font-weight: 500; color: var(--meta); white-space: nowrap; }
tbody th { font-weight: 500; }
/* Phones: drop the Chip column and let the table scroll inside its box */
@media (max-width: 559px) { table { font-size: 0.82rem; } th, td { padding: 8px; } tr > :nth-child(2) { display: none; } }

/* Reveal on scroll in CSS alone; nothing hides without scroll-driven animation support or with Reduce Motion */
@media (prefers-reduced-motion: no-preference) {
  /* ponytail: no scroll reveal; the page is complete at rest (crawlers, screenshots, Reduce Motion). */
}
/* Stacked layout: every large glyph moves down beside the screens, clear of the text */
@media (max-width: 819px) {
  .at-l, .at-r { top: auto; bottom: 34%; }
  .at-l2, .at-r2, .at-r3 { bottom: 6%; }
}
