/* Forest Sage palette, same tokens as the app (src/app/globals.css). */
:root {
  --surface-primary: #f5f3ee;
  --surface-secondary: #c8dbbc;
  --surface-inverse: #1b3a28;
  --fg-primary: #1b3a28;
  --fg-secondary: #4a6b52;
  --fg-muted: #7a9a80;
  --fg-inverse: #ffffff;
  --accent: #2d5e3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-primary);
  color: var(--fg-secondary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.brand {
  color: var(--fg-primary);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.lang {
  font-size: 14px;
  color: var(--fg-muted);
}
.lang a { color: var(--accent); }

h1, h2, h3 { color: var(--fg-primary); line-height: 1.3; }
h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; }

a { color: var(--accent); }

.lead { font-size: 18px; margin: 0 0 24px; }
.meta { color: var(--fg-muted); font-size: 14px; margin: 0 0 24px; }

.cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 24px 0;
}

.card {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 20px;
}
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 15px; }

.pill {
  display: inline-block;
  background: var(--accent);
  color: var(--fg-inverse);
  border-radius: 9999px;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
}

ul { padding-left: 20px; }
li { margin: 4px 0; }

footer.site {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-secondary);
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site a { color: var(--fg-secondary); }

/* ---- Landing page (index.html, ja/index.html) ---- */

.lp { background: var(--surface-primary); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.hero {
  color: var(--fg-inverse);
  background: radial-gradient(120% 80% at 50% 0%, var(--accent) 0%, var(--surface-inverse) 72%);
}
.lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-inverse);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.lp-brand img { width: 36px; height: 36px; border-radius: 9px; }
.hero .lang { color: var(--surface-secondary); }
.hero .lang a { color: var(--fg-inverse); }

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 32px 0 0;
}
.hero h1 {
  color: var(--fg-inverse);
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero .lead { color: var(--surface-secondary); font-size: 18px; max-width: 32em; }
.hero-copy { padding-bottom: 8px; }
/* The phone hangs below the green band into the next section. */
.hero-shot { position: relative; z-index: 1; display: flex; justify-content: center; margin-bottom: -120px; }

.store-badge { display: inline-block; margin-top: 8px; }
.store-badge img { display: block; height: 54px; width: auto; }
.badge-note { display: block; margin-top: 10px; font-size: 13px; color: var(--surface-secondary); }

.phone {
  position: relative;
  width: min(290px, 78vw);
  padding: 9px;
  background: #0e1f15;
  border-radius: 46px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), inset 0 0 0 1.5px #3a5a45;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }
.phone::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 26%;
  height: 22px;
  margin-left: -13%;
  background: #000;
  border-radius: 20px;
}

.features { padding: 160px 0 24px; }
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}
.feature .phone { margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.feature h2 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 12px; letter-spacing: -0.01em; }
.feature p { margin: 0 0 12px; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: var(--surface-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5E3A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.privacy { padding: 40px 0 64px; }
.privacy h2 { text-align: center; font-size: clamp(24px, 4.5vw, 32px); margin: 0 0 24px; }
.privacy .cards { margin: 0; }

.closing {
  text-align: center;
  color: var(--fg-inverse);
  background: var(--surface-inverse);
  padding: 56px 16px;
}
.closing h2 { color: var(--fg-inverse); font-size: clamp(26px, 5vw, 36px); margin: 12px 0 8px; }
.closing p { color: var(--surface-secondary); margin: 0 0 16px; }
.closing .lp-icon { width: 72px; height: 72px; border-radius: 17px; }
.closing .badge-note { color: var(--fg-muted); }

.lp-footer { padding: 24px 16px 40px; }
.lp-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--fg-muted); }
.lp-footer a { color: var(--fg-secondary); }

@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-top: 48px; }
  .hero-shot { margin-bottom: -160px; }
  .features { padding-top: 240px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; }
  .feature.flip .feature-copy { order: 2; }
}
.lp-footer .legal { margin-top: 12px; font-size: 12px; color: var(--fg-muted); }
