:root {
  color-scheme: light dark;
  --ink: #18302d;
  --muted: #5f716c;
  --paper: #f3f5ef;
  --card: #fffefa;
  --line: #dce3d9;
  --green: #173c36;
  --green-soft: #e7f0e9;
  --orange: #ee7749;
  --orange-dark: #b74b29;
  --yellow: #f2c65f;
  --shadow: 0 14px 38px rgba(24, 48, 45, .09);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e4ece6;
    --muted: #9fb2aa;
    --paper: #101c19;
    --card: #172723;
    --line: #2a3d38;
    --green: #0c1f1b;
    --green-soft: #1d322d;
    --orange-dark: #f09a78;
    --shadow: 0 14px 38px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

.top { position: sticky; top: 0; z-index: 5; background: var(--green); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.top nav a { color: #d4e6da; text-decoration: none; padding: 4px 0; }
.top nav a:hover { color: #fff; }

.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--orange-dark); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.01em; }
h1 span { color: var(--orange-dark); }
h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; }
h3 { margin: 0 0 6px; font-size: 18px; }
.lead { margin: 0 0 26px; color: var(--muted); font-size: 19px; }
.sub { margin: 0 0 32px; color: var(--muted); max-width: 640px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--green); background: var(--green); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.15); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--green-soft); filter: none; }
.shot { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); background: var(--card); }

section { padding: 56px 0; }
section.alt { background: var(--green-soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 10px 10px 10px 3px; background: var(--yellow); font-size: 21px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; }
.split.rev .text { order: 2; }
.split ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.split li { margin-bottom: 6px; }
.roles { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.roles th, .roles td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.roles th { background: var(--green-soft); }
.roles tr:last-child td { border-bottom: 0; }
.phone { width: min(300px, 100%); margin: 0 auto; border-radius: 22px; }

pre { margin: 16px 0 0; padding: 18px 20px; overflow-x: auto; border-radius: 10px; background: var(--green); color: #d4e6da; font-size: 14.5px; line-height: 1.6; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 8px; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
p code, li code { padding: 1px 6px; border-radius: 4px; background: var(--green-soft); }

footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 32px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .text { order: 0; }
  section { padding: 40px 0; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.corner{position:absolute;top:0;right:0;z-index:20;width:64px;height:64px;background:var(--orange);clip-path:polygon(0 0,100% 0,100% 100%);color:var(--green);text-decoration:none;transition:filter .15s}
.corner:hover,.corner:focus-visible{filter:brightness(1.12)}
.corner svg{position:absolute;top:8px;right:8px;width:20px;height:20px;fill:currentColor}
.top .wrap{padding-right:76px}
@media(max-width:640px){.corner{width:52px;height:52px}.corner svg{top:6px;right:6px;width:16px;height:16px}.top .wrap{padding-right:60px}}
.shot { cursor: zoom-in; }
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 3vmin; border: 0; background: rgba(8, 20, 18, .88); display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 6vmin); max-height: calc(100vh - 6vmin); object-fit: contain; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: var(--card); }
.lightbox-close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255, 255, 255, .3); }
