
    :root{
      --bg-1: #ffffff;
      --bg-2: #f7f7f8;
      --text: #161616;
      --muted: #6b6b6b;
      --accent: #111827; /* dark accent for icons/text */
      --gap: 2rem;
    }
    /* Reset */
    *{box-sizing:border-box;margin:0;padding:0}
    html,body{height:100%;}
    body{  font-family: "Commissioner", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "FLAR" 0,
    "VOLM" 0;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      color:var(--text);
      background:var(--bg-1);
      overflow:hidden; /* hide vertical page overflow – container handles scrolling */
    cursor: url(cursor-02.png) 2 2, pointer;
		max-width: 90vw
    }


    /* Pages wrapper */
    .pages {
      height:100vh;
      width:100vw;
      display:flex;
      flex-direction:row;
      overflow-x:auto;
      overflow-y:hidden;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      scroll-behavior:smooth;
      scrollbar-width:none; /* firefox */
    }

    .pages {  height: 100%;
  background: url(background.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  background-color:#fafafa;
  background-blend-mode: color-burn;} 


    .pages::-webkit-scrollbar{display:none}

    .page{
      flex:0 0 100vw; /* full width */
      height:100vh;
      display:grid;
      place-items:center;
      scroll-snap-align:center;
      padding:calc(var(--gap) * 0.5);
      gap:var(--gap);
    }

    .page.flex {
      display: flex;
    }

    .page.flex .card{
      min-width: 100vw;
    }

    /* Subtle alternation for visual clarity while staying minimal 
    .page:nth-child(odd){background:var(--bg-1)}
    .page:nth-child(even){background:var(--bg-2)}*/

    .card{
      /*max-width:80ch;*/
      text-align:center;
      padding:2rem;
    }

    h1{
      font-size:clamp(1.5rem, 3vw, 2.25rem);
      letter-spacing:-0.02em;
      margin-bottom:.5rem;
      color:var(--accent);
      font-weight:700;
    }


        h4{
      font-weight:400;
    }

        h6{
      font-weight:200;
      font-style: italic;
    }
    p{
      color:var(--muted);
      font-size:clamp(.9rem, 1.6vw, 1.125rem);
      line-height:1.5;
    }

    /* Icon styling */
    .icon{
      width:64px;
      height:64px;
      margin-bottom:1rem;
      display:inline-block;
      fill:none;
      stroke:var(--accent);
      stroke-width:1.6;
    }

    /* page indicators (bottom center) */
    .pager{
      position:fixed;
      left:50%;
      transform:translateX(-50%);
      bottom:16px;
      display:flex;
      gap:8px;
      z-index:40;
      backdrop-filter: blur(4px);
      padding:6px 10px;
      border-radius:999px;
      background:rgba(255,255,255,0.6);
      box-shadow:0 6px 18px rgba(16,24,40,0.06);
    }
    .dot{
      width:4px;height:4px;border-radius:50%;background:var(--muted);opacity:.4;transition:all .25s ease;
      transform-origin:center;
    }
    .dot.active{transform:scale(1.3);opacity:1;background:var(--accent);}


a {
  color: #161616;
  text-decoration: none;
  background-color: transparent;
  font-family: 'Montserrat', sans-serif !important;
}

a:hover {
  color: #161616;
  text-decoration: none;
  cursor: url(cursor-03.png) 2 2, pointer;
  transition: 0.85s ease-out;
}

a[target="_blank"]::after {
    display: inline-block;
    content: "⇱";
    position: relative;
    margin-left: 2px;
    transform: rotate(90deg);
    color: #858585;
  }

a:not([href]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):hover {
  color: inherit;
  text-decoration: none;
}

    /**/
    .slides > div {
  /*scroll-snap-align: start;*/
  flex-shrink: 0;
  width: 280px;
  height: 1.6rem;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slides > div:target {
/*   transform: scale(0.8); */
}


.slider > a {
  display:none;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0 0.5rem 0;
  position: relative;
}
/*.slider > a:active {
  top: 1px;
}
.slider > a:focus {
  background: #000;
}
*/
.logo { position: fixed;
  top: -8px;
  left: -8px;
  filter: invert(1);
mix-blend-mode: difference;
}
.logo img {
  width: 48px;
  height: 48px;
}

.nav {position: fixed;
	left: 0;
	top: 50%;
	
	transform: rotate(-90deg) translateX(-25%);
	transform-origin: left top;
	
	display: flex;
	gap: 18px;
	
	z-index:9999;
	
  filter: invert(1);
  mix-blend-mode: difference;
}
.nav a {white-space: nowrap;
text-decoration: none}

@media (max-width: 719px) {
	.nav {gap: 12px;
		top: 60%}
}

a#this {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-line: 4px;
  font-weight: bold;
}



/* dd container 
.dropdown {
  display: inline-block;
  position: fixed;
  bottom: 4%;
  left: -18px;
  transform: rotate(270deg);
  filter: invert(1);
mix-blend-mode: difference;
  cursor: pointer;
}

/* button 
.dropbtn {
  color: #000;
}

/* dd content 
.dropdown .dropdown-content {
  position: absolute;
  top: 50%;
  min-width: 120%;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: 0.35s ease-out;
}
.dropdown-content a {
  color: #fff !important; 
  display: block;
  text-decoration: none;
  transition: 0.35s ease-out;
}

/* show dd content 
.dropdown:focus .dropdown-content {
  outline: none;
  transform: translateY(20px);
  visibility: visible;
  opacity: 1;
}

/* mask to close menu by clicking on the button 
.dropdown .db2 {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; opacity: 0;
  z-index: 10;
  display: none;
}
.dropdown:focus .db2 {
  display: inline-block;
}
.dropdown .db2:focus .dropdown-content {
  outline: none;
  visibility: hidden;
  opacity: 0;}
  */
.dropbtn {
    position: fixed;
    left: 0;
    bottom: 2.5%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left top;
    display: flex;
    gap: 18px;
    z-index: 9999;
    filter: invert(1);
    mix-blend-mode: difference;
}

.dropdown-content {
    display: none;
    position: fixed;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    padding: 10px;
  bottom: 4%;
  left: 18px;
  transform: rotate(270deg);
  filter: invert(1);
mix-blend-mode: difference;
}



/* 2. Показываем при наведении на родителя (.dropdown) */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Опционально: стиль для ссылок внутри меню */
.dropdown-content a {
    display: block;
    text-decoration: none;
    color: black;
    padding: 5px 0;
}


section.page.dark {
  background-color: #161616f4 !important;
  background-blend-mode: difference;
  color: #fafafa;
}

.signature {
  margin-right:-25%;
  color: #85858585;
  font-size: 0.75rem;
  text-align: center;
  font-style: italic;
}

.signgraph {
  max-width: 240px;
  text-align: right;
  margin-right: -25%;
  margin-top: 16px;
}


.feature {
  display: inline-block;
  max-width: 24%;
  margin: 28px;
  min-width: 20%;
    background-color: #ffffff00;
  backdrop-filter: blur(1px);
}

.feature h4{
  text-align: center;
  font-size: 12px;
}

.feature img {
  max-width: 96px;
}


.accordion {
  background-color: #ffffff00;
  color: #444;
  cursor: pointer;
  padding: 16px 32px 16px 16px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  max-width: 480px;
  display: grid;
  backdrop-filter: blur(4px);
}



.accordion:focus-visible { outline: 2px solid #3b82f6; }

  /* --- Pure CSS chevron (two strokes) --- */
  .accordion::before,
  .accordion::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #858585;
    transition: transform .25s ease;
  }
  /* position the two strokes */
  .accordion::before { right: 8px; transform: translateY(-50%) rotate(45deg); }
  .accordion::after  { right: 16px; transform: translateY(-50%) rotate(-45deg); }
  /* when active, flip to caret-up */
  .accordion.active::before { transform: translateY(-50%) rotate(-45deg); }
  .accordion.active::after  { transform: translateY(-50%) rotate(45deg); 

  backdrop-filter: blur(4px);}




.active, .accordion:hover {
  background-color: #16161696;
}

.panel {
  padding: 16px;
  display: none;
  background-color: #ffffff00;
  overflow: hidden;
  max-width: 480px;
  text-align: justify;
}

.price {
    max-width: 24%;
    padding: 16px;
    margin: 32px;
    display: inline-grid;
    background: #00000044;
    backdrop-filter: blur(4px);
    min-height: 420px;
}

.price:hover {
  background: #40000044;
  backdrop-filter: blur(2px);
}

.price p {
  text-align: left;
  padding-left: 32px;
}

button {
  padding: 8px 16px;
  margin-top: 8px;
  border: 2px solid #fafafa;
  min-width: 86%;
}

.panel p {
  font-size: 16px;
}

button:hover {
  background: #40000044;
  color: #fafafa;
   cursor: url(cursor-03.png) 2 2, pointer;
}

button:hover a {
   color: #fafafa;
    cursor: url(cursor-03.png) 2 2, pointer;
}

#coherence {
  background: url(winter.jpg)  rgba(0, 0, 0, 0.6);
  background-blend-mode: multiply;
    background-size: cover;
background-position: center;
color: #fafafa;
min-height: 100%;
}

