/* 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 { --m: 30px; display: inline-flex; align-items: flex-start; gap: calc(var(--m) * 0.375); text-decoration: none; color: var(--ink); }
.brand .logo-mark, .auth-brand img, .mac-brand img { width: var(--m); height: var(--m); }
/* The wordmark sits next to the logo as on visualfusion.de: x-height 0.45 of the logo, baseline at 0.772 of its height (see src/landing/logo.ts). */
.wordmark { display: block; flex: none; width: auto; height: calc(var(--m) * 0.803); margin-top: calc(var(--m) * 0.151); fill: currentColor; }
.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; align-items: center; gap: 0.8em; padding: 12px 0 11px;
  border-top: 3px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
  font: 700 13px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.hero-title {
  margin-top: clamp(28px, 4.5vw, 56px);
  max-width: 11em; font-size: clamp(42px, 6.2vw, 88px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em;
}
.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 { --m: 2.7em; display: flex; align-items: flex-start; gap: calc(var(--m) * 0.375); margin: 2.6em 0 2em 0.4em; font-size: 1em; color: var(--ink); }
.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 .logo-mark { 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; grid-template-rows: auto auto 1fr auto; align-content: stretch; 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; align-self: end; 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 { --m: 26px; }
.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 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; line-height: 1.4; }
.foot-meta .made-by { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.logo-mark { flex: none; display: block; overflow: visible; }

/* The segments contract towards the center one after the other, then flow back (as on visualfusion.de). */
.logo-segment { transform-origin: 0 0; }
.logo-mark.is-sluicing .logo-segment { animation: logo-sluice 0.85s cubic-bezier(0.16, 1, 0.3, 1) both; }
.logo-mark.is-sluicing .logo-segment-6 { animation-delay: 0ms; }
.logo-mark.is-sluicing .logo-segment-5 { animation-delay: 70ms; }
.logo-mark.is-sluicing .logo-segment-4 { animation-delay: 140ms; }
.logo-mark.is-sluicing .logo-segment-3 { animation-delay: 210ms; }
.logo-mark.is-sluicing .logo-segment-2 { animation-delay: 280ms; }
.logo-mark.is-sluicing .logo-segment-1 { animation-delay: 350ms; }
@keyframes logo-sluice {
  0%, 100% { opacity: 1; transform: scale(1); }
  42% { opacity: 0; transform: scale(0.42); }
}
@media (prefers-reduced-motion: reduce) { .logo-mark.is-sluicing .logo-segment { animation: none; } }
.foot-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13.5px; }

/* Legal pages */
/* Legal pages */
.legal { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.doc-head .kicker::before { display: none; }
.doc-head .kicker a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; letter-spacing: 0.1em; }
.doc-head .kicker a:hover { color: var(--ink); }
.doc-head .masthead { margin-top: 26px; }
.doc-head h1 { max-width: 14em; margin-top: clamp(22px, 3vw, 36px); font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
:lang(ja) .doc-head h1 { font-size: clamp(30px, 8.6vw, 64px); letter-spacing: -0.02em; line-height: 1.15; }
.doc-lede { margin-top: clamp(20px, 2.6vw, 30px); max-width: 60ch; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink-2); }

.doc-layout { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 36px clamp(40px, 6vw, 96px); align-items: start; }
/* Table of contents: a sticky column on wide screens, a bar docked below the site header on small ones. */
.doc-layout.has-toc { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); }
.doc-toc { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; padding-bottom: 8px; }
.doc-toc summary { cursor: default; list-style: none; font: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc-current { display: none; }
.doc-toc ol { list-style: none; margin-top: 10px; display: grid; gap: 2px; }
.doc-toc a { display: grid; grid-template-columns: 1.7em 1fr; gap: 4px; padding: 8px 10px 8px 0; border-radius: 8px; font-size: 14.5px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease); }
.doc-toc a span { font-variant-numeric: tabular-nums; color: var(--faint); font-weight: 600; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; transform: translateX(4px); }
.doc-toc a[aria-current="true"] span { color: var(--copper); }

