/* Cove 官網 — 白底、大留白、大圓角、粉彩光暈(Luma / Airbnb 的乾淨感),
   但顏色與怪獸都是 app 自己的:潟湖藍、草地綠、沙色、動作綠。 */
:root {
  --bg: #ffffff; --ink: #17201b; --ink-2: #3d4741; --muted: #6a736c; --hair: #e9ece9;
  --lagoon: #bfe6f7; --meadow: #ddf2d6; --sand: #fff0cf; --blush: #fde0e6;
  --green: #4e8c58; --green-ink: #2f5c38; --night: #1f2a44;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --display: "Plus Jakarta Sans", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --body: "Noto Sans TC", "PingFang TC", -apple-system, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(23,32,27,.04), 0 12px 40px -12px rgba(23,32,27,.16);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
       font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ── nav ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px);
       background: rgba(255,255,255,.78); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800;
         font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
        font-weight: 600; font-size: 14.5px; padding: 10px 18px; border-radius: 999px;
        transition: transform .15s ease, background .15s ease; }
.pill:hover { background: #000; transform: translateY(-1px); }
.pill.soft { background: var(--meadow); color: var(--green-ink); }
.pill.soft:hover { background: #cfeac6; }
.pill.lg { padding: 14px 24px; font-size: 16px; }
.nav .menu-only { display: none; }

/* ── hero ────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.glow .a { width: 520px; height: 520px; background: var(--lagoon); right: -120px; top: -140px; }
.glow .b { width: 420px; height: 420px; background: var(--sand); right: 360px; top: 260px; }
.glow .c { width: 360px; height: 360px; background: var(--meadow); right: 40px; top: 300px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr;
              gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2);
           background: #fff; border: 1px solid var(--hair); padding: 6px 12px 6px 8px; border-radius: 999px; }
.eyebrow b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1.title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 60px);
           line-height: 1.12; letter-spacing: -.02em; margin: 22px 0 18px; }
h1.title .soft { color: var(--green-ink); }
h1.title .keep { white-space: nowrap; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 480px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta small { display: block; width: 100%; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ── island card(signature)──────────────────── */
.island { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
          padding: 18px; }
.island .sky { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3;
               background: linear-gradient(180deg, #cfeafb 0%, #e7f6ff 55%, #f4f9ee 100%); transition: background 1s ease; }
.island.night .sky { background: linear-gradient(180deg, #1f2a44 0%, #34456b 60%, #5a6b8f 100%); }
.island .sky .sun { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: #ffe7a3;
                    right: 30px; top: 26px; box-shadow: 0 0 40px 12px rgba(255,231,163,.6); }
.island.night .sky .sun { background: #f3f0e2; box-shadow: 0 0 34px 8px rgba(243,240,226,.35);
                          clip-path: circle(50% at 50% 50%); }
.island .sky .cloud { position: absolute; background: rgba(255,255,255,.9); border-radius: 999px; height: 18px; }
.island .sky .cloud::before { content: ""; position: absolute; left: 14px; top: -10px; width: 26px; height: 26px;
                              background: inherit; border-radius: 50%; }
.island.night .sky .cloud { background: rgba(255,255,255,.18); }
.island .sky .c1 { width: 70px; left: 10%; top: 22%; animation: drift 22s linear infinite; }
.island .sky .c2 { width: 54px; left: 55%; top: 12%; animation: drift 30s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }
.island .sea { position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
               background: linear-gradient(180deg, #8fd0ea, #6fb9de); }
.island.night .sea { background: linear-gradient(180deg, #2d4a6f, #223a5a); }
.island .land { position: absolute; left: 8%; right: 8%; bottom: 14%; height: 40%; border-radius: 48% 48% 40% 40% / 60% 60% 30% 30%;
                background: #f0dfae; box-shadow: inset 0 -14px 0 #dcc78e; }
.island .land::before { content: ""; position: absolute; left: 10%; right: 10%; top: 6%; height: 52%;
                        border-radius: 50%; background: #a9d68f; box-shadow: inset 0 -8px 0 #8fc47a; }
.island.night .land { background: #b6a77c; box-shadow: inset 0 -14px 0 #9a8b63; }
.island.night .land::before { background: #6f9a63; box-shadow: inset 0 -8px 0 #5b8352; }
.mon { position: absolute; width: 17%; bottom: 33%; display: flex; flex-direction: column; align-items: center; gap: 4px;
       transform-origin: bottom center; }
.mon svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 6px rgba(0,0,0,.12)); }
.mon.awake svg { animation: bob 3.2s ease-in-out infinite; }
.mon .tag { white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink);
            background: rgba(255,255,255,.92); border-radius: 999px; padding: 3px 9px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.mon .tag span { color: var(--muted); font-weight: 500; margin-left: 4px; font-variant-numeric: tabular-nums; }
.mon .tag em { font-style: normal; }
.mon .zz { position: absolute; top: -14px; right: 8%; font-size: 14px; font-weight: 800; color: #fff;
           text-shadow: 0 1px 2px rgba(0,0,0,.25); animation: zz 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes zz { 0% { opacity: 0; transform: translateY(4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.island .foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px 2px; font-size: 13px; color: var(--muted); }
.island .foot b { color: var(--ink); font-weight: 600; }
.island .poke { display: inline-flex; align-items: center; gap: 6px; background: var(--blush); color: #9b3b50;
                font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: default; }
.heart { position: absolute; font-size: 18px; animation: heart 1.2s ease-out forwards; pointer-events: none; }
@keyframes heart { from { opacity: 1; transform: translateY(0) scale(.8); } to { opacity: 0; transform: translateY(-40px) scale(1.2); } }

/* ── sections ────────────────────────────────────── */
section { padding: 64px 0; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
          color: var(--green-ink); margin: 0 0 10px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em;
     line-height: 1.2; margin: 0 0 14px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border-radius: var(--r-lg); padding: 28px 26px 26px; min-height: 250px; display: flex; flex-direction: column; }
.card.lagoon { background: var(--lagoon); } .card.meadow { background: var(--meadow); } .card.sand { background: var(--sand); }
.card .art { font-size: 34px; line-height: 1; margin-bottom: auto; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 22px 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .shot { border-radius: var(--r-lg); background: linear-gradient(160deg, var(--sand), var(--blush)); aspect-ratio: 4/3;
               display: grid; place-items: center; box-shadow: var(--shadow); }
.paper { background: #fffdf7; border-radius: 16px; width: 72%; padding: 18px 20px; box-shadow: 0 10px 30px -10px rgba(23,32,27,.25);
         transform: rotate(-1.5deg); font-size: 15px; }
.paper .q { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.paper .a { font-weight: 600; }
.paper .a + .a { margin-top: 4px; }
.paper .from { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.nots { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 24px; margin-top: 8px; }
.nots div { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--ink-2); }
.nots div::before { content: "—"; color: var(--green); font-weight: 800; }
.privacy-strip { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px 44px;
                 display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.privacy-strip h2 { color: #fff; margin-bottom: 8px; }
.privacy-strip p { color: rgba(255,255,255,.75); margin: 0; font-size: 15.5px; }
.privacy-strip ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.privacy-strip li::before { content: "✓ "; color: #9ad39a; font-weight: 800; }
.privacy-strip a.more { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.download { text-align: center; padding: 30px 0 80px; }
.download .box { background: linear-gradient(180deg, #f7fbf5, #fff); border: 1px solid var(--hair); border-radius: var(--r-lg);
                 padding: 54px 28px; }
.download img { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); }
.download h2 { margin-top: 18px; }
.download p { color: var(--ink-2); margin: 0 auto 26px; max-width: 460px; }

footer { border-top: 1px solid var(--hair); padding: 34px 0 48px; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav a { margin-right: 18px; color: var(--ink-2); }

/* ── 文件頁 ──────────────────────────────────────── */
.doc { padding: 56px 0 90px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.doc .tldr { background: var(--meadow); border-radius: var(--r-md); padding: 18px 22px; margin: 0 0 34px; }
.doc .tldr strong { display: block; margin-bottom: 4px; color: var(--green-ink); }
.doc .tldr ul { margin: 0; padding-left: 20px; }
.doc h2 { font-size: 22px; margin: 44px 0 10px; }
.doc h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 15.5px; color: var(--ink-2); }
.doc li { margin-bottom: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 6px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.doc th { font-weight: 700; color: var(--ink); background: #fafbfa; }
.doc code { background: #f3f5f3; padding: 1px 6px; border-radius: 6px; font-size: 13.5px; }
.doc a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.toc a { font-size: 13.5px; background: #f3f5f3; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none !important; }
.toc a:hover { background: var(--hair); }
details { border: 1px solid var(--hair); border-radius: var(--r-md); padding: 14px 20px; margin: 10px 0; background: #fff; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 4px; }

@media (max-width: 560px) {
  h1.title { font-size: 34px; }
  .mon .tag { font-size: 11px; padding: 2px 7px; }
  .mon .tag em { display: none; }
  .island .sky .sun { width: 40px; height: 40px; top: 16px; right: 18px; }
  h1.title .keep { white-space: normal; }
  body { overflow-x: hidden; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .privacy-strip { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .nav nav a:not(.pill) { display: none; }
  .privacy-strip { padding: 30px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .mon.awake svg, .island .sky .cloud, .mon .zz, .heart { animation: none !important; }
  html { scroll-behavior: auto; }
}
