/* Clean Photo public site. Plain HTML and CSS, no cookies, no trackers, no third party requests. */
:root {
  --brand: #4b34c9;
  --brand-strong: #3a27a3;
  --brand-soft: #eeeaff;
  --on-brand: #ffffff;
  --ink: #1f1a4a;
  --muted: #55506f;
  --faint: rgba(31, 26, 74, .28);
  --bg: #f8f7ff;
  --card: #ffffff;
  --line: #e4e0f5;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #a996ff;
    --brand-strong: #c0b2ff;
    --brand-soft: #272727;
    --on-brand: #181818;
    --ink: #f1eefc;
    --muted: #bbb6d0;
    --faint: rgba(241, 238, 252, .3);
    --bg: #181818;
    --card: #1f1f1f;
    --line: #313131;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  overflow-wrap: break-word;
}
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.skip:focus { top: 8px; }

/* Header: a compact bar floating off the top edge */
.top { position: sticky; top: 12px; z-index: 5; padding: 0 12px; margin-top: 12px; }
.top .bar { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 8px 16px; background: color-mix(in srgb, var(--card) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 8px; }
.nav { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 20px; padding: 8px 0; transition: color .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a.lang { border: 1px solid var(--line); border-radius: 9999px; padding: 4px 12px; }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 48px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero > div { min-width: 0; }
.hero h1 { font-size: 48px; line-height: 1; margin: 0 0 24px; max-width: 680px; }
.hero h1 .line { display: block; padding-bottom: 4px; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); margin: 0 0 32px; max-width: 680px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.btn.primary { background: var(--brand); color: var(--on-brand); }
a.btn:hover { transform: translateY(-2px); }
a.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.note-line { font-size: 14px; line-height: 20px; color: var(--muted); margin: 16px 0 0; }

/* Phone screenshots: 32px outer radius, 8px frame, 24px inner radius */
.shot { margin: 0 auto; padding: 8px; background: #0d1320; border-radius: 32px; width: 100%; max-width: 272px; }
.shot img { width: 100%; height: auto; border-radius: 24px; }

/* Sections */
section { padding: 64px 0; }
.band { background: var(--card); }
h2 { font-size: 30px; line-height: 36px; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }
.steps, .grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; padding: 0; list-style: none; }
.grid { gap: 16px; margin-top: 0; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.steps h3, .card h3 { font-size: 18px; line-height: 28px; margin: 12px 0 4px; }
.steps p, .card p { margin: 0; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { margin-top: 0; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 32px; }
.gallery figure { margin: 0; width: 256px; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; line-height: 20px; margin-top: 12px; text-wrap: balance; }

/* Tagline */
.tagline { max-width: 680px; margin: 0 auto; padding: 96px 24px; text-align: center; font-size: 36px; line-height: 40px; font-weight: 700; }
.tagline .line { display: block; text-wrap: balance; padding-bottom: 8px; }
.word { color: var(--faint); transition: color .6s var(--ease); }
.word.on { color: var(--ink); }

/* Facts and mascot */
.facts { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; padding: 0; list-style: none; }
.facts b { display: block; margin-bottom: 4px; }
.facts span { color: var(--muted); }
.limits { background: var(--brand-soft); border-radius: 16px; padding: 24px; margin-top: 32px; }
.closing { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.closing img { width: 200px; height: auto; }

/* Questions and long text pages */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 24px; margin: 12px 0; }
.band details { background: var(--bg); }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 12px 0 0; }
.doc-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.doc-page h1 { font-size: 36px; line-height: 40px; margin: 0 0 8px; }
.doc-page h2 { font-size: 20px; line-height: 28px; margin: 32px 0 8px; }
.doc-page li { margin: 8px 0; }
.meta { color: var(--muted); margin: 0 0 32px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; line-height: 20px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); }

/* Scroll reveals: only when the script is running */
.js .rise { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .steps, .grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .tagline { font-size: 30px; line-height: 36px; padding: 64px 16px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .top { position: static; }
  .top .bar { flex-wrap: wrap; row-gap: 0; padding: 8px 12px; }
  .nav { margin-left: 0; width: 100%; justify-content: space-between; gap: 8px; }
  .closing { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { transform: none; transition: opacity .3s linear; }
  .btn, .word { transition: none; }
  a.btn:hover, a.btn:active { transform: none; }
}

/* PDFinOne theme and illustration */
:root { --brand: #c0261b; --brand-strong: #9b1c13; --brand-soft: #ffeceb; }
@media (prefers-color-scheme: dark) { :root { --brand: #ff8a80; --brand-strong: #ff8a80; --brand-soft: #262626; --on-brand: #181818; } }
.eyebrow { margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.art { margin: 0 auto; width: 100%; max-width: 300px; }
.art svg { width: 100%; height: auto; display: block; }
.actions .btn[aria-disabled="true"] { font-size: 15px; }
.closing img { width: 120px; height: 120px; border-radius: 28px; }
.note-line a { color: var(--muted); }
