:root {
  --paper: #f7f6f2;
  --paper-deep: #ece9e2;
  --ink: #0c0c0c;
  --soft-ink: #3f3f3b;
  --muted: #74716b;
  --line: #d7d2c8;
  --panel: rgba(255, 255, 255, 0.72);
  --cyan: #20c9d2;
  --violet: #8c73d8;
  --yellow: #f2c84b;
  --rose: #e54f71;
  --shadow: rgba(28, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 12, 12, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 58%, var(--paper-deep) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.narrow-shell {
  width: min(880px, calc(100% - 48px));
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.target-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  flex: 0 0 auto;
}

.target-mark::before,
.target-mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.target-mark::before {
  top: 50%;
  left: -8px;
  right: -8px;
  height: 3px;
  transform: translateY(-50%);
}

.target-mark::after {
  top: -8px;
  bottom: -8px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-links a,
.button,
.feature-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.top-links a {
  padding: 0 14px;
}

.hero-section {
  display: grid;
  gap: 42px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.card-label,
.note-kicker,
.preview-label,
.meta,
.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-size: 64px;
  line-height: 1.13;
  font-weight: 950;
}

.lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.feature-pills span {
  min-height: 48px;
  padding: 0 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dot {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.cyan {
  background: var(--cyan);
}

.violet {
  background: var(--violet);
}

.yellow {
  background: var(--yellow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.64);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(260px, 1fr);
  align-items: end;
  gap: 38px;
  padding-top: 8px;
}

.preview-label {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-transform: none;
}

.phone-frame {
  position: relative;
  width: min(430px, 100%);
  padding: 13px;
  border: 1px solid rgba(12, 12, 12, 0.42);
  border-radius: 42px;
  background: #08080b;
  box-shadow: 0 24px 48px var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 96px;
  height: 22px;
  border-radius: 999px;
  background: #000000;
  transform: translateX(-50%);
  z-index: 1;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

.support-note {
  max-width: 440px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.support-note h2 {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.35;
}

.support-note p {
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
}

.info-card {
  min-height: 258px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.info-card h2 {
  margin: 12px 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.info-card p,
.info-card li {
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
}

.link-strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.clean-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.fine-print {
  margin-top: 16px;
  text-transform: none;
}

.site-footer {
  margin-top: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* ── アプリ訴求の hero / スクショ / 価値訴求 / 控えめなサポートフッター ── */
.appstore-cta { display: inline-flex; }
.appstore-badge { width: 168px; height: auto; display: block; transition: transform .2s; }
.appstore-cta:hover .appstore-badge { transform: translateY(-1px); }

.app-shots { display: flex; gap: 18px; flex-wrap: wrap; }
.app-shots .frame {
  position: relative; margin: 0;
  width: min(218px, 44%); padding: 9px;
  border: 1px solid rgba(12, 12, 12, 0.42); border-radius: 32px;
  background: #08080b; box-shadow: 0 20px 44px var(--shadow);
}
.app-shots .frame::before {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 14px; border-radius: 999px; background: #000; z-index: 1;
}
.app-shots .frame img { display: block; width: 100%; border-radius: 24px; }

.value-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 60px;
}
.value { padding-top: 18px; border-top: 2px solid var(--ink); }
.value h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.4; }
.value p { margin: 0; color: var(--soft-ink); font-size: 14px; font-weight: 650; line-height: 1.8; }

.support-footer {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  text-align: center;
}
.sf-line { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.sf-line a { color: var(--soft-ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.sf-line a:hover { color: var(--ink); }
.sf-sep { color: var(--muted); }
.sf-muted { color: var(--muted); font-size: 12px; font-weight: 700; }
.sf-meta { margin: 12px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }

@media (min-width: 900px) {
  .hero-section { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}
@media (max-width: 720px) {
  .value-row { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .app-shots { justify-content: center; }
}

.policy-page {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}

.policy-page h1 {
  margin-top: 14px;
  font-size: 56px;
}

.policy-page .meta {
  margin-top: 16px;
  text-transform: none;
}

.policy-page section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.policy-page h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.policy-page p,
.policy-page li {
  color: var(--soft-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.9;
}

.policy-page ul {
  margin: 0;
  padding-left: 22px;
}

.policy-page a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 960px) {
  .site-header {
    margin-bottom: 44px;
  }

  h1 {
    font-size: 52px;
  }

  .product-showcase,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-label {
    grid-column: 1 / -1;
  }

  .support-note {
    align-self: center;
  }
}

@media (max-width: 680px) {
  .site-shell,
  .narrow-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 22px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }

  .brand-lockup {
    font-size: 20px;
  }

  .target-mark {
    width: 30px;
    height: 30px;
  }

  .top-links {
    justify-content: flex-start;
  }

  .top-links a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1,
  .policy-page h1 {
    font-size: 42px;
    line-height: 1.18;
  }

  .lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.9;
  }

  .feature-pills {
    gap: 10px;
  }

  .feature-pills span {
    min-height: 42px;
    padding: 0 15px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .product-showcase,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(360px, 100%);
    justify-self: center;
  }

  .support-note h2 {
    font-size: 24px;
  }

  .info-grid {
    margin-top: 44px;
  }

  .info-card {
    min-height: auto;
  }
}
