@font-face {
  font-family: Manrope;
  src: url(./assets/manrope-ru.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url(./assets/manrope-latin.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
:root {
  --ink: #172e31;
  --teal: #114b4c;
  --light: #e6efea;
  --paper: #f7f5ef;
  --line: #cbd0c8;
  --muted: #516262;
  --rust: #a64229;
  --peach: #f5e5d8;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: Consolas, 'Courier New', monospace;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.52 Manrope,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
a,
summary,
select {
  touch-action: manipulation;
}
button,
summary,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bb562d;
  outline-offset: 3px;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  width: min(1490px, calc(100% - 8vw));
  margin-inline: auto;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.top,
.top nav,
.brand,
.role,
.bar,
.bar > span,
.handover,
.section-head,
footer {
  display: flex;
  align-items: center;
}
.top {
  min-height: 69px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.brand small {
  font: 700 11px var(--mono);
  letter-spacing: 0.03em;
  align-self: center;
  margin-top: 5px;
}
.top nav {
  gap: 30px;
}
.top nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.contact-link {
  border: 1px solid #a9b4ac;
  border-radius: 30px;
  padding: 8px 15px;
}
.contact-link span {
  margin-left: 7px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(235px, 0.9fr);
  align-items: end;
  gap: 40px;
  padding: clamp(25px, 3.3vw, 51px) 0 clamp(26px, 3.2vw, 49px);
}
.edition {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--rust);
}
.edition i,
.bar i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}
.hero h1,
.story h2,
.section-head h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 1.01;
  margin: 0;
}
.hero h1 {
  font-size: clamp(46px, 5.1vw, 81px);
}
.hero em,
.contact em,
.section-head em {
  font-weight: 400;
  color: var(--rust);
}
.hero h1 em {
  white-space: nowrap;
}
.intro {
  font-size: clamp(14px, 1.12vw, 18px);
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #eaeae1;
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.timeline a {
  position: relative;
  padding: 12px clamp(9px, 1.3vw, 21px);
  text-decoration: none;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 1px;
}
.timeline a:last-child {
  border: 0;
}
.timeline time,
.clock,
.metric b,
.slot time,
.num,
.tag-number {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.timeline time {
  font-size: 12px;
  color: var(--muted);
}
.timeline strong {
  font-size: 14px;
}
.timeline [aria-current] {
  background: var(--ink);
  color: white;
}
.timeline [aria-current] time {
  color: #f4bc98;
}
.timeline a:hover:not([aria-current]) {
  background: #dbdfd3;
}
.timeline a:focus-visible {
  outline-offset: -4px;
}
.spread {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.76fr);
  background: #eeeee5;
  border: 1px solid var(--line);
  border-top: 0;
  padding: clamp(18px, 2.6vw, 40px);
  gap: clamp(22px, 4.2vw, 70px);
  align-items: start;
}
.story {
  padding-top: 6px;
}
.role {
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.clock {
  line-height: 1;
  background: var(--peach);
  color: #833a23;
  padding: 6px 8px;
  border-radius: 3px;
}
.story h2 {
  margin-top: 19px;
  font-size: clamp(31px, 3.1vw, 52px);
  max-width: 17ch;
}
.context {
  color: var(--muted);
  margin: 14px 0 19px;
  max-width: 47ch;
}
.try {
  border-left: 3px solid var(--rust);
  padding: 0 0 0 12px;
}
.try strong {
  font-size: 12px;
  color: var(--rust);
  letter-spacing: 0.045em;
}
.try p {
  margin: 3px 0 0;
  font-size: 14px;
  max-width: 46ch;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 22px;
}
.related a,
.filter button,
.filter select {
  border-radius: 25px;
  border: 1px solid #b8c4b9;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  text-decoration: none;
}
.related [aria-current],
.filter [aria-pressed='true'] {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.console {
  border: 1px solid #a5b5ab;
  border-radius: 8px;
  min-width: 0;
  background: #fffefa;
  overflow: hidden;
  box-shadow: 0 7px 0 -3px #d5dacf;
}
.bar {
  min-height: 39px;
  background: var(--ink);
  color: #fff;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 19px;
  font-size: 12px;
  font-weight: 700;
}
.bar > span {
  gap: 9px;
}
.bar b {
  color: #b2c7bb;
  font-weight: 400;
}
.bar i {
  color: #bddb9b;
  width: 7px;
  height: 7px;
}
.bar small {
  font: 11px var(--mono);
  color: #d9e4d8;
}
.paper {
  padding: clamp(16px, 2vw, 30px);
}
.paper h3 {
  margin: 0 0 17px;
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.047em;
}
.handover {
  border-top: 1px solid #d0d8cf;
  background: #f4f6ec;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 20px;
  font-size: 12px;
}
.handover span {
  color: var(--muted);
}
.handover a {
  font-weight: 800;
  text-decoration: none;
}
.handover a:hover,
.related a:hover,
.catalog a:hover,
.top nav a:hover {
  text-decoration: underline;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  border-block: 1px solid var(--line);
  margin: 12px 0 16px;
}
.metric {
  padding: 12px 10px 12px 0;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.metric b {
  display: block;
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.07em;
  font-weight: 500;
}
.slots {
  border-top: 1px solid var(--line);
}
.slot {
  padding: 10px 1px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}
.slot time {
  font-size: 15px;
}
.slot strong,
.line strong {
  font-size: 14px;
  display: block;
}
.slot small,
.line small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 750;
  background: var(--light);
  color: #245347;
}
.chip.warm {
  background: var(--peach);
  color: #863d27;
}
.selection {
  background: #f2f6ed;
}
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 14px 15px;
  margin-top: 14px;
  background: #e7efe7;
  border-left: 3px solid #6f967b;
}
.callout > div {
  flex: 1 1 170px;
}
.callout strong {
  display: block;
  font-size: 15px;
}
.callout p {
  color: #465b52;
  margin: 3px 0 0;
  font-size: 13px;
}
.primary,
.secondary {
  min-height: 39px;
  border-radius: 5px;
  padding: 8px 13px;
  font-weight: 750;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary {
  background: var(--teal);
  color: white;
}
.primary:hover {
  background: #216064;
}
.secondary {
  border: 1px solid var(--line);
  background: white;
}
.filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 13px;
}
.filter button,
.filter select {
  min-height: 34px;
}
.filter label {
  color: var(--muted);
  font-size: 12px;
}
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d8ded3;
  padding: 11px 0;
}
.line .num {
  font-size: 15px;
  white-space: nowrap;
}
.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  background: #f1f3ed;
  padding: 12px 15px;
  margin: 0 0 12px;
}
.fields dt {
  font-size: 11px;
  color: var(--muted);
}
.fields dd {
  font-size: 14px;
  font-weight: 720;
  margin: 2px 0 0;
}
.person {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 15px;
}
.avatar {
  display: grid;
  place-items: center;
  background: #dceae2;
  color: #30534e;
  font: 20px var(--serif);
  width: 43px;
  height: 43px;
  border-radius: 50%;
}
.person strong,
.person small {
  display: block;
}
.person small,
.hint {
  font-size: 12px;
  color: var(--muted);
}
.transfer {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 10px 0;
}
.transfer input {
  width: 76px;
  min-height: 39px;
  padding: 5px;
  border: 1px solid #9caca4;
  border-radius: 5px;
}
.transfer label {
  font-weight: 700;
  font-size: 13px;
}
.bars {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}
.barrow {
  display: grid;
  grid-template-columns: minmax(75px, 0.7fr) minmax(50px, 2fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.track {
  height: 10px;
  border-radius: 2px;
  background: #e1e8de;
  overflow: hidden;
}
.track i {
  display: block;
  background: #437a72;
  height: 100%;
}
.barrow:nth-child(2n) i {
  background: #b46746;
}
.dental {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(145px, 1fr);
  align-items: center;
  gap: 18px;
}
.arch-view {
  position: relative;
  aspect-ratio: 320/336;
  width: min(100%, 290px);
  margin: auto;
  background: radial-gradient(ellipse, #eaf0e7 0%, transparent 68%);
}
.tooth {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 10.8%;
  height: 9.5%;
  padding: 0;
  background: transparent;
  border-radius: 40%;
}
.tooth canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tooth span {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  font: 9px var(--mono);
  color: #314b46;
  background: #f7f8efcc;
  padding: 0 2px;
}
.tooth[aria-pressed='true'] {
  outline: 2px solid #408176;
  outline-offset: 2px;
  background: #e3eee5;
}
.arch-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font: 11px var(--mono);
  color: #586e65;
  pointer-events: none;
}
.screen-meta {
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  margin: 0 0 9px;
}
.toothcard {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.toothcard b {
  font: 36px var(--serif);
}
.toothcard p {
  margin: 0.55em 0;
  font-size: 13px;
}
.journal {
  background: #e0e7de;
  border: 1px solid #bcc9bd;
  border-top: 0;
  padding: 0 clamp(18px, 2.6vw, 40px);
  border-radius: 0 0 6px 6px;
}
.journal summary,
.plan-details summary {
  padding: 12px 0;
  font-weight: 700;
  font-size: 13px;
}
.journal summary span:last-child:before {
  content: ' · ';
  color: #697a70;
}
.journal summary span:last-child {
  font-weight: 500;
}
.journal ol {
  padding: 0;
  list-style: none;
  margin: 0 0 13px;
}
.journal li {
  display: flex;
  gap: 15px;
  padding: 5px 0;
}
.journal li time {
  color: var(--rust);
  font-family: var(--mono);
}
.journal .secondary {
  margin: 0 0 15px;
}
.catalog {
  margin: clamp(35px, 5vw, 80px) 0 26px;
}
.section-head {
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 17px;
}
.section-head h2,
.contact h2 {
  font-size: clamp(32px, 3.6vw, 53px);
}
.section-head > span {
  font: 13px var(--mono);
  white-space: nowrap;
}
.cat-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 3.3fr;
  gap: 20px;
  padding: 15px 0;
}
.cat-row h3 {
  font-size: 16px;
  margin: 4px 0;
}
.cat-row nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.cat-row a {
  color: #315b55;
  font-size: 14px;
  text-decoration: none;
}
.plan-details {
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.planbox {
  background: #263e39;
  position: relative;
  width: min(680px, 100%);
  margin: 0 auto 18px;
}
.planbox #clinic-map {
  width: 100%;
  aspect-ratio: 1.6;
  position: relative;
  isolation: isolate;
}
.planbox canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.planbox [data-model] > canvas:not(.clinic-model),
.planbox [data-model] > .map-label {
  display: none;
}
.map-room,
.map-label,
.model-entry {
  position: absolute;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
}
.map-room {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.map-room-label,
.model-entry {
  background: #18342ddd;
  padding: 3px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.map-number {
  margin-right: 5px;
  color: #dbddb8;
}
.planbox #map-controls {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
}
.planbox button {
  background: #fff;
  border-radius: 3px;
  margin-left: 4px;
}
.contact {
  padding: 30px clamp(15px, 3vw, 46px);
  background: var(--ink);
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.contact em {
  color: #e9b695;
}
.contact a {
  display: block;
  padding: 4px 0;
}
.contact a:last-child {
  font-size: 13px;
  color: #d9e2db;
}
footer {
  justify-content: space-between;
  padding: 20px 0;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
  }
  .spread {
    grid-template-columns: minmax(205px, 0.72fr) minmax(0, 1.4fr);
    gap: 23px;
  }
  .timeline a {
    padding-inline: 8px;
  }
  .timeline strong {
    font-size: 12px;
  }
  .dental {
    grid-template-columns: 1fr;
  }
  .toothcard {
    border: 0;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(47px, 6.3vw, 59px);
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .top {
    min-height: 57px;
  }
  .top nav {
    gap: 12px;
  }
  .top nav a {
    font-size: 11px;
  }
  .contact-link {
    padding: 6px 8px;
  }
  .brand {
    font-size: 18px;
    gap: 5px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 0;
  }
  .edition {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: clamp(35px, 8.3vw, 55px);
  }
  .intro {
    font-size: 13px;
    max-width: 60ch;
  }
  .timeline {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .timeline a {
    flex: 1 0 auto;
    padding: 8px 12px;
  }
  .timeline time {
    font-size: 10px;
  }
  .spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding: 15px;
  }
  .story {
    padding: 0;
  }
  .story h2 {
    max-width: none;
    font-size: 30px;
    margin-top: 9px;
  }
  .context {
    margin: 7px 0 10px;
    font-size: 13px;
  }
  .try p {
    font-size: 13px;
  }
  .related {
    margin-top: 12px;
  }
  .related a {
    font-size: 11px;
    padding: 4px 8px;
  }
  .bar {
    padding: 7px 11px;
    min-height: 32px;
  }
  .bar small {
    font-size: 9px;
  }
  .paper {
    padding: 13px;
  }
  .slot {
    grid-template-columns: 40px 1fr auto;
    gap: 5px;
  }
  .slot strong,
  .line strong {
    font-size: 12px;
  }
  .slot time {
    font-size: 12px;
  }
  .chip {
    font-size: 10px;
    padding: 3px 5px;
  }
  .slot small {
    font-size: 10px;
  }
  .dental {
    grid-template-columns: 1fr;
  }
  .metric b {
    font-size: 24px;
  }
  .handover {
    padding: 9px 12px;
  }
  .cat-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .contact h2 {
    font-size: 33px;
  }
  .related a,
  .filter button {
    min-height: 32px;
  }
  .callout {
    padding: 10px;
  }
  .metrics {
    grid-template-columns: repeat(auto-fit, minmax(69px, 1fr));
  }
}
@media (max-width: 380px) {
  .top nav {
    gap: 8px;
  }
  .contact-link {
    border: 0;
    padding: 4px;
  }
  .brand small {
    display: none;
  }
  .wrap {
    width: calc(100% - 20px);
  }
  .spread {
    padding: 11px;
  }
  .slot {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .slot .chip {
    grid-column: 2;
    justify-self: start;
  }
  .barrow {
    grid-template-columns: 70px minmax(20px, 1fr) auto;
  }
  .hero h1 em {
    display: block;
  }
  .handover {
    flex-wrap: wrap;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 {
    animation: appear 0.38s ease-out;
  }
  .paper {
    animation: appear 0.45s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.2;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.ticket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  background: #e7eee3;
  border: 1px solid #bacabb;
  border-radius: 5px;
  margin-top: 16px;
  padding: 12px 15px;
}
.ticket-time {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px dashed #95a99b;
  padding-right: 15px;
}
.ticket-time small,
.ticket-patient small {
  font: 11px var(--mono);
  color: #395e50;
}
.ticket-time b {
  font: clamp(22px, 2.2vw, 34px) var(--mono);
  line-height: 1.24;
  letter-spacing: -0.08em;
}
.ticket-patient {
  display: grid;
  gap: 2px;
  flex: 1 1 125px;
}
.ticket-patient strong {
  font-size: 17px;
}
.ticket-patient span {
  font-size: 12px;
  color: #41584b;
}
.slots .slot:last-child:has(.warm) {
  border: 1px dashed #b88d74;
  border-radius: 3px;
  background: #fcf3e8;
  padding-inline: 7px;
}
@media (max-width: 540px) {
  .ticket {
    gap: 8px 12px;
    padding: 10px;
  }
  .ticket .primary,
  .ticket .secondary {
    width: 100%;
  }
  .ticket-time {
    padding-right: 9px;
  }
}
.ticket + .screen-meta {
  margin-top: 18px;
}
.top nav a {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .story {
    display: contents;
  }
  .spread {
    gap: 8px;
  }
  .story h2 {
    margin: 0;
  }
  .context {
    margin: 0;
  }
  .try {
    margin: 4px 0;
  }
  .console {
    grid-row: 5;
    margin-top: 4px;
  }
  .related {
    grid-row: 6;
    margin-top: 5px;
  }
  .related a {
    display: inline-flex;
    align-items: center;
  }
}
