:root {
  --cream: #F7F3EB;
  --canvas: #FBF8F3;
  --canvas-2: #F5F0E7;
  --surface: #FFFFFF;
  --surface-soft: #FCFAF7;
  --primary: #FFC33D;
  --primary-strong: #F2B51E;
  --primary-ink: #704700;
  --ink: #1B1B2F;
  --ink-muted: #5B5968;
  --ink-soft: #7A7785;
  --line: #E2DBCF;
  --line-strong: #CDBFAE;
  --selected: #ECE9E3;
  --success: #279A3C;
  --success-soft: #E3F4E7;
  --danger: #C42B39;
  --danger-soft: #F8E5E8;
  --warning: #EB7D5A;
  --warning-soft: #FBE9E2;
  --info: #5576E5;
  --info-soft: #E9EEFF;

  --xs: 6px;
  --sm: 10px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --xxl: 48px;

  --display: 36px;
  --heading: 24px;
  --body: 16px;
  --support: 15px;
  --tiny: 13px;

  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --action-h: 54px;
  --page-width: 1180px;
  --reading-width: 820px;
  --gutter: 20px;

  --shadow-soft: 0 8px 22px rgba(27, 27, 47, .05);
  --shadow-card: 0 10px 28px rgba(27, 27, 47, .06);

  --font-bronto: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 195, 61, .18), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 195, 61, .12), transparent 18%),
    linear-gradient(180deg, var(--canvas) 0%, var(--cream) 100%);
  color: var(--ink);
  font-family: var(--font-bronto);
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-width));
  margin-inline: auto;
}
.page.reading {
  width: min(calc(100% - (var(--gutter) * 2)), var(--reading-width));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 8px;
  background: linear-gradient(180deg, rgba(251,248,243,.92), rgba(251,248,243,.68), rgba(251,248,243,0));
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.56);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: contain;
  background: linear-gradient(180deg, #FFD55E 0%, #FFC33D 100%);
  box-shadow: 0 12px 22px rgba(255,195,61,.28);
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--support);
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255,255,255,.78);
}

.page { padding: 24px 0 64px; }
main > .section:first-child { margin-top: 0; }
.section {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.frame-section {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.62));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 0;
  overflow: hidden;
}
.hero-copy,
.hero-visual {
  padding: 28px;
}
.hero-copy {
  border-right: 1px solid var(--line);
}
.kicker,
.badge,
.status-pill,
.soft-badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: var(--support);
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.status-pill.success { color: var(--success); background: var(--success-soft); border-color: transparent; }
.status-pill.warning { color: var(--warning); background: var(--warning-soft); border-color: transparent; }
.status-pill.info { color: var(--info); background: var(--info-soft); border-color: transparent; }

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 {
  margin-top: 14px;
  font-size: var(--display);
  line-height: 1.07;
  letter-spacing: -.9px;
  font-weight: 700;
}
h2 {
  font-size: var(--heading);
  line-height: 1.18;
  letter-spacing: -.35px;
  font-weight: 700;
}
h3 {
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
}
p { margin: 0; }
.lead {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: var(--body);
  line-height: 1.55;
}
.muted { color: var(--ink-muted); }
.tiny { color: var(--ink-soft); font-size: var(--tiny); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm);
  margin-top: 22px;
}
.button {
  min-width: 48px;
  min-height: var(--action-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--body);
  font-weight: 600;
  line-height: 1.2;
}
.button.primary {
  background: linear-gradient(180deg, #FFD660 0%, #FFC33D 100%);
  color: var(--ink);
  box-shadow: 0 14px 24px rgba(255,195,61,.22);
}
.button.primary:hover { background: linear-gradient(180deg, #FFCF50 0%, #F7B92D 100%); }
.button.secondary {
  background: var(--surface);
  border-color: var(--line);
}
.button.secondary:hover { background: var(--surface-soft); }
.button:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.footer-links a:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}
.hero-point {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}
.hero-point strong { display: block; font-size: var(--support); line-height: 1.3; }
.hero-point p { margin-top: 4px; color: var(--ink-muted); font-size: var(--tiny); line-height: 1.4; }

.hero-visual {
  background:
    linear-gradient(180deg, rgba(255,195,61,.08), rgba(255,195,61,0)),
    var(--surface-soft);
}
.browser {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #FF5F57; }
.browser-dot.yellow { background: #FEBC2E; }
.browser-dot.green { background: #28C840; }
.app-shell {
  display: grid;
  grid-template-columns: 154px minmax(0,1fr);
  min-height: 430px;
}
.app-sidebar {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #FAF5EC 0%, #FFFFFF 100%);
  padding: 16px 12px;
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.app-brand img { width: 26px; height: 26px; border-radius: 10px; }
.app-nav { display: grid; gap: 6px; margin-top: 16px; }
.app-item {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 10px;
  color: var(--ink-muted);
  font-size: var(--tiny);
  font-weight: 600;
}
.app-item.active {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,214,95,.95), rgba(255,195,61,.85));
}
.app-store {
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.app-store strong { display: block; font-size: 13px; }
.app-store span { color: var(--success); font-size: 12px; }
.app-main { padding: 18px; }
.app-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.app-head p { margin-top: 4px; color: var(--ink-muted); font-size: var(--tiny); }
.date-box {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  background: #fff;
}
.metric-grid,
.preview-grid,
.compact-grid,
.use-grid,
.plan-grid,
.footer-grid,
.mini-proof {
  display: grid;
  gap: 14px;
}
.metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 16px; }
.metric-card,
.preview-card,
.use-card,
.plan-card,
.mini-proof > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.metric-card { padding: 14px; }
.metric-card small,
.preview-card small { display: block; color: var(--ink-soft); font-size: 12px; }
.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.4px;
}
.metric-card span { display: block; margin-top: 5px; font-size: 12px; color: var(--success); }
.preview-grid { grid-template-columns: 1.18fr .82fr; margin-top: 14px; }
.preview-card { padding: 14px; }
.preview-card h3 { font-size: var(--support); }
.preview-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.preview-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.preview-list span { color: var(--ink-muted); }
.preview-badge-list { display: grid; gap: 10px; margin-top: 10px; }
.badge-row {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  width: max-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-row.success { color: var(--success); background: var(--success-soft); }
.badge-row.warning { color: var(--warning); background: var(--warning-soft); }
.badge-row.info { color: var(--info); background: var(--info-soft); }
.badge-row.danger { color: var(--danger); background: var(--danger-soft); }

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  max-width: 720px;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  overflow: hidden;
}
.proof-cell {
  padding: 18px;
}
.proof-cell + .proof-cell { border-left: 1px solid var(--line); }
.proof-cell strong { display: block; font-size: var(--support); line-height: 1.3; }
.proof-cell p { margin-top: 6px; font-size: var(--tiny); color: var(--ink-muted); line-height: 1.45; }

.split-showcase {
  overflow: hidden;
}
.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
}
.split-row + .split-row { border-top: 1px solid var(--line); }
.split-row.reverse { grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); }
.split-media,
.split-copy { padding: 24px; }
.split-media { border-right: 1px solid var(--line); background: rgba(255,255,255,.64); }
.split-row.reverse .split-media { border-right: 0; border-left: 1px solid var(--line); order: 2; }
.split-row.reverse .split-copy { order: 1; }
.showcase-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.panel-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.panel-grid,
.barcode-sheet,
.history-layout {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.panel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.panel-box {
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #FCFBF8 100%);
}
.panel-box strong { display: block; font-size: 13px; }
.panel-box p { margin-top: 6px; color: var(--ink-muted); font-size: 12px; line-height: 1.4; }
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.feature-bullets li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}
.feature-bullets .dot {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--selected);
  font-size: 13px;
  font-weight: 700;
}
.feature-bullets strong { display: block; font-size: var(--support); }
.feature-bullets span:last-child { color: var(--ink-muted); font-size: var(--tiny); line-height: 1.45; }

