/* ==========================================================================
   myalert.jp — トップページ
   ロゴは public/logo.svg (青いリングのベル)。ブランドの青はロゴのグラデーション (#109ee8 → #0160b6)。
   ほかはインク / 紙と、「変わった」所を示すシグナル (オレンジ)。
   ========================================================================== */

:root {
  --paper: #f5f4ef;
  --paper-2: #ecebe4;
  --card: #ffffff;
  --ink: #0c0c0e;
  --ink-2: #26262b;
  --muted: #5b5b63;
  --muted-2: #85858d;
  --line: #dedbd1;
  --line-2: #cbc7bb;

  --signal: #ff5b1f;
  --signal-ink: #c2410c;
  --signal-soft: rgba(255, 91, 31, 0.26);

  --web: #0a84dc;
  --web-2: #3aaef0;
  --web-ink: #0262b8;
  --web-deep: #014f95;

  --ins: #1f9d55;
  --del: #d64545;

  --console: #111214;
  --console-2: #1a1b1f;
  --console-line: #2a2b31;
  --console-fg: #ececef;
  --console-muted: #8d8e98;

  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-display: "Inter Tight", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (min-width: 720px) {
  body { font-size: 16px; }
}

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap { white-space: nowrap; }
/* 見出しを句の途中で折り返さない (.ib = 句のまとまり。auto-phrase は対応ブラウザだけ効く) */
.ib { display: inline-block; }
h1, h2, h3, .hero__lede, .section__lede, .product__pitch { word-break: auto-phrase; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: inline; } }

.en-only { display: none; }
html[lang="en"] .en-only { display: block; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}
@media (min-width: 720px) { .nav__inner { height: 68px; } }

.nav__links {
  display: none;
  margin-left: auto;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a { transition: color 160ms ease; }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav__links { display: flex; } }

.lang {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
}
@media (min-width: 860px) { .lang { margin-left: 8px; } }
.lang button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn__arrow { transition: transform 200ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); box-shadow: 0 10px 24px -12px rgba(12, 12, 14, 0.6); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--card); }
.btn--blue { background: var(--web-ink); color: #fff; }
.btn--blue:hover { background: var(--web-deep); box-shadow: 0 10px 24px -12px rgba(2, 98, 184, 0.7); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { border-color: #fff; }

.textlink {
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.textlink:hover { color: var(--web-ink); }

/* ------------------------------------------------------------------ tags */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: none;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
}
@media (min-width: 720px) { .hero { padding: 72px 0 112px; } }

/* 方眼 (下に向かって消える) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(12, 12, 14, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(to bottom, rgba(12, 12, 14, 0.045) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.5);
  animation: pulse 2s ease-out infinite;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 10.2vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
html[lang="en"] .hero__title {
  font-size: clamp(34px, 8.6vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
}

.marker {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--signal-soft) 58%, var(--signal-soft) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  animation: marker 900ms 700ms var(--ease) forwards;
  padding: 0 0.04em;
}

.hero__lede {
  margin-top: 24px;
  max-width: 34em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
@media (min-width: 720px) { .hero__lede { font-size: 17px; } }

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__cta .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }

.hero__facts {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--web);
}

/* ベルの輪が広がる波紋 */
.hero__fx {
  display: none;
  position: absolute;
  right: -160px;
  top: 40px;
  width: 720px;
  height: 720px;
  pointer-events: none;
}
@media (min-width: 1040px) { .hero__fx { display: block; right: -120px; top: 10px; } }
.ping {
  position: absolute;
  inset: 0;
  fill: none;
  stroke: var(--web);
  stroke-width: 0.3;
  opacity: 0;
  transform-origin: 50% 50%;
  animation: ping 7.5s linear infinite;
}
.ping--2 { animation-delay: 2.5s; }
.ping--3 { animation-delay: 5s; }

/* ------------------------------------------------------------------ console (hero visual) */
.hero__visual { position: relative; }

.console {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--console);
  color: var(--console-fg);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(12, 12, 14, 0.9),
    0 40px 80px -40px rgba(12, 12, 14, 0.55),
    0 18px 36px -24px rgba(12, 12, 14, 0.4);
  overflow: hidden;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--console-line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--console-muted);
  letter-spacing: 0.04em;
}
.console__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2s ease-out infinite;
}
.console__label { color: var(--console-fg); }
.console__clock { margin-left: auto; font-variant-numeric: tabular-nums; }