#coherence a {
  color: #fafafa;
}

form {
  padding: 16px;
    background: #00000044;
  backdrop-filter: blur(4px);
  max-width: 280px;
  margin: 0 auto;
}

input, textarea {
  background: #fafafa04;
  color: #fafafa;
  padding: 16px;
  margin: 4px;
  border: 1px solid #858585;
  min-width: 190px;
}




  .table-wrapper {
    overflow-x: auto; /* horizontal scroll on small screens */
  }

  table.responsive {
    border-collapse: collapse;
    width: 100%;
    /* f min-width: 500px; orce horizontal scroll if screen < 500px */
    background: #fafafa00;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    margin-top: 16px;
  }

  table.responsive th,
  table.responsive td {
    border: 1px solid #dddddd42;
    padding: 4px;
    text-align: center;
    font-size: 12px;
    word-break: break-word;
  }

  table.responsive th {
    background: #ffffff42;
    font-weight: bold;
  }

  /**/

    /* Responsive tweaks */
    @media (max-width:640px){
      .icon{width:52px;height:52px}
      .card{padding:1.2rem}
      .price{display: none}
    }

    @media (min-width:640px){
      .pricing-wrapper{display: none;}
    }

    /* Utility for keyboard focus outlines */
    .page:focus{outline:3px solid rgba(17,24,39,.06);outline-offset:4px}


    ::selection {
      background-color: #400000;
  color: #fafafa;}


  /*blog*/
  /* ---------- FILTERS ---------- */

.filters {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.filters input {
  display: none;
}

.filters label {
  cursor: pointer;
  opacity: 0.6;
}

.filters input:checked + label {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- LIST GRID ---------- */

.list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .list-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- LIST ITEM ---------- */

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 4px 8px;
  align-items: baseline;
}

.list-left {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
  align-items: baseline;
}

.list-tag {
  opacity: 0.6;
  white-space: nowrap;
  text-align: center;
  width: 36px;
  background-color: #85858585;
  border-radius: 4px;
  font-size: 12px;
  padding: 4px 2px;

  filter: invert(1);
  mix-blend-mode: difference;
}

.list-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  filter: invert(1);
  mix-blend-mode: difference;
}

.list-date {
  white-space: nowrap;
  color: #858585;
  font-size: 14px;
}

.list-dots {
  flex-grow: 1;
  border-bottom: 2px dotted #85858585;
  margin: 0 -16px;
  position: relative;}


/* ---------- FILTER LOGIC ---------- */

/* скрываем всё */
#filter-js:checked ~ .list-grid .list-item:not(.tag-js),
#filter-css:checked ~ .list-grid .list-item:not(.tag-css),
#filter-php:checked ~ .list-grid .list-item:not(.tag-php) {
  display: none;
}

