:root {
  --bg: #f6f1e6;
  --panel: #fffdf8;
  --soft: #f0e5d0;
  --ink: #141414;
  --muted: #6f675d;
  --line: #dfceb0;
  --gold: #d6b04d;
  --gold-dark: #8a6420;
  --green: #285b47;
  --shadow: 0 18px 48px rgba(54, 39, 17, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #e9dfcd;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

a, button { -webkit-tap-highlight-color: transparent; }

.phone-shell {
  width: min(100vw, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 18px 26px;
  background:
    linear-gradient(180deg, rgba(214, 176, 77, .42), rgba(246, 241, 230, .94) 260px),
    var(--bg);
}

.hero {
  position: relative;
  min-height: 246px;
  padding: 16px 16px 0;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.topbar img { width: 74px; height: auto; }

.topbar span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 800;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 62%;
  padding-top: 34px;
}

.kicker, .label {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 850;
}

h1, h2 { margin: 0; letter-spacing: 0; }

h1 {
  font-size: 42px;
  line-height: 1;
}

h2 {
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-sticker {
  position: absolute;
  right: -28px;
  bottom: 0;
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(54, 39, 17, .16));
}

.priority-panel, .section, .sticker-band {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, .86);
  box-shadow: var(--shadow);
}

.priority-panel {
  padding: 18px;
}

.primary-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.entry {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

.entry-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf8;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--gold-dark);
}

.entry-dark .icon {
  background: var(--gold);
  color: var(--ink);
}

.icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

strong { display: block; font-size: 15px; line-height: 1.18; }

small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.entry-dark small { color: rgba(255, 253, 248, .74); }

.sticker-band {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7edd6;
}

.sticker-band img, .section-head img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.sticker-band span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section {
  margin-top: 14px;
  padding: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-head.compact { margin-bottom: 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

footer {
  padding: 18px 10px 2px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

@media (min-width: 700px) {
  .phone-shell {
    margin-top: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
  }
}
