:root {
  color-scheme: light;
  --cream: #fff8ef;
  --cream-strong: #f7ecdd;
  --surface: #ffffff;
  --surface-soft: #fffaf4;
  --ink: #2c2521;
  --muted: #746861;
  --red: #c84b3c;
  --red-dark: #9d3429;
  --orange: #f4a62a;
  --border: #eadfd3;
  --success: #287a50;
  --warning: #936400;
  --danger: #a8342d;
  --shadow: 0 18px 54px rgba(95, 51, 35, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 239, 0.88);
  border-bottom: 1px solid rgba(234, 223, 211, 0.8);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--red);
  box-shadow: 0 8px 24px rgba(146, 54, 42, 0.13);
  font-size: 17px;
  letter-spacing: -1px;
}
.brand-mark::after { content: "."; color: var(--orange); }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 650; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--red-dark); box-shadow: 0 12px 24px rgba(157, 52, 41, .18); }
.button:focus-visible { outline: 3px solid rgba(244, 166, 42, .5); outline-offset: 3px; }
.button[aria-disabled="true"], .button:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.button-secondary:hover { background: var(--surface-soft); }

.status-banner {
  margin: 34px auto;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
}
.status-banner[data-state="error"] { border-color: #edc1bc; color: var(--danger); background: #fff5f4; }
.status-banner[data-state="warning"] { border-color: #ead296; color: var(--warning); background: #fff9e8; }

.hero { padding: 84px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 70px; align-items: center; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 74px); line-height: 1.03; letter-spacing: -.048em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 16px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-visual {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 38px;
  background: radial-gradient(circle at top right, rgba(244,166,42,.34), transparent 36%), linear-gradient(145deg, #d95d4d, #a9332a);
  box-shadow: var(--shadow);
  padding: 40px;
}
.hero-visual::before {
  content: "Mou.";
  color: rgba(255,255,255,.15);
  font-size: 112px;
  font-weight: 900;
  letter-spacing: -.08em;
  position: absolute;
  bottom: 12px;
  right: 30px;
}
.hero-visual img { max-height: 410px; width: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(42, 10, 7, .32); position: relative; z-index: 1; }
.hero-placeholder { position: relative; z-index: 1; width: min(320px, 100%); padding: 28px; border-radius: 30px; background: rgba(255,255,255,.92); }
.hero-placeholder strong { display: block; font-size: 34px; color: var(--red); }
.hero-placeholder span { color: var(--muted); }

.section { padding: 78px 0; }
.section-alt { background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }
.highlight-grid, .feature-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.highlight-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.highlight-card, .feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(71, 42, 28, .05);
}
.highlight-card { font-weight: 730; min-height: 104px; display: flex; align-items: center; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screenshot-grid img { width: 100%; border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }

.pricing-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  background: linear-gradient(150deg, #fff, #fff8f1);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.price { font-size: clamp(46px, 7vw, 72px); line-height: 1; letter-spacing: -.05em; color: var(--red); font-weight: 850; margin: 12px 0 18px; }
.pricing-card p { color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; }

.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq-item summary { cursor: pointer; font-weight: 750; padding: 18px 0; }
.faq-item p { color: var(--muted); padding-bottom: 18px; margin-bottom: 0; }

.support-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; background: var(--ink); color: white; border-radius: 30px; padding: clamp(28px, 5vw, 52px); }
.support-card p { color: #d8cec9; margin-bottom: 0; }
.support-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.support-actions .button-secondary { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.18); }

.page-main { min-height: calc(100vh - 150px); padding: 62px 0 86px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 36px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.summary-card { position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--muted); }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; }
.field input { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; background: var(--surface-soft); color: var(--ink); }
.field input:focus { outline: 3px solid rgba(244, 166, 42, .24); border-color: var(--orange); }
.field-error { min-height: 20px; color: var(--danger); font-size: 13px; margin: 5px 0 0; }
.form-help { color: var(--muted); font-size: 14px; }

.status-card { max-width: 760px; margin: 0 auto; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-strong); color: var(--red); font-size: 28px; font-weight: 850; margin-bottom: 22px; }
.status-card[data-payment="paid"] .status-icon { background: #e7f5ed; color: var(--success); }
.status-details { margin: 26px 0; }
.status-details .summary-row { align-items: flex-start; }
.status-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid, .page-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .highlight-grid, .feature-grid, .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card { position: static; }
  .support-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 22px), var(--max)); }
  .nav { min-height: 66px; }
  .brand-name { display: none; }
  h1 { font-size: 42px; }
  .section { padding: 56px 0; }
  .hero-grid { gap: 38px; }
  .hero-visual { min-height: 330px; padding: 24px; border-radius: 28px; }
  .highlight-grid, .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-actions, .support-actions, .status-actions { display: grid; width: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .summary-row { flex-direction: column; gap: 4px; }
}