/* скрываем radio */
input[name="filter"] {
  display: none;
}

/* фильтр */
.filters {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.filters label {
  cursor: pointer;
  opacity: 0.6;
}

#filter-all:checked ~ .filters label[for="filter-all"],
#filter-js:checked ~ .filters label[for="filter-js"],
#filter-css:checked ~ .filters label[for="filter-css"],
#filter-php:checked ~ .filters label[for="filter-php"] {
  opacity: 1;
  text-decoration: underline;
}

/* логика фильтрации */
#filter-js:checked ~ .list-grid .list-item:not(.tag-js),
#filter-css:checked ~ .list-grid .list-item:not(.tag-css),
#filter-php:checked ~ .list-grid .list-item:not(.tag-php) {
  display: none;
}


/*code block*/

/* ---------- CODE BLOCK ---------- */

.code-block {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  background: #00000016;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-title {
  opacity: 0.6;
  white-space: nowrap;
  padding: 0 8px;
}

/* ---------- COPY ICON ---------- */

.code-copy {
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  display: flex;
  align-items: center;
}

.code-copy:hover{
  background: transparent;
}

.code-copy svg {
  fill: white;
}

.code-copy:hover {
  opacity: 1;
}

.code-copy .icon-check {
  display: none;
  color: #22c55e;
}

.code-copy.copied .icon-copy {
  display: none;
}

.code-copy.copied .icon-check {
  display: block;
}

/* Container & Base Styles */
pre[class*="language-"] {
  background: #2d2d2d;
  color: #ccc;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 1em;
  padding: 1em;
  margin: .5em 1.6em;
  overflow: auto;
  border-radius: 0.3em;
  line-height: 1.5;
}

/* Syntax Tokens (Prism Standard) */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #999; /* Grey for comments */
}

.token.punctuation {
  color: #ccc;
}

.token.namespace {
  opacity: .7;
}

/* HTML, CSS, JS, PHP Specific Colors */
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f8c555; /* Yellow/Orange */
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #7ec699; /* Green for strings and attributes */
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #67cdcc; /* Cyan */
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #cc99cd; /* Purple for keywords (if, while, function) */
}

.token.function,
.token.class-name {
  color: #f08d49; /* Peach for functions */
}

.token.regex,
.token.important,
.token.variable {
  color: #e2777a; /* Red for variables and regex */
}
