* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fffcf7;
  color: #500f0e;
  font:
    16px/1.6 "Golos Text",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b18449;
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
.shell {
  max-width: 1240px;
  margin: auto;
  padding-inline: 48px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  gap: 24px;
}
.logo {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.logo small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.15em;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ad7d43;
  margin-bottom: 24px;
}
.app-hero {
  background: #761509;
  color: #fff7eb;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 72px;
}
.app-hero .eyebrow {
  color: #e8c078;
}
h1 {
  font-size: clamp(50px, 5.7vw, 76px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.055em;
}
em {
  font-style: normal;
  color: #e8c078;
}
.lead {
  font-size: 19px;
  max-width: 510px;
  margin: 28px 0 32px;
}
.button {
  display: inline-block;
  border: 1px solid #c89f5a;
  border-radius: 40px;
  padding: 17px 28px;
  background: linear-gradient(110deg, #f1daad, #ddbb77);
  color: #500f0e;
  font-weight: 600;
  text-align: center;
}
.button:hover {
  filter: brightness(1.04);
}
.text-link {
  display: block;
  width: fit-content;
  font-size: 13px;
  margin-top: 24px;
  border-bottom: 1px solid #d8bda0;
  padding-bottom: 6px;
}
.phone {
  border: 6px solid #302621;
  border-radius: 34px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #bba594,
    0 25px 45px #30080624;
  background: #faf6ee;
}
.hero-phones {
  position: relative;
  height: 610px;
}
.hero-phones .phone {
  position: absolute;
  width: 240px;
}
.front-phone {
  right: 0;
  top: 60px;
  transform: rotate(6deg);
}
.back-phone {
  left: 0;
  top: 0;
  transform: rotate(-6deg);
}
.section {
  padding-block: 84px;
}
h2 {
  font-size: clamp(35px, 4.3vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-grid article {
  border-top: 1px solid #d8bda0;
  padding-top: 24px;
}
.feature-grid span {
  color: #ad7d43;
  font-size: 12px;
}
.feature-grid h3 {
  margin: 25px 0 18px;
}
.feature-grid p {
  color: #65534e;
}
.screens-section {
  background: #f8eee1;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.section-top > p {
  color: #65534e;
}
.screen-gallery {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin-top: 52px;
}
.screen-gallery figure {
  width: 240px;
  flex-shrink: 0;
}
.screen-gallery figcaption {
  font-size: 12px;
  margin-top: 22px;
  text-align: center;
  color: #89603d;
}
.section-lead {
  margin-top: 24px;
  color: #65534e;
}
.periods {
  display: flex;
  background: #f8eee1;
  border-radius: 40px;
  padding: 6px;
  max-width: 570px;
  margin: 36px 0;
}
.periods button {
  border: 0;
  background: none;
  border-radius: 30px;
  flex: 1;
  padding: 14px 8px;
  color: #500f0e;
}
.periods button[aria-pressed="true"] {
  background: #e8c88e;
  font-weight: 600;
}
.periods small {
  display: block;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  border: 1px solid #d8bda0;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 38px;
  margin-bottom: 14px;
}
.plan > p:not(.eyebrow) {
  color: #65534e;
}
.plan.featured {
  background: #f8eee1;
}
.price {
  margin-top: 28px;
}
.price strong {
  font-size: 52px;
  letter-spacing: -0.05em;
}
.total {
  font-size: 13px;
  min-height: 25px;
}
.plan ul {
  padding-left: 20px;
  margin: 30px 0;
  flex: 1;
}
.plan li {
  margin-bottom: 14px;
}
.billing-note {
  font-size: 13px;
  color: #65534e;
  margin-top: 24px;
}
.course-note {
  background: #761509;
  color: #fff7eb;
}
.course-note .section-top > div {
  max-width: 660px;
}
.course-note p:not(.eyebrow) {
  margin-top: 24px;
}
.course-note .eyebrow {
  color: #e8c078;
}
.course-note .button {
  flex-shrink: 0;
}
.faq h2 {
  margin-bottom: 32px;
}
details {
  border-bottom: 1px solid #d8bda0;
  padding: 22px 0;
}
summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 500;
}
details p {
  margin-top: 20px;
  max-width: 800px;
  color: #65534e;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #d8bda0;
  padding-block: 30px;
  font-size: 12px;
}
.mobile-plan {
  display: none;
}
dialog {
  border: 1px solid #d8bda0;
  border-radius: 24px;
  background: #fffaf3;
  color: #500f0e;
  padding: 38px;
  max-width: 460px;
  width: calc(100% - 32px);
}
dialog::backdrop {
  background: #30080688;
}
.close-dialog {
  position: absolute;
  top: 8px;
  right: 16px;
  border: 0;
  background: none;
  color: #500f0e;
  font-size: 30px;
}
dialog h2 {
  font-size: 38px;
}
dialog p {
  margin-bottom: 16px;
}
.checkout-sum {
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
}
dialog .button {
  width: 100%;
  margin-top: 20px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .shell {
    padding-inline: 28px;
  }
  .hero-phones .phone {
    width: 195px;
  }
  .hero-phones {
    height: 500px;
  }
  .screen-gallery {
    gap: 30px;
  }
  .screen-gallery figure {
    width: 210px;
  }
  .hero-grid {
    gap: 15px;
  }
  h1 {
    font-size: 54px;
  }
}
@media (max-width: 650px) {
  .shell {
    padding-inline: 24px;
  }
  .header {
    padding-block: 18px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .header nav {
    gap: 24px;
  }
  .header nav a:nth-child(-n + 3) {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 42px 30px;
    gap: 40px;
  }
  h1 {
    font-size: clamp(42px, 11vw, 66px);
  }
  .lead {
    font-size: 16px;
    margin-top: 24px;
  }
  .hero-grid > .hero-phones {
    height: 470px;
    max-width: 360px;
    width: 100%;
    margin: auto;
  }
  .hero-phones .phone {
    width: 185px;
  }
  .front-phone {
    top: 42px;
  }
  .section {
    padding-block: 54px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 32px;
  }
  .feature-grid h3 {
    margin-top: 16px;
  }
  .section-top {
    display: block;
  }
  .section-top > p {
    margin-top: 24px;
  }
  .screen-gallery {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 4px 30px;
    gap: 30px;
    scroll-snap-type: x mandatory;
  }
  .screen-gallery figure {
    width: 220px;
    scroll-snap-align: center;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 28px;
  }
  .price strong {
    font-size: 48px;
  }
  .course-note .button {
    margin-top: 30px;
  }
  .footer {
    flex-wrap: wrap;
    padding-bottom: 110px;
  }
  .mobile-plan {
    display: block;
    position: fixed;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 5;
    box-shadow: 0 10px 30px #500f0e25;
  }
  .mobile-plan[hidden] {
    display: none;
  }
  .eyebrow {
    font-size: 10px;
  }
  .periods {
    margin-top: 28px;
  }
  summary {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.app-screen-latest {
  position: relative;
  width: 100%;
  aspect-ratio: 224/484;
  overflow: hidden;
  background: #fffaf5;
}
.phone .app-screen-latest img {
  position: absolute;
  width: 412.5%;
  max-width: none;
  height: auto;
  left: -75%;
  top: -4.132%;
}
.screen-gallery {
  gap: 72px;
}
@media (max-width: 650px) {
  .screen-gallery {
    gap: 30px;
  }
}

.window-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 38px;
}
.window-index a {
  border: 1px solid #d8bda0;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 13px;
}
.window-index a:hover {
  background: #f8eee1;
}
.window-guide {
  padding: 0;
  border-top: 1px solid #d8bda0;
  border-bottom: 0;
  scroll-margin-top: 24px;
}
.window-guide:last-child {
  border-bottom: 1px solid #d8bda0;
}
.window-guide summary {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 16px;
  align-items: start;
  padding: 25px 0;
  font-size: 25px;
}
.window-guide summary::-webkit-details-marker {
  display: none;
}
.window-number {
  color: #ad7d43;
  font-size: 13px;
  padding-top: 6px;
}
.window-guide summary small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #65534e;
  margin-top: 7px;
}
.window-guide summary b {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
.window-guide[open] summary b {
  transform: rotate(45deg);
}
.window-content {
  padding: 0 46px 30px 60px;
}
.window-content > p {
  margin: 0 0 26px;
  color: #65534e;
  max-width: 760px;
}
.window-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 36px;
}
.window-steps > div {
  border-left: 2px solid #dfc18c;
  padding-left: 18px;
}
.window-steps h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
}
.window-steps p {
  font-size: 14px;
  margin: 0;
  color: #65534e;
}
.guide-cta {
  margin-top: 34px;
}
@media (max-width: 650px) {
  .window-index {
    gap: 8px;
    margin: 24px 0 30px;
  }
  .window-index a {
    font-size: 12px;
    padding: 7px 12px;
  }
  .window-guide summary {
    font-size: 22px;
    grid-template-columns: 28px 1fr 22px;
    gap: 10px;
    padding: 22px 0;
  }
  .window-guide summary small {
    font-size: 13px;
  }
  .window-content {
    padding: 0 0 26px 38px;
  }
  .window-content > p {
    font-size: 15px;
  }
  .window-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .guide-cta {
    width: 100%;
  }
}

.stylist-workspace {
  background: #761509;
  color: #fff7eb;
}
.stylist-workspace .eyebrow {
  color: #e8c078;
}
.workspace-lead {
  font-size: 19px;
  max-width: 760px;
  margin-top: 28px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 44px;
}
.workspace-grid article {
  border-top: 1px solid #b87653;
  padding-top: 22px;
}
.workspace-grid article > span {
  color: #e8c078;
  font-size: 13px;
}
.workspace-grid h3 {
  font-size: 26px;
  margin: 18px 0 16px;
}
.workspace-grid p {
  font-size: 15px;
  color: #f4e5d8;
}
.workspace-bottom {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  border-top: 1px solid #b87653;
  margin-top: 42px;
  padding-top: 30px;
}
.workspace-bottom > p {
  font-size: 14px;
  max-width: 530px;
}
.workspace-bottom .button {
  flex-shrink: 0;
}
@media (max-width: 850px) {
  .workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-bottom {
    display: block;
  }
  .workspace-bottom .button {
    margin-top: 24px;
  }
}
@media (max-width: 650px) {
  .workspace-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .workspace-lead {
    font-size: 16px;
  }
  .workspace-grid h3 {
    font-size: 24px;
  }
  .workspace-bottom .button {
    width: 100%;
  }
}

.live-phone {
  width: 236px;
  height: 510px;
  position: relative;
  flex-shrink: 0;
}
.live-phone iframe {
  border: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 393px;
  height: 852px;
  transform: scale(0.57);
  transform-origin: top left;
  pointer-events: none;
  background: #fffaf5;
}
.hero-phones > figure {
  position: absolute;
  width: 236px;
}
.hero-phones .live-phone {
  position: relative !important;
  width: 236px !important;
}
.window-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.window-description {
  flex: 1;
  min-width: 0;
}
.window-description > p {
  color: #65534e;
  margin: 0 0 24px;
}
.window-steps {
  grid-template-columns: 1fr;
}
.workspace-grid .live-phone {
  margin: 28px auto 0;
}
.workspace-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 950px) {
  .workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .window-content {
    gap: 24px;
    padding-left: 0;
  }
}
@media (max-width: 650px) {
  .window-content {
    flex-direction: column;
    align-items: stretch;
  }
  .window-content .live-phone {
    align-self: center;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .hero-phones > figure {
    width: 185px;
  }
  .hero-phones .live-phone {
    width: 185px !important;
    height: 395px;
  }
  .hero-phones .live-phone iframe {
    transform: scale(0.44);
  }
}

.header-page-select {
  display: none;
}
@media (max-width: 760px) {
  .uslei-site-switch {
    display: none;
  }
}
@media (max-width: 650px) {
  .header {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .header nav {
    margin-left: auto;
  }
  .header nav a {
    display: none !important;
  }
  .header-page-select {
    display: block;
    width: min(44vw, 190px);
  }
  .header-page-select select {
    display: block;
    width: 100%;
    border: 1px solid #c8a579;
    border-radius: 10px;
    background: #fffaf3;
    color: #57120e;
    padding: 10px 24px 10px 10px;
    font:
      500 12px/1.2 "Golos Text",
      Arial,
      sans-serif;
    cursor: pointer;
  }
  .header-page-select select:focus-visible {
    outline: 2px solid #a56d32;
    outline-offset: 2px;
  }
}
@media (min-width: 651px) and (max-width: 760px) {
  .header nav a {
    display: none !important;
  }
  .header-page-select {
    display: block;
    width: 190px;
  }
  .header-page-select select {
    width: 100%;
    border: 1px solid #c8a579;
    border-radius: 10px;
    background: #fffaf3;
    color: #57120e;
    padding: 10px 24px 10px 10px;
    font:
      500 13px/1.2 "Golos Text",
      Arial,
      sans-serif;
  }
}
@media (max-width: 650px) {
  .header .logo {
    flex: 0 0 auto;
  }
  .header-page-select {
    width: 140px;
    flex: 0 0 140px;
  }
}
@media (max-width: 380px) {
  .header-page-select {
    width: 132px;
    flex-basis: 132px;
  }
}

.header-page-filter {
  display: none;
  position: relative;
}
@media (max-width: 760px) {
  .header .logo {
    flex: 0 0 auto;
  }
  .header-page-select {
    display: none !important;
  }
  .header-page-filter {
    display: block;
  }
  .header-page-filter summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #c8a579;
    border-radius: 12px;
    list-style: none;
    cursor: pointer;
    color: #57120e;
  }
  .header-page-filter summary::-webkit-details-marker {
    display: none;
  }
  .header-page-filter[open] summary {
    background: #f3e5d0;
  }
  .header nav .header-page-filter nav {
    position: absolute;
    z-index: 200;
    right: 0;
    top: calc(100% + 8px);
    width: min(270px, calc(100vw - 32px));
    display: grid;
    gap: 3px;
    padding: 8px;
    background: #fffaf3;
    border: 1px solid #c8a579;
    border-radius: 14px;
    box-shadow: 0 14px 30px #42130e25;
  }
  .header nav .header-page-filter nav a {
    display: block !important;
    padding: 10px 12px;
    border-radius: 8px;
    color: #57120e;
    font:
      500 14px/1.3 "Golos Text",
      Arial,
      sans-serif;
  }
  .header nav .header-page-filter nav a[aria-current="page"] {
    background: #711b10;
    color: #fffaf3;
  }
}
@media (max-width: 760px) {
  .header-page-filter:not([open]) > nav {
    display: none !important;
  }
}

@media (max-width: 650px) {
  .hero-plan-button {
    display: none;
  }
}