.mini-proof { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mini-proof > div { padding: 18px; }
.mini-proof strong { display: block; font-size: var(--support); }
.mini-proof p { margin-top: 6px; color: var(--ink-muted); font-size: var(--tiny); line-height: 1.45; }

.use-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.use-card { padding: 18px; }
.use-card h3 { font-size: var(--body); }
.use-card p { margin-top: 8px; color: var(--ink-muted); font-size: var(--support); }

.plan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.plan-card { padding: 22px; }
.plan-card.highlight {
  background: linear-gradient(180deg, rgba(255,214,95,.18), rgba(255,195,61,.12));
  border-color: #F0D189;
}
.plan-card .price {
  margin-top: 16px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.9px;
  font-weight: 700;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
}
.feature-list .dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--selected);
  font-size: var(--support);
  font-weight: 700;
}
.plan-card.highlight .feature-list .dot { background: rgba(255,255,255,.82); }

.faq-wrap {
  overflow: hidden;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq:first-child { border-top: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:last-child { color: var(--ink-soft); font-size: 18px; }
.faq p { padding: 0 20px 18px; color: var(--ink-muted); }

.cta-frame {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
}
.cta-frame p { margin-top: 8px; color: var(--ink-muted); }

.page-title {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.64));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.page-title .lead { max-width: 680px; }
.prose {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.prose section,
.support-card,
.notice,
.support-grid article {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.prose section,
.support-card,
.support-grid article { padding: 20px; }
.prose p, .prose li { color: var(--ink-muted); }
.prose p { margin-top: 8px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: var(--xs); }
.notice {
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--ink-muted);
  font-size: var(--support);
}
.support-card {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.support-grid article p { margin-top: 8px; color: var(--ink-muted); }

.not-found {
  min-height: 78vh;
  display: grid;
  place-items: center;
}
.not-found .page-title { text-align: center; width: min(100%, 560px); }
.not-found .actions { justify-content: center; }

.site-footer { border-top: 1px solid rgba(205,191,174,.65); }
.footer-inner {
  min-height: 104px;
  padding: 24px 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-muted);
  font-size: var(--support);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-brand { color: var(--ink); font-weight: 700; }

@media (max-width: 1020px) {
  .hero-frame,
  .proof-strip,
  .metric-grid,
  .preview-grid,
  .mini-proof,
  .use-grid,
  .plan-grid,
  .support-grid,
  .cta-frame,
  .split-row,
  .split-row.reverse,
  .hero-points {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .split-media { border-right: 0; }
  .hero-copy,
  .split-copy,
  .split-media { border-bottom: 1px solid var(--line); }
  .hero-frame > *:last-child,
  .split-row > *:last-child { border-bottom: 0; }
  .proof-cell + .proof-cell { border-left: 0; border-top: 1px solid var(--line); }
  .split-row.reverse .split-media { order: 1; border-left: 0; }
  .split-row.reverse .split-copy { order: 2; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .header-inner { min-height: 64px; }
  .nav a.hide-mobile { display: none; }
  .page { padding-bottom: 44px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .hero-copy,
  .hero-visual,
  .split-media,
  .split-copy,
  .page-title,
  .cta-frame { padding: 20px; }
  .support-card,
  .footer-inner { flex-direction: column; align-items: start; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .brand img { width: 38px; height: 38px; }
  .nav a { padding-inline: 11px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