.doc-body { min-width: 0; max-width: 760px; color: var(--ink-2); }
.doc-section { padding-block: 30px 34px; border-top: 1px solid var(--rule); }
.doc-section:first-child { border-top: 3px solid var(--rule-strong); }
.doc-section h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); }
.doc-num { flex: none; min-width: 1.4em; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--faint); }
.doc-section > p { margin-top: 16px; }
.doc-section > p + p { margin-top: 14px; }
.doc-section a { text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.doc-section a:hover { text-decoration-color: currentColor; }
.doc-section strong { color: var(--ink); font-weight: 600; }
.doc-section code { padding: 1px 6px; border-radius: 6px; background: var(--chip); font-size: 0.88em; color: var(--ink); }
.doc-item { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 0 14px; margin-top: 26px; }
.doc-key { font-variant-numeric: tabular-nums; font-weight: 800; text-transform: uppercase; color: var(--faint); line-height: 1.5; padding-top: 1px; }
.doc-item h3 { font-size: 17px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.5; }
.doc-item p { margin-top: 6px; }

/* The legal notice is the lighter sibling of the privacy policy: the same rules and numerals' place, with the heading in the margin column instead of a table of contents. */
.legal-imprint .doc-body { max-width: none; }
.legal-imprint .doc-section { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 14px clamp(40px, 6vw, 96px); }
.legal-imprint .doc-section h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; color: var(--muted); padding-top: 4px; }
.legal-imprint .doc-text { max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.legal-imprint .doc-text p + p { margin-top: 14px; }
.legal-imprint .doc-text p:not(:first-child) { color: var(--ink-2); }

/* 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 { --m: 28px; display: inline-flex; align-items: flex-start; gap: calc(var(--m) * 0.375); }
.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, .field select, .field textarea {
  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, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.field input:focus, .field select:focus, .field textarea: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); }
.field textarea { height: auto; min-height: 150px; padding: 13px 14px; line-height: 1.55; resize: vertical; }
.field select { appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }

/* Contact */
.contact { border-top: 1px solid var(--rule); }
.contact-grid { align-items: start; }
.contact-grid .section-head { position: sticky; top: 110px; }
.contact-intro { max-width: 40ch; font-size: 18px; color: var(--ink-2); }
.contact-direct { font-size: 15.5px; color: var(--muted); }
.contact-direct a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.contact-direct a:hover { text-decoration-color: currentColor; }
.contact-card { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.contact-form[hidden] { display: none; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-status { min-height: 0; font-size: 14.5px; color: var(--ink-2); }
.contact-status:empty { display: none; }
.contact-status.error { color: var(--copper); animation: nudge 0.4s var(--ease); }
.contact-notice { font-size: 13px; line-height: 1.5; color: var(--muted); }
.contact-notice a { text-underline-offset: 3px; }
.contact-form .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.contact-done { display: grid; justify-items: start; gap: 14px; padding-block: 14px; }
.contact-done[hidden] { display: none; }
.contact-done h3 { font: 800 clamp(22px, 2.6vw, 28px)/1.2 var(--display); letter-spacing: -0.03em; }
.contact-done p { color: var(--ink-2); font-size: 16.5px; }
.contact-check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); }
.contact-check .i { width: 26px; height: 26px; }
.contact-check path { stroke-dasharray: 26; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .contact-done:not([hidden]) .contact-check { animation: pop-in 0.5s var(--ease); }
  .contact-done:not([hidden]) .contact-check path { animation: draw 0.55s 0.15s ease-out both; }
  @keyframes pop-in { from { transform: scale(0.6); opacity: 0; } }
  @keyframes draw { from { stroke-dashoffset: 26; } }
}
#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); } }
    .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; } }
  }
}

/* The Pro visual plays like a conversation once it scrolls into view (landing.js adds .play). Without scripts or with reduced motion everything stays visible. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .pro-visual:not(.play) :is(.chat, .chat-q, .chat-tool, .chat-a p, .chat-a li, .brief, .brief-label, .brief-title, .brief li, .brief-foot) { opacity: 0; }
  .pro-visual.play .chat { animation: pv-card 0.7s var(--ease) both; }
  .pro-visual.play .chat-q { animation: pv-from-right 0.55s var(--ease) 0.35s both; }
  .pro-visual.play .chat-tool { animation: pv-pop 0.45s var(--ease) 1s both, pv-ring 1.2s ease-out 1.05s both; }
  /* The mark does the same segment dance as the page logo while the search runs, twice. */
  .pro-visual.play .chat-tool .logo-segment { animation: logo-sluice 0.85s cubic-bezier(0.16, 1, 0.3, 1) 2 both; }
  .pro-visual.play .chat-tool .logo-segment-6 { animation-delay: 1.05s; }
  .pro-visual.play .chat-tool .logo-segment-5 { animation-delay: 1.12s; }
  .pro-visual.play .chat-tool .logo-segment-4 { animation-delay: 1.19s; }
  .pro-visual.play .chat-tool .logo-segment-3 { animation-delay: 1.26s; }
  .pro-visual.play .chat-tool .logo-segment-2 { animation-delay: 1.33s; }
  .pro-visual.play .chat-tool .logo-segment-1 { animation-delay: 1.4s; }
  .pro-visual.play .chat-a p { animation: pv-rise 0.6s var(--ease) 2.3s both; }
  .pro-visual.play .chat-a li { animation: pv-rise 0.55s var(--ease) both; }
  .pro-visual.play .chat-a li:nth-child(1) { animation-delay: 2.9s; }
  .pro-visual.play .chat-a li:nth-child(2) { animation-delay: 3.12s; }
  .pro-visual.play .chat-a li:nth-child(3) { animation-delay: 3.34s; }
  .pro-visual.play .brief { animation: pv-brief 1s cubic-bezier(0.34, 1.4, 0.64, 1) 4s both, pv-float 7s ease-in-out 5.2s infinite; }
  .pro-visual.play .brief-label { animation: pv-rise 0.5s var(--ease) 4.35s both; }
  .pro-visual.play .brief-label .i { animation: pv-spark 1.1s var(--ease) 4.4s both; }
  .pro-visual.play .brief-title { animation: pv-rise 0.5s var(--ease) 4.5s both; }
  .pro-visual.play .brief li { animation: pv-from-left 0.5s var(--ease) both; }
  .pro-visual.play .brief li:nth-child(1) { animation-delay: 4.75s; }
  .pro-visual.play .brief li:nth-child(2) { animation-delay: 4.95s; }
  .pro-visual.play .brief li:nth-child(3) { animation-delay: 5.15s; }
  .pro-visual.play .brief-foot { animation: pv-rise 0.5s var(--ease) 5.4s both; }

  @keyframes pv-card { from { opacity: 0; transform: translateY(28px) scale(0.985); } }
  @keyframes pv-from-right { from { opacity: 0; transform: translateX(28px) scale(0.96); } }
  @keyframes pv-from-left { from { opacity: 0; transform: translateX(-14px); } }
  @keyframes pv-rise { from { opacity: 0; transform: translateY(12px); } }
  @keyframes pv-pop { from { opacity: 0; transform: scale(0.88); } }
  @keyframes pv-ring { 0% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(251, 146, 60, 0); } }
  @keyframes pv-brief { from { opacity: 0; transform: translateY(70px) rotate(-5deg) scale(0.94); } to { opacity: 1; transform: rotate(1.4deg); } }
  @keyframes pv-spark { 0% { transform: rotate(0) scale(0.4); } 60% { transform: rotate(200deg) scale(1.35); } 100% { transform: rotate(180deg) scale(1); } }
  @keyframes pv-float { 50% { translate: 0 -6px; } }
}

