/* FeedKeeper landing page. Font URLs are rewritten to hashed asset URLs by the server. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/landing-assets/fonts/inter-latin-400-normal.8909904ab6.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/landing-assets/fonts/inter-latin-500-normal.f3779f1efc.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/landing-assets/fonts/inter-latin-600-normal.f9a06e79cd.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/landing-assets/fonts/manrope-latin-600-normal.f7ac6258da.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/landing-assets/fonts/manrope-latin-700-normal.d2a12c85a8.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/landing-assets/fonts/manrope-latin-800-normal.74c161dbcb.woff2") format("woff2"); }

:root {
  --bg: #f8fafc;
  --bg-deep: #eef2f6;
  --paper: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --rule: rgba(15, 23, 42, 0.11);
  --rule-strong: #0f172a;
  --chip: #eef2f6;
  --copper: #9a3412;
  --copper-dot: #7c2d12;
  --btn: #0f172a;
  --btn-ink: #ffffff;
  --btn-hover: #1e293b;
  --band: #0b0f17;
  --band-2: #141b27;
  --band-ink: #f1f5f9;
  --band-muted: #94a3b8;
  --band-rule: rgba(203, 213, 225, 0.12);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.05), 0 40px 90px -30px rgba(15, 23, 42, 0.38);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --bg-deep: #0f1520;
    --paper: #141b27;
    --ink: #f1f5f9;
    --ink-2: #cbd5e1;
    --muted: #94a3b8;
    --faint: #64748b;
    --rule: rgba(203, 213, 225, 0.12);
    --rule-strong: #e2e8f0;
    --chip: #1b2434;
    --copper: #fb923c;
    --copper-dot: #ea580c;
    --btn: #f1f5f9;
    --btn-ink: #0b0f17;
    --btn-hover: #ffffff;
    --band: #05080d;
    --band-2: #111823;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.85);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: #fed7aa; color: #0f172a; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--btn); color: var(--btn-ink); border-radius: 10px; text-decoration: none; transition: top 0.2s var(--ease); }
.skip:focus { top: 12px; }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--h); padding: 0 1.15em; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--btn); color: var(--btn-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 20px -10px rgba(15, 23, 42, 0.55); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-quiet { color: var(--ink); border-color: var(--rule); background: transparent; }
.btn-quiet:hover { border-color: var(--ink-2); }
.btn-light { background: #f1f5f9; color: #0b0f17; }
.btn-light:hover { background: #ffffff; }
.btn-small { --h: 36px; font-size: 14px; padding: 0 1em; background: var(--btn); color: var(--btn-ink); }
.btn-small:hover { background: var(--btn-hover); }
.btn-large { --h: 52px; font-size: 16px; padding: 0 1.4em; }
.btn-block { width: 100%; --h: 50px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()) {
  .top { animation: top-rule linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes top-rule { to { border-bottom-color: var(--rule); } }
}
.top-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.03em; }
.brand img { transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-20deg); }
.top-nav { display: flex; gap: 4px; margin-inline: auto; }
.top-nav a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.top-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.top-nav a:hover { color: var(--ink); }
.top-nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top-nav + .top-actions { margin-left: 0; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 36px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--rule); transition: color 0.2s, border-color 0.2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); border-color: var(--ink-2); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.lang[open] ul { animation: pop 0.18s var(--ease); }
.lang a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.lang a:hover { background: var(--chip); color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 64px); }
.masthead {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 11px;
  border-top: 3px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
  font: 600 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.masthead-edition { color: var(--ink); }
.masthead-edition::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--copper-dot); vertical-align: 1px; animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.35; } }
.hero-title {
  margin-top: clamp(28px, 4.5vw, 56px);
  font-size: clamp(46px, 8.6vw, 124px); font-weight: 800; line-height: 0.95; letter-spacing: -0.048em;
}
.hero-title .line { display: block; }
.hero-title .line-2 { color: var(--faint); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-top: clamp(28px, 4vw, 52px); }
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.hero-cta { display: grid; gap: 14px; justify-items: start; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { font-size: 14px; color: var(--muted); }

/* Stage with product mockups */
.stage { margin: clamp(48px, 7vw, 96px) 0 0; position: relative; }
.stage::before { content: ""; position: absolute; inset: 38% 0 0; background: var(--bg-deep); border-top: 1px solid var(--rule); }
.stage-inner { position: relative; padding-bottom: clamp(48px, 7vw, 96px); }

