/* mochimd.app — shared styles. Light = ichigo theme, dark = yozakura,
   the same follow-system pair the app uses. */

:root {
  --bg: #FFF5F4;
  --bg-2: #FBE7E6;
  --card: #FFFFFF;
  --text: #2B1D22;
  --text-2: #6E5A61;
  --tint: #F7CAC9;
  --accent: #BB2649;
  --accent-ink: #FFFFFF;
  --border: rgba(43, 29, 34, .10);
  --shadow: 0 18px 50px rgba(120, 30, 55, .14);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1626;
    --bg-2: #241C31;
    --card: #2A2138;
    --text: #F1EAF4;
    --text-2: #B5A9BE;
    --tint: #5F4B8B;
    --accent: #F2A7D8;
    --accent-ink: #1C1626;
    --border: rgba(241, 234, 244, .12);
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: .18em; }

h1, h2, h3 {
  font-family: var(--round);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--round);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--accent-ink); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--round);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(187, 38, 73, .25); }
.btn-small { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* hero */
.hero { text-align: center; padding: 56px 0 24px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero .sub {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--text-2);
  font-size: clamp(17px, 2.2vw, 20px);
}
.price-line { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.hero-shot { margin: 48px auto 0; width: 100%; max-width: 980px; filter: drop-shadow(var(--shadow)); }

/* sections */
section { padding: 72px 0 0; }
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: lowercase;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; }
.lede { color: var(--text-2); max-width: 640px; font-size: 18px; }

/* feature rows with screenshots */
.row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
}
.row.flip { grid-template-columns: 1.35fr 1fr; }
.row.flip .row-text { order: 2; }
.row h3 { font-size: 26px; }
.row p { color: var(--text-2); margin: 0 0 12px; }
.row img { filter: drop-shadow(var(--shadow)); }

/* grid of small features */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding-top: 32px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.tile h3 { font-size: 17px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px;
}

.themes-shot { margin-top: 32px; border-radius: 14px; box-shadow: var(--shadow); }

/* mochi + privacy band */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.band .tile { padding: 30px; }
.band h3 { font-size: 22px; }
.mascot { width: 88px; height: 88px; margin-bottom: 14px; }

/* price */
.price { text-align: center; padding-bottom: 8px; }
.price .big { font-family: var(--round); font-size: clamp(48px, 8vw, 72px); font-weight: 800; line-height: 1; margin: 6px 0 10px; }
.price .fine { color: var(--text-2); font-size: 15px; margin: 0 0 26px; }

/* faq */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-family: var(--round); font-weight: 600; font-size: 17px; }
details p { color: var(--text-2); margin: 10px 0 0; font-size: 16px; }

/* text pages (privacy, support) */
.doc { padding: 40px 0 0; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.updated { font-size: 14px; color: var(--text-2); }
.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--text); }
kbd {
  font-family: var(--sans);
  font-size: .85em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  background: var(--card);
  color: var(--text);
}

/* footer */
footer {
  margin-top: 88px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--text-2); }

@media (max-width: 760px) {
  .nav-links .hide-sm { display: none; }
  .row, .row.flip, .band { grid-template-columns: 1fr; gap: 24px; }
  .row.flip .row-text { order: 0; }
  section { padding-top: 56px; }
}

@media (max-width: 480px) {
  .nav-links a:not(.btn) { display: none; }
}

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