@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #101010;
  --muted: #6a6a6a;
  --line: #dedede;
  --accent: #ff460c;
  --brand-purple: #7C1BD2;
  --card-shadow: 0 10px 40px -10px rgb(10 10 10 / 15%);
  --edge: clamp(20px, 3.15vw, 56px);
  --max: 1560px;
  --header: 78px;
  --page-font: Geist, Arial, sans-serif;
  font-family: var(--page-font);
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 28px); }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #265ee9; outline-offset: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon.mdi-icon { fill: currentColor; stroke: none; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(calc(100% - 2 * var(--edge)), var(--max)); margin-inline: auto; }
.skip { position: fixed; z-index: 9; top: 10px; left: 10px; padding: 10px 16px; background: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 2 * var(--edge)), var(--max)); margin: auto; height: calc(var(--header) - 1px); display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 111px; height: auto; }
.nav, .header-actions { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); font-size: 14px; }
.nav a, .header-actions .button { white-space: nowrap; }
.nav > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { margin-left: auto; gap: 8px; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; min-height: 44px; padding: 11px 20px; text-align: center; font-weight: 500; transition: background .16s, color .16s, border-color .16s; }
.black { background: #090909; color: #fff; }
.black:hover { background: #333; }

.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.icon-button:hover:enabled { background: #f1f1f1; border-color: #aaa; }
.icon-button:disabled { opacity: .38; }
.mobile-toggle { display: none; }

.workspace::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: url("assets/grain.svg"); mix-blend-mode: multiply; }
.workspace-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: currentColor; opacity: .48; }
.section { margin-top: clamp(100px, 12vw, 190px); }
#catalog { margin-top: 36px; }

.sync-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(25px, 4vw, 64px); padding-inline: 1.2%; align-items: end; }
.sync-canvas { display: grid; justify-items: center; padding: clamp(24px, 5vw, 72px) clamp(15px, 4vw, 58px); background: #e4e3e0; }
.catalog-card { width: min(100%, 380px); background: white; padding: 18px; border-radius: 13px; box-shadow: var(--card-shadow); }
.catalog-top { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.catalog-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; background: #e6e0ff; color: #5136a4; font-size: 18px; }
.catalog-live { display: flex; align-items: center; gap: 5px; margin-left: auto; font-size: 10px; color: #355a3a; }
.catalog-live i { width: 6px; height: 6px; background: #379a48; border-radius: 50%; }
.catalog-item { display: flex; gap: 10px; align-items: center; margin: 15px 0; font-size: 13px; }
.catalog-item img { width: 49px; height: 45px; border-radius: 6px; object-fit: cover; }
.catalog-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.price-form { display: grid; gap: 6px; font-size: 12px; }
.price-form > div { display: flex; gap: 7px; }
.price-form input { min-width: 0; flex: 1; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; }
.price-form .button { min-height: 36px; padding: 6px 13px; border-radius: 6px; }
.sync-branch { display: grid; grid-template-columns: 1fr 1fr; width: 51%; height: 41px; background: linear-gradient(#8e81b7,#8e81b7) center top/1px 50% no-repeat; }
.sync-branch span { margin-top: 20px; border-top: 1px solid #8e81b7; }
.sync-branch span:first-child { border-left: 1px solid #8e81b7; border-radius: 10px 0 0; }
.sync-branch span:last-child { border-right: 1px solid #8e81b7; border-radius: 0 10px 0 0; }
.sync-previews { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sync-preview { display: flex; gap: 8px; align-items: center; min-width: 0; padding: clamp(8px, 1.25vw, 16px); background: #fff; border-radius: 9px; box-shadow: var(--card-shadow); font-size: clamp(10px, 1vw, 13px); }
.sync-preview small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .9em; }
.sync-preview > strong { margin-left: auto; }
.sync-preview .icon { color: var(--brand-purple); }
.section-glyph { display: block; margin-bottom: 12px; font-size: 23px; line-height: 1; }
.sync-aside h3, .workspace-details h3 { font-size: 16px; font-weight: 500; }
.sync-aside p, .workspace-details p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.inline-status { min-height: 1.5em; font-size: 13px !important; color: #23643a !important; }
.inline-status.error { color: #a12614 !important; }

.workspace { position: relative; isolation: isolate; display: grid; justify-items: center; max-width: 81%; margin-inline: auto; padding: 4.3% 6.2%; background: linear-gradient(125deg,#60a180,#9bba96 53%,#5e9d7d); }
.workspace-app { position: relative; z-index: 1; width: 100%; container-type: inline-size; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 14px 28px #264b3d35; }
.workspace-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.6% 2%; border-bottom: 1px solid #e9e8e5; font-size: 1.65cqw; }
.workspace-bar > div { display: flex; gap: .6cqw; color: #8f958e; }
.workspace-bar > span { justify-self: end; color: #54665b; }
.workspace-inner { display: grid; grid-template-columns: .87fr 3.15fr 1.15fr; }
.workspace-sidebar, .workspace-library { padding: 11% 7%; font-size: 1.53cqw; }
.workspace-sidebar > span { display: flex; align-items: center; gap: .6cqw; margin-top: .65cqw; padding: .65cqw .25cqw; }
.workspace-sidebar .icon { width: 1.8cqw; height: 1.8cqw; }
.workspace-sidebar .active { background: #dfece4; border-radius: 4px; }
.workspace-page { position: relative; display: grid; place-items: center; min-height: 33cqw; isolation: isolate; background: #241612; color: #fff6dc; text-align: center; }
.workspace-page img { position: absolute; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .47; }
.workspace-page small { font-size: 1.6cqw; letter-spacing: .14em; }
.workspace-page b { display: block; max-width: 39cqw; margin: .12em 0 .27em; font: normal 7.8cqw/.93 Georgia, serif; letter-spacing: -.07em; }
.workspace-page span { font-size: 1.7cqw; }
.workspace-library > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5cqw; margin: 1.25cqw 0; }
.workspace-library img { width: 100%; aspect-ratio: 1.08; object-fit: cover; border-radius: 3px; }
.workspace-library > span { display: block; border: 1px dashed #adb9b0; border-radius: 3px; padding: .65cqw; color: #45624f; }
.workspace-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; max-width: 83.3%; margin: 24px auto 0; }
.text-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; color: inherit; background: none; border: none; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--muted); }
.text-link .icon { width: 17px; height: 17px; }
.workspace-details .text-link { margin-top: 14px; }

.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.plan { display: flex; align-items: flex-start; flex-direction: column; padding: clamp(19px, 2.8vw, 37px); min-width: 0; border-radius: 2px; }
.plan-qr { background: #e9e4f7; }
.plan-bundle { background: #f8e0d3; }
.plan-icon { width: 32px; height: 32px; margin-bottom: 20px; }
.plan-icons { display: flex; gap: 8px; }
.plan h3 { font-size: clamp(26px, 3vw, 39px); font-weight: 500; letter-spacing: -.06em; }
.plan p { margin-top: 9px; line-height: 1.55; }
.plan ul { display: grid; gap: 11px; margin: 27px 0 31px; padding: 0; list-style: none; }
.plan li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; }
.plan .button { margin-top: auto; }

.segments { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #f7f7f7; }
.segments button { border: 0; border-radius: 6px; padding: 8px 12px; font-size: 13px; background: transparent; }
.segments button[aria-pressed="true"] { background: #111; color: #fff; }
.segments button:disabled { opacity: .45; }

.footer { margin-top: clamp(80px, 11vw, 160px); border-top: 1px solid var(--line); }
.footer-inner { --footer-gap: 28px; display: grid; grid-template-columns: 1.75fr repeat(3, 1fr); gap: var(--footer-gap); padding-block: 48px 20px; font-size: 14px; }
.footer .brand img { width: 167.4px; }
.footer h2 { margin: 14px 0 14px; font-size: 12px; text-transform: uppercase; font-weight: 600; letter-spacing: .05em; }
.footer p { max-width: 238px; color: var(--muted); line-height: 1.5; }
.footer-links a { display: block; width: fit-content; margin-bottom: 9px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer-social-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.footer-social-icon .icon { width: 18px; height: 18px; }
a.footer-social-icon { transition: background-color .16s, border-color .16s; }
a.footer-social-icon:hover { background: #f2f1ef; border-color: #cfcdca; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block-start: var(--footer-gap); padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-back-to-top { margin-inline-start: auto; font-size: inherit; white-space: nowrap; }

@media (max-width: 950px) {
  .header-inner { gap: 14px; }
  .nav { gap: 12px; }
}
@media (max-width: 720px) {
  .plan-grid { grid-template-columns: 1fr; }
  #catalog { margin-top: 68px; }
  .sync-layout { grid-template-columns: 1fr; padding-inline: 0; }
  .sync-aside p { max-width: 440px; }
  .workspace, .workspace-details { max-width: 100%; }
  .workspace-details { gap: 15px; }
  .footer-inner { --footer-gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-primary .footer-products { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sync-preview .icon { display: none; }
  .footer-inner { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
