/* Chat Mail introduction page.
   Every class starts with "cm-" so the page can also be pasted into
   another site (e.g. WordPress: content into a page, this file into 追加 CSS)
   without clashing with that site's styles. Only the first block below
   touches plain elements, and it is for the standalone page. */

/* ---------- Standalone page ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cm-bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Tokens ----------
   Colors come from the app icon: sky #44afff -> blue #2f7bfa -> royal #2746f6.
   Navy first view and privacy band, light page in between. */
:root {
  --cm-bg: #f6f8fc;
  --cm-bg-alt: #ecf1f9;
  --cm-surface: #ffffff;
  --cm-ink: #0f1830;
  --cm-ink-soft: #2a3550;
  --cm-muted: #56627a;
  --cm-line: #dde4ef;
  --cm-line-soft: #edf1f7;
  --cm-dash: #cfd8e6;
  --cm-chip-bg: #eaf0f8;
  --cm-rail: #cdd7e6;
  --cm-accent: #2347d8;
  --cm-accent-deep: #1a37ad;
  --cm-accent-soft: rgba(35, 71, 216, .07);
  --cm-tint: #e3ecff;
  --cm-tint-ink: #2347d8;
  --cm-mark: rgba(68, 175, 255, .4);
  --cm-glow-1: rgba(68, 175, 255, .55);
  --cm-glow-2: rgba(39, 70, 246, .6);
  --cm-shot-bg: linear-gradient(160deg, #eef4ff, #e3ebfa);
  --cm-band-bg: linear-gradient(160deg, #0b1736 0%, #14296a 100%);
  --cm-band-eyebrow: #8cd0ff;
  --cm-header-bg: rgba(11, 23, 54, .92);
  --cm-header-line: rgba(255, 255, 255, .08);
  --cm-header-ink: #ffffff;
  --cm-hero-bg: radial-gradient(ellipse 60% 70% at 78% 35%, rgba(47, 123, 250, .38), transparent 70%),
    linear-gradient(180deg, #0b1736 0%, #102356 100%);
  --cm-hero-ink: #ffffff;
  --cm-hero-muted: rgba(255, 255, 255, .74);
  --cm-hero-accent: #8cd0ff;
  --cm-what-border: rgba(140, 208, 255, .45);
  --cm-what-bg: rgba(255, 255, 255, .06);
  --cm-what-bg-hover: rgba(255, 255, 255, .12);
  --cm-cta-bg: linear-gradient(135deg, #2f7bfa, #2746f6);
  --cm-footer-bg: #ecf1f9;
  --cm-bubble-mine: #a6cde3;   /* bubbles, as in the app's blue thread */
  --cm-bubble-theirs: #e1eef8;
  --cm-chat-head-bg: rgba(236, 241, 249, .9);
  --cm-omit-bg: #f3f6fb;
  --cm-omit-dash-on: #c3cddd;
  --cm-alert: #c0485a;
  --cm-buried-bg: #fdf0f1;
  --cm-step-done: #2a9df4;
  --cm-chip-dot-a: #44afff;
  --cm-chip-dot-b: #2746f6;
  --cm-avatar: #b1515c;
  --cm-radius: 20px;
  --cm-shadow: 0 1px 2px rgba(18, 23, 34, .04), 0 12px 32px -12px rgba(18, 23, 34, .14);
}

.cm, .cm-header, .cm-footer, .cm-skip {
  color: var(--cm-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

:where(.cm) a { color: var(--cm-accent); text-underline-offset: .2em; }
:where(.cm) img { max-width: 100%; height: auto; display: block; }
:where(.cm) :where(h1, h2, h3) {
  margin: 0;
  line-height: 1.35;
  letter-spacing: .03em;
  font-feature-settings: "palt";
}
/* Text fills each line to the edge of the screen. (No text-wrap: balance or
   pretty: they end lines early and leave space on the right.) Centered
   headings break between phrases with .cm-nw instead. */
:where(.cm) p { margin: 0; }
.cm :focus-visible, .cm-header :focus-visible, .cm-footer :focus-visible {
  outline: 3px solid var(--cm-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Keeps a phrase on one line when it fits, so headings break between phrases */
.cm-nw { display: inline-block; }

.cm-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.cm-narrow { max-width: 800px; }
.cm-section { padding: clamp(72px, 11vw, 128px) 0; overflow-x: hidden; overflow-x: clip; }
/* (clip keeps the soft background shapes from widening the page on phones) */

.cm-eyebrow {
  color: var(--cm-accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.cm-heading { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.cm-heading h2 { margin-top: 10px; font-size: clamp(1.375rem, 3.4vw, 2rem); font-weight: 800; }
.cm-heading > p:last-child:not(.cm-eyebrow) { margin-top: 20px; color: var(--cm-muted); }
.cm-heading-left { margin-left: 0; text-align: left; }
.cm-note { color: var(--cm-muted); font-size: .875rem; }

/* Phone images (cropped from the App Store screenshots); their bottom edge fades out */
.cm-phone {
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}

/* ---------- Skip link ---------- */
.cm-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 8px 16px; border-radius: 10px;
  background: var(--cm-accent); color: #fff; text-decoration: none;
}
.cm-skip:focus { top: 12px; }

/* ---------- Header ---------- */
.cm-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cm-header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--cm-header-line);
}
.cm-header-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1120px; height: 60px; margin: 0 auto; padding: 0 20px;
}
.cm-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cm-ink); text-decoration: none;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: .01em;
}
.cm-brand img { border-radius: 22%; }
.cm-header .cm-brand { color: var(--cm-header-ink); }
.cm-nav { display: none; gap: 28px; margin-left: auto; }
.cm-nav a { color: var(--cm-header-ink); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.cm-nav a:hover { opacity: .7; }
.cm-header-cta {
  margin-left: auto;
  padding: 7px 16px; border-radius: 999px;
  background: var(--cm-cta-bg); color: #fff; text-decoration: none;
  font-size: .875rem; font-weight: 700;
}
.cm-header-cta:hover { filter: brightness(.92); }
@media (min-width: 860px) {
  .cm-nav { display: flex; }
  .cm-header-cta { margin-left: 8px; }
}

/* ---------- App Store badge (Apple's official artwork, used as is) ---------- */
.cm-store { display: inline-block; line-height: 0; border-radius: 9px; transition: opacity .2s ease; }
.cm-store img { width: auto; height: 54px; }
.cm-store:hover { opacity: .85; }

/* ---------- Hero ---------- */
.cm-hero {
  position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 0;
  background: var(--cm-hero-bg); color: var(--cm-hero-ink);
}
.cm-hero .cm-eyebrow { color: var(--cm-hero-accent); }
.cm-hero-grid { display: grid; gap: 40px; align-items: center; }
.cm-hero-text { text-align: center; }
.cm-hero-title {
  margin-top: 16px;
  font-size: clamp(1.875rem, 6.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.22;
}
/* Second line of the catch copy: who to watch, after "普段のメールを、チャットのように。" */
.cm-hero-sub {
  margin-top: 18px;
  color: var(--cm-hero-accent);
  font-size: clamp(1.125rem, 3.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .03em;
  font-feature-settings: "palt";
}
.cm-mark {
  padding: 0 .1em;
  background: linear-gradient(transparent 62%, var(--cm-mark) 62%, var(--cm-mark) 92%, transparent 92%);
}
/* recruit/: "無料・そのまま・登録不要" right under the catch copy */
.cm-hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  max-width: 30em; margin: 20px auto 0; padding: 0; list-style: none; text-align: center;
}
.cm-hero-points li {
  padding: 10px 4px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(140, 208, 255, .35);
  color: var(--cm-hero-muted); font-size: clamp(.6875rem, 3.4vw, .8125rem); font-weight: 700; line-height: 1.5;
  letter-spacing: 0;  /* each text is two lines of the same length; keep them on two lines */
}
.cm-hero-points strong {
  display: block; margin-bottom: 3px;
  color: var(--cm-hero-ink); font-size: clamp(.9375rem, 4.4vw, 1.125rem); font-weight: 800; letter-spacing: .04em; line-height: 1.3;
  white-space: nowrap;
}
.cm-hero-points-note { margin-top: 8px; color: var(--cm-hero-muted); font-size: .75rem; }
.cm-hero-points-note a { color: var(--cm-hero-accent); }
@media (min-width: 900px) { .cm-hero-points { margin-left: 0; } }

/* "どういうこと？" under the catch copy; jumps to the scenes section */
.cm-what {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; padding: 6px 12px 6px 16px; border-radius: 999px;
  border: 1.5px solid var(--cm-what-border); background: var(--cm-what-bg);
  color: var(--cm-hero-accent); text-decoration: none;
  font-size: .875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6;
  transition: background-color .2s ease, border-color .2s ease;
}
.cm-what:hover { background: var(--cm-what-bg-hover); border-color: var(--cm-hero-accent); }
.cm-what svg { transition: transform .2s ease; }
.cm-what:hover svg { transform: translateY(2px); }
.cm-hero-lead { max-width: 30em; margin: 20px auto 0; color: var(--cm-hero-muted); font-size: 1.0625rem; }
.cm-hero-actions { margin-top: 32px; }
.cm-hero-meta { margin-top: 12px; color: var(--cm-hero-muted); font-size: .8125rem; }
.cm-hero-meta span { margin: 0 .5em; }

.cm-hero-visual { position: relative; width: min(78vw, 340px); margin: 0 auto; }
.cm-hero-glow {
  position: absolute; inset: 10% -30% 20%; z-index: -1;
  background:
    radial-gradient(closest-side, var(--cm-glow-1), transparent) 0 0 / 70% 70% no-repeat,
    radial-gradient(closest-side, var(--cm-glow-2), transparent) 100% 60% / 75% 75% no-repeat;
  filter: blur(8px);
}
.cm-chip {
  position: absolute;
  padding: 8px 14px; border-radius: 16px;
  background: var(--cm-surface); box-shadow: var(--cm-shadow); color: var(--cm-ink);
  font-size: .8125rem; font-weight: 700; white-space: nowrap; line-height: 1.5;
}
.cm-chip::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; vertical-align: .08em;
}
/* Kept off the messages: beside the name row at the top, and over the
   input bar at the bottom (the same place in all six screens) */
.cm-chip-a { top: 6.5%; left: -18%; }
.cm-chips-low .cm-chip-a { top: 17%; }  /* career/: long names in the title row, so sit in the empty chat area */
.cm-chip-a::before { background: var(--cm-chip-dot-a); }
.cm-chip-b { top: 85%; right: -8%; }
.cm-chip-b::before { background: var(--cm-chip-dot-b); }
@media (max-width: 520px) {
  .cm-chip { font-size: .75rem; padding: 6px 11px; }
  .cm-chip-a { display: none; }  /* would cover the name row; the catch copy says the same */
  .cm-chip-b { right: -8%; }
}
@media (min-width: 900px) {
  .cm-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 24px; }
  .cm-hero-text { text-align: left; padding-bottom: 96px; }
  .cm-hero-lead { margin-left: 0; }
  .cm-hero-visual { width: 360px; }
}

/* Six conversation screens in one place, cross-fading (script.js switches
   them every few seconds; the tabs below pick one). Without the script, the
   first one stays and the tabs are hidden. */
.cm-hero-phone { position: relative; }
.cm-screens { display: grid; }
.cm-screens img {
  grid-area: 1 / 1; width: 100%;
  opacity: 0; transition: opacity .7s ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}
.cm-screens img.is-active { opacity: 1; }
.cm-scene-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  margin: 0 -24px 16px;
}
html:not(.cm-js) .cm-scene-tabs { display: none; }
.cm-scene-tabs button {
  padding: 4px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--cm-what-border); background: var(--cm-what-bg);
  color: var(--cm-hero-muted); font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .04em; line-height: 1.7;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.cm-scene-tabs button:hover { border-color: var(--cm-hero-accent); color: var(--cm-hero-ink); }
.cm-scene-tabs button[aria-selected="true"] { background: var(--cm-hero-accent); border-color: var(--cm-hero-accent); color: var(--cm-ink); }
.cm-scene-tabs button:focus-visible { outline: 2px solid var(--cm-hero-ink); outline-offset: 2px; }
/* Longer labels (recruit/): always two even rows of three */
.cm-scene-tabs-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
html:not(.cm-js) .cm-scene-tabs-3 { display: none; }
/* Very narrow screens: two even rows of three instead of one left over */
@media (max-width: 359px) {
  .cm-scene-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  html:not(.cm-js) .cm-scene-tabs { display: none; }
}

/* ---------- Concept: mail -> bubbles ---------- */
.cm-concept { background: var(--cm-bg-alt); }
.cm-demo {
  display: grid; gap: 20px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.cm-demo figure { margin: 0; }
.cm-demo-label {
  margin-bottom: 12px;
  color: var(--cm-muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-align: center;
}
.cm-mail, .cm-inbox-mail {
  padding: 20px 22px; border-radius: 16px;
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
  font-size: .875rem; line-height: 1.75;
}
.cm-mail-head { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--cm-line); font-size: .8125rem; }
.cm-mail-head div { display: flex; gap: 10px; }
.cm-mail-head dt { flex: none; width: 3.5em; color: var(--cm-muted); }
.cm-mail-head dd { margin: 0; font-weight: 600; word-break: break-all; }
.cm-mail-body { font-weight: 500; }
.cm-mail-sign { color: var(--cm-muted); font-size: .8125rem; }
.cm-mail-quote-head { color: var(--cm-muted); font-size: .8125rem; word-break: break-all; }
.cm-mail-quote {
  margin: 4px 0 0; padding-left: 12px; border-left: 3px solid var(--cm-line);
  color: var(--cm-muted); font-size: .8125rem;
}
.cm-omit {
  position: relative; margin-top: 14px; padding: 10px 12px; border-radius: 10px;
  border: 1.5px dashed var(--cm-dash);
  transition: opacity .5s ease, background-color .5s ease, border-color .5s ease;
}
.cm-omit-tag {
  position: absolute; top: -11px; right: 10px;
  padding: 1px 10px; border-radius: 999px;
  background: var(--cm-ink); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; line-height: 1.8;
  transition: opacity .4s ease, transform .4s ease;
}
.cm-demo-arrow { display: grid; place-items: center; color: var(--cm-accent); transform: rotate(90deg); }

.cm-chat {
  border-radius: 24px; overflow: hidden;
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
}
.cm-chat-head {
  display: grid; justify-items: center; padding: 12px 16px;
  background: var(--cm-chat-head-bg); border-bottom: 1px solid var(--cm-line);
  line-height: 1.4;
}
.cm-chat-head strong { font-size: .9375rem; }
.cm-chat-head span { color: var(--cm-muted); font-size: .75rem; }
.cm-chat-body { display: grid; gap: 12px; padding: 16px 14px 22px; }
.cm-chat-date {
  justify-self: center; padding: 1px 12px; border-radius: 999px;
  background: var(--cm-chip-bg); color: var(--cm-muted); font-size: .75rem;
}
.cm-msg { display: flex; align-items: flex-end; gap: 8px; font-size: .875rem; line-height: 1.65; }
.cm-msg-mine { justify-content: flex-end; padding-left: 15%; }
.cm-msg-theirs { padding-right: 8%; }
.cm-bubble { padding: 10px 14px; border-radius: 18px; }
.cm-msg-mine .cm-bubble { background: var(--cm-bubble-mine); }
.cm-msg-theirs .cm-bubble { background: var(--cm-bubble-theirs); }
.cm-msg-time { flex: none; color: var(--cm-muted); font-size: .6875rem; }
.cm-avatar {
  flex: none; align-self: flex-start;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cm-avatar); color: #fff; font-size: .75rem; font-weight: 700;
}
.cm-demo-note { margin-top: 28px; color: var(--cm-muted); font-size: .875rem; text-align: center; }

@media (min-width: 860px) {
  .cm-demo { grid-template-columns: 1fr 64px 1fr; gap: 12px; }
  .cm-demo-arrow { transform: none; }
}

/* Demo animation: runs once when it scrolls into view (script.js adds the
   classes). Without the script, everything is simply shown as it ends. */
.cm-js .cm-demo:not(.is-visible) .cm-omit-tag { opacity: 0; transform: translateY(4px); }
.cm-js .cm-demo:not(.is-visible) .cm-msg { opacity: 0; transform: translateY(12px) scale(.98); }
.cm-js .cm-demo:not(.is-visible) .cm-chat-date { opacity: 0; }
.cm-js .cm-demo:not(.is-visible) .cm-demo-arrow { opacity: .25; }
.cm-demo .cm-msg, .cm-demo .cm-chat-date, .cm-demo .cm-demo-arrow {
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cm-demo.is-visible .cm-omit { opacity: .45; background: var(--cm-omit-bg); border-color: var(--cm-omit-dash-on); transition-delay: .5s; }
.cm-demo.is-visible .cm-omit-tag { transition-delay: .5s; }
.cm-demo.is-visible .cm-demo-arrow { transition-delay: 1s; }
.cm-demo.is-visible .cm-chat-date { transition-delay: 1.3s; }
.cm-demo.is-visible .cm-msg-mine { transition-delay: 1.4s; }
.cm-demo.is-visible .cm-msg-theirs { transition-delay: 1.9s; }
.cm-demo.is-visible .cm-chat-body > .cm-chat-date:nth-of-type(2) { transition-delay: 1.8s; }
html:not(.cm-js) .cm-omit { opacity: .45; background: var(--cm-omit-bg); }

/* ---------- Scenes: what "集中監視" means ---------- */
.cm-scenes { background: var(--cm-surface); }
.cm-compare {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.cm-compare figure { margin: 0; }

/* A crowded inbox, with the important mail somewhere in the middle */
.cm-inbox-list {
  margin: 0; padding: 6px 0; list-style: none;
  border-radius: 16px; background: var(--cm-surface);
  border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
  font-size: .8125rem; line-height: 1.5;
}
.cm-inbox-list li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  padding: 9px 18px; border-top: 1px solid var(--cm-line-soft);
  transition: opacity .5s ease, background-color .5s ease;
}
.cm-inbox-list li:first-child { border-top: 0; }
.cm-from { font-weight: 700; }
.cm-subj { color: var(--cm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-buried-tag {
  position: absolute; right: 12px; top: -10px; z-index: 1;
  padding: 1px 10px; border-radius: 999px;
  background: var(--cm-alert); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  transition: opacity .4s ease, transform .4s ease;
}
/* Ends with the important mail picked out (also the state without script) */
.cm-compare .cm-inbox-list li:not(.cm-buried) { opacity: .45; }
.cm-compare .cm-buried { background: var(--cm-buried-bg); }

/* Chat Mail: a notification and the short list of registered people */
.cm-screen {
  padding: 14px; border-radius: 24px;
  background: var(--cm-bg-alt); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
}
.cm-notice {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -8px rgba(21, 24, 29, .25);
  font-size: .8125rem; line-height: 1.5;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cm-notice img { flex: none; width: 36px; height: 36px; border-radius: 22%; }
.cm-notice > div { min-width: 0; flex: 1; }
.cm-notice-head { display: flex; justify-content: space-between; gap: 8px; }
.cm-notice-head span { color: var(--cm-muted); font-size: .75rem; }
.cm-notice-body { color: var(--cm-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-people {
  margin: 12px 0 0; padding: 4px 0; list-style: none;
  border-radius: 16px; background: var(--cm-surface);
}
.cm-people li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-top: 1px solid var(--cm-line-soft); font-size: .8125rem; line-height: 1.5;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cm-people li:first-child { border-top: 0; }
.cm-people .cm-avatar { width: 38px; height: 38px; align-self: center; font-size: .875rem; }
.cm-avatar-b { background: #7a5aa6; }
.cm-avatar-c { background: #4f8a5e; }
.cm-person { display: grid; min-width: 0; flex: 1; }
.cm-person span { color: var(--cm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-unread {
  flex: none; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--cm-accent); color: #fff; font-size: .6875rem; font-weight: 700;
}
.cm-people-note { margin-top: 10px; color: var(--cm-muted); font-size: .75rem; font-weight: 700; text-align: center; }

@media (min-width: 860px) {
  .cm-compare { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 12px; }
}

/* Animation when it scrolls into view: the crowd fades, the buried mail is
   marked, then the notification and the short list appear. */
.cm-compare .cm-demo-arrow { transition: opacity .5s ease; }
.cm-js .cm-compare:not(.is-visible) .cm-inbox-list li { opacity: 1; background: transparent; }
.cm-js .cm-compare:not(.is-visible) .cm-buried-tag { opacity: 0; transform: translateY(4px); }
.cm-js .cm-compare:not(.is-visible) .cm-demo-arrow { opacity: .25; }
.cm-js .cm-compare:not(.is-visible) .cm-notice { opacity: 0; transform: translateY(-10px); }
.cm-js .cm-compare:not(.is-visible) .cm-people li { opacity: 0; transform: translateY(10px); }
.cm-compare.is-visible .cm-inbox-list li { transition-delay: .4s; }
.cm-compare.is-visible .cm-buried-tag { transition-delay: .8s; }
.cm-compare.is-visible .cm-demo-arrow { transition-delay: 1.2s; }
.cm-compare.is-visible .cm-people li:nth-child(1) { transition-delay: 1.4s; }
.cm-compare.is-visible .cm-people li:nth-child(2) { transition-delay: 1.55s; }
.cm-compare.is-visible .cm-people li:nth-child(3) { transition-delay: 1.7s; }
.cm-compare.is-visible .cm-notice { transition-delay: 2.1s; }

.cm-scenes-title {
  margin-top: clamp(64px, 9vw, 96px);
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem); font-weight: 800; text-align: center;
}
.cm-scene-list {
  display: grid; gap: 16px; max-width: 1000px; margin: 28px auto 0; padding: 0; list-style: none;
}
.cm-scene {
  overflow: hidden; padding: 0 22px 24px; border-radius: var(--cm-radius);
  background: var(--cm-surface); border: 1px solid var(--cm-line);
}
.cm-scene-art {
  margin: 0 -22px; padding: 18px 22px 12px;
  background: var(--cm-bg-alt); border-bottom: 1px solid var(--cm-line);
}
.cm-scene h4 {
  margin: 18px 0 0; font-size: 1rem; font-weight: 800; line-height: 1.5;
  font-feature-settings: "palt";
}
.cm-scene p { margin-top: 8px; color: var(--cm-muted); font-size: .9375rem; }
.cm-scene .cm-scene-more { margin-top: 10px; font-size: .875rem; font-weight: 700; }
.cm-scene-more a::after { content: " →"; }
@media (min-width: 640px) { .cm-scene-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cm-scene-list { grid-template-columns: repeat(3, 1fr); } }

/* Line illustrations for the scenes (colors follow the theme) */
.cm-il { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.cm-il .l { fill: none; stroke: var(--cm-ink-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-il .t { stroke-width: 1.6; }
.cm-il .a { stroke: var(--cm-accent); }
.cm-il .w { fill: var(--cm-surface); }
.cm-il .f { fill: var(--cm-tint); }
.cm-il .af { fill: var(--cm-accent); stroke: none; }
.cm-il .ck { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cm-il text { fill: var(--cm-accent); font-size: 8.5px; font-weight: 700; letter-spacing: .02em; font-family: inherit; }

/* Small text inside the line illustrations: white on the accent, bold "!", the stamp */
.cm-il .tw { fill: #fff; font-size: 7px; font-weight: 800; }
.cm-il .tb { font-size: 16px; }
.cm-il .ts { fill: var(--cm-accent); font-size: 9px; font-weight: 800; }

/* ---------- Recruiting page (recruit/) ---------- */
.cm-pains { background: var(--cm-surface); }
.cm-pain-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cm-pain-list li {
  position: relative; padding: 16px 18px 16px 52px; border-radius: 14px;
  background: var(--cm-bg-alt); border: 1px solid var(--cm-line); font-weight: 700;
}
.cm-pain-list li::before {  /* a small "!" mark */
  content: "!"; position: absolute; left: 16px; top: 16px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cm-alert); color: #fff; font-size: .8125rem; font-weight: 800; line-height: 1;
}
.cm-pain-note { margin-top: 28px; color: var(--cm-ink-soft); font-weight: 700; text-align: center; }
/* Survey figures under the pain list: big number, summary, source and an outside link */
.cm-evidence { margin-top: 48px; }
.cm-evidence-eyebrow {
  margin-bottom: 18px; text-align: center;
  color: var(--cm-accent); font-size: .8125rem; font-weight: 800; letter-spacing: .14em;
}
.cm-evidence-eyebrow::before, .cm-evidence-eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px;
  background: currentColor; opacity: .4; vertical-align: middle;
}
.cm-evidence-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .cm-evidence-grid { grid-template-columns: 1fr 1fr; } }
.cm-evidence-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 24px 22px; border-radius: var(--cm-radius); overflow: hidden;
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
}
.cm-evidence-card::before {  /* the icon's gradient as a thin top line */
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, #44afff, #2f7bfa 50%, #2746f6);
}
.cm-evidence-tag {
  width: fit-content; padding: 1px 10px; border-radius: 999px;
  background: var(--cm-tint); color: var(--cm-accent); font-size: .75rem; font-weight: 800; line-height: 1.8;
}
.cm-evidence-num {
  margin-top: 10px; line-height: 1; font-size: clamp(2.75rem, 9vw, 3.5rem); font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(90deg, #2f7bfa, #2746f6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cm-evidence-num span { font-size: .5em; margin-left: 2px; }
.cm-evidence-card h3 { margin-top: 12px; font-size: 1rem; font-weight: 800; line-height: 1.55; }
.cm-evidence-card h3 + p { margin: 10px 0 16px; color: var(--cm-ink-soft); font-size: .875rem; line-height: 1.8; }
.cm-evidence-source {  /* pushed to the bottom, so both cards' sources and links line up */
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--cm-line);
  color: var(--cm-muted); font-size: .75rem; line-height: 1.7;
}
.cm-evidence-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 7px 14px; border-radius: 999px;
  background: var(--cm-accent); color: #fff; text-decoration: none;
  font-size: .8125rem; font-weight: 700; line-height: 1.5;
  transition: background-color .2s ease, transform .2s ease;
}
.cm-evidence-link:hover { background: var(--cm-accent-deep); transform: translateY(-1px); }
.cm-evidence-note { margin-top: 12px; color: var(--cm-muted); font-size: .75rem; text-align: center; }

/* いつものメールと比べて：each card pairs the usual mail app (muted) with Chat Mail (tinted) */
.cm-vs { background: var(--cm-surface); }
.cm-vs-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .cm-vs-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.cm-vs-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px 22px 20px; border-radius: var(--cm-radius);
  background: var(--cm-bg); border: 1px solid var(--cm-line);
}
.cm-vs-head { display: flex; align-items: center; gap: 12px; }
.cm-vs-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--cm-cta-bg); color: #fff; box-shadow: 0 6px 14px -6px rgba(39, 70, 246, .55);
}
.cm-vs-icon svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cm-vs-icon .cm-vs-fill { fill: currentColor; stroke: none; }
.cm-vs-head h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.5; }
.cm-vs-rows { display: flex; flex: 1; flex-direction: column; gap: 10px; margin: 0; }
.cm-vs-rows > div { padding: 12px 14px 13px; border-radius: 14px; }
.cm-vs-rows dt {
  width: fit-content; margin-bottom: 6px; padding: 0 9px; border-radius: 999px;
  font-size: .6875rem; font-weight: 800; line-height: 1.8; letter-spacing: .02em;
}
.cm-vs-rows dd { margin: 0; font-size: .875rem; line-height: 1.8; }
.cm-vs-before { background: var(--cm-surface); border: 1px dashed var(--cm-dash); }
.cm-vs-before dt { background: var(--cm-chip-bg); color: var(--cm-muted); }
.cm-vs-before dd { color: var(--cm-muted); }
.cm-vs-after { position: relative; flex: 1; background: var(--cm-tint); }
.cm-vs-after::before {  /* a small arrow from "before" to "after" */
  content: ""; position: absolute; top: -9px; left: 26px; width: 12px; height: 12px;
  background: var(--cm-tint); transform: rotate(45deg); border-radius: 2px;
}
.cm-vs-after dt { position: relative; background: var(--cm-accent); color: #fff; }
.cm-vs-after dd { position: relative; color: var(--cm-ink); font-weight: 600; }

/* 次のバージョンから：a label for features that are not in the App Store version yet.
   Not used now (removed on 2026-11-29 when that version went to review); see README. */
.cm-next {
  display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px;
  background: #fff4dc; color: #8a5a00; font-size: .6875rem; font-weight: 800; line-height: 1.8;
  vertical-align: .08em; white-space: nowrap;
}
.cm-next-note { display: block; margin-top: 6px; }
.cm-step .cm-next-note { margin-top: 8px; }
.cm-vs-next { margin-top: 14px; color: var(--cm-muted); font-size: .875rem; }
.cm-shot figcaption .cm-next { margin-bottom: 6px; }
.cm-faq-list details p + p { margin-top: -10px; }

/* ---------- The two concepts (all marketing pages) ---------- */
.cm-pillar-list { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
@media (min-width: 760px) { .cm-pillar-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.cm-pillar {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--cm-radius);
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow); overflow: hidden;
}
.cm-pillar::before {  /* the icon's gradient as a thin top line */
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #44afff, #2f7bfa 50%, #2746f6);
}
.cm-pillar-num { color: var(--cm-accent); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; }
.cm-pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-top: 12px; border-radius: 16px;
  background: var(--cm-cta-bg); color: #fff; box-shadow: 0 8px 18px -8px rgba(39, 70, 246, .6);
}
.cm-pillar-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cm-pillar h3 { margin-top: 14px; font-size: clamp(1.125rem, 2.6vw, 1.3125rem); font-weight: 800; line-height: 1.45; }
.cm-pillar p:not(.cm-pillar-num) { margin-top: 10px; color: var(--cm-ink-soft); }
.cm-pillar-more { margin-top: auto; padding-top: 14px; font-size: .9375rem; font-weight: 700; }
.cm-pillar-more::after { content: " →"; }
.cm-pillar-note { max-width: 1000px; margin: 20px auto 0; color: var(--cm-muted); font-size: .9375rem; text-align: center; }
/* The demo's check result (instead of a push notification) */
.cm-check-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--cm-cta-bg); color: #fff;
}
.cm-check-icon svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Job seekers' page (career/) ---------- */
/* よくある失敗：the slip (red label), what happened, and how Chat Mail helps */
.cm-fail-list { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
@media (min-width: 760px) { .cm-fail-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.cm-fail {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 22px 20px; border-radius: var(--cm-radius);
  background: var(--cm-bg); border: 1px solid var(--cm-line);
}
.cm-fail-quote { font-size: 1.0625rem; font-weight: 800; line-height: 1.6; }
.cm-fail-quote::before {  /* green: these slips can be prevented */
  content: "防げます！"; display: block; width: fit-content; margin-bottom: 8px; padding: 0 9px; border-radius: 999px;
  background: #e2f5ea; color: #1c7a45; font-size: .6875rem; font-weight: 800; line-height: 1.8;
}
.cm-fail-why { color: var(--cm-muted); font-size: .875rem; line-height: 1.8; }
.cm-fail-fix {
  margin-top: auto; padding: 12px 14px 13px; border-radius: 14px;
  background: var(--cm-tint); color: var(--cm-ink); font-size: .875rem; font-weight: 600; line-height: 1.8;
}
.cm-fail-fix span {
  display: block; width: fit-content; margin-bottom: 6px; padding: 0 9px; border-radius: 999px;
  background: var(--cm-accent); color: #fff; font-size: .6875rem; font-weight: 800; line-height: 1.8;
}

.cm-step .cm-note.cm-note-warn { background: #fff4dc; color: #6b4a00; }
.cm-note-warn strong { display: block; margin-bottom: 2px; color: #5a3d00; }

/* 登録しておく相手：two by two, with how to register under each */
@media (min-width: 960px) { .cm-scene-list-4 { grid-template-columns: repeat(2, 1fr); } }
.cm-scene .cm-how { margin-top: 12px; color: var(--cm-ink-soft); font-size: .875rem; font-weight: 700; }
.cm-how span {
  display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 999px;
  background: var(--cm-tint); color: var(--cm-accent); font-size: .6875rem; font-weight: 800; line-height: 1.8; vertical-align: .08em;
}
.cm-who-note { max-width: 1000px; margin: 20px auto 0; color: var(--cm-muted); font-size: .875rem; }

/* 在職中でも：a quiet tip under the scenes */
.cm-tip {
  max-width: 1000px; margin: 20px auto 0; padding: 16px 18px; border-radius: 14px;
  background: var(--cm-surface); border: 1px solid var(--cm-line); color: var(--cm-ink-soft); font-size: .9375rem;
}
.cm-tip-title { margin-bottom: 4px; color: var(--cm-ink); font-weight: 800; }

/* 連絡がスムーズだと：three numbered points */
.cm-fit { background: var(--cm-bg-alt); }
.cm-fit-list { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
@media (min-width: 860px) { .cm-fit-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cm-fit-list li {
  padding: 22px 22px 24px; border-radius: var(--cm-radius);
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
}
.cm-fit-num {
  display: block; font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.01em;
  background: linear-gradient(90deg, #44afff, #2746f6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cm-fit-list h3 { margin-top: 12px; font-size: 1.0625rem; font-weight: 800; line-height: 1.5; }
.cm-fit-list p { margin-top: 8px; color: var(--cm-ink-soft); font-size: .9375rem; }

/* 支援する方へ：benefits with the gradient icons, then the invitation text */
.cm-agent-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cm-agent-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 16px; background: var(--cm-bg); border: 1px solid var(--cm-line);
}
.cm-agent-list h3 { font-size: 1rem; font-weight: 800; line-height: 1.5; }
.cm-agent-list p { margin-top: 4px; color: var(--cm-ink-soft); font-size: .9375rem; }

/* ---------- Page for people who received a mail (recipient/) ----------
   A plain explanation, not marketing: one narrow column of text. */
.cm-doc { padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 96px); }
.cm-doc-inner { max-width: 760px; }
.cm-doc-head h1 { margin-top: 10px; font-size: clamp(1.5rem, 4.6vw, 2.125rem); font-weight: 800; line-height: 1.4; }
.cm-doc-head h1 + p { margin-top: 16px; color: var(--cm-ink-soft); }
.cm-doc-summary {
  margin-top: 28px; padding: 20px 22px 22px; border-radius: var(--cm-radius);
  background: var(--cm-surface); border: 1px solid var(--cm-line); box-shadow: var(--cm-shadow);
}
.cm-doc-summary h2 { font-size: 1.0625rem; font-weight: 800; }
.cm-doc-summary ul { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.cm-doc-summary li { position: relative; padding-left: 30px; color: var(--cm-ink); font-weight: 600; }
.cm-doc-summary li::before {  /* a check in a soft circle */
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cm-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%232347d8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.cm-doc-section { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--cm-line); }
.cm-doc-section h2 { font-size: clamp(1.1875rem, 3.4vw, 1.375rem); font-weight: 800; }
.cm-doc-section > p { margin-top: 14px; color: var(--cm-ink-soft); }
.cm-doc-section > h2 + p { margin-top: 16px; }
.cm-doc-list { margin: 12px 0 0; }
.cm-doc-list > div { padding: 16px 0; border-bottom: 1px dashed var(--cm-dash); }
.cm-doc-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cm-doc-list dt { color: var(--cm-ink); font-weight: 800; }
.cm-doc-list dd { margin: 6px 0 0; color: var(--cm-ink-soft); }
.cm-doc-sample {
  margin: 10px 0; padding: 10px 14px; border-radius: 10px;
  background: var(--cm-surface); border: 1px solid var(--cm-line);
  color: var(--cm-ink); font-weight: 700; word-break: break-all;
}
.cm-doc-mail {  /* looks like the end of a plain-text mail */
  display: grid; gap: 8px; margin-top: 16px; padding: 16px 18px; border-radius: 12px;
  background: var(--cm-surface); border: 1px solid var(--cm-line); border-left: 4px solid var(--cm-rail);
  color: var(--cm-ink); font-size: .9375rem; overflow-wrap: anywhere;  /* the URL moves to its own line when it fits */
}
.cm-doc-mail-line { color: var(--cm-muted); letter-spacing: .08em; }
.cm-doc-notes { display: grid; gap: 6px; margin: 14px 0 0; padding: 0 0 0 1.2em; color: var(--cm-ink-soft); font-size: .9375rem; }
.cm-doc-points { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.cm-doc-points li { padding: 14px 16px; border-radius: 14px; background: var(--cm-surface); border: 1px solid var(--cm-line); color: var(--cm-ink-soft); }
.cm-doc-points strong { display: block; margin-bottom: 4px; color: var(--cm-ink); }

/* ---------- Receiving shared server settings (setup/) ---------- */
.cm-setup-lead { margin-top: 16px; color: var(--cm-ink-soft); }
.cm-setup-open-box { margin-top: 24px; text-align: center; }
.cm-setup-open {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 52px;
  padding: 12px 28px; border-radius: 999px; background: var(--cm-cta-bg); color: #fff;
  font-size: 1.0625rem; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(39, 70, 246, .6);
}
.cm-setup-open:hover { filter: brightness(1.05); }
.cm-setup-open-box .cm-note { margin-top: 10px; }
.cm-spec-list.cm-setup-values { margin-top: 16px; }
.cm-setup-values dd { word-break: break-all; }  /* long server names */
.cm-setup-error {
  margin-top: 24px; padding: 18px 20px; border-radius: 14px;
  background: var(--cm-surface); border: 1px solid var(--cm-line); color: var(--cm-ink-soft);
}
.cm-setup-error strong { color: var(--cm-ink); }
.cm-setup-error p + p { margin-top: 6px; }
.cm-doc .cm-tip { max-width: none; margin-top: 24px; }

.cm-caution { margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: var(--cm-buried-bg); color: var(--cm-alert); font-weight: 700; }
.cm-privacy-note { max-width: 760px; margin: 28px auto 0; color: rgba(255, 255, 255, .8); font-size: .9375rem; text-align: center; }

.cm-setup { background: var(--cm-surface); }
.cm-setup-title { margin: 48px 0 16px; font-size: 1.125rem; font-weight: 800; }
.cm-setup .cm-heading + .cm-setup-title { margin-top: 0; }
.cm-setup-after { margin-top: 14px; color: var(--cm-muted); font-size: .9375rem; }
.cm-ask-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: ask; }
.cm-ask-list li {
  position: relative; padding: 16px 18px 16px 56px; border-radius: 14px;
  background: var(--cm-bg-alt); border: 1px solid var(--cm-line); color: var(--cm-ink-soft); font-size: .9375rem;
}
.cm-ask-list li::before {
  counter-increment: ask; content: counter(ask);
  position: absolute; left: 16px; top: 16px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cm-accent); color: #fff; font-size: .8125rem; font-weight: 800; line-height: 1;
}
.cm-ask-list strong { display: block; margin-bottom: 4px; color: var(--cm-ink); font-size: 1rem; }
.cm-template {
  padding: 18px 20px; border-radius: 14px;
  background: var(--cm-tint); border: 1px solid var(--cm-line); color: var(--cm-ink);
}
.cm-copy-btn {
  margin-top: 12px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--cm-accent); background: var(--cm-surface); color: var(--cm-accent);
  font: inherit; font-size: .875rem; font-weight: 700;
}
.cm-copy-btn:hover { background: var(--cm-accent); color: #fff; }
html:not(.cm-js) .cm-copy-btn { display: none; }
.cm-template + .cm-note { margin-top: 10px; }
.cm-support dt { color: var(--cm-ink); font-size: .9375rem; }
.cm-support dd { color: var(--cm-ink-soft); font-weight: 400; font-size: .9375rem; }
.cm-mark-ok, .cm-mark-maybe, .cm-mark-no, .cm-mark-soon {
  display: block; width: fit-content; margin-bottom: 4px; padding: 0 8px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; line-height: 1.8;
}
.cm-mark-ok { background: var(--cm-tint); color: var(--cm-accent); }
.cm-mark-soon { background: #efeafb; color: #5b3fae; }
.cm-support-steps { margin: 8px 0; padding-left: 1.4em; }
.cm-support-steps li + li { margin-top: 4px; }
.cm-support-link {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 4px;
  font-weight: 700; white-space: nowrap;
}
.cm-mark-maybe { background: #fff4dc; color: #8a5a00; }
.cm-mark-no { background: var(--cm-buried-bg); color: var(--cm-alert); }
@media (min-width: 640px) { .cm-support div { grid-template-columns: 17em 1fr; } }

/* ---------- Features ---------- */
.cm-feature {
  display: grid; gap: 32px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.cm-feature + .cm-feature { margin-top: clamp(80px, 12vw, 136px); }
.cm-feature-visual { position: relative; width: min(72vw, 300px); margin: 0 auto; }
.cm-feature-visual::before {
  content: ""; position: absolute; inset: 8% -18% 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--cm-glow-1), transparent);
}
.cm-feature-flip .cm-feature-visual::before {
  background: radial-gradient(closest-side, var(--cm-glow-2), transparent);
}
.cm-feature-num { color: var(--cm-accent); font-size: .875rem; font-weight: 800; letter-spacing: .1em; }
.cm-feature-text h3 { margin-top: 6px; font-size: clamp(1.1875rem, 2.6vw, 1.5rem); font-weight: 800; }
.cm-feature-text > p:not(.cm-feature-num) { margin-top: 16px; color: var(--cm-ink-soft); }
.cm-points { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.cm-points li { position: relative; padding-left: 28px; font-weight: 600; font-size: .9375rem; word-break: break-all; }  /* lets "@example.co.jp" break, so lines fill */
.cm-points li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%; background: var(--cm-tint);
}
.cm-points li::after {  /* check mark */
  content: ""; position: absolute; left: 6.5px; top: calc(.42em + 4px);
  width: 4px; height: 8px;
  border-right: 2.2px solid var(--cm-tint-ink); border-bottom: 2.2px solid var(--cm-tint-ink);
  transform: rotate(45deg);
}
@media (min-width: 860px) {
  .cm-feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cm-feature-visual { width: 320px; }
  .cm-feature-flip .cm-feature-visual { order: 2; }
}

/* Recipient's inbox illustration (feature 03) */
.cm-feature-visual:has(.cm-inbox) { width: min(100%, 440px); }
.cm-inbox { padding: 18px; border-radius: 24px; background: var(--cm-bg-alt); border: 1px solid var(--cm-line); }
.cm-inbox-label { margin-bottom: 12px; color: var(--cm-muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-align: center; }
.cm-inbox-mail .cm-mail-quote-head { margin-top: 14px; }
.cm-inbox-foot { margin-top: 12px; color: var(--cm-muted); font-size: .8125rem; text-align: center; }

/* ---------- Start ---------- */
.cm-start { background: var(--cm-bg-alt); }
.cm-start-grid { display: grid; gap: 48px; align-items: center; max-width: 1000px; }
.cm-start .cm-heading { margin-bottom: 36px; }
.cm-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cm-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 32px; }
.cm-step::before {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px;
  width: 2px; background: var(--cm-rail);
}
.cm-step-last { padding-bottom: 0; }
.cm-step-last::before { display: none; }
.cm-step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cm-accent); color: #fff; font-weight: 800;
}
.cm-step-last .cm-step-num { background: var(--cm-step-done); }
.cm-step h3 { padding-top: 6px; font-size: 1.125rem; font-weight: 800; }
.cm-step p { margin-top: 8px; }
.cm-step .cm-note { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--cm-accent-soft); }
.cm-start-visual { width: min(72vw, 300px); margin: 0 auto; }
@media (min-width: 860px) {
  .cm-start-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .cm-start-visual { width: 320px; }
}

/* ---------- Functions gallery ---------- */
.cm-gallery-wrap { position: relative; max-width: 1180px; margin: 0 auto; }
.cm-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 280px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  padding: 4px 20px 20px;
  scrollbar-width: none;
}
.cm-gallery::-webkit-scrollbar { display: none; }
.cm-shot { margin: 0; scroll-snap-align: start; }
.cm-shot-img {
  padding: 28px 34px 0; border-radius: var(--cm-radius);
  background: var(--cm-shot-bg);
}
.cm-shot-img img {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.cm-shot-whole .cm-shot-img img { -webkit-mask-image: none; mask-image: none; }  /* the whole phone, message at the bottom */
.cm-shot figcaption { padding: 16px 4px 0; color: var(--cm-muted); font-size: .875rem; line-height: 1.75; }
.cm-shot figcaption strong { display: block; margin-bottom: 4px; color: var(--cm-ink); font-size: 1rem; }
.cm-gallery-nav { display: none; justify-content: flex-end; gap: 10px; max-width: 1120px; margin: 8px auto 0; padding: 0 20px; }
.cm-gallery-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--cm-line); background: var(--cm-surface); color: var(--cm-ink); cursor: pointer;
}
.cm-gallery-btn:hover { border-color: var(--cm-accent); color: var(--cm-accent); }
.cm-gallery-btn:disabled { opacity: .35; cursor: default; }
.cm-js .cm-gallery-nav { display: flex; }
@media (hover: none) { .cm-js .cm-gallery-nav { display: none; } }
@media (min-width: 1180px) {
  .cm-gallery { padding-left: max(20px, calc((100vw - 1120px) / 2 + 20px)); }
}

.cm-minis {
  display: grid; gap: 14px; margin: 56px 0 0; padding: 0; list-style: none;
}
.cm-minis li {
  padding: 20px 22px; border-radius: 16px;
  background: var(--cm-surface); border: 1px solid var(--cm-line);
  color: var(--cm-muted); font-size: .875rem; line-height: 1.75;
}
.cm-minis strong { display: block; margin-bottom: 4px; color: var(--cm-ink); font-size: 1rem; }
@media (min-width: 640px) { .cm-minis { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cm-minis { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Privacy ---------- */
.cm-privacy {
  background: var(--cm-band-bg);
  color: #fff;
}
.cm-privacy .cm-eyebrow { color: var(--cm-band-eyebrow); }
.cm-privacy .cm-heading { max-width: 820px; }
.cm-privacy .cm-heading > p:last-child:not(.cm-eyebrow) { color: rgba(255, 255, 255, .82); }
.cm-privacy-list { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.cm-privacy-list li {
  padding: 26px 24px; border-radius: var(--cm-radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.cm-privacy-list h3 { font-size: 1.0625rem; font-weight: 800; }
.cm-privacy-list p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.cm-privacy-link { margin-top: 36px; text-align: center; }
.cm-privacy-link a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; text-decoration: none; font-weight: 700; font-size: .9375rem;
}
.cm-privacy-link a::after { content: "→"; }
.cm-privacy-link a:hover { background: rgba(255, 255, 255, .1); }
.cm-privacy :focus-visible { outline-color: #fff; }
@media (min-width: 860px) { .cm-privacy-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Spec ---------- */
.cm-spec-list { margin: 0; border-top: 1px solid var(--cm-line); }
.cm-spec-list div { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--cm-line); }
.cm-spec-list dt { color: var(--cm-muted); font-size: .875rem; font-weight: 700; }
.cm-spec-list dd { margin: 0; font-weight: 600; }
.cm-spec-list .cm-note { font-weight: 400; }
@media (min-width: 640px) { .cm-spec-list div { grid-template-columns: 11em 1fr; gap: 24px; } }

/* ---------- FAQ ---------- */
.cm-faq { background: var(--cm-surface); }
.cm-faq-list { border-top: 1px solid var(--cm-line); }
.cm-faq-list details { border-bottom: 1px solid var(--cm-line); }
.cm-faq-list summary {
  position: relative; padding: 20px 44px 20px 4px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.cm-faq-list summary::-webkit-details-marker { display: none; }
.cm-faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--cm-accent); border-bottom: 2.5px solid var(--cm-accent);
  transform: rotate(45deg); transition: transform .25s ease;
}
.cm-faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.cm-faq-list details p { padding: 0 4px 22px; color: var(--cm-ink-soft); }
.cm-faq-more { margin-top: 28px; color: var(--cm-muted); font-size: .9375rem; text-align: center; }

/* ---------- Final CTA ---------- */
.cm-final { text-align: center; }
.cm-final-inner { display: grid; justify-items: center; gap: 18px; }
.cm-final-icon { width: 96px; border-radius: 22%; box-shadow: var(--cm-shadow); }
.cm-final h2 { margin-top: 8px; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; }
.cm-final p { color: var(--cm-muted); }
.cm-final .cm-store { margin-top: 10px; }

/* ---------- Footer ---------- */
.cm-footer { padding: 48px 0 40px; background: var(--cm-footer-bg); border-top: 1px solid var(--cm-line); }
.cm-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cm-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: .875rem; }
.cm-footer-links a { color: var(--cm-ink); text-decoration: none; }
.cm-footer-links a:hover { color: var(--cm-accent); text-decoration: underline; }
.cm-legal { margin: 28px 0 0; color: var(--cm-muted); font-size: .75rem; line-height: 1.8; }
.cm-copy { margin: 12px 0 0; color: var(--cm-muted); font-size: .75rem; font-weight: 700; }

/* ---------- Reveal on scroll ---------- */
.cm-js .cm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.cm-js .cm-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cm *, .cm *::before, .cm *::after { transition: none !important; animation: none !important; }
  .cm-js .cm-reveal { opacity: 1; transform: none; }
}