.feed {
  height: 372px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
@media (min-width: 720px) { .feed { height: 396px; } }

.feed__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--console-line);
  overflow: hidden;
}
.feed__item .tag { background: rgba(58, 174, 240, 0.16); color: var(--web-2); }

.feed__title { font-weight: 700; font-size: 14px; line-height: 1.5; }
.feed__meta {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--console-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed__diff {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.feed__diff del,
.feed__diff ins {
  padding: 1px 8px;
  border-radius: 5px;
  text-decoration: none;
}
.feed__diff del { background: rgba(214, 69, 69, 0.18); color: #ff9a9a; text-decoration: line-through; text-decoration-thickness: 1px; }
.feed__diff del::before { content: "− "; }
.feed__diff ins { background: rgba(31, 157, 85, 0.2); color: #7ee2a8; }
.feed__diff ins::before { content: "+ "; }
.feed__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--console-muted);
  white-space: nowrap;
  padding-top: 3px;
}

.feed__item.is-new { animation: feedIn 700ms var(--ease) both; }
.feed__item.is-new .feed__title { animation: flash 2200ms ease-out both; }

.console__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--console-line);
  background: var(--console-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--console-muted);
}
.console__foot > span:first-child { white-space: nowrap; }
.console__chans { color: var(--console-fg); }

/* ------------------------------------------------------------------ sections */
.section { padding: 72px 0; }
@media (min-width: 720px) { .section { padding: 112px 0; } }

.section__head { max-width: 760px; margin-bottom: 40px; }
@media (min-width: 720px) { .section__head { margin-bottom: 56px; } }

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--signal-ink);
}
.label span:first-child {
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.section__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
html[lang="en"] .section__title { font-weight: 800; line-height: 1.1; }

.section__lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ------------------------------------------------------------------ product (MyAlert Web) */
.section--products {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 1 枚の横長カード: 左 = 説明と機能、右 = 「囲む」の見本と AI の機能、下 = 料金と入口 */
.product {
  position: relative;
  display: grid;
  grid-template-areas: "main" "side" "foot";
  gap: 32px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 720px) { .product { padding: 44px 44px 40px; } }
@media (min-width: 1000px) {
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    grid-template-areas: "main side" "foot foot";
    column-gap: 56px;
    row-gap: 36px;
  }
}
.product::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 158, 232, 0.16), transparent);
}

.product__main { grid-area: main; min-width: 0; }
.product__side { grid-area: side; min-width: 0; display: grid; gap: 16px; align-content: start; }
.product__foot { grid-area: foot; }

.product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pmark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, #109ee8, #0160b6);
  box-shadow: 0 8px 20px -10px rgba(2, 98, 184, 0.8);
}
.pmark svg { width: 26px; height: 26px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 157, 85, 0.1);
  color: #13703b;
  font-size: 12px;
  font-weight: 700;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ins);
}

