* {
  box-sizing: border-box;
}
:root {
  --bg: #fafbf7;
  --ink: #20261f;
  --muted: #536051;
  --line: #cbd1c7;
  --accent: #284b35;
  --on-accent: #fff;
  --panel: #fff;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.55;
}
.wrap {
  width: min(100% - clamp(2.25rem, 8vw, 9rem), 84rem);
  margin-inline: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration: underline;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 5;
  inset: 0.5rem auto auto 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--panel);
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.bar,
footer,
.bar nav,
footer div,
.actions,
.brand,
.support,
.planhead,
.botline,
.book-top,
.sheet-tabs,
.plate-title,
.plate figcaption {
  display: flex;
  align-items: center;
}
.bar {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  min-height: 5rem;
  gap: 1rem;
}
.brand {
  font-size: 1.3rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.07em;
  gap: 0.65rem;
  white-space: nowrap;
}
.brand b {
  font-weight: 470;
}
.symbol {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  align-content: center;
  justify-items: center;
  position: relative;
  transform: rotate(-5deg);
}
.symbol i {
  height: 0.69rem;
  width: 1.35rem;
  background: var(--accent);
  border: 2px solid var(--bg);
  transform: skewY(-19deg);
  margin-top: -0.21rem;
}
.bar a,
footer .brand,
.button,
.tile,
.sample {
  text-decoration: none;
}
.bar nav {
  gap: clamp(1rem, 3vw, 3.4rem);
  font-size: 0.94rem;
}
.bar nav a:hover,
footer a:hover,
.tile:hover h2 {
  text-decoration: underline;
}
.support {
  font-size: 0.9rem;
  border: 1px solid var(--line);
  padding: 0.47rem 1rem;
  border-radius: 100px;
}
.support:hover {
  background: var(--panel);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.4rem, 2rem + 4.4vw, 7.25rem);
  font-weight: 650;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
