@font-face { font-family: "C059"; src: url("assets/C059-Roman.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "C059"; src: url("assets/C059-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "C059"; src: url("assets/C059-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  --navy: #1B2B4D;
  --navy-light: #2D4270;
  --amber: #C9953A;
  --amber-light: #E8B95E;
  --cream: #F8F4EC;
  --ivory: #FFFEF8;
  --charcoal: #1C1917;
  --muted: #6E6558;
  --line: #E4DCCD;
  --serif: "C059", "Century Schoolbook", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font-family: var(--sans); line-height: 1.6; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }

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

/* Header: the app's navy band (lighter blue at the edges) */
.site-header, .hero {
  background: linear-gradient(90deg, #5B8FBF 0%, #22355C 25%, #22355C 75%, #5B8FBF 100%);
  color: #fff;
}
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 22px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: rgba(255,255,255,.8); }
.nav a:hover { color: #fff; }

/* Hero: the pine sign on navy, then the bookshelf */
.hero { text-align: center; padding: 28px 0 40px; }
.hero-sign { width: min(366px, 78vw); height: auto; margin: 0 auto 26px; border-radius: 8px; box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3vw, 26px); color: #F3D9AE; margin: 0 0 14px; }
.hero p.lede { max-width: 560px; margin: 0 auto 28px; font-size: 18px; color: rgba(255,255,255,.85); }
.cta { display: inline-flex; align-items: center; gap: 10px; background: #F3D9AE; color: var(--navy); text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.cta:hover { background: #fff; }
.cta-note { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
.shelf { background: linear-gradient(#fff, #fff); border-bottom: 1px solid var(--line); }
.shelf::before { content: ""; display: block; height: 22px; background: linear-gradient(180deg, rgba(34,53,92,.18), rgba(255,255,255,0)); }
.shelf img { width: 100%; max-width: 980px; margin: 0 auto; }

/* Features */
.section { padding: 64px 0; }
.section.alt { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-family: var(--serif); color: var(--navy); font-size: clamp(28px, 4vw, 36px); text-align: center; margin: 0 0 10px; }
.section .sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.card .emoji { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.card h3 { font-family: var(--serif); color: var(--navy); font-size: 20px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps li { text-align: center; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #F3D9AE; font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.steps h3 { font-family: var(--serif); color: var(--navy); font-size: 21px; margin: 0 0 6px; }
.steps p { margin: 0 auto; color: var(--muted); max-width: 300px; }

/* Screenshots in phone frames */
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; gap: 26px; }
.phone { margin: 0; text-align: center; }
.screen { position: relative; aspect-ratio: 9 / 19.5; border: 8px solid #141a26; border-radius: 34px; overflow: hidden; background: linear-gradient(160deg, #22355C, #5B8FBF); box-shadow: 0 14px 30px rgba(27,43,77,.22); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.screen .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); font-family: var(--serif); font-size: 18px; }
.phone figcaption { margin-top: 12px; font-family: var(--serif); color: var(--navy); font-size: 16px; }

/* Free vs Plus */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 22px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.plan h3 { font-family: var(--serif); color: var(--navy); font-size: 24px; margin: 0 0 4px; }
.plan .price { font-family: var(--serif); font-size: 36px; color: var(--navy); margin: 0; font-weight: 700; }
.plan .price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan .price-alt { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--amber); font-weight: 700; }
.plan-plus { border: 2px solid var(--navy); box-shadow: 0 14px 30px rgba(27,43,77,.15); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--navy); color: #F3D9AE; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin: 22px 0 0; }

/* Indie band */
.indie { background: linear-gradient(90deg, #5B8FBF 0%, #22355C 25%, #22355C 75%, #5B8FBF 100%); color: #fff; text-align: center; }
.indie h2 { color: #fff; }
.indie .sub { color: rgba(255,255,255,.75); }
.indie .partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.indie .partners span { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 18px; font-size: 15px; color: rgba(255,255,255,.85); }
.indie .partners strong { color: #fff; }

/* Footer */
.site-footer { padding: 36px 0 48px; text-align: center; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }
.site-footer a { color: var(--muted); }

/* Legal / text pages */
.page { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }
.page h1 { font-family: var(--serif); color: var(--navy); font-size: clamp(32px, 5vw, 42px); margin: 8px 0 4px; text-align: center; }
.page .updated { text-align: center; color: var(--muted); margin: 0 0 32px; font-size: 14px; }
.page h2 { font-family: var(--serif); color: var(--navy); font-size: 22px; margin: 36px 0 8px; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }

@media (max-width: 860px) {
  .phones { grid-template-columns: repeat(2, minmax(0, 200px)); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .hero { padding: 20px 0 32px; }
  .phones { gap: 16px; }
  .screen { border-width: 6px; border-radius: 26px; }
}