@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 { max-width: none; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.12; }
: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: 900px) {
  .contact-grid .section-head { position: static; }
  .legal-imprint .doc-section { grid-template-columns: 1fr; }
  html:has(.doc-toc) { scroll-padding-top: 148px; }
  .doc-layout.has-toc { display: block; }
  .doc-toc {
    top: 69px; z-index: 19; max-height: none; overflow: visible; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
    border-bottom: 1px solid var(--rule);
  }
  .doc-toc summary { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0; border-bottom: 0; cursor: pointer; line-height: 1.3; letter-spacing: 0.14em; }
  .doc-toc summary:hover { color: var(--ink); }
  .doc-toc summary::after { content: ""; margin-left: auto; flex: none; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); }
  .doc-toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .doc-toc-label { flex: none; }
  .doc-toc-current { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0; text-transform: none; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .doc-toc-current:empty { display: none; }
  .doc-toc-current::before { content: "·"; margin-right: 14px; color: var(--faint); }
  .doc-toc ol {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 1px); max-height: min(70vh, 560px); overflow: auto; padding: 10px; margin-top: 0;
    border: 1px solid var(--rule); border-radius: 0 0 18px 18px; background: var(--paper); box-shadow: var(--shadow-lg);
  }
  .doc-toc[open] ol { animation: fade-down 0.25s var(--ease); }
  .doc-toc a { padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
  .doc-toc a:hover { background: var(--chip); color: var(--ink); }
  .doc-toc a[aria-current="true"] { background: var(--chip); transform: none; }
}
@media print {
  .top, .foot, .doc-toc, .skip { display: none !important; }
  .doc-item { break-inside: avoid; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .masthead { letter-spacing: 0.1em; font-size: 12px; }
  .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; }
}

/* Cancellation page (§ 312k BGB) */
.legal-cancel .doc-head { margin-bottom: 28px; }
.legal-cancel .doc-head h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; }
.legal-cancel { max-width: 760px; }
.cancel-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; }
.cancel-card { margin-bottom: 28px; }
.cancel-card h2 { font-size: 22px; margin: 12px 0 8px; }
.cancel-facts { margin: 0 0 22px; display: grid; gap: 14px; }
.cancel-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.cancel-facts dd { margin: 4px 0 0; color: var(--ink); }
.cancel-apple { padding: 18px 22px; border-radius: 18px; border: 1px solid var(--rule); color: var(--ink-2); }
.cancel-apple h2 { font-size: 17px; margin: 0 0 6px; color: var(--ink); }
.cancel-apple p { margin: 0 0 8px; line-height: 1.55; }

.pro-soon { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--copper); border-radius: 0 12px 12px 0; background: var(--paper); color: var(--ink-2); font-size: 15px; line-height: 1.55; }

.auth-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 4px 0 0; }
.auth-terms[hidden] { display: none !important; }
.auth-terms input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.auth-remember small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.devices li:has(> .device-link) { padding: 0; }
.device-link { display: grid; gap: 4px; justify-items: start; align-content: start; height: 100%; padding: 18px 16px 16px; border-radius: 18px; color: inherit; text-decoration: none; }
.device-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.device-link:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.devices li:hover .device-link .device { transform: scale(1.08) rotate(-4deg); }
