/* 揪城 JioTown — launch site. Same "sticker" look as the app: ink outlines,
   flat fills and a solid offset shadow. */
:root {
  --ink: #23303b;
  --ink-soft: #5e6b75;
  --bg: #eef3ee;
  --card: #ffffff;
  --cream: #fff4de;
  --orange: #ff8b3d;
  --teal: #23a094;
  --sun: #ffc83d;
  --sky: #9ed8f0;
  --grass: #8acb6b;
  --radius: 22px;
  --shadow: 0 6px 0 var(--ink);
  font-family: 'Noto Sans TC', -apple-system, 'PingFang TC', sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.num { font-family: 'Rubik', 'Noto Sans TC', sans-serif; font-weight: 800; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2.5px solid var(--ink); }
.nav a.pill { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); box-shadow: 0 3px 0 var(--ink); }

/* buttons and form */
.btn {
  font: inherit; font-weight: 900; font-size: 17px; color: #fff; background: var(--orange);
  border: 3px solid var(--ink); border-radius: 16px; padding: 14px 22px; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .06s, box-shadow .06s; white-space: nowrap;
}
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; }
.waitlist { display: flex; gap: 10px; max-width: 480px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border: 3px solid var(--ink);
  border-radius: 16px; background: var(--card); color: var(--ink); outline: none;
}
.waitlist input[type=email]:focus { box-shadow: 0 0 0 4px rgba(255, 139, 61, .35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 14px; color: var(--ink-soft); margin: 10px 2px 0; min-height: 1.6em; }
.form-note.ok { color: var(--teal); font-weight: 700; }
.form-note.err { color: #d9574a; font-weight: 700; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px 0 70px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 14px; padding: 4px 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--sun); }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.15; margin: 18px 0 16px; font-weight: 900; letter-spacing: 1px; }
h1 .hl { background: linear-gradient(transparent 62%, var(--sun) 62%); }
.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.phone {
  border: 4px solid var(--ink); border-radius: 44px; overflow: hidden; background: var(--ink);
  box-shadow: 0 10px 0 var(--ink); max-width: 330px; margin: 0 auto;
}
.hero-art { position: relative; }
.hero-art .phone { transform: rotate(3deg); }
.sticker {
  position: absolute; display: flex; pointer-events: none; align-items: center; gap: 6px; font-weight: 800; font-size: 15px;
  padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--card); box-shadow: 0 4px 0 var(--ink);
}
.sticker.s1 { left: -6px; top: 18%; background: var(--cream); transform: rotate(-6deg); }
.sticker.s2 { right: -4px; top: 52%; background: #dff3ee; transform: rotate(5deg); }
.sticker.s3 { left: 6%; bottom: 8%; background: #ffe9c2; transform: rotate(-3deg); }

/* drawn icons */
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.sticker .ic, .materials .ic, .tabs .ic { width: 22px; height: 22px; }
.card .icon svg { width: 36px; height: 36px; }
.form-note .ic { width: 20px; height: 20px; margin-right: 6px; vertical-align: -4px; }

/* zoomable phones */
button.phone { display: block; width: 100%; padding: 0; font: inherit; cursor: zoom-in; position: relative; }
button.phone::after {
  content: ''; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%2323303B' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15 L20 20 M10.5 8 V13 M8 10.5 H13'/%3E%3C/g%3E%3C/svg%3E") center / 22px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .15s, transform .15s;
}
button.phone:hover::after, button.phone:focus-visible::after { opacity: 1; transform: scale(1); }
button.phone:focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; }

/* gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tabs button {
  display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink);
  padding: 9px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); cursor: pointer; box-shadow: 0 3px 0 var(--ink);
}
.tabs button[aria-selected=true] { background: var(--sun); }
.thumbs { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; min-height: 420px; }
.thumb { all: unset; cursor: zoom-in; width: 180px; text-align: center; }
.thumb .phone { display: block; border-width: 3px; border-radius: 26px; box-shadow: 0 6px 0 var(--ink); transition: transform .12s; }
.thumb:hover .phone, .thumb:focus-visible .phone { transform: translateY(-4px); }
.thumb:focus-visible .phone { outline: 4px solid var(--orange); outline-offset: 4px; }
.thumb b { display: block; margin-top: 14px; font-weight: 900; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(26, 34, 41, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 18px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox .phone { width: min(360px, calc((100vh - 170px) * .46), calc(100vw - 40px)); max-width: none; background: var(--ink); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; max-width: 360px; }
.lightbox figcaption b { display: block; font-size: 20px; font-weight: 900; }
.lightbox figcaption span { display: block; color: #d7e0e6; }
.lightbox figcaption small { display: block; margin-top: 4px; color: #9fb0bb; font-size: 13px; }
.lb-nav, .lb-close {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; color: var(--ink);
  background: var(--card); border: 3px solid var(--ink); box-shadow: 0 4px 0 #0b1116; flex: none;
}
.lb-nav svg, .lb-close svg { width: 24px; height: 24px; }
.lb-close { position: fixed; top: 18px; right: 18px; }

/* sections */
section { padding: 70px 0; }
.band { background: var(--card); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; margin: 0 0 10px; text-align: center; }
.sub { text-align: center; color: var(--ink-soft); font-size: 18px; margin: 0 0 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.band .card { background: var(--bg); }
.card .icon { width: 58px; height: 58px; border: 2.5px solid var(--ink); border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.card p { margin: 0; color: var(--ink-soft); }
.materials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.materials span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.shot { margin: 0; }
.shot .phone { max-width: 300px; }
.shot figcaption { text-align: center; margin-top: 18px; }
.shot figcaption b { display: block; font-size: 19px; font-weight: 900; }
.shot figcaption span { color: var(--ink-soft); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cta { text-align: center; }
.cta .box { background: var(--orange); border: 3px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink); padding: 48px 24px; color: #fff; }
.cta h2 { color: #fff; }
.cta .sub { color: #fff4de; margin-bottom: 26px; }
.cta .waitlist { margin: 0 auto; }
.cta .btn { background: var(--ink); }
.cta .form-note { color: #fff4de; }
.cta .form-note.ok, .cta .form-note.err { color: #fff; }

footer { padding: 40px 0 60px; color: var(--ink-soft); font-size: 15px; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* text pages (privacy, terms, support) */
.doc { max-width: 720px; margin: 0 auto; padding: 10px 20px 60px; }
.doc h1 { font-size: 36px; margin: 20px 0 6px; }
.doc .updated { color: var(--ink-soft); margin: 0 0 24px; }
.doc h2 { text-align: left; font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 17px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; gap: 50px; }
  .steps, .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  section { padding: 54px 0; }
}
@media (max-width: 600px) {
  .lb-nav { position: fixed; bottom: 18px; }
  .lb-prev { left: 18px; }
  .lb-next { right: 18px; }
  .lightbox .phone { width: min(320px, calc((100vh - 230px) * .46), calc(100vw - 40px)); }
  .thumb { width: 140px; }
  .thumbs { gap: 16px; min-height: 340px; }
}
@media (max-width: 480px) {
  .waitlist { flex-direction: column; }
  .btn { width: 100%; }
  .sticker { font-size: 13px; padding: 6px 10px; }
}
