:root {
  color-scheme: light;
  --bg: #f7f3eb;
  --paper: rgba(255, 253, 248, 0.78);
  --paper-solid: #fffdf8;
  --ink: #203322;
  --text: #1f2621;
  --muted: #706c64;
  --soft: #8b8578;
  --line: rgba(48, 58, 43, 0.16);
  --green: #4f743b;
  --green-deep: #375a2c;
  --green-soft: #dfe8d3;
  --shadow: 0 24px 70px rgba(68, 57, 38, 0.13);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(90deg, rgba(247,243,235,.98) 0%, rgba(247,243,235,.92) 50%, rgba(247,243,235,.58) 100%), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at 24% 8%, rgba(255,255,255,.94), transparent 26rem), radial-gradient(circle at 82% 70%, rgba(210,222,195,.42), transparent 35rem);
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  min-height: 88px; padding: 18px clamp(22px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
  background: rgba(247,243,235,.76); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 600; font-size: 1.05rem; }
.brand-dot { width: 13px; height: 13px; border-radius: 999px; background: var(--green); }
.welcome { margin: 0; color: var(--ink); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.8rem, 3.3vw, 3.2rem); letter-spacing: -.035em; white-space: nowrap; }
.menu-button { justify-self: end; display: grid; place-content: center; gap: 5px; width: 54px; height: 54px; border: 1px solid rgba(48,58,43,.2); border-radius: 999px; background: rgba(255,253,248,.65); cursor: pointer; box-shadow: 0 12px 30px rgba(74,61,43,.08); }
.menu-button span:not(.sr-only) { width: 18px; height: 2px; border-radius: 999px; background: var(--text); transition: opacity 180ms ease, transform 180ms ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-menu { position: fixed; top: 78px; right: clamp(22px, 5vw, 62px); z-index: 60; display: grid; min-width: 260px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.88); backdrop-filter: blur(18px); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); transition: opacity 220ms ease, transform 220ms ease; }
.site-menu.is-open { opacity: 1; transform: translateY(0); }
.site-menu a { padding: 12px 14px; border-radius: 12px; color: var(--muted); }
.site-menu a:hover, .site-menu a:focus-visible { background: rgba(79,116,59,.08); color: var(--green-deep); }
.site-menu hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
.orientation { position: relative; min-height: 210px; padding: 30px clamp(22px, 5vw, 62px); overflow: hidden; }
.branch-path { display: grid; gap: 8px; width: fit-content; }
.branch { display: grid; grid-template-columns: 28px auto auto; align-items: baseline; column-gap: 16px; width: fit-content; padding: 5px 10px 5px 0; border-radius: 16px; color: var(--ink); }
.branch strong { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 600; }
.branch small { color: var(--soft); }
.branch--product { margin-left: 32px; }
.branch--current { margin-left: 72px; color: var(--green-deep); }
.sprout { color: var(--green); transform: rotate(-20deg); }
.leaf-nav { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; max-width: 860px; padding: 20px clamp(22px, 5vw, 62px) 0; border-top: 1px solid var(--line); }
.leaf { position: relative; display: grid; justify-items: center; gap: 6px; min-height: 98px; padding: 12px 12px 18px; color: var(--muted); text-align: center; transition: color 180ms ease, transform 180ms ease; }
.leaf::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 999px; background: transparent; }
.leaf:hover, .leaf:focus-visible { color: var(--green-deep); transform: translateY(-2px); }
.leaf--active { color: var(--green-deep); }
.leaf--active::after { background: var(--green); }
.leaf-icon { font-size: 2rem; line-height: 1; }
.content-shell { position: relative; max-width: min(92vw, var(--max)); margin: 26px auto 0; padding: 46px 42px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,253,248,.74); box-shadow: var(--shadow); overflow: hidden; }
.tree-visual { position: absolute; inset: -210px -180px auto auto; width: min(58vw, 780px); height: 900px; z-index: -1; opacity: .92; pointer-events: none; }
.tree-visual img { width: 100%; height: 100%; object-fit: cover; object-position: right top; mix-blend-mode: multiply; filter: saturate(.88) contrast(.98); }
.tree-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,235,.96), rgba(247,243,235,.45) 38%, transparent 70%), linear-gradient(0deg, rgba(247,243,235,.98), transparent 34%); }
.panel { max-width: 720px; margin-bottom: 26px; }
.section-kicker { margin: 0 0 14px; color: var(--green); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker::after { content: ""; display: block; width: 90px; height: 1px; margin-top: 8px; background: linear-gradient(90deg, var(--green), transparent); }
h1, h2 { margin: 0; color: var(--ink); font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(3rem, 6vw, 5.4rem); margin-bottom: 18px; }
.panel > p { max-width: 670px; margin: 0 0 18px; line-height: 1.8; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.status-card { min-height: 176px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.68); }
.status-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-size: 1.3rem; }
.status-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.status-card p { margin: 0; color: var(--muted); }
.panel--soft { display: block; padding-top: 44px; margin-top: 26px; border-top: 1px solid var(--line); }
.panel--soft h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.76); }
.contact-title { margin: 0 0 4px; color: var(--green-deep); font-family: "Source Serif 4", Georgia, serif; font-size: 1.55rem; font-weight: 600; }
.contact-panel p:last-child { margin: 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 22px; justify-content: center; min-height: 54px; min-width: 230px; padding: 0 24px; border-radius: 999px; background: var(--green); color: white; font-weight: 700; box-shadow: 0 18px 36px rgba(55,90,44,.2); transition: background 180ms ease, transform 180ms ease; }
.button:hover, .button:focus-visible { background: var(--green-deep); transform: translateY(-1px); }
.footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px clamp(22px, 5vw, 62px); color: var(--muted); font-size: .92rem; }
.footer p { margin: 0 0 6px; }
.footer .version { color: var(--soft); font-size: .82rem; }
.footer nav { display: flex; align-items: start; gap: 26px; }
.footer a:hover, .footer a:focus-visible { color: var(--green-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip: rect(0,0,0,0); }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .welcome { grid-column: 1 / -1; grid-row: 2; justify-self: center; white-space: normal; text-align: center; }
  .orientation { min-height: auto; }
  .leaf-nav { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .content-shell { padding: 34px 24px; }
  .tree-visual { inset: auto -140px -180px auto; width: 720px; opacity: .32; }
  .status-grid { grid-template-columns: 1fr; }
  .contact-panel { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .brand { font-size: 1rem; }
  .menu-button { width: 48px; height: 48px; }
  .branch { grid-template-columns: 22px auto; }
  .branch small { grid-column: 2; }
  .branch--product { margin-left: 20px; }
  .branch--current { margin-left: 40px; }
  .leaf-nav { grid-template-columns: 1fr 1fr; padding-inline: 14px; }
  .leaf { min-height: 88px; font-size: .9rem; }
  h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .footer nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; } }
