:root {
  --paper: #ffffff;
  --paper-alt: #f4f6f9;
  --ink: #1c2430;
  --ink-soft: #4d5866;
  --ink-faint: #7b8592;
  --line: #e2e6ec;
  --brand: #4a6fa5;
  --brand-dark: #35507a;
  --brand-soft: #eaf0f8;
  --shadow: 0 1px 2px rgba(28, 36, 48, 0.04), 0 8px 24px rgba(28, 36, 48, 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14171c;
    --paper-alt: #1b1f26;
    --ink: #eceef1;
    --ink-soft: #b4bac3;
    --ink-faint: #7d8590;
    --line: #2b3038;
    --brand: #7fa0d6;
    --brand-dark: #a9c2e6;
    --brand-soft: #1e2a3c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  padding: 22px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-mark span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

/* X follow button (header) — high-contrast in both themes */
.x-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.x-follow .x-ic { width: 15px; height: 15px; flex: none; }
.x-follow:hover { opacity: 0.85; }

/* X follow link (hero) */
.hero-x {
  margin: 16px 0 0;
  font-size: 13.5px;
}
.hero-x a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}
.hero-x a:hover { color: var(--brand); }
.hero-x .x-ic { width: 14px; height: 14px; flex: none; }

/* ---- Hero ---- */
.hero {
  padding: 48px 0 64px;
  text-align: center;
}

.hero img.hero-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.hero .lede {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 34px;
}

/* ---- Signup form ---- */
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}

.signup-form input[type="email"]:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.signup-status {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 1.4em;
}

.signup-status.ok {
  color: #2e7d4f;
}

@media (prefers-color-scheme: dark) {
  .signup-status.ok {
    color: #7fd6a0;
  }
}

.signup-status.error {
  color: #b3463a;
}

@media (prefers-color-scheme: dark) {
  .signup-status.error {
    color: #e79b8c;
  }
}

.signup-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---- Story section ---- */
.story {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.story h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  max-width: 26ch;
  margin: 0 auto 26px;
  text-wrap: balance;
}

.story p {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 18px;
}

.story p:last-child {
  margin-bottom: 0;
}

/* ---- Features ---- */
.features {
  padding: 56px 0;
  background: var(--paper-alt);
}

.features .section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 30px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 680px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-card .fname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- CTA (bottom) ---- */
.cta-bottom {
  padding: 64px 0;
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  margin: 0 0 12px;
}

.cta-bottom .lede {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 30px;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
}

.site-footer .footer-disclosure {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: var(--ink-faint);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer nav a:hover {
  color: var(--brand);
}

.site-footer .x-ic {
  width: 13px;
  height: 13px;
  flex: none;
}

/* ============================================================
   LP redesign (2026-08-08): hero mockup, icons, hierarchy
   ============================================================ */

/* Slightly larger brand lockup in the header (#10) */
.brand-mark img { width: 36px; height: 36px; }
.brand-mark span { font-size: 20px; }

/* ---- Hero: two-column on wide screens ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tagline {
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.reassure li { display: flex; align-items: center; gap: 6px; }
.reassure li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.reassure.center { justify-content: center; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
  .hero-copy { text-align: left; }
  .hero-copy .lede { margin-left: 0; margin-right: 0; }
  .hero-copy .signup-form { justify-content: flex-start; margin-left: 0; }
  .hero-copy .reassure { justify-content: flex-start; }
  .hero-copy .signup-status { text-align: left; }
}

/* ---- Phone mockup ---- */
.hero-visual { display: flex; justify-content: center; }

.phone {
  width: 300px;
  max-width: 82vw;
  border-radius: 42px;
  background: #0f1419;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(20, 26, 34, 0.28),
    0 8px 22px rgba(20, 26, 34, 0.18);
}

.phone-screen {
  background: #f4f6f8;
  border-radius: 32px;
  overflow: hidden;
  line-height: 0;
}

/* Real app screenshot (list screen) used as the mockup. */
.app-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Feature icons + hierarchy ---- */
.ficon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ficon .ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-lead {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.feature-lead .ficon { width: 54px; height: 54px; margin-bottom: 0; }
.feature-lead .ficon .ic { width: 28px; height: 28px; }
.feature-lead .fname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}
.feature-lead h3 {
  font-size: clamp(18px, 2.6vw, 21px);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 8px;
}
.feature-lead p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 560px) {
  .feature-lead { flex-direction: column; gap: 14px; }
}

/* ---- Audience ("こんな人に") ---- */
.audience { padding: 56px 0; text-align: center; }
.audience .section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 22px;
}
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  max-width: 760px;
  text-align: left;
}
@media (max-width: 680px) {
  .audience-list { grid-template-columns: 1fr; }
}
.audience-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.audience-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  flex: none;
}

/* ---- Legal pages (terms / privacy) ---- */
.legal-page {
  padding: 40px 0 80px;
}

.draft-banner {
  background: #f8ecd6;
  border: 1px solid #d9b877;
  color: #6b4a12;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  margin-bottom: 32px;
}

@media (prefers-color-scheme: dark) {
  .draft-banner {
    background: #2c2414;
    border-color: #5c4a20;
    color: #e3c68a;
  }
}

.legal-page h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal-page .legal-meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0 0 32px;
}

.legal-page h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 34px 0 10px;
}

.legal-page p,
.legal-page li {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.legal-page ol,
.legal-page ul {
  padding-left: 1.3em;
}

.legal-page ol > li,
.legal-page ul > li {
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
  -webkit-overflow-scrolling: touch;
}

.legal-page table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 0;
}

.legal-page th,
.legal-page td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-page thead th {
  color: var(--ink-faint);
  font-weight: 700;
  font-size: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 13.5px;
}
