:root {
  color-scheme: light;
  --bg: #f4eadd;
  --surface: #fffaf4;
  --band: #eadac6;
  --dark: #2e2930;
  --fg: #29262d;
  --muted: #706b72;
  --accent: #a45b35;
  --accent-dark: #784329;
  --line: #dfcdb9;
  --soft: #f4e3d0;
  --shadow: 0 16px 50px rgba(52, 40, 35, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: .2em; }
a[data-href] { cursor: pointer; }
a:hover { color: var(--accent-dark); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 14px max(24px, calc((100% - 1120px) / 2));
  background: rgba(255, 250, 244, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(52, 40, 35, .07);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 1.1rem; font-weight: 750; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-left: auto; }
.main-nav a, .footer-top nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.main-nav a:hover, .footer-top nav a:hover { color: var(--accent); }
.language-switcher { display: flex; gap: 2px; padding: 4px; background: #eee5da; border-radius: 999px; }
.language-switcher a { min-width: 35px; padding: 4px 8px; border-radius: 999px; color: var(--muted); text-align: center; text-decoration: none; font-size: .75rem; font-weight: 750; }
.language-switcher a[aria-current="page"] { color: #29262d; background: #efbd78; }
main { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 36px; margin: 30px 0 72px; padding: 28px 0; color: var(--fg); }
.hero-content { position: relative; z-index: 1; }
.hero-art { position: relative; display: grid; width: min(100%, 390px); aspect-ratio: 1; justify-self: end; place-items: center; }
.hero-art::before { position: absolute; inset: 2%; border-radius: 50%; background: radial-gradient(circle, rgba(249, 190, 108, .55), rgba(249, 190, 108, 0) 68%); content: ""; filter: blur(18px); animation: halo 6s ease-in-out 1.4s infinite; }
.hero-scene { position: relative; z-index: 1; width: 88%; aspect-ratio: 1; overflow: hidden; border-radius: 23%; background: linear-gradient(160deg, #fdf6ee, #f9ede0); box-shadow: 0 0 0 1px rgba(164, 91, 53, .08), 0 22px 54px rgba(52, 40, 35, .16); animation: scene-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.scene-sun { position: absolute; top: 3.9%; left: 15.9%; width: 68.8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fed497, #fcbf6f 55%, #fbb862); animation: sun-rise 1.4s cubic-bezier(.2, .8, .2, 1) .15s both, sun-glow 6s ease-in-out 1.6s infinite; }
.scene-character { position: absolute; inset: 0; transform-origin: 50% 100%; animation: character-in 1.1s cubic-bezier(.2, .8, .2, 1) .35s both, breathe 5s ease-in-out 1.5s infinite; }
.scene-character img { display: block; width: 100%; height: 100%; }
.scene-character .scene-hand { position: absolute; inset: 0; transform-origin: 56.6% 81.1%; animation: write 4.2s ease-in-out 1.6s infinite; }
.scene-blink { position: absolute; top: 31.7%; left: 46.6%; width: 8.7%; height: 4.6%; border-radius: 50%; background: #2e2630; transform: scaleY(0); transform-origin: 50% 0; animation: blink 5.5s ease-in-out 2.5s infinite; }
.scene-spark { position: absolute; top: 60%; left: 80%; width: 4.5%; aspect-ratio: 1; background: #fffaf4; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: spark 4.2s ease-out 1.8s infinite; }
.scene-spark:nth-of-type(3) { top: 56%; left: 88%; width: 3%; background: #fed497; animation-delay: 3.2s; }
.scene-spark:nth-of-type(4) { top: 63%; left: 72%; width: 3.4%; animation-delay: 4.6s; }
@keyframes scene-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes sun-rise { from { opacity: 0; transform: translateY(28%) scale(.82); } }
@keyframes sun-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(252, 191, 111, .35); } 50% { box-shadow: 0 0 0 14px rgba(252, 191, 111, 0), 0 0 46px 6px rgba(252, 191, 111, .45); } }
@keyframes character-in { from { opacity: 0; transform: translateY(10%); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@keyframes write {
  0%, 100% { transform: rotate(0); }
  14% { transform: rotate(8deg); }
  20% { transform: rotate(10deg) translate(.5%, .4%); }
  26% { transform: rotate(7deg) translate(0, .2%); }
  32% { transform: rotate(10deg) translate(.6%, .5%); }
  38% { transform: rotate(7.5deg) translate(.1%, .3%); }
  44% { transform: rotate(9.5deg) translate(.6%, .6%); }
  50% { transform: rotate(7deg) translate(.2%, .4%); }
  56% { transform: rotate(9deg) translate(.5%, .6%); }
  64% { transform: rotate(8deg); }
  80% { transform: rotate(0); }
}
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-20%, -260%) scale(1) rotate(90deg); } }
@keyframes halo { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes note-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-note { position: absolute; z-index: 2; right: -3%; bottom: 8%; display: flex; align-items: center; gap: 9px; max-width: 210px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--surface); box-shadow: var(--shadow); color: var(--fg); font-size: .82rem; font-weight: 700; animation: note-in .7s cubic-bezier(.2, .8, .2, 1) 1.1s both, float 6s ease-in-out 1.8s infinite; }
.hero-note svg { flex: 0 0 auto; color: var(--accent); }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #c47742; box-shadow: 0 0 0 4px rgba(196,119,66,.15); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3rem, 8vw, 6rem); line-height: .99; letter-spacing: -.07em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 630px; margin-bottom: 28px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,250,244,.8); color: var(--fg); font-size: .83rem; font-weight: 650; }
.hero-points svg { color: var(--accent); }
.content-section { margin: 0; padding: 0 0 88px; }
/* Full-width bands that alternate behind sections without changing the HTML */
.hero + .content-section, .split-section { position: relative; padding: 76px 0; margin-bottom: 88px; box-shadow: 0 0 0 100vmax var(--band); background: var(--band); clip-path: inset(0 -100vmax); }
.split-section { --band: var(--dark); color: #f7efe6; }
.split-section h2 { color: #fff8f0; }
.split-section .eyebrow { color: #efbd78; }
.split-section > div:last-child { color: rgba(247, 239, 230, .76); }
.section-heading { max-width: 690px; margin-bottom: 30px; }
h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -.055em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-height: 225px; padding: 25px; border: 1px solid rgba(164, 91, 53, .12); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 30px rgba(52, 40, 35, .08); }
.card-icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; border-radius: 14px; background: var(--soft); color: var(--accent); }
h3 { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -.02em; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .91rem; line-height: 1.6; }
.shot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shot { margin: 0; text-align: center; }
.shot img { display: block; width: 100%; height: auto; border-radius: 22px; background: #19171a; box-shadow: 0 0 0 1px rgba(164, 91, 53, .1), 0 14px 34px rgba(52, 40, 35, .14); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; }
.split-section > div:last-child p:last-child { margin-bottom: 0; }
.requirements-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 30px rgba(52, 40, 35, .07); }
.requirement { display: flex; flex-direction: column; gap: 3px; padding: 22px 24px; }
.requirement + .requirement { border-left: 1px solid var(--line); }
.requirement strong { font-size: 1.1rem; }
.requirement span { color: var(--muted); font-size: .85rem; }
.muted { color: var(--muted); }
.note { margin-top: 20px; font-size: .88rem; }
.contact-panel { margin-bottom: 70px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, #f7d9b2, #efbd78); box-shadow: 0 14px 40px rgba(164, 91, 53, .18); }
.contact-panel .eyebrow, .contact-panel a { color: var(--accent-dark); }
.contact-panel h2 { font-size: 2rem; }
.contact-panel p:last-child { margin-bottom: 0; }
footer { max-width: 1120px; margin: 0 auto; padding: 32px 28px; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); color: var(--muted); font-size: .82rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.footer-brand { color: var(--fg); text-decoration: none; font-weight: 750; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer p { max-width: 780px; margin-bottom: 0; }
body:not(:has(.hero)) main { padding-bottom: 40px; }
.ph { padding: 0 4px; border-radius: 4px; background: #ffe08a; color: #332b19; }
body:not(:has(.hero)) main { max-width: 920px; min-height: 65vh; padding-top: 48px; }
body:not(:has(.hero)) main > h1, body:not(:has(.hero)) main section > h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 6vw, 4rem); }
body:not(:has(.hero)) main section { margin-bottom: 50px; }
body:not(:has(.hero)) main h2 { margin-top: 2em; font-size: 1.5rem; }
body:not(:has(.hero)) main p, body:not(:has(.hero)) main li { color: var(--muted); }
body:not(:has(.hero)) main strong { color: var(--fg); }
body:not(:has(.hero)) .card { min-height: auto; margin: 22px 0; }
.table-wrap { margin: 22px 0 26px; overflow: hidden; border: 1px solid rgba(164, 91, 53, .12); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 30px rgba(52, 40, 35, .08); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; }
th { color: var(--accent-dark); background: var(--soft); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--muted); border-top: 1px solid var(--line); }
td:first-child { width: 44%; color: var(--fg); font-weight: 650; }
td:nth-child(2) { width: 26%; }
tbody tr:nth-child(even) td { background: rgba(244, 227, 208, .35); }
pre { overflow-x: auto; color: var(--fg); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent-dark); font-size: .78rem; font-weight: 750; line-height: 1.6; white-space: nowrap; }
.badge-ok { background: #dcebd5; color: #2f5a2a; }
.badge-warn { background: #f8e2bf; color: #6d4512; white-space: normal; }
.cell-note { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; font-weight: 400; }
.toc { margin: 22px 0 8px; padding: 20px 25px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: rgba(255, 250, 244, .6); }
.toc-title { margin: 0 0 8px; color: var(--accent-dark) !important; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; color: var(--muted); font-size: .92rem; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.license-table td:first-child { width: 38%; }
.license-table td:nth-child(2) { width: 16%; }
.license-table td a { color: var(--fg); text-decoration-color: rgba(164, 91, 53, .4); }
.license-table td a:hover { color: var(--accent); }
.license-table .cell-note a { color: var(--accent); }
.license-table tr.sub td:first-child { padding-left: 34px; font-weight: 550; }
.sub-mark { margin-right: 6px; color: var(--accent); }
.license-table tr.sub .cell-note { display: inline; margin: 0; font-size: .78rem; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .site-header { position: static; flex-wrap: wrap; gap: 12px; padding: 12px 18px; }
  .brand { margin-right: auto; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 18px; overflow-x: auto; margin: 0; }
  .main-nav a { white-space: nowrap; font-size: .83rem; }
  main { padding: 0 18px; }
  .hero { grid-template-columns: 1fr; gap: 8px; margin: 20px 0 64px; padding: 24px 0 0; }
  .hero-art { width: min(76vw, 300px); justify-self: center; }
  .hero-note { right: -5%; bottom: 5%; }
  .content-section { padding-bottom: 64px; }
  .hero + .content-section, .split-section { padding: 52px 0; margin-bottom: 64px; }
  .feature-grid { gap: 11px; }
  .card { min-height: 0; padding: 19px; border-radius: 16px; }
  .card-icon { margin-bottom: 14px; }
  .split-section { grid-template-columns: 1fr; gap: 4px; }
  .requirements-grid { grid-template-columns: 1fr; }
  .requirement + .requirement { border-top: 1px solid var(--line); border-left: 0; }
  .contact-panel { padding: 28px 24px; }
  footer { padding: 24px 18px 36px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  body:not(:has(.hero)) main { padding: 30px 18px 10px; }
  .table-wrap { border-radius: 16px; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr + tr { border-top: 1px solid var(--line); }
  tbody tr:nth-child(even) td { background: none; }
  td, td:first-child, td:nth-child(2) { width: auto; padding: 0 18px 10px; border: 0; }
  td:first-child { padding-top: 16px; padding-bottom: 12px; font-size: .98rem; }
  td:last-child { padding-bottom: 16px; }
  td:not(:first-child)::before { content: attr(data-label); display: block; color: var(--accent-dark); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .toc ol { columns: 1; }
  .license-table tr.sub td:first-child { padding-left: 18px; }
  .license-table td:nth-child(2)::before { display: none; }
  .license-table td:nth-child(2) { padding-bottom: 12px; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .hero { grid-template-columns: 1fr .8fr; gap: 20px; }
  .hero-art { width: min(100%, 320px); }
  .hero-note { right: -2%; }
}
@media (max-width: 400px) {
  .feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art *, .hero-art::before { animation: none !important; }
}
/* Testers call-to-action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 10px 6px 0; padding: 12px 22px; border-radius: 999px; font-weight: 750; text-decoration: none; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--accent); color: #fff !important; box-shadow: 0 8px 22px rgba(164, 91, 53, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(164, 91, 53, .34); }
.btn-ghost { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--soft); }
.btn-large { padding: 16px 30px; font-size: 1.05rem; }
.main-nav a.nav-cta { padding: 7px 15px; border-radius: 999px; background: var(--accent); color: #fff; }
.main-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 24px; }
.hero-actions .btn { margin: 0; padding: 15px 28px; font-size: 1.05rem; }
.hero-actions-note { color: var(--muted); font-size: .85rem; font-weight: 650; }
.tester-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 40px; padding: 40px 44px; border-radius: 24px; background: var(--dark); color: rgba(247, 239, 230, .8); box-shadow: 0 18px 50px rgba(46, 41, 48, .25); }
.tester-banner h2 { color: #fff8f0; }
.tester-banner .eyebrow { color: #efbd78; }
.tester-banner p:last-child { max-width: 600px; margin-bottom: 0; }
.tester-banner .btn { flex: 0 0 auto; margin: 0; }
@media (max-width: 680px) {
  .main-nav a.nav-cta { padding: 5px 12px; }
  .hero-actions .btn { width: 100%; }
  .tester-banner { flex-direction: column; align-items: stretch; padding: 30px 24px; }
  .tester-banner .btn { width: 100%; }
}
