@font-face {
  font-family: 'Serif SC';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/NotoSerifSC-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sans SC';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/NotoSansSC-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Sans SC';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/NotoSansSC-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Sans SC';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/NotoSansSC-700.woff2') format('woff2');
}

:root {
  --ink: #211c14;
  --ink-soft: #52493c;
  --paper: #faf6ee;
  --paper-raised: #ffffff;
  --line: #e4dbc9;
  --accent: #1f7a4d;
  --accent-soft: #e6f0e8;
  --accent-ink: #ffffff;
  --amber: #c96a1f;
  --amber-soft: #fbe9d6;
  --radius: 14px;
  --serif: 'Serif SC', 'Songti SC', serif;
  --sans: 'Sans SC', -apple-system, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.prose {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

a { color: inherit; }

.mono { font-family: var(--mono); font-size: 0.94em; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mascot .px { fill: var(--ink); }

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-small {
  padding: 9px 20px;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
}
.btn-small:hover { transform: translateY(-1px); }

.btn-primary {
  padding: 15px 30px;
  font-size: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(31, 122, 77, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(31, 122, 77, 0.6); }

.btn-large { padding: 18px 40px; font-size: 17px; }

.btn-outline {
  padding: 13px 28px;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { transform: translateY(-1px); border-color: var(--ink); }

/* ---------- hero ---------- */

.hero-band {
  background:
    radial-gradient(circle at 1px 1px, rgba(33, 28, 20, 0.07) 1.4px, transparent 0) 0 0/22px 22px,
    linear-gradient(180deg, #fff9ee 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 92px 24px 88px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin: 0 0 22px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin: 0 0 26px;
}

.hero-sub {
  max-width: 480px;
  margin: 0 0 40px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, var(--accent-soft), var(--amber-soft));
  filter: blur(2px);
}

.mascot-big {
  position: relative;
  width: 220px;
  height: 210px;
  filter: drop-shadow(0 18px 30px rgba(33, 28, 20, 0.18));
}

.mascot-big .px { fill: var(--ink); }

.mascot-light {
  position: absolute;
  top: 32%;
  right: 30%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 5px rgba(31, 122, 77, 0.55);
}

/* ---------- screenshot ---------- */

.shot-band {
  background: var(--ink);
  padding: 72px 24px;
  text-align: center;
}

.shot-frame {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.55);
}

.shot-bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.shot-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-caption {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(250, 246, 238, 0.55);
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

/* ---------- features ---------- */

.features {
  padding: 88px 24px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  margin: 0 0 52px;
}

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

.feature {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 16px 30px -22px rgba(33, 28, 20, 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -20px rgba(33, 28, 20, 0.28);
}

.feature .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.feature:nth-child(3n+2) .num { background: var(--amber-soft); color: var(--amber); }

.feature h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- honest ---------- */

.honest-band {
  background: var(--amber-soft);
}

.honest {
  padding: 64px 24px;
}

.honest h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 20px;
}

.honest ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.honest li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}

.honest li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ---------- contact ---------- */

.contact-band {
  border-bottom: 1px solid var(--line);
}

.contact {
  padding: 56px 24px;
  text-align: center;
}

.contact h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 12px;
}

.contact p {
  color: var(--ink-soft);
  margin: 0 0 24px;
}

/* ---------- download ---------- */

.download-band {
  background: var(--ink);
  color: var(--paper);
}

.download {
  padding: 100px 24px;
  text-align: center;
}

.mascot-mini {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--paper);
  background: rgba(250, 246, 238, 0.1);
  border: 1px solid rgba(250, 246, 238, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.download h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 12px;
  color: var(--paper);
}

.download-sub {
  color: rgba(250, 246, 238, 0.6);
  margin: 0 0 32px;
}

.version {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(250, 246, 238, 0.45);
  font-family: var(--mono);
}

/* ---------- footer ---------- */

footer {
  padding: 32px 24px 56px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 56px 20px 48px; }
  .hero-copy { order: 2; }
  .hero-figure { order: 1; height: 220px; margin-bottom: 8px; }
  .mascot-big { width: 140px; height: 134px; }
  .blob { width: 200px; height: 200px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero-cta { align-items: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-title { font-size: 24px; margin-bottom: 36px; }
  .download h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
