@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Geist:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&display=swap");

:root {
  --paper: #fbfaf7;
  --paper-deep: #f4f1ea;
  --ink: #161719;
  --muted: #70757d;
  --line: #deded9;
  --line-strong: #c8cbc8;
  --blue: #5c9fe8;
  --blue-pale: #eaf4ff;
  --peach: #f2aa81;
  --surface: #ffffff;
  --surface-soft: #f7f7f5;
  --callout: linear-gradient(135deg, #f7fbff 0%, #fbfaf7 55%, #fff7f1 100%);
  --button: #4b8fd4;
  --button-hover: #367ac0;
  --notice: #ffffff;
  --success: #377b50;
  --error: #ae4d47;
  --hero-atmosphere:
    radial-gradient(ellipse 48% 44% at 50% 37%, rgb(171 219 255 / 42%), transparent 72%),
    radial-gradient(ellipse 42% 34% at 8% 58%, rgb(190 227 255 / 32%), transparent 72%),
    radial-gradient(ellipse 38% 31% at 94% 67%, rgb(255 211 181 / 28%), transparent 74%);
  --hero-line: rgb(117 178 231 / 21%);
  --serif: "Fraunces", "Iowan Old Style", "Charter", Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --content: min(1180px, calc(100% - 64px));
  color-scheme: light;
}

:root[data-theme="night"] {
  --paper: #181a1c;
  --paper-deep: #202326;
  --ink: #f4f2ed;
  --muted: #b4bac0;
  --line: #393e42;
  --line-strong: #535a5e;
  --blue: #8fc6ff;
  --blue-pale: #223444;
  --peach: #f1ad89;
  --surface: #23272a;
  --surface-soft: #1f2326;
  --callout: linear-gradient(135deg, #202e3a 0%, #1d2226 58%, #302821 100%);
  --button: #4d8fd1;
  --button-hover: #6aa8e2;
  --notice: #23272a;
  --success: #86ce9e;
  --error: #ffaaa2;
  --hero-atmosphere:
    radial-gradient(ellipse 48% 44% at 50% 37%, rgb(61 138 202 / 29%), transparent 72%),
    radial-gradient(ellipse 42% 34% at 8% 58%, rgb(46 118 181 / 17%), transparent 72%),
    radial-gradient(ellipse 38% 31% at 94% 67%, rgb(194 126 82 / 12%), transparent 74%);
  --hero-line: rgb(171 207 234 / 12%);
  color-scheme: dark;
}

:root[data-theme="night"] .site-nav a { color: #c5cdd0; }
:root[data-theme="night"] .site-nav a.is-active,
:root[data-theme="night"] .site-nav a:hover,
:root[data-theme="night"] .text-link:hover { color: var(--blue); }
:root[data-theme="night"] .button-outline { color: #f4f2ed; border-color: #687176; }
:root[data-theme="night"] .lead,
:root[data-theme="night"] .number-grid p,
:root[data-theme="night"] .audience-item p,
:root[data-theme="night"] .feature-copy p,
:root[data-theme="night"] .metric-panel p,
:root[data-theme="night"] .note-panel p,
:root[data-theme="night"] .note-panel li,
:root[data-theme="night"] .path-step p,
:root[data-theme="night"] .platform-card p,
:root[data-theme="night"] .cross-grid p,
:root[data-theme="night"] .privacy-principles p,
:root[data-theme="night"] .faq-list details p,
:root[data-theme="night"] .custom-grid p,
:root[data-theme="night"] .collab-flow p,
:root[data-theme="night"] .footer-note { color: var(--muted); }
:root[data-theme="night"] .data-table th { color: #bbc3c7; }
:root[data-theme="night"] .data-table td { color: #d2d8da; }
:root[data-theme="night"] .footer-main a,
:root[data-theme="night"] .footer-bottom { color: #b7c0c4; }
:root[data-theme="night"] .footer-title { color: #e9e8e3; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  letter-spacing: -.005em;
  font-feature-settings: "ss01", "ss03", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: #d7eaff; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.page-shell { overflow: visible; }
.site-header {
  width: var(--content);
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px 1fr 180px;
  gap: 18px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 9px 22px rgb(29 38 43 / 4%);
}
.site-logo { width: 112px; display: block; }
.site-logo img { width: 100%; height: auto; }
.site-nav { justify-self: center; display: flex; gap: clamp(12px, 1.8vw, 26px); align-items: center; }
.site-nav a, .text-link { color: color-mix(in srgb, var(--ink) 72%, transparent); font-size: 14px; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active, .text-link:hover { color: var(--blue); }
.site-nav a.is-active { position: relative; }
.site-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -31px; height: 2px; background: var(--blue); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 40px; height: 40px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1.5px; margin: 4px 0; background: var(--ink); }
.theme-toggle { width: 38px; height: 38px; padding: 0; display: inline-grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue); background: var(--surface); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle:hover { transform: translateY(-1px); background: var(--blue-pale); }
.theme-icon { width: 18px; height: 18px; }
.theme-icon-moon { display: none; }
:root[data-theme="night"] .theme-icon-sun { display: none; }
:root[data-theme="night"] .theme-icon-moon { display: block; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 25px;
  border: 1px solid var(--button);
  border-radius: 8px;
  background: var(--button);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--button-hover); }
.button:active { transform: translateY(0); }
.button:focus { outline: 0; }
.button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.button-outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--blue); background: var(--blue-pale); }
.button-small { min-height: 38px; padding: 0 17px; font-size: 14px; }
.button-link { padding: 0; min-height: auto; background: transparent; color: var(--ink); border: 0; border-radius: 0; }
.button-link:hover { color: var(--blue); background: transparent; }

.eyebrow { display: none; }
.display-title, .section-title, .mini-title { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: pretty; letter-spacing: -.01em; }
.display-title { max-width: 780px; font-size: clamp(48px, 6vw, 84px); line-height: 1.12; }
.section-title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.18; }
.mini-title { font-size: clamp(27px, 3vw, 39px); line-height: 1.28; }
.accent { color: var(--blue); }
.lead { max-width: 660px; margin: 26px 0 0; color: #676c73; font-size: 18px; line-height: 1.85; text-wrap: pretty; }
.support-note { margin: 18px 0 0; color: #858a90; font-size: 13px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.hero {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(48px, 5vw, 72px) 0 56px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  text-align: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  max-width: 1800px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  top: 0;
  bottom: 0;
  background: var(--hero-atmosphere);
}
.hero::after {
  top: clamp(54px, 8vw, 118px);
  height: min(69vw, 900px);
  background: var(--hero-line);
  -webkit-mask: url("../images/hero-book-lines.svg") center / 100% 100% no-repeat;
  mask: url("../images/hero-book-lines.svg") center / 100% 100% no-repeat;
}
.hero > * { position: relative; z-index: 1; }
.hero-lockup { display: block; width: clamp(190px, 20vw, 260px); height: auto; margin: 0 auto clamp(26px, 3vw, 40px); }
.hero .display-title { margin-inline: auto; }
.hero .lead { margin-inline: auto; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero .support-note { margin-top: 20px; }
.hero-product { width: min(100%, 1080px); margin: 70px auto 0; position: relative; }
.hero-product::before { content: ""; position: absolute; width: 60%; height: 45%; left: 20%; top: 3%; z-index: -1; background: radial-gradient(circle at 50% 50%, rgb(135 194 247 / 28%), transparent 68%); filter: blur(36px); }

.browser-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 60px rgb(29 38 43 / 7%); }
.browser-chrome { height: 38px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.browser-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #e4e3df; }
.browser-chrome span:first-child { background: #e6a58d; }
.browser-chrome span:nth-child(2) { background: #edd58c; }
.browser-chrome span:nth-child(3) { background: #a8ce9b; }
.browser-chrome small { margin-left: 18px; padding: 2px 18px; border-radius: 100px; color: var(--muted); background: var(--paper-deep); font-size: 10px; }
.browser-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }

.section { width: var(--content); margin: 0 auto; padding: 72px 0; }
.section-intro { max-width: 730px; }
.section-intro .lead { margin-top: 17px; font-size: 17px; }
.number-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number-grid > article { min-height: 230px; padding: 28px 20px 25px; border-right: 1px solid var(--line); }
.number-grid > article:first-child { padding-left: 0; }
.number-grid > article:last-child { border-right: 0; padding-right: 0; }
.roman { margin: 0 0 26px; color: var(--blue); font-family: var(--serif); font-style: italic; font-size: 22px; }
.number-grid h3 { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.number-grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.audience-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-item { padding: 30px 22px 30px 0; border-right: 1px solid var(--line); }
.audience-item + .audience-item { padding-left: 22px; }
.audience-item:last-child { border-right: 0; padding-right: 0; }
.audience-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #9dc9f1; color: var(--blue); border-radius: 50%; font-family: var(--serif); font-size: 18px; }
.audience-item h3 { margin: 17px 0 0; font-family: var(--serif); font-size: 21px; }
.audience-item p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.feature-split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-split:last-child { border-bottom: 1px solid var(--line); }
.feature-split.is-reversed > :first-child { order: 2; }
.feature-copy p { margin: 17px 0 0; color: var(--muted); font-size: 16px; }
.feature-copy .text-link { display: inline-flex; margin-top: 24px; color: var(--ink); font-size: 15px; }
.feature-copy .text-link::after { content: "↗"; margin-left: 8px; color: var(--blue); }
.surface-card { min-height: 320px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.surface-card img { width: 100%; border: 1px solid #e8e8e8; border-radius: 8px; }
.surface-card--stat { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; background: var(--surface); }
.metric-panel, .note-panel { padding: 24px; border: 1px solid var(--line); border-radius: 9px; }
.metric-panel p, .note-panel p { margin: 0; color: var(--muted); font-size: 14px; }
.metric-row { margin-top: 27px; display: flex; justify-content: space-between; align-items: baseline; }
.metric-row strong { font-family: var(--serif); font-size: 46px; font-weight: 500; }
.meter { height: 5px; margin-top: 17px; overflow: hidden; border-radius: 99px; background: #edf0ef; }
.meter::after { content: ""; display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #70b4f0, #7ac7df); }
.note-panel ul { padding: 0; margin: 19px 0 0; list-style: none; }
.note-panel li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.page-hero { width: var(--content); margin: 0 auto; padding: 100px 0 78px; }
.page-hero.is-centered { text-align: center; }
.page-hero.is-centered .display-title, .page-hero.is-centered .lead { margin-inline: auto; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.page-hero-grid .lead { max-width: 560px; }
.page-hero-aside { position: relative; }
.page-hero-aside::before { content: ""; position: absolute; width: 70%; height: 60%; left: 13%; top: 10%; z-index: -1; background: radial-gradient(circle, rgb(139 191 240 / 26%), transparent 68%); filter: blur(28px); }
.page-hero-aside .browser-frame { transform: rotate(.5deg); }

.path-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-flow { grid-template-columns: repeat(4, 1fr); }
.path-step { min-height: 246px; padding: 26px 18px; position: relative; border-right: 1px solid var(--line); }
.path-step:last-child { border-right: 0; }
.path-step:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; z-index: 1; color: #9ba0a4; font-size: 18px; background: var(--paper); line-height: 1; }
.path-step .step-number { color: var(--blue); font-family: var(--serif); font-style: italic; font-size: 18px; }
.path-step h3 { margin: 35px 0 0; font-family: var(--serif); font-size: 21px; }
.path-step p { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.callout { width: var(--content); margin: 0 auto 112px; padding: 70px clamp(28px, 7vw, 92px); color: var(--ink); border: 1px solid var(--line); background: var(--callout); border-radius: 10px; text-align: center; }
.callout .section-title { max-width: 740px; margin: 0 auto; }
.callout .accent { color: var(--blue); }
.callout p { max-width: 640px; margin: 17px auto 30px; color: var(--muted); }

.guide-hero { padding-bottom: 56px; }
.guide-overline { margin: 0 0 17px; color: var(--blue); font-size: 14px; letter-spacing: .08em; }
.guide-anchor-nav { width: var(--content); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.guide-anchor-nav a { display: inline-flex; flex: 0 0 auto; align-items: baseline; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; transition: color .2s ease; }
.guide-anchor-nav a:hover { color: var(--blue); }
.guide-anchor-nav span { color: var(--blue); font-family: var(--serif); font-size: 15px; font-style: italic; }
.guide-chapter { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 46px; padding: 96px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.guide-step-label { padding-top: 9px; }
.guide-step-label span { color: var(--blue); font-family: var(--serif); font-size: 36px; font-style: italic; line-height: 1; }
.guide-step-label p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.guide-chapter-body { min-width: 0; }
.guide-chapter-body .lead { max-width: 740px; margin-top: 16px; }
.guide-figure { margin: 38px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 42px rgb(29 38 43 / 6%); }
.guide-figure img { width: 100%; border-bottom: 1px solid var(--line); }
.guide-figure figcaption { padding: 11px 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.guide-figure--wide img { aspect-ratio: 36 / 25; object-fit: cover; object-position: top center; }
.guide-figure--workbench { max-width: 760px; }
.guide-figure--workbench img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.guide-shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.guide-shot-grid .guide-figure { margin: 0; }
.guide-shot-grid img { aspect-ratio: 36 / 25; object-fit: cover; object-position: center; }
.guide-steps { display: grid; gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-steps li { display: grid; grid-template-columns: 35px minmax(0, 1fr); column-gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); counter-increment: guide-step; }
.guide-steps li::before { content: counter(guide-step, decimal-leading-zero); padding-top: 2px; color: var(--blue); font-family: var(--serif); font-size: 17px; font-style: italic; }
.guide-steps strong { grid-column: 2; font-family: var(--serif); font-size: 20px; line-height: 1.45; font-weight: 600; }
.guide-steps span { grid-column: 2; margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.guide-steps b { color: var(--ink); font-weight: 600; }
.guide-tip { max-width: 760px; margin-top: 30px; padding: 19px 22px; border-left: 3px solid var(--blue); background: color-mix(in srgb, var(--blue-pale) 56%, transparent); }
.guide-tip strong { font-family: var(--serif); font-size: 18px; }
.guide-tip p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.guide-prompt-box { max-width: 760px; margin-top: 38px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.guide-prompt-box p { margin: 0; color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.guide-prompt-box ul { display: grid; gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; }
.guide-prompt-box li { position: relative; padding: 11px 13px 11px 29px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1.7; }
.guide-prompt-box li::before { content: "↗"; position: absolute; left: 11px; color: var(--blue); }
.guide-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-action-grid article { min-height: 138px; padding: 21px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.guide-action-grid span { color: var(--ink); font-family: var(--serif); font-size: 21px; font-weight: 600; }
.guide-action-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.guide-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 38px; }
.guide-record-grid article { min-height: 152px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.guide-record-grid p { margin: 0; color: var(--blue); font-size: 13px; }
.guide-record-grid strong { display: block; margin-top: 24px; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.45; }
.guide-faq-section { padding-top: 96px; }

.platform-stage { margin-top: 58px; padding: 44px 0 0; position: relative; min-height: 410px; }
.platform-stage::after { content: ""; position: absolute; inset: 22% 12% 1% 12%; z-index: -1; background: radial-gradient(ellipse, rgb(110 178 235 / 22%), transparent 66%); filter: blur(24px); }
.platform-stage .browser-frame { width: min(66%, 720px); margin: 0 auto; }
.device { position: absolute; overflow: hidden; border: 4px solid var(--ink); background: var(--surface); box-shadow: 0 18px 45px rgb(28 34 39 / 12%); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.device--laptop { width: 31%; height: 225px; left: 2%; bottom: 2px; border-radius: 10px 10px 4px 4px; }
.device--phone { width: 12%; height: 250px; right: 5%; bottom: 0; border-radius: 23px; border-width: 6px; }
.platform-list { margin-top: 95px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.platform-card { min-height: 242px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; }
.platform-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #b4bbc0; border-radius: 50%; font-family: var(--serif); }
.platform-card h3 { margin: 22px 0 4px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.platform-card p { margin: 0; color: var(--muted); font-size: 14px; }
.platform-card .button { width: 100%; margin-top: auto; min-height: 39px; padding: 0 12px; font-size: 13px; }
.platform-card .button[aria-disabled="true"] { color: #8a8e92; border-color: var(--line); background: transparent; }
.cross-device { margin-top: 104px; padding-top: 72px; border-top: 1px solid var(--line); text-align: center; }
.cross-device .section-title { margin: 0 auto; }
.cross-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.cross-grid article { padding: 0 34px; border-right: 1px solid var(--line); }
.cross-grid article:first-child { padding-left: 0; }
.cross-grid article:last-child { border-right: 0; padding-right: 0; }
.cross-grid .roman { margin-bottom: 17px; }
.cross-grid h3 { margin: 0; font-family: var(--serif); font-size: 22px; }
.cross-grid p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.privacy-principles { margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.privacy-principles article { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-principles article:first-child { padding-left: 0; }
.privacy-principles article:last-child { padding-right: 0; border-right: 0; }
.privacy-principles h3 { margin: 44px 0 0; font-family: var(--serif); font-size: 25px; }
.privacy-principles p { margin: 10px 0 0; color: var(--muted); }
.data-table-wrap { margin-top: 52px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; min-width: 740px; text-align: left; }
.data-table th, .data-table td { padding: 19px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.data-table th:last-child, .data-table td:last-child { border-right: 0; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { color: #777d83; font-size: 13px; font-weight: 500; }
.data-table td { color: #54595f; font-size: 14px; }
.data-table td:first-child { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.faq-list { margin-top: 46px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; padding: 25px 6px; list-style: none; font-family: var(--serif); font-size: 22px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-family: var(--sans); font-size: 24px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; color: var(--blue); }
.faq-list details p { max-width: 830px; margin: -3px 0 25px; color: var(--muted); }

.cooperation-hero { width: var(--content); margin: 0 auto; padding: 80px 0 55px; }
.custom-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.custom-grid article { min-height: 195px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.custom-grid h3 { margin: 28px 0 0; font-family: var(--serif); font-size: 22px; }
.custom-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cooperation-detail { width: var(--content); margin: 0 auto 112px; display: grid; grid-template-columns: .83fr 1.17fr; gap: 74px; padding-top: 72px; border-top: 1px solid var(--line); }
.collab-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin-top: 42px; }
.collab-flow article { position: relative; padding-right: 16px; }
.collab-flow article:nth-child(odd)::after { content: "→"; position: absolute; top: 30px; right: -9px; color: var(--blue); }
.collab-flow .step-number { color: var(--blue); font-family: var(--serif); font-style: italic; }
.collab-flow h3 { margin: 18px 0 0; font-family: var(--serif); font-size: 21px; }
.collab-flow p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.cooperation-form { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.is-wide { grid-column: 1 / -1; }
.form-field label, .form-heading { color: var(--ink); font-size: 14px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 102px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(92 159 232 / 13%); }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent-field { display: flex; gap: 8px; align-items: flex-start; color: var(--muted) !important; line-height: 1.55; }
.consent-field input { width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--blue); }
.consent-field a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.turnstile-widget { min-height: 65px; }
.checkboxes { display: flex; flex-wrap: wrap; gap: 9px 17px; padding-top: 3px; }
.checkboxes label { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 14px; }
.checkboxes input { width: 14px; height: 14px; accent-color: var(--blue); }
.form-actions { margin-top: 23px; display: flex; align-items: center; gap: 16px; }
.form-status { margin: 14px 0 0; font-size: 13px; }
.form-status.is-pending { color: #8a661a; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.site-footer { width: var(--content); margin: 0 auto; padding: 54px 0 28px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 38px; }
.footer-main .site-logo { width: 114px; }
.footer-main div:not(.footer-note) { display: grid; align-content: start; gap: 6px; }
.footer-main a { color: #767b81; font-size: 13px; }
.footer-main a:hover { color: var(--blue); }
.footer-title { margin: 0 0 5px; color: #34383c; font-size: 13px; }
.footer-note { color: #7e8488; font-size: 13px; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 19px; border-top: 1px solid var(--line); color: #8a8e92; font-size: 12px; }

.site-notice { position: fixed; z-index: 10; left: 50%; bottom: 28px; width: min(440px, calc(100% - 32px)); padding: 14px 18px; transform: translate(-50%, 22px); border: 1px solid var(--line-strong); border-radius: 8px; background: var(--notice); color: var(--ink); box-shadow: 0 16px 32px rgb(20 25 29 / 16%); font-size: 14px; opacity: 0; transition: opacity .25s ease, transform .25s ease; }
:root[data-theme="night"] .site-notice { color: #f4f2ed; }
.site-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  :root { --content: min(100% - 40px, 680px); }
  .site-header { grid-template-columns: 1fr auto auto; min-height: 72px; }
  .menu-toggle { display: block; grid-column: 2; }
  .header-actions { grid-column: 3; gap: 12px; }
  .site-nav { display: none; position: absolute; z-index: 5; top: 72px; left: 0; right: 0; justify-self: stretch; grid-column: 1 / -1; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 14px 32px rgb(25 30 33 / 7%); }
  .nav-open .site-nav { display: grid; justify-items: stretch; gap: 4px; }
  .site-nav a.is-active::after { display: none; }
  .page-hero-grid, .feature-split, .cooperation-detail { grid-template-columns: 1fr; gap: 42px; }
  .guide-chapter { grid-template-columns: 100px minmax(0, 1fr); gap: 28px; }
  .feature-split.is-reversed > :first-child { order: initial; }
  .number-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .number-grid > article, .audience-item { padding: 25px 18px !important; border-bottom: 1px solid var(--line); }
  .number-grid > article:nth-child(2n), .audience-item:nth-child(2n) { border-right: 0; }
  .number-grid > article:last-child, .audience-item:last-child { border-bottom: 0; }
  .path-flow { grid-template-columns: repeat(2, 1fr); }
  .path-step:nth-child(2n) { border-right: 0; }
  .path-step:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .path-step:not(:last-child)::after { display: none; }
  .platform-list { grid-template-columns: repeat(2, 1fr); }
  .platform-card:last-child { grid-column: span 2; }
  .privacy-principles { grid-template-columns: 1fr; }
  .privacy-principles article, .privacy-principles article:first-child, .privacy-principles article:last-child { padding: 26px 0; border-right: 0; }
  .custom-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --content: calc(100% - 32px); }
  .site-logo { width: 98px; }
  .button-small { min-height: 35px; padding: 0 12px; }
  .hero, .page-hero, .cooperation-hero { padding-top: 62px; }
  .guide-hero { padding-bottom: 42px; }
  .guide-anchor-nav { gap: 18px; padding: 14px 0; }
  .guide-anchor-nav a { font-size: 12px; }
  .guide-chapter { display: block; padding: 71px 0; scroll-margin-top: 74px; }
  .guide-step-label { padding: 0; margin-bottom: 19px; display: flex; align-items: baseline; gap: 10px; }
  .guide-step-label span { font-size: 29px; }
  .guide-step-label p { margin: 0; }
  .guide-figure { margin-top: 28px; border-radius: 9px; }
  .guide-figure--wide img { aspect-ratio: 10 / 9; }
  .guide-shot-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .guide-shot-grid img { aspect-ratio: 10 / 7; }
  .guide-steps { gap: 15px; margin-top: 29px; }
  .guide-steps li { grid-template-columns: 29px minmax(0, 1fr); column-gap: 10px; padding-bottom: 15px; }
  .guide-steps strong { font-size: 18px; }
  .guide-steps span { font-size: 14px; }
  .guide-tip { margin-top: 24px; padding: 16px 17px; }
  .guide-prompt-box { margin-top: 28px; padding: 18px; }
  .guide-prompt-box li { padding: 10px 10px 10px 28px; }
  .guide-action-grid, .guide-record-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .guide-action-grid article { min-height: auto; padding: 18px; }
  .guide-record-grid { gap: 9px; }
  .guide-record-grid article { min-height: auto; padding: 17px; }
  .guide-record-grid strong { margin-top: 10px; font-size: 18px; }
  .guide-faq-section { padding-top: 71px; }
  .hero { padding-bottom: 67px; }
  .hero-lockup { width: min(220px, 64vw); margin-bottom: 26px; }
  .display-title { font-size: clamp(41px, 12vw, 54px); }
  .lead { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero-product { margin-top: 48px; }
  .browser-chrome { height: 30px; }
  .browser-chrome span { width: 7px; height: 7px; }
  .browser-frame { border-radius: 10px; }
  .number-grid, .audience-grid, .path-flow, .platform-list, .cross-grid, .custom-grid { grid-template-columns: 1fr; }
  .number-grid > article, .audience-item, .path-step, .platform-card, .cross-grid article, .custom-grid article { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .number-grid > article:last-child, .audience-item:last-child, .path-step:last-child, .platform-card:last-child, .cross-grid article:last-child, .custom-grid article:last-child { border-bottom: 0 !important; }
  .number-grid > article, .audience-item { min-height: auto; }
  .path-step { min-height: auto; }
  .path-step h3 { margin-top: 17px; }
  .feature-split { padding: 60px 0; }
  .surface-card { min-height: 260px; padding: 14px; }
  .surface-card--stat { grid-template-columns: 1fr; }
  .platform-stage { min-height: 280px; }
  .platform-stage .browser-frame { width: 75%; }
  .device--laptop { height: 136px; width: 34%; }
  .device--phone { height: 166px; width: 17%; }
  .platform-list { margin-top: 50px; }
  .platform-card:last-child { grid-column: auto; }
  .cross-device { margin-top: 76px; padding-top: 60px; }
  .cross-grid article { padding: 24px 0; }
  .faq-list summary { padding: 19px 0; font-size: 19px; line-height: 1.45; }
  .data-table-wrap { margin-inline: -16px; border-radius: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .cooperation-form { padding: 20px; }
  .callout { margin-bottom: 76px; padding: 54px 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-main .site-logo { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .page-hero > *, .cooperation-hero > * { animation: rise-in .7s both; }
  .hero > :nth-child(2), .page-hero > :nth-child(2), .cooperation-hero > :nth-child(2) { animation-delay: .08s; }
  .hero > :nth-child(3), .page-hero > :nth-child(3), .cooperation-hero > :nth-child(3) { animation-delay: .16s; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
/* Shared refinements: same geometry in both themes. */
.site-nav a { white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hero .display-title { max-width: 1060px; font-size: clamp(38px, 5.1vw, 72px); line-height: 1.25; }
.hero-line { display: block; }
.hero-word { white-space: nowrap; }
.hero-product { margin-top: 42px; }
.browser-frame img, .guide-figure img, .guide-shot-grid img { aspect-ratio: auto; height: auto; object-fit: contain; }
.section-intro { max-width: 800px; }
.section-intro .section-title { font-size: clamp(30px, 3.6vw, 48px); }
.page-hero { padding-top: 64px; padding-bottom: 48px; }
.page-hero .display-title { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.3; }
.feature-split { gap: 48px; }
.feature-copy .text-link { display: inline-block; margin-top: 16px; }
.product-shot { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.product-shot img { width: 100%; height: auto; }
.product-shot figcaption, .guide-figure figcaption { padding: 12px 16px; color: var(--muted); font-size: 13px; }
.image-link { display: block; cursor: zoom-in; }
.guide-anchor-nav { position: sticky; top: 86px; z-index: 15; background: var(--paper); }
.guide-chapter { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 160px; }
.guide-figure img { width: 100%; }
.guide-figure--login { max-width: 560px; }
.guide-steps strong { font-family: var(--sans); font-size: 18px; }
.scenario-example { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.scenario-example h3 { margin-top: 0; font-family: var(--serif); font-size: 24px; }
.scenario-example dt { color: var(--ink); margin-top: 16px; font-weight: 600; }
.scenario-example dd { margin: 6px 0 0; color: var(--muted); }
.scenario-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scenario-grid .scenario-example:last-child { grid-column: 1 / -1; }
.contact-options { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.contact-options a, .legal-links a { text-decoration: underline; text-underline-offset: 4px; }
.contact-options p { color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.mail-draft { margin-top: 20px; }
.mail-draft textarea { width: 100%; min-height: 180px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink); }
.mail-draft .hero-actions { justify-content: flex-start; flex-wrap: wrap; }
.cooperation-form { scroll-margin-top: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-status, .support-note { color: var(--muted); }
.image-dialog { width: min(1400px, 96vw); max-height: 92vh; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.image-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.image-dialog img { width: 100%; height: auto; }
.image-dialog button { display: block; margin: 0 0 12px auto; }
.image-dialog p { margin: 12px 0 0; color: var(--muted); }
@media (max-width: 920px) {
  .site-nav a { padding: 10px 8px; min-height: 44px; }
  .guide-anchor-nav { top: 72px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid .scenario-example:last-child { grid-column: auto; }
  .hero .display-title { font-size: clamp(30px, 5.2vw, 48px); }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .hero .display-title { font-size: clamp(29px, 8vw, 42px); }
  .hero-line { display: inline; }
  .hero-line:first-child { display: block; }
  .hero-lockup { width: 190px; margin-bottom: 24px; }
  .section { padding: 48px 0; }
  .guide-chapter { padding: 42px 0; scroll-margin-top: 142px; }
  .feature-split { padding: 40px 0; gap: 24px; }
  .hero-product { margin-top: 32px; }
  .header-actions { gap: 6px; }
  .site-header { gap: 8px; }
  .theme-toggle { width: 36px; height: 36px; }
  .site-logo { width: 84px; }
  .button-small { padding: 0 10px; font-size: 13px; }
  .guide-figure--wide img, .guide-shot-grid img { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