h2 {
  font-size: clamp(2rem, 1.35rem + 2.1vw, 3.9rem);
  font-weight: 590;
}
h3 {
  font-size: 1.33rem;
  font-weight: 630;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
.eyebrow,
.fine,
.mapcard small,
.plate small,
.ext,
.maplabel {
  font:
    0.81rem/1.4 Consolas,
    "Courier New",
    monospace;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.65rem;
  font-weight: bold;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--accent);
}
.lead {
  max-width: 37rem;
  font-size: clamp(1.05rem, 0.97rem + 0.37vw, 1.34rem);
  line-height: 1.52;
  margin-top: 1.55rem;
}
.actions {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 620;
  font-size: 0.93rem;
  border: 1px solid transparent;
}
.button:hover {
  filter: brightness(0.94);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.hero {
  display: grid;
  align-items: center;
  grid-template-columns: 0.93fr 1.07fr;
  gap: clamp(1.8rem, 4vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 5.8rem);
}
.section {
  padding-block: clamp(3rem, 5vw, 5.4rem);
  border-top: 1px solid var(--line);
}
.intro {
  margin-bottom: 2.1rem;
}
.intro p {
  max-width: 43rem;
  margin-top: 1rem;
}
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font:
    1rem Consolas,
    monospace;
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.section article p,
.steps li p {
  margin-top: 0.65rem;
}
.fieldlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.1rem;
}
.fieldlist article {
  padding: 1.15rem;
  border-left: 2px solid var(--line);
}
.formatlist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.formatlist article {
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--panel);
}
.ext {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.09em;
}
.sample {
  width: fit-content;
  margin-top: auto;
  padding-top: 1.5rem;
  text-decoration: underline;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.93rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.plans article {
  padding: 1.65rem 1.25rem;
  border-right: 1px solid var(--line);
}
.plans article:last-child {
  border-right: 0;
}
.planhead {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.planhead span {
  color: var(--muted);
  font-size: 0.9rem;
}
.plans strong {
  display: block;
  margin: 1.4rem 0 0.65rem;
  font-size: clamp(1.8rem, 1.1rem + 1.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.065em;
}
.botline {
  gap: 1.4rem;
  margin-top: 1.75rem;
  justify-content: space-between;
}
.botline strong {
  font-size: 1.2rem;
}
.botline .button {
  flex-shrink: 0;
}
.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding-block: 1rem;
  font-weight: 560;
}
details p {
  padding-bottom: 1.3rem;
  max-width: 52rem;
}
.desk .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.desk .faq summary::-webkit-details-marker {
  display: none;
}
.desk .faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-inline-end: 0.3rem;
  color: var(--accent);
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.desk .faq details[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}
.desk .faq p a, .field-guide a {
  color: var(--accent);
}
footer {
  justify-content: space-between;
  gap: 2rem;
  min-height: 7rem;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
}
footer div {
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  font-size: 0.9rem;
}
footer div a {
  color: var(--muted);
}

/* Atlas: an interactive map sheet. */
.atlas {
  --bg: #111916;
  --ink: #f6f7ee;
  --muted: #bac4b8;
  --line: #38463e;
  --accent: #c5f878;
  --on-accent: #192016;
  --panel: #1a251e;
}
.atlas .hero h1 {
  font-size: clamp(3.5rem, 2.25rem + 5.35vw, 8rem);
  letter-spacing: -0.078em;
  line-height: 0.96;
}
.atlas .eyebrow {
  color: var(--accent);
}
.map {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.17;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid #526151;
  background: #22332b url("assets/district.webp") center / cover;
  overflow: hidden;
  box-shadow: 0 20px 50px -35px #020b06;
}
.map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(30deg, #17281d66, transparent 45%);
}
.maptop {
  position: absolute;
  top: 5%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #17231e;
  border: 1px solid #576452;
  box-shadow: 0 5px 14px #0003;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.searchicon {
  display: inline-block;
  border: 1.8px solid #ccf4ad;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  position: relative;
}
.searchicon::after {
  content: "";
  width: 0.33rem;
  height: 1.5px;
  position: absolute;
  left: 83%;
  top: 93%;
  background: #ccf4ad;
  rotate: 45deg;
}
.mapcount {
  border-left: 1px solid #52644f;
  padding-left: 0.65rem;
  color: #c5d0be;
  font-size: 0.78rem;
}
.pin {
  transform: translate(-50%, -100%);
  position: absolute;
  background: transparent;
  cursor: pointer;
  color: #142018;
  border: 0;
  padding: 0.45rem;
  width: 3.5rem;
  height: 3.5rem;
  z-index: 1;
  border-radius: 50%;
}
.pin span {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font:
    bold 1.1rem Consolas,
    monospace;
}
.pin span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #e2e7cf;
  z-index: -1;
  border: 2px solid #1d3226;
  border-radius: 55% 55% 9% 55%;
  rotate: 45deg;
  box-shadow: 3px 3px 0 #152b2299;
}
.pin[aria-pressed="true"] span::before {
  background: var(--accent);
  box-shadow:
    0 0 0 7px #c5f87825,
    0 0 0 16px #c5f87818;
}
.pin-0 {
  left: 49%;
  top: 51%;
}
.pin-1 {
  left: 74%;
  top: 32%;
}
.pin-2 {
  left: 78%;
  top: 72%;
}
.mapcard {
  position: absolute;
  bottom: 6%;
  left: 5%;
  background: #ecf3df;
  color: #1c2c20;
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.2rem;
  box-shadow: 0 6px 20px #0d1b1590;
}
.mapcard small {
  font-size: 0.75rem;
  color: #46563e;
  letter-spacing: 0.09em;
}
.mapcard strong {
  font-size: 1.4rem;
  letter-spacing: -0.055em;
}
.mapcard span {
  font-size: 0.87rem;
}
.maplabel {
  position: absolute;
  bottom: 3%;
  right: 3%;
  font-size: 0.75rem;
  background: #19271e;
  color: #cfdbc6;
  padding: 0.1rem 0.35rem;
}
.atlas .steps {
  padding-block: 2.5rem 3.2rem;
}
.atlas .steps h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.atlas .steps .intro p {
  margin-top: 0.45rem;
}

/* Field guide: serif headlines, ruled spreads, and a city illustration. */
.guide {
  --bg: #faf3e7;
  --ink: #34261f;
  --line: #cdbdaa;
  --muted: #675649;
  --accent: #a62e1a;
  --panel: #f4eadc;
}
.guide h1,
.guide h2,
.guide .plate figcaption span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.guide .hero {
  grid-template-columns: 0.86fr 1.14fr;
}
.guide h1 {
  font-size: clamp(3.5rem, 2rem + 4.6vw, 7.6rem);
  letter-spacing: -0.08em;
  line-height: 0.99;
}
.guide h1 em {
  font-style: italic;
}
.guide .button,
.guide .support {
  border-radius: 0.15rem;
}
.guide .plate {
  background: #f6e9d8;
  border: 1px solid #baa68d;
  padding: 0.9rem 1.1rem 0.6rem;
  position: relative;
}
.plate-title,
.plate figcaption {
  justify-content: space-between;
  gap: 1rem;
}
.plate-title {
  font-size: 0.8rem;
  font-family: Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  border-bottom: 1px solid #b9a38e;
  padding-bottom: 0.4rem;
}
.plate img {
  display: block;
  width: 100%;
  height: auto;
}
.plate figcaption {
  border-top: 1px solid #b9a38e;
  padding-top: 0.45rem;
}
.plate figcaption span {
  font-size: 1.45rem;
  font-style: italic;
}
.guide .data,
.guide .formats,
.guide .pricing {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem 5vw;
}
.guide .pricing .plans,
.guide .pricing .botline {
  grid-column: 1 / -1;
}
.guide .fieldlist,
.guide .formatlist {
  display: block;
}
.guide .fieldlist article,
.guide .formatlist article {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  background: transparent;
  border-radius: 0;
}
.guide .fieldlist article:first-child,
.guide .formatlist article:first-child {
  border-top: 3px solid var(--ink);
}
.guide .fieldlist small {
  display: inline-block;
  color: var(--accent);
  font:
    italic 1.05rem Georgia,
    serif;
  margin-top: 0.6rem;
}
.guide .formatlist article {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.5rem;
}
.guide .formatlist .sample {
  grid-column: 2;
  padding: 0;
}
.guide .planhead h3 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

/* Spreadsheet landing page. Colors follow the extension popup. */
.desk {
  --bg: #fff;
  --ink: #19201b;
  --accent: #117536;
  --on-accent: #fff;
  --line: #dce3dc;
  --muted: #59665d;
  --panel: #f2f7f2;
}
.desk .bar {
  min-height: 3.75rem;
}
.bot-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.bot-links .support {
  gap: .45rem;
  padding: .4rem .7rem;
  border-radius: .65rem;
  font-weight: 600;
  line-height: 1.18;
}
.bot-links small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 500;
}
.desk .brand {
  gap: 0.32rem;
}
.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.25rem);
}
.rate-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 1.6vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--bg);
}
.rate-card.rate-featured {
  background: #115333;
  color: #fff;
  --muted: #e0f0e4;
  border-color: transparent;
}
.yandex .rate-featured { background: #125880; --muted: #e3f3ff; }
.rate-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .4rem; }
.rate-head h3 { font-size: 1.55rem; letter-spacing: -.045em; }
.plan-pick {
  padding: .18rem .5rem;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid #ffffff65;
  border-radius: 2rem;
}
.pricing .rate-term { margin-top: .22rem; font-size: .94rem; }
.pricing .rate-price {
  margin: 1.8rem 0 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.rate-featured .rate-price { border-color: #ffffff50; }
.rate-price strong { display: block; white-space: nowrap; font-size: clamp(2rem, 1.35rem + 1.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.06em; }
.rate-price span { color: var(--muted); font-size: .9rem; }
.pricing .rate-purpose { margin: 1rem 0 1.45rem; }
.rate-action, .channel-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.8rem; padding: .52rem .75rem;
  border-radius: .5rem; text-align: center; text-decoration: none;
  font-size: .95rem; line-height: 1.35; font-weight: 650;
}
.rate-action { margin-top: auto; color: var(--accent); border: 1px solid var(--line); background: var(--panel); }
button.rate-action { cursor: pointer; font-family: inherit; }
.rate-featured .rate-action { color: #173420; background: white; border-color: transparent; }
.yandex .rate-featured .rate-action { color: #0c4464; }
.rate-action:hover, .channel-link:hover { text-decoration: none; filter: brightness(.95); }
.rate-featured .rate-action:focus-visible { outline-color: white; }
.rate-help { margin-top: 1.3rem; font-size: .94rem; }
.rate-help a { color: var(--accent); }
.plan-dialog {
  width: min(31rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: clamp(1.1rem, 3vw, 2rem); margin: auto;
  border: 1px solid var(--line); border-radius: 1rem;
  background: var(--bg); color: var(--ink); box-shadow: 0 20px 80px #10212b35;
}
.plan-dialog::backdrop { background: #13251fd1; }
.plan-dialog h2 { margin: .35rem 0; }
.checkout-product { padding-right: 2.5rem; font-weight: 600; }
.checkout-price { color: var(--accent); font-weight: 650; font-size: 1.15rem; }
.plan-dialog p[id$="-help"] { margin: 1rem 0; }
.close-checkout {
  position: absolute; right: .7rem; top: .7rem;
  border: 0; border-radius: 50%; width: 2.4rem; height: 2.4rem;
  background: var(--panel); color: var(--ink); font-size: 1.5rem; cursor: pointer;
}
.checkout-channels {display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem;}
.checkout-channel {
  display: grid; align-content: end; justify-items: center; gap: .5rem; min-width: 0;
  padding: .55rem; border: 1px solid var(--line); border-radius: .7rem; background: white;
}
.checkout-channel img { width: min(100%, 9.5rem); height: auto; }
.channel-link { width: 100%; background: var(--accent); color: #fff; }
@media (max-width: 980px) { .rate-grid {grid-template-columns: repeat(2,minmax(0,1fr));} }
@media (max-width: 560px) {
  .rate-grid { grid-template-columns: minmax(0,1fr); }
  .pricing .rate-price { margin-top: 1rem; }
  .checkout-channel { display: flex; flex-direction: column-reverse; align-items:center; justify-content:flex-end; padding:.35rem; }
  .channel-link { padding-inline: .25rem; }
}
.desk .bar .product-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  gap: .15rem;
  padding: .16rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--panel);
}
.product-switch a {
  padding: .36rem .75rem;
  border-radius: .45rem;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 600;
}
.product-switch a[aria-current="page"] {
  color: var(--on-accent);
  background: var(--accent);
}
.desk.yandex {
  --accent: #096da9;
  --yandex-red: #b50000;
  --ink: #142b3e;
  --line: #d1e2ee;
  --muted: #495f70;
  --panel: #eff8ff;
}
.yandex .product-switch a[aria-current="page"] {
  background-color: var(--accent);
}
.yandex h1 .product-name {
  color: var(--yandex-red);
}
.pitch-action {
  display: grid;
  justify-items: start;
  gap: .75rem;
}
.yandex .deskhero {
  background-image: linear-gradient(#127cad0c 1px,transparent 1px),linear-gradient(90deg,#127cad0c 1px,transparent 1px);
}
.yandex .book, .yandex .popup-shot img {
  border-color: #bad3e4;
  box-shadow: 0 3px 0 -1px #dbeaf5, 0 14px 32px -26px #315a7c;
}
.yandex .book thead :is(tr,th) { background: #e5f2fc; color: #36556e; }
.yandex .book tbody tr:nth-child(even) { background: #f8fbfe; }
.yandex .book tbody tr:hover { background: #edf7ff; }
.yandex .filemark { border-color: var(--accent); }
@media (max-width: 1180px) {
  .desk .bar { flex-wrap: wrap; padding-block: .55rem; gap: .5rem 1rem; }
  .desk .bar nav:not(.product-switch) { width:100%; order:3; padding:0; }
  .desk .bar .product-switch { order:0; margin-right:auto; }
}
@media (min-width: 1041px) and (max-width: 1180px) {
  .yandex .book :is(th, td) { padding-inline: 0.72rem; }
}
@media (max-width: 740px) {
  .desk .bar .product-switch { margin-right: 0; }
  .desk .bar nav:not(.product-switch) { flex-wrap: wrap; }
}
.deskhero {
  background-color: var(--panel);
  background-image:
    linear-gradient(#11753609 1px, transparent 1px),
    linear-gradient(90deg, #11753609 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--line);
  padding: clamp(1.4rem, 3.4vh, 2.6rem) 0 clamp(1.4rem, 3.8vh, 3rem);
}
.pitch {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: clamp(1.4rem, 4vw, 5rem);
}
.deskhero .eyebrow {
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.deskhero h1 {
  font-size: clamp(2.65rem, 1.85rem + 2.75vw, 4.9rem);
  letter-spacing: -0.068em;
  line-height: 0.99;
}
.deskhero .lead {
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.15rem);
  line-height: 1.5;
  max-width: 35rem;
  margin: 0;
}
.book {
  background: white;
  border: 1px solid #becdbf;
  border-radius: 0.85rem;
  overflow: hidden;
  margin-top: clamp(1.1rem, 2.8vh, 2.1rem);
  box-shadow:
    0 3px 0 -1px #d6e3d7,
    0 14px 32px -26px #244f32;
}
.book-top {
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.68rem 1rem;
}
.book-name {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.book-name strong,
.book-name small {
  display: block;
}
.book-name strong {
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}
.book-name small {
  font-size: 0.82rem;
  color: var(--muted);
}
.filemark {
  display: grid;
  place-items: center;
  border: 1px solid #0e602c;
  background: var(--accent);
  color: white;
  width: 2rem;
  height: 2.3rem;
  border-radius: 0.35rem;
  font:
    bold 1.2rem/1 Consolas,
    monospace;
}
.export-link {
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  text-decoration: none;
  border-radius: 0.45rem;
  padding: 0.44rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 640;
  white-space: nowrap;
}
.export-link:hover {
  background: #dbeafe;
}
.sheet-tabs {
  flex-wrap: wrap;
  padding: 0 0.5rem;
  border-top: 1px solid var(--line);
  gap: 0.2rem;
}
.sheet-tabs button {
  padding: 0.55rem 0.7rem 0.45rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font:
    600 0.9rem/1.25 Inter,
    Arial,
    sans-serif;
}
.sheet-tabs button span {
  font:
    0.78rem/1 Consolas,
    monospace;
  margin-left: 0.15rem;
}
.sheet-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.sheet-scroll {
  overflow: auto;
  max-width: 100%;
}
.book table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.35;
}
.book th,
.book td {
  padding: 0.52rem 0.9rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.book tr > :last-child {
  border-right: 0;
}
.book thead th {
  font-size: 0.83rem;
  background: #edf4ee;
  color: #47554a;
  font-weight: 600;
}
.book tbody th {
  font-weight: 630;
  letter-spacing: -0.025em;
}
.book tbody tr {
  background: white;
}
.book tbody tr:nth-child(even) {
  background: #fafcf9;
}
.book tbody tr:hover {
  background: #f2f7f2;
}
.book tr > :first-child {
  position: sticky;
  left: 0;
  background: inherit;
}
.book thead tr {
  background: #edf4ee;
}
.book-note {
  padding: 0.47rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.81rem;
}
.desk .section {
  padding-block: clamp(2.3rem, 4.3vw, 4.7rem);
}
.desk .section h2 {
  font-size: clamp(1.95rem, 1.25rem + 1.7vw, 3.1rem);
}
.usecases {
  border-top: 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
.case-grid article {
  border-left: 3px solid #9ccca8;
  padding-left: 1rem;
}
.desk .formats .formatlist article {
  border-radius: 0.55rem;
  border-top: 3px solid var(--accent);
}
.desk .data,
.desk .steps {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2rem;
}
.desk .steps {
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}
.desk .steps ol {
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 0.9rem;
}
.desk .steps li {
  position: relative;
  padding-left: 2.7rem;
}
.desk .steps li::before {
  position: absolute;
  left: 0;
}
.popup-shot {
  padding: 1.45rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.popup-shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #bccdbc;
  border-radius: 0.65rem;
  box-shadow: 0 9px 26px -17px #26432b;
}
.popup-shot figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.popup-shot-map {
  background: #e6eddf url("assets/popup-map.webp") center / cover no-repeat;
}
.yandex .popup-shot-map {
  background-color: #dcecf7;
  background-blend-mode: luminosity;
}
.yandex .popup-shot-map figcaption {
  background: var(--panel);
  color: var(--muted);
}
.popup-shot-map figcaption {
  padding: .22rem .7rem;
  border-radius: .45rem;
  background: rgb(250 252 247 / 94%);
  color: #435244;
}
.desk .fieldlist {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1040px) {
  .book td,
  .book th {
    padding-inline: 0.65rem;
  }
}
@media (max-width: 740px) {
  .pitch,
  .case-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .book-name small {
    font-size: 0.75rem;
  }
  .desk .bar nav {
    gap: clamp(0.7rem, 3vw, 1.4rem);
    font-size: 0.88rem;
  }
  .popup-shot {
    padding: 1rem;
  }
}
@media (max-width: 460px) {
  .book-name {
    gap: 0.4rem;
  }
  .book-name strong {
    font-size: 0.91rem;
  }
  .book-top .filemark {
    display: none;
  }
  .sheet-tabs button {
    padding-inline: 0.46rem;
  }
}

/* Local selection and shared document pages. */
.gallery-page {
  min-height: 100vh;
  --bg: #f4f5ef;
  --ink: #222820;
  --accent: #385841;
  --muted: #546153;
}
.gallery {
  padding-block: clamp(2.7rem, 6vw, 6rem);
}
.gallery h1 {
  max-width: 67rem;
  font-size: clamp(2.9rem, 2rem + 3vw, 5.8rem);
}
.gallery .eyebrow {
  margin-bottom: 1rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.6rem);
  margin-top: clamp(2.25rem, 4vw, 4.5rem);
}
.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccd2c8;
  border-radius: 1rem;
}
.tile img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 900/585;
  object-fit: cover;
  border-bottom: 1px solid #ccd2c8;
}
.tile div {
  padding: clamp(1.2rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.35rem);
}
.tile p {
  margin: 0.75rem 0 1.4rem;
}
.tile span {
  font-size: 0.9rem;
  font-weight: 650;
  margin-top: auto;
  text-decoration: underline;
}
.doc {
  max-width: 52rem;
  padding-block: 3rem 5rem;
}
.doc h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  overflow-wrap: anywhere;
}
.doc h2 {
  font-size: 1.55rem;
  margin-block: 2rem 0.8rem;
}
.doc p + p {
  margin-top: 1rem;
}
.field-guide {
  max-width: 68rem;
}
.field-guide nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-block: 1rem;
  margin-block: 1.25rem;
  border-block: 1px solid var(--line);
}
.field-guide p {
  max-width: 78ch;
}
.field-guide table {
  width: 100%;
  margin-block: 1rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}
.field-guide :is(th, td) {
  padding: 0.7rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
}
.field-guide th {
  background: var(--panel);
}
.field-guide th:first-child {
  width: 20%;
}
.field-guide th:nth-child(2) {
  width: 36%;
}
.field-guide code, .faq code {
  font-size: 0.91em;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .field-guide .table-scroll {
    overflow-x: auto;
  }
  .field-guide table {
    min-width: 38rem;
  }
}
@media (max-width: 960px) {
  .formatlist,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans article:nth-child(2) {
    border-right: 0;
  }
  .plans article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .map {
    aspect-ratio: 1;
  }
  .tiles {
    gap: 0.8rem;
  }
}
@media (max-width: 740px) {
  .bar {
    min-height: 4rem;
    flex-wrap: wrap;
    row-gap: 0;
    padding-block: 0.65rem;
  }
  .bar nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-top: 0.7rem;
    gap: 1.5rem;
  }
  .hero,
  .guide .hero,
  .faq,
  .guide .data,
  .guide .formats,
  .guide .pricing,
  .desk .data,
  .desk .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    gap: 2rem;
  }
  .map {
    aspect-ratio: 1.38;
  }
  .guide .plate {
    max-width: 37rem;
  }
  .steps ol {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .steps li::before {
    margin-bottom: 0.55rem;
  }
  .faq {
    gap: 0;
  }
  .botline,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .deskhero .wrap {
    width: min(100% - 2rem, 44rem);
  }
  .tiles {
    grid-template-columns: 1fr;
    max-width: 35rem;
    margin-inline: auto;
  }
  .doc {
    max-width: calc(100% - 2.25rem);
  }
}
@media (max-width: 460px) {
  .hero h1,
  .guide .hero h1 {
    font-size: clamp(3rem, 13vw, 3.7rem);
  }
  .formatlist,
  .desk .fieldlist {
    grid-template-columns: 1fr;
  }
  .ext {
    margin-bottom: 1rem;
  }
  .book-top {
    padding: 0.65rem 0.8rem;
  }
  .book-top .fine {
    max-width: 8.5rem;
    text-align: right;
    font-size: 0.75rem;
  }
  .sheet-tabs button {
    padding-inline: 0.6rem;
  }
  td,
  th {
    padding: 0.45rem 0.7rem;
  }
  .plans article {
    padding: 1rem 0.6rem;
  }
  .planhead {
    align-items: flex-start;
    flex-direction: column;
  }
  .map {
    aspect-ratio: 1.1;
  }
  .mapcard {
    padding: 0.6rem 0.7rem;
  }
  .maplabel {
    bottom: 1%;
    font-size: 0.7rem;
  }
  .gallery-page .bar .fine {
    max-width: 7rem;
    text-align: right;
  }
}

@media (min-width: 1000px) and (max-height: 700px) {
  .deskhero { padding-block: 1.05rem; }
  .deskhero h1 { font-size: clamp(2.7rem, 4.1vw, 3.9rem); }
  .book { margin-top: .9rem; }
  .book th, .book td { padding-block: .4rem; }
}
.mobile-scroll-hint { display: none; }
@media (max-width: 740px) {
  .mobile-scroll-hint { display: inline; }
}
.desk .formatlist .ext {
  font-size: 18px;
  margin-bottom: 0.875rem;
}
