:root {
  --paper: #e9e7e2;
  --card: #ffffff;
  --ink: #1d2126;
  --text: #3b4046;
  --muted: #767b82;
  --rule: #dcd9d3;
  --rule-soft: #ecebe7;
  --blue: #2c6aa0;
  --blue-deep: #214f78;
  --red: #c42a1f;
  --red-deep: #9e1f16;
  --rail: #2f3237;
  --rail-line: #26292d;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  font: 15px/1.7 var(--sans);
  color: var(--text);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 4px 4px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

.strip { background: #1e2024; color: #9da2a8; font-size: 12.5px; }
.strip-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.strip-contacts { display: flex; gap: 18px; }
.strip-contacts a { color: #d6d9dc; text-decoration: none; }
.strip-contacts a:hover { color: #fff; }

.masthead { background: #f7f6f3; border-bottom: 1px solid var(--rule); }
.masthead-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 6px; }
.brand strong { display: block; font: 700 22px/1.15 var(--serif); color: var(--ink); }
.brand span { font-size: 13px; color: var(--muted); }
.masthead-order { text-align: right; line-height: 1.35; }
.masthead-order span { display: block; font-size: 12px; color: var(--muted); }
.masthead-order a { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }

.bluebar { background: var(--blue); border-top: 3px solid var(--blue-deep); color: #e3edf6; }
.bluebar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.bluebar p { margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bluebar i { font-style: normal; margin: 0 10px; opacity: .5; }
.bluebar b { color: #fff; font-weight: 600; }
.bluebar-buy {
  flex: none;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 3px;
}
.bluebar-buy:hover { background: #fff; color: var(--blue-deep); }

.layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-block: 28px 60px;
}

.rail {
  position: sticky;
  top: 20px;
  background: var(--rail);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 15px 6px 13px;
  color: #d9dcdf;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid var(--rail-line);
  position: relative;
}
.rail a:last-child { border-bottom: 0; }
.rail a:hover { background: #393d43; color: #fff; }
.rail svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rail a.active { background: var(--blue); color: #fff; }
.rail a.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -7px;
  border: 7px solid transparent;
  border-right-color: var(--paper);
}

.article {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 34px 40px 40px;
}
.article-head { border-bottom: 1px dotted #c9c6bf; padding-bottom: 16px; margin-bottom: 26px; }
.article-head h1 { margin: 0; font: 700 38px/1.15 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.byline { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.byline b { color: var(--text); font-weight: 600; }
.byline i { font-style: normal; margin: 0 6px; color: #b9b6af; }

.shot { margin: 0 0 30px; }
.shot-main {
  display: block;
  width: 100%;
  padding: 6px;
  background: #f4f3ef;
  border: 1px solid var(--rule);
  cursor: zoom-in;
}
.shot-main img { width: 100%; aspect-ratio: 1000 / 620; object-fit: cover; }
.shot figcaption { font-size: 12.5px; color: var(--muted); margin: 8px 2px 12px; font-style: italic; }
.shot-thumbs { display: flex; gap: 10px; }
.shot-thumbs button {
  width: 110px;
  padding: 3px;
  background: #f4f3ef;
  border: 1px solid var(--rule);
  cursor: pointer;
  opacity: .65;
}
.shot-thumbs button:hover { opacity: 1; }
.shot-thumbs button.active { opacity: 1; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.shot-thumbs img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.prose p { margin: 0 0 16px; }
.prose .intro { font-size: 17px; color: var(--ink); }
.prose h2 {
  font: 700 24px/1.25 var(--serif);
  color: var(--ink);
  margin: 38px 0 14px;
}

.btn-buy {
  display: inline-block;
  padding: 11px 26px 12px;
  font: 600 16px/1 var(--sans);
  color: #fff;
  text-decoration: none;
  background: var(--red);
  border: 1px solid var(--red-deep);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 0 var(--red-deep);
  transition: background .15s, transform .1s, box-shadow .1s;
}
.btn-buy:hover { background: #d23427; color: #fff; }
.btn-buy:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 var(--red-deep); }
.btn-buy.wide { display: block; text-align: center; }

.buy-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 26px 0 8px !important; }
.buy-inline span { color: var(--muted); font-size: 14px; }
.buy-inline b { color: var(--ink); font-size: 17px; }
.buy-inline.end { margin-top: 36px !important; padding-top: 26px; border-top: 1px dotted #c9c6bf; }

.features { margin: 0; }
.features div { padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.features div:first-child { border-top: 1px solid var(--rule-soft); }
.features dt { display: inline; font-weight: 700; color: var(--ink); }
.features dt::after { content: ":"; }
.features dd { display: inline; margin: 0 0 0 4px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.two-col ul { margin: 0; padding-left: 18px; }
.two-col li { margin: 5px 0; }
.two-col li::marker { color: var(--blue); }

.table-scroll { overflow-x: auto; }
.req { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.req th, .req td { text-align: left; padding: 9px 12px; border: 1px solid var(--rule); }
.req thead th { background: #f4f3ef; font-weight: 600; color: var(--ink); }
.req tbody th { font-weight: 600; color: var(--ink); width: 30%; background: #fbfaf8; }

.order-steps { margin: 0; padding-left: 22px; }
.order-steps li { margin: 8px 0; padding-left: 4px; }
.order-steps li::marker { font-weight: 700; color: var(--blue); }

.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq details:first-child { border-top: 1px solid var(--rule-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 30px 12px 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 9px;
  font: 400 22px/1 var(--sans);
  color: var(--blue);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: -2px 0 14px; color: var(--text); }

.side { display: grid; gap: 20px; position: sticky; top: 20px; }
.box { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 18px 20px 20px; }
.box-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font: 700 17px/1.2 var(--serif);
  color: var(--ink);
  border-bottom: 1px dotted #c9c6bf;
}
.order { border-top: 3px solid var(--red); }
.order-name { margin: 0; font-weight: 600; color: var(--ink); }
.order-price { margin: 2px 0 0; font: 700 34px/1.2 var(--serif); color: var(--ink); }
.order-price small { font: 600 15px var(--sans); color: var(--muted); }
.order-note { margin: 4px 0 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.order-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.order-contacts .c {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fbfaf8;
}
.order-contacts .c:hover { background: #f1efea; }
.order-contacts svg { width: 17px; height: 17px; }
.order-contacts .tg svg { fill: #2a9fd6; }
.order-contacts .wa svg { fill: #1fae55; }

.facts { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.facts th, .facts td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { font-weight: 400; color: var(--muted); width: 44%; }
.facts td { color: var(--ink); font-weight: 500; }

.ticks { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ticks li { position: relative; padding-left: 22px; margin: 7px 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.foot { background: #1e2024; color: #9da2a8; font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 18px; }

.corner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  width: 250px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  overflow: hidden;
  font-size: 13.5px;
}
.corner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.corner-head svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; transition: transform .2s; }
.corner.closed .corner-head svg { transform: rotate(180deg); }
.corner.closed .corner-body { display: none; }
.corner-body a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-top: 1px solid var(--rule-soft);
}
.corner-body a:hover { background: #f6f5f1; }
.corner-body em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.tg { background: #2a9fd6; }
.dot.wa { background: #1fae55; }
.dot.em { background: var(--red); }

.demo-tag {
  position: fixed;
  left: 0;
  top: 120px;
  z-index: 45;
  padding: 16px 7px;
  background: #1a1916;
  color: #fff;
  writing-mode: vertical-rl;
  font: 700 12px/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

button.btn-buy { border: 0; cursor: pointer; font-family: inherit; }
.btn-buy.sm { padding: 7px 16px; font-size: 13.5px; }

.plans { display: grid; gap: 6px; margin: 12px 0 6px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.plan em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.plan:hover span { border-color: #b9c6d3; }
.plan input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f3f7fb; }
.plan input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.plans-table .hl { background: #f3f7fb; }
.plans-table .tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.plans-table .plans-buy td { padding-block: 12px; }
.plans-note { font-size: 13.5px; color: var(--muted); }

body.modal-open { overflow: hidden; }
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  padding: 24px 16px;
  background: rgba(20,22,25,.62);
  overflow-y: auto;
}
.om-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding: 30px 32px 26px;
  background: #fff;
  border-top: 3px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.om-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.om-close:hover { background: #f1efea; color: var(--ink); }
.om-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.om-card h2 { margin: 0 0 6px; padding-right: 30px; font: 700 25px/1.2 var(--serif); color: var(--ink); }
.om-sub { margin: 0 0 20px; font-size: 14.5px; color: var(--muted); }
.om-card fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.om-card legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.om-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.om-plans label, .om-contact label { position: relative; display: block; cursor: pointer; }
.om-plans input, .om-contact input { position: absolute; opacity: 0; pointer-events: none; }
.om-plans span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.om-plans em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.om-plans input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f3f7fb; }
.om-plans input:focus-visible + span, .om-contact input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.om-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 6px; }
.field { display: block; }
.field span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cfccc5;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.field textarea { min-height: 76px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a9adb2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,106,160,.15); }
.field.invalid input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,42,31,.12); }
.om-hint { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }
.om-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.om-contact span {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  font-size: 13.5px;
  color: var(--text);
  transition: background-color .15s, border-color .15s, color .15s;
}
.om-contact label:hover span { border-color: #b9c6d3; }
.om-contact input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.om-comment { margin-bottom: 14px; }
.om-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 14px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.om-check input { margin-top: 3px; accent-color: var(--blue); }
.om-error { margin: 0 0 14px; padding: 9px 12px; border-left: 3px solid var(--red); background: #fbeceb; color: var(--red-deep); font-size: 13.5px; }
.om-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.om-total span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.om-total b { font: 700 24px/1.2 var(--serif); color: var(--ink); }
.om-foot .btn-buy { padding: 12px 28px; font-size: 15px; }
.om-done { padding: 14px 4px 4px; text-align: center; }
.om-done-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #e7f3ec; }
.om-done-icon svg { width: 28px; height: 28px; fill: none; stroke: #1f8a4c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.om-done h2 { padding-right: 0; }
.om-done p { max-width: 420px; margin: 0 auto 8px; color: var(--text); }
.om-done .om-demo { margin: 14px auto 20px; font-size: 12.5px; color: var(--muted); }
.om-done .btn-buy { padding: 11px 34px; }

.mobile-bar { display: none; }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20,22,25,.9);
  display: grid;
  place-items: center;
  padding: 56px 16px 24px;
}
.viewer img { max-height: 100%; border: 6px solid #fff; }
.viewer button {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 6px 14px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 3px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .rail {
    grid-column: 1 / -1;
    position: static;
    display: flex;
    overflow-x: auto;
  }
  .rail a { flex: 1 0 auto; min-width: 92px; border-bottom: 0; border-right: 1px solid var(--rail-line); }
  .rail a.active::after { display: none; }
  .article { padding: 28px 28px 32px; }
}

@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 16px 90px; }
  .rail { min-width: 0; }
  .side { position: static; }
  .corner { display: none; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid var(--rule);
    box-shadow: 0 -4px 14px rgba(0,0,0,.08);
    transform: translateY(110%);
    transition: transform .2s;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar span { display: flex; flex-direction: column; min-width: 0; font-weight: 600; color: var(--ink); line-height: 1.3; }
  .mobile-bar b { font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar .btn-buy { padding: 10px 18px; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .strip-in { justify-content: center; }
  #today { display: none; }
  .masthead-in { padding-block: 14px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 19px; }
  .brand span { font-size: 12px; }
  .masthead-order { display: none; }
  .bluebar p span, .bluebar p i { display: none; }
  .article { padding: 20px 16px 24px; }
  .article-head h1 { font-size: 29px; }
  .prose .intro { font-size: 16px; }
  .prose h2 { font-size: 21px; margin-top: 30px; }
  .shot-main { padding: 3px; }
  .shot-thumbs { gap: 6px; }
  .shot-thumbs button { width: auto; flex: 1; }
  .two-col { grid-template-columns: 1fr; }
  .two-col section + section h2 { margin-top: 24px; }
  .rail a { min-width: 84px; font-size: 11.5px; }
  .demo-tag { top: 90px; padding: 12px 4px; font-size: 10px; letter-spacing: .26em; }
  .order-modal { padding: 12px; }
  .om-card { padding: 24px 18px 20px; }
  .om-card h2 { font-size: 22px; }
  .om-plans { grid-template-columns: 1fr; }
  .om-plans span { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .om-grid { grid-template-columns: 1fr; }
  .om-foot { flex-direction: column; align-items: stretch; }
  .om-foot .btn-buy { text-align: center; }
}
