:root {
  color-scheme: light;
  --paper: #fff8ec;
  --ink: #252721;
  --muted: #56584c;
  --line: #dcd5c6;
  --green: #173e35;
  --orange: #ed9b46;
  --white: #fffcf5;
  font-family: "Avenir Next", "Hiragino Sans", "PingFang SC", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #266d58; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap, .foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.languages { display: flex; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.languages a { padding: 4px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.languages a[aria-current] { font-weight: 800; color: #174939; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(28px, 6vw, 75px); padding-block: clamp(44px, 7vw, 105px); }
.kicker { color: #8b3e13; font-size: .8rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 14px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 5.4vw, 4.15rem); line-height: 1.12; letter-spacing: -.055em; margin: 0; }
h2 { line-height: 1.2; letter-spacing: -.035em; font-size: clamp(1.65rem, 4vw, 2.55rem); margin: 0 0 12px; }
h3 { margin: 0; font-size: 1.25rem; }
.lead { max-width: 37em; font-size: 1.08rem; color: var(--muted); margin-block: 18px 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 10px 17px; border-radius: 6px; border: 1px solid var(--green); font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--green); color: var(--white); }
.btn:hover { box-shadow: 0 0 0 2px var(--orange); }
.note { color: var(--muted); font-size: .89rem; }
.demo { margin: 0; }
.demo-frame { padding: clamp(15px, 3vw, 26px); border-radius: 17px; color: var(--white); background: var(--green); box-shadow: 9px 10px 0 #e5c6a4; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .77rem; letter-spacing: .08em; }
.lamp { display: inline-block; width: .55rem; height: .55rem; margin-right: .45rem; border-radius: 50%; background: var(--orange); }
.signal { height: 76px; display: flex; gap: 5px; align-items: center; justify-content: center; overflow: hidden; color: var(--orange); }
.signal i { display: block; background: currentColor; width: 4px; border-radius: 4px; height: var(--h); }
.caption { background: #112a26; border: 1px solid #527269; padding: 16px; border-radius: 10px; }
.caption p { margin: 0; }
.caption .previous { font-size: .85rem; color: #d4ded4; }
.caption .current { font-weight: 800; font-size: clamp(1.1rem, 3vw, 1.55rem); margin-block: 8px 0; }
.caption .original { color: #e3c9a8; font-size: .85rem; }
figcaption { font-size: .8rem; margin-top: 16px; color: var(--muted); }
.section { padding-block: 34px; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--green); background: var(--white); padding: clamp(16px, 3.8vw, 30px); border-radius: 8px; }
.card p { margin-block: 7px 15px; }
.meta { color: #795024; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.steps { padding-inline-start: 1.3em; }
.steps li { margin-block: 8px; }
details { border-bottom: 1px solid var(--line); padding-block: 12px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin-bottom: 2px; }
.foot { background: #ebeadc; margin-top: 16px; font-size: .88rem; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 30px, 590px); }
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
