:root {
  color-scheme: light;
  --bg: #f8f5ef;
  --paper: #fffdf8;
  --ink: #38362f;
  --muted: #756f65;
  --accent: #a74f35;
  --line: #dfd9ce;
  --soft: #eeeadf;
  --sage: #e6eee7;
  --sage-ink: #426554;
  --sage-line: #b7ccbe;
  --clay: #f1e2d7;
  --clay-ink: #8e5743;
  --lavender: #e8e5ef;
  --lavender-ink: #68577c;
  --shadow: 0 12px 30px #44372609;
  --duration: 250ms;
  --quick: 160ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-gap: 84px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #24221e; --paper: #2d2a25; --ink: #ece5d9; --muted: #b7aea1;
    --accent: #df9a7c; --line: #474238; --soft: #333028;
    --sage: #293a31; --sage-ink: #b0ceb7; --sage-line: #4a6854;
    --clay: #44352d; --clay-ink: #e0b59a; --lavender: #393342; --lavender-ink: #c9b9dc;
    --shadow: 0 12px 30px #0000001c;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #24221e; --paper: #2d2a25; --ink: #ece5d9; --muted: #b7aea1;
  --accent: #df9a7c; --line: #474238; --soft: #333028;
  --sage: #293a31; --sage-ink: #b0ceb7; --sage-line: #4a6854;
  --clay: #44352d; --clay-ink: #e0b59a; --lavender: #393342; --lavender-ink: #c9b9dc;
  --shadow: 0 12px 30px #0000001c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.65; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23877b65' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
p, h1, h2, h3, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg); }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; top: -70px; left: 20px; padding: 12px 18px; background: var(--paper); border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 600; display: inline-flex; align-items: baseline; gap: 4px; letter-spacing: -.8px; }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
nav > a { padding-block: 12px; }
.nav-divider { width: 1px; height: 16px; background: var(--line); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0; border: none; background: transparent; font-size: 12px; color: var(--muted); }
.theme-icon { display: flex; transition: transform var(--duration) var(--ease); }
.theme-icon .icon { width: 18px; height: 18px; }
.theme-label { min-width: 4em; }
.hero { display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 52px; padding: 88px 0 94px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2px; color: var(--muted); }
.hero-eyebrow { display: flex; gap: 10px; align-items: center; letter-spacing: 1.5px; margin-bottom: 28px; }
.tiny-star { font-size: 22px; color: var(--accent); line-height: 1; }
.greeting { font-size: 18px; margin-bottom: 12px; }
h1 { font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', Georgia, serif; font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -.8px; line-height: 1.38; font-weight: 600; }
h1 span { display: block; }
.accent-line { color: var(--accent); }
.hero-motto { margin-top: 18px; color: var(--muted); font-size: 12px; letter-spacing: 1.5px; line-height: 1.8; }
.hero-description { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.hero-link, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; min-height: 44px; }
.hero-link { color: var(--muted); }
.hero-link .icon { width: 15px; height: 15px; }
.portrait { position: relative; width: 268px; justify-self: center; margin-top: 18px; }
.portrait::before { content: ''; position: absolute; inset: 3px 1px 0; background: var(--soft); border: 1px solid var(--line); transform: rotate(-7deg); }
.portrait-paper { position: relative; padding: 13px 13px 0; background: var(--paper); box-shadow: 1px 8px 24px #463a2710; border: 1px solid var(--line); transform: rotate(4deg); }
.portrait img { aspect-ratio: 1; height: auto; filter: saturate(.72); border-radius: 1px; }
.portrait figcaption { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px 13px; color: var(--muted); font-family: 'Songti SC', 'STSong', Georgia, serif; font-size: 13px; }
.portrait figcaption span { font-family: sans-serif; font-size: 22px; color: var(--accent); }
.paper-tape { width: 78px; height: 25px; background: #e4d4ae8a; position: absolute; z-index: 1; left: 50%; top: -14px; transform: translateX(-50%) rotate(-9deg); }
.portrait-spark { position: absolute; right: -31px; bottom: 14px; color: var(--accent); font-size: 39px; transform: rotate(8deg); }
.section { border-top: 1px solid var(--line); padding-top: 38px; margin-bottom: var(--section-gap); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
h2 { font-size: 27px; font-weight: 550; letter-spacing: -.6px; line-height: 1.5; margin-top: 10px; }
.section-description { max-width: 380px; color: var(--muted); font-size: 13px; padding-bottom: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.reveal-item { min-width: 0; display: flex; }
.product-card { width: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); overflow: hidden; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color var(--duration), background-color var(--duration); }
.product-visual { --visual-bg: var(--sage); --visual-ink: var(--sage-ink); --visual-line: var(--sage-line); position: relative; min-height: 255px; padding: 18px 24px 23px; background: var(--visual-bg); color: var(--visual-ink); border-bottom: 1px solid var(--line); }
.tone-clay { --visual-bg: var(--clay); --visual-ink: var(--clay-ink); --visual-line: var(--line); }
.tone-lavender { --visual-bg: var(--lavender); --visual-ink: var(--lavender-ink); --visual-line: var(--line); }
.visual-topline { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: 1px; }
.visual-dots { display: flex; gap: 5px; }
.visual-dots i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; opacity: .35; }
.diagram-title { font-family: 'Songti SC', 'STSong', Georgia, serif; font-size: 21px; margin: 22px 0 21px; text-align: center; }
.diagram-nodes { display: flex; align-items: center; justify-content: center; padding-inline: 8px; }
.diagram-node { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; width: 84px; min-width: 0; min-height: 76px; padding: 10px 4px; background: color-mix(in srgb, var(--paper) 72%, transparent); border: 1px solid var(--visual-line); border-radius: 6px; font-size: 11px; text-align: center; overflow-wrap: anywhere; }
.node-center { box-shadow: 0 4px 12px #244c3710; border-color: var(--visual-ink); }
.connector { width: 40px; height: 1px; flex-shrink: 1; background: var(--visual-line); position: relative; }
.connector::after { content: ''; position: absolute; width: 4px; height: 4px; right: 0; top: -2px; border-top: 1px solid var(--visual-line); border-right: 1px solid var(--visual-line); transform: rotate(45deg); }
.diagram-detail { text-align: center; font-size: 10px; margin-top: 13px; letter-spacing: 1px; }
.diagram-detail span { margin-right: 5px; }
.image-visual { padding: 0; aspect-ratio: 2.1; min-height: auto; }
.image-visual img { width: 100%; height: 100%; object-fit: contain; }
.visual-caption { position: absolute; bottom: 12px; right: 12px; font-size: 10px; padding: 3px 9px; border-radius: 3px; background: var(--paper); color: var(--muted); }
.product-body { padding: 25px 28px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-category { color: var(--muted); font-size: 11px; letter-spacing: .8px; margin-bottom: 6px; }
h3 { font-size: 23px; letter-spacing: -.4px; font-weight: 550; line-height: 1.4; overflow-wrap: anywhere; }
.product-description { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 12px; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; margin-bottom: 22px; }
.tags li { font-size: 11px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 4px; overflow-wrap: anywhere; max-width: 100%; }
.product-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.text-link { color: var(--accent); }
.product-access-note { align-self: center; margin-right: auto; color: var(--muted); font-size: 11px; }
.link-arrow { width: 17px; height: 17px; transition: transform 200ms var(--ease); }
.source-link { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.explore-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; }
.explore-grid > div { min-width: 0; }
.garden-panel, .code-panel { position: relative; height: 100%; min-height: 330px; }
.garden-panel { padding: 32px; background: var(--soft); border-radius: 7px; overflow: hidden; }
.panel-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); margin-bottom: 24px; }
.panel-top .icon { width: 22px; height: 22px; }
.panel-top .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
.panel-description { font-size: 14px; line-height: 1.9; margin-top: 15px; color: var(--muted); max-width: 340px; position: relative; z-index: 1; }
.garden-panel .panel-description { max-width: 320px; }
.panel-aside { font-size: 12px; color: var(--muted); margin-top: 27px; margin-bottom: 13px; position: relative; z-index: 1; }
.garden-panel .text-link { position: relative; z-index: 1; }
.garden-drawing { position: absolute; width: 123px; height: 159px; right: 12px; bottom: 8px; color: var(--sage-ink); opacity: .4; }
.code-panel { padding: 32px 0 0; }
.code-sketch { display: flex; gap: 14px; flex-wrap: wrap; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12px; margin: 25px 0 14px; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.code-sketch span { white-space: nowrap; }
.code-sketch i { font-style: normal; color: var(--muted); opacity: .75; margin-right: 8px; font-size: 10px; }
.code-sketch b { font-weight: 400; color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 26px; }
.footer-top { display: flex; align-items: center; gap: 35px; }
.footer-top .wordmark { font-size: 24px; }
.footer-top p { color: var(--muted); font-size: 12px; letter-spacing: .8px; }
.back-top { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; margin-left: auto; font-size: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; font-size: 10px; color: var(--muted); }
.registrations { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.no-script { padding: 60px 24px; }
body, .site-header, .section, .site-footer, .portrait-paper, .garden-panel, .product-visual, .diagram-node, .tags li, .product-actions, .back-top { transition: background-color var(--duration), border-color var(--duration), color var(--duration); }
a { transition: color var(--quick), transform var(--quick) var(--ease), background-color var(--duration); }
.hero-link:active, .text-link:active, .theme-toggle:active { scale: .98; }
.hero-link, .text-link, .theme-toggle { transition: scale var(--quick) var(--ease), color var(--quick), background-color var(--duration); }
@media (hover: hover) and (pointer: fine) {
  nav a:hover, .hero-link:hover, .source-link:hover, .registrations a:hover { color: var(--accent); }
  .product-card:hover { transform: translateY(-3px); border-color: var(--sage-line); box-shadow: var(--shadow); }
  .text-link:hover .link-arrow, .product-card:hover .link-arrow { transform: translateX(3px); }
  .back-top:hover { color: var(--accent); transform: translateY(-2px); }
  .theme-toggle:hover { color: var(--accent); }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; padding-block: 72px; }
  .portrait { width: 222px; }
  .hero-actions { gap: 18px; }
  .hero-link { font-size: 13px; }
  .explore-grid { gap: 30px; grid-template-columns: 1.15fr 1fr; }
  .garden-panel { padding: 26px; }
  .garden-drawing { opacity: .18; }
  .product-visual { padding-inline: 18px; }
  .connector { width: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 760px) {
  :root { --section-gap: 56px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; gap: 16px; }
  .wordmark { font-size: 25px; }
  nav { gap: 19px; font-size: 13px; }
  .theme-label, .nav-divider { display: none; }
  .theme-toggle { width: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 52px 0 50px; gap: 44px; }
  h1 { font-size: clamp(32px, 6vw, 44px); }
  .hero-eyebrow { font-size: 10px; margin-bottom: 23px; }
  .greeting { font-size: 16px; }
  .hero-description { font-size: 14px; margin-top: 20px; max-width: 420px; }
  .hero-actions { margin-top: 24px; gap: 22px; }
  .portrait { width: 190px; margin-top: 0; margin-left: 25%; }
  .portrait-paper { padding: 9px 9px 0; }
  .portrait figcaption { font-size: 11px; padding: 10px 0; }
  .portrait-spark { font-size: 30px; }
  .section { padding-top: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 24px; }
  h2 { font-size: 24px; }
  .section-description { max-width: none; font-size: 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-visual { min-height: 245px; }
  .image-visual { min-height: 0; }
  .product-body { padding: 24px 23px 16px; }
  .explore-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .garden-panel, .code-panel { min-height: auto; }
  .garden-panel { padding: 27px; }
  .code-panel { padding: 27px 8px 0; }
  .garden-panel .panel-description { max-width: 80%; }
  .garden-drawing { opacity: .3; }
  .footer-top { gap: 15px; flex-wrap: wrap; }
  .footer-top p { font-size: 10px; letter-spacing: 0; }
  .footer-top .wordmark { font-size: 22px; }
  .back-top { width: 34px; height: 34px; }
  .footer-bottom { font-size: 9px; margin-top: 20px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 36px); }
  nav { gap: 14px; }
  .hero-actions { gap: 15px; }
  .hero-link { gap: 5px; font-size: 12px; }
  .hero-eyebrow { letter-spacing: .5px; }
  h1 { font-size: 30px; }
  .garden-panel { padding: 23px; }
  .portrait { margin-left: 12%; }
  .portrait-spark { right: -18px; }
  .diagram-nodes { padding-inline: 0; }
  .connector { width: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .theme-icon { transform: none !important; }
  .product-card:hover, .back-top:hover, .text-link:hover .link-arrow, .product-card:hover .link-arrow { transform: none; }
  .hero-link:active, .text-link:active, .theme-toggle:active { scale: 1; }
}