.product__name {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.product__name span { color: var(--web); }

.product__for {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.product__pitch {
  margin-top: 22px;
  font-size: clamp(19px, 4.6vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
html[lang="en"] .product__pitch { font-weight: 700; letter-spacing: -0.02em; }

.product__desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.feats {
  margin-top: 24px;
  display: grid;
  gap: 11px;
}
.feats li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}
.feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--ins);
  border-bottom: 2px solid var(--ins);
  transform: rotate(-45deg);
}

/* スクリーンショットの上で範囲を囲む、の見本 */
.shot {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -32px rgba(12, 12, 14, 0.35);
  overflow: hidden;
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.shot__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot__bar p {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot__body {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}
.shot__img {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 40%, rgba(16, 158, 232, 0.2), transparent 55%),
    linear-gradient(135deg, var(--paper-2), var(--paper));
}
.shot__info { display: grid; gap: 9px; align-content: start; }
.ln { display: block; height: 8px; border-radius: 4px; background: var(--paper-2); }
.ln--70 { width: 70%; }
.ln--60 { width: 60%; }
.ln--45 { width: 45%; }
.ln--35 { width: 35%; }
.shot__region {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 10px 0 4px;
  padding: 10px 12px;
  border: 2px dashed var(--signal);
  border-radius: 8px;
  background: rgba(255, 91, 31, 0.06);
}
.shot__label {
  position: absolute;
  top: -11px;
  left: 10px;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.shot__price { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.shot__was { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }
.shot__cond {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.shot__cond span:first-child {
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* AI で作る */
.product__ai {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.product__ailabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--web-ink);
}
.spark { color: var(--web); font-size: 14px; }
.aigrid {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) { .aigrid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.aicell h4 { font-size: 15px; font-weight: 700; }
.aicell p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

.product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
}
.product__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}
.product__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.product__actions .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .product__actions .btn { flex: 0 0 auto; } }

.note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ how */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.step {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .step { padding: 32px 30px 34px; } }
.step__no {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
}
.step h3 { margin-top: 18px; font-size: 19px; font-weight: 900; line-height: 1.45; }
html[lang="en"] .step h3 { font-weight: 700; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }

@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -21px;
    width: 22px;
    height: 1px;
    background: var(--line-2);
  }
}

/* ------------------------------------------------------------------ use cases */
.section--uses { padding-top: 0; }

.uses {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 560px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .uses { grid-template-columns: repeat(4, 1fr); } }

.use {
  padding: 22px 20px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 200ms ease;
}
.use:hover { background: var(--card); }
.use__no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--signal-ink);
  letter-spacing: 0.06em;
}
.use h3 { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.use p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ------------------------------------------------------------------ CTA */
.cta {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}
@media (min-width: 720px) { .cta__inner { padding-top: 112px; padding-bottom: 112px; } }
.cta__mark { width: 64px; height: 64px; margin: 0 auto; }
.cta__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
html[lang="en"] .cta__title { font-weight: 800; line-height: 1.1; }
.cta__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta__actions .btn { flex: 1 1 220px; max-width: 280px; }
.cta__note { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.cta__note a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.cta__note a:hover { border-bottom-color: #fff; }

/* ------------------------------------------------------------------ footer */
.footer {
  padding: 40px 0 48px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.footer__brand p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer__links a:hover { color: var(--ink); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
@media (min-width: 860px) { .footer__copy { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ 404 */
.notfound {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 64px 0;
  text-align: center;
}
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 20vw, 160px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.notfound h1 { margin-top: 18px; font-size: 22px; font-weight: 900; }
.notfound p { margin-top: 10px; color: var(--muted); }
.notfound .btn { margin-top: 28px; }

/* ------------------------------------------------------------------ motion */
.rise { animation: rise 800ms var(--ease) both; }
.rise--1 { animation-delay: 60ms; }
.rise--2 { animation-delay: 140ms; }
.rise--3 { animation-delay: 240ms; }
.rise--4 { animation-delay: 340ms; }
.rise--5 { animation-delay: 440ms; }

[data-reveal] { transition: opacity 700ms ease, transform 700ms var(--ease); }
[data-reveal].is-pending { opacity: 0; transform: translateY(18px); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes marker {
  to { background-size: 100% 100%; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 91, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0); }
}
@keyframes ping {
  0% { opacity: 0; transform: scale(0.35); }
  12% { opacity: 0.22; }
  100% { opacity: 0; transform: scale(1.25); }
}
@keyframes feedIn {
  from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
  to { max-height: 160px; opacity: 1; }
}
@keyframes flash {
  0%, 30% { color: #ffb08f; }
  100% { color: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .feed__item.is-new, .feed__item.is-new .feed__title { animation: none; }
  .marker { animation: none; background-size: 100% 100%; }
  .kicker__dot, .console__live { animation: none; }
  .hero__fx { display: none; }
  [data-reveal] { transition: none; }
  .btn, .btn__arrow { transition: none; }
}