.mac {
  --u: clamp(5.4px, 0.92vw, 11.4px);
  font-size: var(--u);
  display: grid; grid-template-columns: 21em minmax(0, 1fr);
  width: min(100%, 1120px); border-radius: 1.4em; overflow: hidden;
  background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--shadow-lg);
  text-align: left; color: var(--ink); user-select: none;
}
.mac p { margin: 0; }
.mac-side { background: color-mix(in srgb, var(--chip) 70%, var(--paper)); border-right: 1px solid var(--rule); padding: 1.6em 1.2em 1.4em; display: flex; flex-direction: column; }
.mac-dots { display: flex; gap: 0.75em; padding-left: 0.3em; }
.mac-dots i { width: 1.2em; height: 1.2em; border-radius: 50%; background: #ff5f57; }
.mac-dots i:nth-child(2) { background: #febc2e; }
.mac-dots i:nth-child(3) { background: #28c840; }
.mac-brand { display: flex; align-items: center; gap: 0.7em; margin: 2.6em 0 2em 0.4em; font: 800 2.15em/1 var(--display); letter-spacing: -0.03em; }
.mac-brand img { width: 1.25em; height: 1.25em; }
.mac-nav li { display: flex; align-items: center; gap: 0.75em; padding: 0.6em 0.8em; border-radius: 0.75em; font: 500 1.45em/1.2 var(--sans); }
.mac-nav li .i { width: 1.35em; height: 1.35em; color: var(--muted); }
.mac-nav li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac-nav li b { font-weight: 500; font-size: 0.82em; color: var(--muted); font-variant-numeric: tabular-nums; }
.mac-nav li.on { background: color-mix(in srgb, var(--ink) 8%, transparent); font-weight: 600; }
.mac-nav li .chev { width: 0.95em; height: 0.95em; margin-right: -0.35em; color: var(--faint); }
.mac-label { margin: 1.6em 0 0.5em 0.8em !important; font: 600 1.2em/1 var(--sans); color: var(--muted); }
.mac-account { margin-top: auto; padding: 2em 0.6em 0; display: flex; align-items: center; gap: 0.7em; font: 600 1.35em/1 var(--sans); color: var(--ink-2); }
.live { width: 0.55em; height: 0.55em; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); animation: live 2.4s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 0.6em rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

.mac-main { padding: 1.4em 3.2em 0; min-width: 0; position: relative; }
.mac-tools { display: flex; justify-content: flex-end; gap: 0.2em; }
.mac-tools span { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; color: var(--ink-2); }
.mac-tools span:first-child { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.mac-tools .i { width: 1.6em; height: 1.6em; }
.mac-tools span:first-child .i { animation: spin 1.1s var(--ease) 1.6s 1 both; }
@keyframes spin { to { transform: rotate(360deg); } }
.mac-date { display: flex; align-items: center; gap: 0.8em; margin-top: 1.4em !important; font: 600 1.15em/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mac-date .dash { width: 1.8em; height: 0.2em; background: currentColor; border-radius: 1em; }
.mac-title { margin-top: 0.35em !important; font: 800 5.4em/1.05 var(--display); letter-spacing: -0.04em; }
.mac-meta { margin-top: 0.7em !important; font: 400 1.45em/1 var(--sans); color: var(--muted); }
.sep { margin: 0 0.55em; }
.mac-tabs { display: flex; gap: 2.3em; margin-top: 2.6em !important; border-bottom: 1px solid var(--rule); font: 500 1.5em/1 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; }
.mac-tabs span { padding-bottom: 0.9em; }
.mac-tabs .on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -0.14em 0 var(--ink); }
.mac-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 2.4em; margin-top: 2.6em; }
.mac-col { display: grid; gap: 1.4em; align-content: start; min-width: 0; }
.mac-col > .mac-kicker { margin-bottom: -0.2em !important; }
.mac-kicker { font: 600 1.12em/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mcard { border: 1px solid var(--rule); border-radius: 1.4em; overflow: hidden; background: var(--paper); box-shadow: 0 0.1em 0.3em rgba(15, 23, 42, 0.04); }
.mcard-body { padding: 1.7em 2em 1.9em; display: grid; gap: 0.8em; }
.mcard-lead { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.mcard-lead .plate { aspect-ratio: 16 / 7.6; }
.mcard .plate { aspect-ratio: 16 / 8.6; }
.msrc { display: flex; align-items: center; gap: 0.7em; font: 600 1.05em/1 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.msrc .dot { margin-left: auto; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--copper-dot); }
.fav { width: 1.45em; height: 1.45em; border-radius: 0.35em; background: #0f766e; }
.fav-b { background: #334155; }
.fav-c { background: #9a3412; }
.mhead { font: 700 2.7em/1.12 var(--display); letter-spacing: -0.025em; }
.mhead.small { font-size: 1.75em; line-height: 1.18; }
.msum { font: 400 1.4em/1.5 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msum:empty { display: none; }
.mfoot { font: 500 1.2em/1 var(--sans); color: var(--muted); }

/* Illustrated "photos" for the mockups, drawn with gradients */
.plate { position: relative; overflow: hidden; }
.plate-tide {
  background:
    repeating-linear-gradient(180deg, transparent 0 7%, rgba(255, 255, 255, 0.14) 7% 7.6%) 0 100% / 100% 42% no-repeat,
    linear-gradient(180deg, #f7d9b8 0%, #f1b98a 26%, #c9a38a 44%, #8b97a6 56%, #6b7787 57%, #4f5c6d 78%, #3d4858 100%);
}
.plate-tide::after { content: ""; position: absolute; inset: 56% 0 0; background: radial-gradient(60% 18% at 63% 8%, rgba(255, 214, 170, 0.75), transparent 70%), repeating-linear-gradient(176deg, transparent 0 9px, rgba(20, 30, 45, 0.18) 9px 10px); mix-blend-mode: soft-light; }
.sun { position: absolute; left: 61%; top: 33%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff6e8 0 45%, #ffd3a1 60%, rgba(255, 196, 140, 0) 72%); transform: translateY(18%); animation: sunrise 3.4s var(--ease) 0.4s both; }
@keyframes sunrise { from { transform: translateY(70%); opacity: 0.4; } }
.plate-signal {
  background:
    repeating-radial-gradient(circle at 12% 112%, transparent 0 9%, rgba(251, 146, 60, 0.85) 9% 11.5%, transparent 11.5% 19%),
    radial-gradient(circle at 12% 112%, #fb923c 0 6%, transparent 6.5%),
    linear-gradient(140deg, #1e293b, #0f172a 70%);
}
.plate-signal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(15, 23, 42, 0.5)); }

/* Phone */
.phone {
  --u: clamp(5.4px, 0.92vw, 11.4px);
  font-size: var(--u);
  position: absolute; right: var(--gutter); bottom: clamp(16px, 3vw, 40px);
  width: 32em; padding: 1em; border-radius: 5.4em;
  background: #0b0f17; box-shadow: var(--shadow-lg), 0 0 0 0.2em #2a3342 inset;
  user-select: none;
}
.phone-screen { position: relative; border-radius: 4.5em; overflow: hidden; background: var(--paper); aspect-ratio: 9 / 19.2; color: var(--ink); }
.phone-island { position: absolute; z-index: 2; top: 1.2em; left: 50%; width: 10em; height: 2.9em; border-radius: 2em; background: #000; transform: translateX(-50%); }
.phone-hero { height: 38%; }
.phone-bar { position: absolute; z-index: 2; top: 5.4em; inset-inline: 1.6em; display: flex; justify-content: space-between; }
.phone-bar span { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%; color: #fff; background: rgba(15, 23, 42, 0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.phone-bar span:nth-child(2) { margin-left: auto; margin-right: 0.8em; }
.phone-bar .i { width: 1.7em; height: 1.7em; }
.phone-progress { height: 0.3em; background: var(--rule); }
.phone-progress i { display: block; height: 100%; width: 34%; background: var(--copper-dot); transform-origin: left; animation: progress 3.2s var(--ease) 1s both; }
@keyframes progress { from { transform: scaleX(0); } }
.phone-body { padding: 2.2em 2.3em; display: grid; gap: 1em; }
.phone-title { font: 800 2.65em/1.12 var(--display); letter-spacing: -0.03em; }
.phone-text { font: 400 1.5em/1.62 var(--sans); color: var(--ink-2); }

/* Sections */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-head { display: grid; gap: 18px; max-width: 920px; }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.section-intro { font-size: 19px; color: var(--ink-2); max-width: 52ch; }

.issue-intro { margin-top: clamp(32px, 4vw, 52px); max-width: 62ch; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; color: var(--ink-2); }
.issue-intro::first-letter { float: left; margin: 0.08em 0.12em 0 0; font: 800 4.1em/0.78 var(--display); color: var(--ink); }
:lang(ja) .issue-intro::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--rule-strong); }
.columns li { padding: 26px clamp(18px, 2.4vw, 34px) 8px; border-left: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.columns li:first-child { padding-left: 0; border-left: 0; }
.num { font: 700 13px/1 var(--display); color: var(--copper); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.columns h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.2; }
.columns p { color: var(--muted); font-size: 16.5px; }

/* Pro band */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -380px; background: repeating-radial-gradient(circle, transparent 0 46px, rgba(148, 163, 184, 0.06) 46px 47px); pointer-events: none; }
.band .kicker, .band .pro-points p, .band .pro-intro { color: var(--band-muted); }
.pro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.pro-intro { margin-top: 26px; font-size: 19px; max-width: 46ch; }
.pro-points { display: grid; gap: 28px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--band-rule); }
.pro-points h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; color: #fff; }
.pro-points p { font-size: 16.5px; max-width: 52ch; }

.pro-visual { position: relative; display: grid; gap: 18px; }
.chat { background: var(--band-2); border: 1px solid var(--band-rule); border-radius: 22px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8); }
.chat-q { justify-self: end; max-width: 82%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: #f1f5f9; color: #0f172a; font-size: 15.5px; line-height: 1.45; }
.chat-tool { display: inline-flex; align-items: center; gap: 9px; justify-self: start; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(148, 163, 184, 0.1); border: 1px solid var(--band-rule); font-size: 13px; color: var(--band-muted); }
.chat-tool img { width: 17px; height: 17px; }
.chat-a { display: grid; gap: 12px; font-size: 15.5px; line-height: 1.5; color: #e2e8f0; }
.chat-a ol { display: grid; gap: 2px; counter-reset: pick; }
.chat-a li { counter-increment: pick; display: grid; grid-template-columns: 26px 1fr; column-gap: 4px; padding: 10px 0; border-top: 1px solid var(--band-rule); }
.chat-a li::before { content: counter(pick); grid-row: span 2; font: 700 13px/1.6 var(--display); color: #fb923c; }
.chat-a strong { font-weight: 600; color: #fff; }
.chat-a span { font-size: 13.5px; color: var(--band-muted); }
.brief { justify-self: end; width: min(100%, 420px); margin-top: -22px; margin-right: -14px; background: #f8fafc; color: #0f172a; border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75); display: grid; gap: 10px; transform: rotate(1.4deg); }
.brief-label { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #9a3412; }
.brief-label .i { width: 15px; height: 15px; }
.brief-title { font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; }
.brief ul { display: grid; gap: 7px; }
.brief li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.45; color: #334155; }
.brief li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: #0f172a; }
.brief-foot { font-size: 12.5px; color: #64748b; border-top: 1px solid rgba(15, 23, 42, 0.1); padding-top: 9px; }

/* Index of further features */
.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 68px); }
.index > div { display: grid; grid-template-columns: minmax(130px, 0.42fr) 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); transition: border-color 0.3s var(--ease); }
.index > div:hover { border-top-color: var(--rule-strong); }
.index dt { font: 700 18px/1.35 var(--display); letter-spacing: -0.015em; }
.index dd { color: var(--muted); font-size: 16px; }

/* Apps */
.apps { background: var(--bg-deep); border-block: 1px solid var(--rule); }
.apps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.apps-text { margin-top: 26px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.devices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.devices li { display: grid; gap: 4px; justify-items: start; align-content: start; padding: 18px 16px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.devices li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.devices .device { width: 30px; height: 30px; stroke-width: 1.4; margin-bottom: 18px; color: var(--ink-2); transition: transform 0.4s var(--ease); }
.devices li:hover .device { transform: scale(1.08) rotate(-4deg); }
.devices strong { font: 700 16px/1.2 var(--display); }
.devices span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.devices .ready span { color: #0f766e; font-weight: 600; }
@media (prefers-color-scheme: dark) { .devices .ready span { color: #2dd4bf; } }
.own-server { margin-top: 16px; padding: 24px; border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); display: grid; gap: 8px; }
.own-server h3 { font-size: 19px; letter-spacing: -0.015em; }
.own-server p { color: var(--muted); font-size: 16px; }
.own-server .services { margin-top: 6px; font: 600 14px/1.4 var(--sans); color: var(--ink-2); }
.services span { margin: 0 0.5em; color: var(--faint); }

/* Trust */
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 68px); border-top: 1px solid var(--rule-strong); }
.trust-list li { padding: 26px clamp(16px, 2vw, 28px) 0; border-left: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.trust-list li:first-child { padding-left: 0; border-left: 0; }
.trust-list h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
.trust-list p { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); max-width: 1000px; }
.plan { display: grid; gap: 24px; align-content: start; padding: clamp(26px, 3vw, 38px); border-radius: 26px; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; letter-spacing: -0.03em; }
.plan header p { margin-top: 6px; color: var(--muted); }
.badge { padding: 5px 10px; border-radius: 999px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.04em; background: rgba(251, 146, 60, 0.16); color: #fdba74; }
.price { display: flex; align-items: flex-end; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.amount { font: 800 54px/0.9 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.per { font-size: 13px; line-height: 1.3; color: var(--muted); }
.price-pending { font: 700 26px/1.2 var(--display); letter-spacing: -0.02em; color: var(--muted); }
.checks { display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: 0.7; }
.plan .btn { justify-self: start; margin-top: 6px; }
.plan-pro { background: var(--band); color: var(--band-ink); border-color: transparent; }
.plan-pro header p, .plan-pro .per { color: var(--band-muted); }
.plan-pro .price { border-bottom-color: var(--band-rule); }
.plans-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 700 19px/1.35 var(--display); letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); transition: transform 0.35s var(--ease), background-color 0.2s, border-color 0.2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; translate: -50% -50%; transition: transform 0.35s var(--ease); }
.plus::after { transform: rotate(90deg); }
summary:hover .plus { border-color: var(--ink-2); }
details[open] .plus { transform: rotate(180deg); background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
details[open] .plus::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 52px 26px 0; color: var(--ink-2); font-size: 16.5px; }
details[open] > p { animation: fade-down 0.35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* Closing */
.closing { padding-block: clamp(80px, 11vw, 150px); border-top: 3px solid var(--rule-strong); }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.closing h2 { font-size: clamp(38px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; }
.closing p { font-size: 19px; color: var(--ink-2); margin-bottom: 22px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding-block: 48px 40px; font-size: 14.5px; color: var(--muted); }
.foot-inner { display: grid; grid-template-columns: 1.4fr auto auto; gap: 24px 48px; align-items: start; }
.foot-brand p { margin-top: 12px; }
.foot-brand .brand { color: var(--ink); }
.foot-links, .foot-langs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--ink); }
.foot a[aria-current] { color: var(--ink); }
.foot-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13.5px; }

/* Legal pages */
.legal { max-width: 820px; padding-block: clamp(40px, 6vw, 80px) clamp(80px, 9vw, 120px); }
.legal .kicker::before { display: none; }
.legal .kicker a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; letter-spacing: 0.1em; }
.legal .kicker a:hover { color: var(--ink); }
.legal h1 { margin-top: 26px; padding-bottom: 26px; border-bottom: 3px solid var(--rule-strong); font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.legal-text { margin-top: 36px; color: var(--ink-2); }
.legal-text h2 { margin: 40px 0 12px; font-size: 21px; letter-spacing: -0.015em; color: var(--ink); }
.legal-text p + p { margin-top: 14px; }
.legal-text a { text-underline-offset: 3px; }
.legal-text strong { color: var(--ink); font-weight: 600; }
.legal-updated { margin-top: 48px; font-size: 14px; color: var(--muted); }

/* Login dialog */
.auth {
  width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--rule); border-radius: 26px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
  opacity: 1; transform: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), overlay 0.25s allow-discrete, display 0.25s allow-discrete;
}
.auth:not([open]) { opacity: 0; transform: translateY(12px) scale(0.97); }
@starting-style { .auth[open] { opacity: 0; transform: translateY(12px) scale(0.97); } }
.auth::backdrop { background: rgba(15, 23, 42, 0.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.25s, overlay 0.25s allow-discrete, display 0.25s allow-discrete; }
@starting-style { .auth[open]::backdrop { background: rgba(15, 23, 42, 0); } }
.auth-form { display: grid; gap: 14px; padding: 26px 28px 26px; }
.auth-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); letter-spacing: -0.03em; }
.auth-cancel { border: 0; background: none; padding: 6px 2px; cursor: pointer; font-size: 15px; color: var(--muted); }
.auth-cancel:hover { color: var(--ink); }
.auth h2 { font-size: clamp(26px, 6vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.auth-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 8px; }
.auth h2, .auth-sub { animation: swap 0.35s var(--ease); }
.auth[data-phase] h2 { animation-name: swap; }
@keyframes swap { from { opacity: 0; transform: translateY(5px); } }
.field { display: grid; gap: 6px; }
.field[hidden], .auth [hidden] { display: none !important; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input {
  height: 48px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--rule); background: var(--bg);
  font: 400 16px/1 var(--sans); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.field input:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink-2) 16%, transparent); background: var(--paper); }
.field input[readonly] { color: var(--muted); }
#auth-code { font: 600 20px/1 var(--sans); letter-spacing: 0.32em; font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; color: var(--muted); }
.auth-message { min-height: 0; font-size: 14.5px; color: var(--ink-2); }
.auth-message:empty { display: none; }
.auth-message.error { color: var(--copper); }
.auth-message.error { animation: nudge 0.4s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }
.auth-form .btn-primary[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--rule); }
.auth-links:not(:has(button:not([hidden]))) { display: none; }
.auth-links button { border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.auth-links button:hover { text-decoration-color: currentColor; }
.auth-links button:disabled { opacity: 0.5; cursor: default; }
.auth-consent { font-size: 13px; color: var(--muted); }
.auth-consent a { color: var(--ink-2); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line, .masthead, .hero-row > * { animation: rise 0.9s var(--ease) both; }
  .masthead { animation-duration: 0.6s; }
  .hero-title .line:first-child { animation-delay: 0.08s; }
  .hero-title .line-2 { animation-delay: 0.2s; }
  .hero-lede { animation-delay: 0.32s; }
  .hero-cta { animation-delay: 0.42s; }
  .mac { animation: lift 1.2s var(--ease) 0.35s both; }
  .phone { animation: lift-phone 1.3s var(--ease) 0.7s both; }
  .mcard .dot { animation: blink 1.4s ease-in-out 2.2s 2; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.45em); } }
  @keyframes lift { from { opacity: 0; transform: translateY(48px) scale(0.985); } }
  @keyframes lift-phone { from { opacity: 0; transform: translateY(80px) rotate(3deg); } }
  @keyframes blink { 50% { transform: scale(1.8); opacity: 0.4; } }

  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 26%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(26px); } }
    .chat-q, .chat-tool, .chat-a p, .chat-a li { animation: reveal linear both; animation-timeline: view(); }
    .chat-q { animation-range: entry 10% cover 25%; }
    .chat-tool { animation-range: entry 20% cover 32%; }
    .chat-a p { animation-range: entry 28% cover 38%; }
    .chat-a li { animation-range: entry 34% cover 46%; }
    .brief { animation: brief linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes brief { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } }
    .stage .phone { animation: lift-phone 1.3s var(--ease) 0.7s both, drift linear both; animation-timeline: auto, view(); animation-range: normal, cover 30% cover 100%; }
    @keyframes drift { to { translate: 0 -48px; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Japanese typography: no negative tracking, phrase-aware breaks, a little more leading */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .mhead, :lang(ja) .mac-title, :lang(ja) .phone-title { letter-spacing: 0; word-break: auto-phrase; }
:lang(ja) .hero-title { font-size: clamp(40px, 7.4vw, 104px); line-height: 1.08; }
:lang(ja) body, :lang(ja) .hero-lede { line-height: 1.8; }
:lang(ja) .kicker, :lang(ja) .masthead, :lang(ja) .msrc, :lang(ja) .mac-kicker, :lang(ja) .mac-date { letter-spacing: 0.08em; }

/* Layout breakpoints */
@media (max-width: 1060px) {
  .top-nav { display: none; }
  .top-nav + .top-actions { margin-left: auto; }
  .pro-grid, .apps-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .devices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .trust-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .brief { margin-right: 0; }
}
@media (max-width: 820px) {
  .hero-row, .closing-inner { grid-template-columns: 1fr; align-items: start; }
  .columns { grid-template-columns: 1fr; }
  .columns li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .index { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .mac { --u: clamp(4.6px, 1.32vw, 11px); grid-template-columns: minmax(0, 1fr); }
  .mac-side { display: none; }
  .mac-main { padding-inline: 2.4em; }
  .phone { --u: clamp(4.6px, 1.32vw, 11px); }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .masthead { flex-direction: column; gap: 6px; letter-spacing: 0.1em; }
  .hero-title { letter-spacing: -0.04em; }
  .buttons, .buttons .btn { width: 100%; }
  .mac-grid { grid-template-columns: 1fr; }
  .mac-grid .mac-col:last-child { display: none; }
  .mac { width: 86%; }
  .phone { --u: 5.2px; right: var(--gutter); bottom: 12px; }
  .stage::before { inset: 30% 0 0; }
  .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding-left: 0; border-left: 0; }
  .index > div { grid-template-columns: 1fr; gap: 6px; }
  .faq-list details p { padding-right: 0; }
  .top-inner { gap: 12px; }
  .auth-form { padding: 22px 20px; }
}
