/* saidkept.com — colours from marketing/film/src/config.ts. No external resources. */
@font-face {
  font-family: "KeptSerif";
  src: url("/fonts/SourceSerif4-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #F7F6F2;
  --card: #FFFFFF;
  --stone: #EDEAE3;
  --ink: #111214;
  --secondary: #6C6C70;
  --rule: #C9C6BD;
  --accent: #B5762A;
  --serif: "KeptSerif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --serif-zh: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111214;
    --card: #1B1C1F;
    --stone: #18191C;
    --ink: #F4F2EC;
    --secondary: #A1A1AA;
    --rule: #46464A;
    --accent: #E8B04A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
:lang(zh) body, body:lang(zh) { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--secondary); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { font-family: var(--serif-zh); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(36px, 7vw, 60px); }
h2 { font-size: clamp(26px, 4.2vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2.3vw, 21px); color: var(--secondary); max-width: 34em; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 { max-width: 13em; margin-bottom: 20px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
/* Placeholder until the app is live: replace with Apple's official badge from
   https://developer.apple.com/app-store/marketing/guidelines/ (do not redraw or restyle it). */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px; border-radius: 10px;
  border: 1.5px dashed var(--rule); color: var(--secondary); font-size: 15px;
}
.privacy-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--secondary); margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }

/* Features */
.features { padding: 24px 0 40px; }
.feature {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--rule);
}
.feature:nth-child(even) { grid-template-columns: 300px 1fr; }
.feature:nth-child(even) .shot { order: -1; }
.feature h2 { margin-bottom: 14px; }
.feature p { color: var(--secondary); max-width: 30em; }
.shot img { border-radius: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 40px rgba(0,0,0,.10); background: var(--card); }

/* Privacy band */
.band { background: var(--stone); padding: 64px 0; }
.band h2 { margin-bottom: 28px; }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--secondary); }

.note { padding: 48px 0 8px; color: var(--secondary); font-size: 15px; }

/* Documents (privacy, support) */
.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 10px; }
.doc .meta { color: var(--secondary); font-size: 15px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: .6em; }
.summary { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 22px; margin-bottom: 8px; }
.summary p:last-child { margin-bottom: 0; }
.contact { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; margin: 8px 0 24px; }
.contact .email { font-size: 20px; font-family: var(--serif); }
details { border-top: 1px solid var(--rule); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
details p, details ul { margin-top: 10px; color: var(--secondary); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); margin-top: 56px; padding: 28px 0 40px; font-size: 14px; color: var(--secondary); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 26px; }
  .hero { padding: 44px 0 36px; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature:nth-child(even) .shot { order: 0; }
  .shot { max-width: 260px; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; }
  .band { padding: 48px 0; }
}
.after { margin-top: 32px; }
