:root {
  color-scheme: light;
  --ink: #182638;
  --muted: #485b69;
  --accent: #244fad;
  --accent-dark: #173b91;
  --paper: #fff;
  --surface: #f9faf7;
  --line: #cfd7d6;
  --gutter: clamp(1.15rem, 5vw, 4rem);
  --page-width: 72rem;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, pre { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
p + p { margin-top: .9rem; }
a { color: var(--accent); text-underline-offset: .24em; }
a:hover { color: var(--accent-dark); }
:where(a, button, summary):focus-visible { outline: 3px solid #2862d2; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
code, kbd, pre, .share-url { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
code { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.site-header, .landing main, .site-footer {
  width: min(calc(100% - 2 * var(--gutter)), var(--page-width));
  margin-inline: auto;
}
.site-header {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-size: 1.23rem; letter-spacing: -.045em; font-weight: 750; text-decoration: none; }
.brand img { width: 2.65rem; height: 2.65rem; }
.site-nav, .hero-actions, .copy-action, .guide-nav { display: flex; flex-wrap: wrap; align-items: center; }
.site-nav { margin-inline-start: auto; gap: .15rem 1.5rem; font-size: .9rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: .42rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }
.language-switch {
  display: inline-flex; align-items: center; gap: .125rem; padding: .2rem;
  border: 1px solid #b5c3ce; border-radius: 2rem; background: var(--paper);
  font-size: .8125rem; line-height: 1.2; white-space: nowrap;
}
.language-switch img { margin-inline: .3rem .15rem; }
.language-switch :is(a, span) {
  display: inline-flex; align-items: center; justify-content: center; padding: .45rem .65rem;
  min-height: 2rem; border-radius: inherit;
}
.language-switch [aria-current] { background: var(--accent-dark); color: white; font-weight: 700; }
.language-switch a { color: var(--accent-dark); font-weight: 550; text-decoration: none; }
.language-switch a:hover { background: #edf2fa; text-decoration: underline; }
@media (forced-colors: active) {
  .language-switch [aria-current] { outline: 1px solid CanvasText; outline-offset: -1px; }
}
.store {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; min-height: 3rem; padding: .72rem 1.28rem;
  border-radius: .65rem; background: var(--accent); color: white;
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.store:hover { background: var(--accent-dark); color: white; }
.text-link, .guide-nav a { font-size: .93rem; font-weight: 650; }
.hero { display: grid; grid-template-columns: .99fr 1.01fr; gap: clamp(1.5rem,4.5vw,4rem); align-items: center; padding-block: clamp(2.65rem,6vw,5.75rem); }
.hero-copy { min-width: 0; container-type: inline-size; }
.product-type { display: flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 650; color: var(--muted); }
.browser-icon { width: 1.15rem; height: .94rem; border: 1.7px solid currentColor; border-radius: 3px; position: relative; }
.browser-icon::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid; }
.hero h1 { margin-block: 1.3rem 1.5rem; font-size: clamp(1.65rem,10.5cqi,4rem); font-weight: 800; line-height: 1.3; letter-spacing: -.075em; }
.hero h1:lang(en) { font-size: clamp(1.65rem,10cqi,3.8rem); line-height: 1.12; letter-spacing: -.05em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-intro { max-width: 28rem; color: var(--muted); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.9; }
.hero-actions { gap: .7rem 1.3rem; margin-top: 1.65rem; }
.demo-board {
  min-width: 0;
  padding: clamp(.9rem,2.5vw,1.65rem);
  border-radius: 1.15rem;
  color: white;
  background: #2c4f9f;
}
.demo-sites { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .25rem; margin-bottom: .85rem; }
.demo-sites button {
  grid-column: span 2;
  min-height: 2.4rem; padding: .35rem clamp(.45rem,2vw,.8rem); border: 1px solid #a0b7e4;
  border-radius: .4rem; color: white; background: transparent; font-size: .9rem; font-weight: 600;
}
.demo-sites button:is([aria-controls="demo-doc"], [aria-controls="demo-folder"]) { grid-column: span 3; }
.demo-sites button[aria-pressed="true"] { background: white; color: #23448a; border-color: white; }
.demo-sites button[aria-pressed="false"]:hover { background: #3d62ac; }
.demo-sites button:focus-visible { outline-color: white; }
.demo-comparison { overflow: hidden; border-radius: .72rem; color: var(--ink); background: white; }
.demo-before, .demo-outputs { padding: clamp(.85rem,2vw,1.3rem); }
.demo-caption { margin-bottom: .45rem; color: var(--muted); font-size: .875rem; font-weight: 600; }
.demo-transition {
  padding: .4rem .75rem;
  border-block: 1px solid #c9d6eb;
  background: #edf2fa;
  color: #264982;
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
}
.demo-address, .demo-outputs a, .demo-url { font: .875rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.demo-caption, .demo-address { display: grid; }
.demo-address { margin: 0; color: var(--muted); }
.demo-caption span, .demo-address span { grid-area: 1 / 1; min-width: 0; }
.demo-outputs { display: grid; }
.demo-outputs pre { grid-area: 1 / 1; align-self: center; min-width: 0; font: 400 clamp(1rem,1.5vw,1.15rem)/1.5 system-ui, sans-serif; }
.demo-outputs pre[inert], .demo-caption span[inert], .demo-address span[inert] { visibility: hidden; }
.demo-outputs a { color: var(--accent); }
kbd { display: inline-block; padding: .06rem .32rem; border: 1px solid #bec8cc; border-bottom-width: 2px; border-radius: .25rem; color: #34485c; background: #f8faf9; font-size: .82em; line-height: 1.45; }
.copy-action { gap: .35rem .6rem; }
.copy-action button { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.65rem; border: 1px solid #aabbd0; border-radius: .45rem; padding: .4rem .75rem; background: white; color: #224987; font-size: .875rem; font-weight: 650; }
.copy-action button:hover { border-color: var(--accent); background: #eff4fd; }
.copy-icon { position: relative; display: inline-block; width: .75rem; height: .81rem; border: 1.5px solid; border-radius: 2px; }
.copy-icon::before { content: ''; position: absolute; inset: -4px 2px 2px -4px; border-top: 1.5px solid; border-left: 1.5px solid; border-radius: 2px; }
button.copied .copy-icon { height: .44rem; width: .73rem; transform: rotate(-45deg); border-width: 0 0 2px 2px; border-radius: 0; }
button.copied .copy-icon::before { display: none; }
.action-status { color: #245743; font-size: .83rem; }
@media (prefers-reduced-motion: no-preference) {
  .store, .copy-action button { transition: background-color .15s, border-color .15s; }
  .example[open] > div, .demo-outputs pre:not([inert]) { animation: reveal .18s ease-out; }
  @keyframes reveal { from { opacity: .6; transform: translateY(-2px); } }
}
.landing h2 { font-size: clamp(1.5rem,2.7vw,2.25rem); letter-spacing: -.045em; }
.howto { padding-block: clamp(1.8rem,4vw,3rem); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: step; gap: 1.1rem 2rem; }
.steps li { position: relative; padding-left: 2.4rem; counter-increment: step; }
.steps li::before { content: counter(step); font: 650 .92rem/1.65rem ui-monospace, monospace; text-align: center; position: absolute; left: 0; top: .1rem; color: #34558e; border: 1px solid #afbfda; border-radius: 50%; width: 1.74rem; height: 1.74rem; }
.steps strong { font-size: 1.05rem; }
.steps p, .example p, .copy-options p, .community p { color: var(--muted); }
.steps p { margin-top: .45rem; }
.services { display: grid; grid-template-columns: minmax(12rem,.85fr) minmax(0,1.6fr); gap: 2rem; padding-block: clamp(2.5rem,6vw,5rem); }
.examples { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.example { border-bottom: 1px solid var(--line); }
.example summary { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 3.6rem; padding: .7rem 2.5rem .7rem .2rem; font-weight: 700; }
.example summary:hover { color: var(--accent); }
.example summary::after { content: ''; position: absolute; right: .6rem; top: 50%; width: .55rem; height: .55rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
details[open] > summary::after { transform: translateY(-20%) rotate(225deg); }
.example > div { padding: 0 .25rem 1.1rem; }
.example pre, .detail-page pre { margin: .65rem 0 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: white; }
.example pre + p { margin-top: 1rem; }
.paste-comparison { margin: .75rem 0 0; border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; }
.paste-comparison > div { padding: .7rem 1rem; background: var(--paper); }
.paste-comparison > div + div { border-top: 1px solid var(--line); background: #f0f4fb; }
.paste-comparison dt { margin-bottom: .25rem; color: var(--muted); font-size: .82rem; font-weight: 650; }
.paste-comparison > div + div dt { color: var(--accent-dark); }
.paste-comparison dd { margin: 0; font: .875rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.paste-comparison strong { display: block; font: 700 1rem/1.5 system-ui, sans-serif; }
.guide-nav { gap: .5rem 1.4rem; margin-top: 1.2rem; }
.copy-options { padding-block: clamp(1.8rem,4vw,3rem) clamp(2.5rem,6vw,5rem); border-top: 1px solid var(--line); }
.copy-options h2:lang(ja) { word-break: keep-all; overflow-wrap: anywhere; }
.copy-options > p { margin-top: .65rem; }
.copy-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem clamp(1.5rem,4vw,3rem); margin-top: 1.5rem; }
.copy-options-grid > div { display: flex; flex-direction: column; }
.copy-options-grid h3 { font-size: 1.05rem; }
.copy-options-grid p { margin: .4rem 0 .8rem; }
.copy-options-grid .paste-comparison { margin-top: auto; }
.sample-link { color: var(--accent); text-decoration: underline; text-underline-offset: .24em; }
.community { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: clamp(2rem,5vw,4rem); padding: clamp(1.4rem,3.5vw,2.7rem); gap: 2rem clamp(2rem,5vw,4rem); background: #eaf1ee; border-radius: 1rem; }
.community h2 { font-size: clamp(1.22rem,2vw,1.6rem); }
.community p { margin-block: .65rem .8rem; }
.community > div + div { border-left: 1px solid #b9cec2; padding-left: clamp(1.5rem,3vw,3rem); }
.share-url { font-size: .95rem; overflow-wrap: anywhere; }
.community .copy-action { margin-top: .55rem; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.35rem 1.65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.footer-publisher p { display: flex; align-items: baseline; gap: .55rem; }
.footer-publisher strong { color: var(--ink); font-size: 1.05rem; }
.footer-publisher a, .footer-nav a { display: inline-flex; align-items: center; min-height: 2rem; }
.footer-nav { display: grid; justify-items: end; }
.footer-links, .footer-policy, .footer-languages { display: flex; align-items: center; }
.footer-links { flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a { color: var(--ink); }
.footer-policy { flex-wrap: wrap; column-gap: .75rem; }
.footer-languages { gap: .45rem; }
.footer-nav a:hover { color: var(--accent-dark); }
.detail-page { display: flex; flex-direction: column; min-height: 100svh; }
.detail-page .site-footer { margin-top: auto; }
.detail-page main { width: min(calc(100% - 2 * var(--gutter)), 44rem); margin-inline: auto; }
.detail-page main { padding-block: clamp(2.2rem,5vw,4rem) 3rem; }
.detail-page h1 { margin: 0 0 1.1rem; font-size: clamp(1.65rem,4vw,2.3rem); letter-spacing: -.045em; }
.detail-page h2 { margin: 2.1rem 0 .6rem; font-size: 1.3rem; }
.detail-page h3 { margin: 1.35rem 0 .4rem; font-size: 1.08rem; }
.detail-page ul, .detail-page ol { padding-left: 1.45rem; }
.detail-page li + li { margin-top: .42rem; }
.detail-page pre { margin-bottom: 1rem; }
.detail-page .store { margin-block: .35rem .45rem; }
.detail-page article + article { margin-top: 2.75rem; }
.policy-trademarks { margin-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.uninstall-page h1 { word-break: keep-all; overflow-wrap: anywhere; }
.feedback-address { display: grid; gap: .2rem; }
.feedback-address span { color: var(--muted); font-size: .9rem; }
.feedback-address a { overflow-wrap: anywhere; }
@media (min-width: 47.01rem) and (max-width: 64rem) {
  .hero { grid-template-columns: .84fr 1.16fr; }
}
@media (max-width: 47rem) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .6rem; }
  .site-nav { grid-column: 1 / -1; margin-inline-start: 0; }
  .language-switch { grid-area: 1 / 2; }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2rem; }
  .hero h1 { margin-block: .75rem 1rem; }
  .hero-actions { margin-top: 1.1rem; }
  .demo-board { width: min(100%, 32rem); justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps p { margin-top: .15rem; }
  .services, .copy-options-grid, .community { grid-template-columns: 1fr; }
  .services { gap: 1.35rem; }
  .section-intro br { display: none; }
  .community > div + div { padding: 1.25rem 0 0; border: 0; border-top: 1px solid #b9cec2; }
  .community { gap: 1.25rem; }
  .site-nav { gap: .15rem 1rem; }
}
@media (max-width: 34rem) {
  .site-footer { align-items: start; flex-direction: column; }
  .footer-nav { justify-items: start; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 2rem; height: 2rem; }
  .site-header .site-nav { font-size: .875rem; }
}
@media (max-width: 23rem) {
  .brand { font-size: 1rem; gap: .3rem; }
  .brand img { width: 1.65rem; height: 1.65rem; }
  .language-switch img { display: none; }
  .language-switch :is(a, span) { padding-inline: .33rem; }
}
