:root {
  --p-bg: #f4f3ef; --p-surface: #e7e6e2; --p-ink: #0d0d0c; --p-muted: #62615f;
  --p-accent: #00ff95; --p-accent-ink: #0d0d0c; --p-action: #0d0d0c; --p-action-ink: #f4f3ef;
  --p-inv-bg: #0d0d0c; --p-inv-surface: #1a1918; --p-inv-ink: #f4f3ef; --p-inv-muted: #92918f;
  --p-inv-accent: #00ff95; --p-inv-accent-ink: #0d0d0c; --p-inv-action: #00ff95; --p-inv-action-ink: #0d0d0c;
  --font-display: "Epilogue", system-ui, sans-serif;
  --font-text: "Epilogue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.045em;
  --ly-scale: 0.97;
}

.nav__logo img { height: 20px; }
.soon { display: inline-flex; align-items: center; height: 20px; margin-left: var(--s-2); padding: 0 var(--s-2);
  border-radius: 999px; font: 500 13px/1 var(--font-text); background: var(--p-accent); color: var(--p-accent-ink); }

.hero__window .sl-win { background: #fbfaf8; color: #1b1b1a; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(13 13 12 / .08), 0 30px 60px -30px rgb(13 13 12 / .45); font: 400 13px/1.35 var(--font-text); }
.sl-win__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(13 13 12 / .08); color: #62615f; }
.sl-win__bar b { color: #0d0d0c; font-weight: 500; }
.sl-win__dots { display: flex; gap: 6px; } .sl-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(13 13 12 / .14); }
.sl-win__body { display: grid; grid-template-columns: 236px 1fr; }
.sl-list { border-right: 1px solid rgb(13 13 12 / .08); padding: 12px; display: grid; align-content: start; gap: 2px; }
.sl-list__q { padding: 4px 8px 8px; color: #62615f; font-weight: 500; }
.sl-list__row { display: grid; grid-template-columns: 30px 1fr; gap: 1px 10px; padding: 7px 8px; border-radius: 9px; }
.sl-list__row.is-on { background: rgb(13 13 12 / .06); }
.sl-list__row img { grid-row: 1 / span 2; width: 30px; height: 38px; object-fit: cover; border-radius: 5px; background: #eceae5; }
.sl-list__row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-list__row span { color: #62615f; }
.sl-shoot { padding: 12px 16px; min-width: 0; }
.sl-shoot__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #62615f; }
.sl-shoot__btn { height: 28px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; background: #0d0d0c; color: #f4f3ef; font-weight: 500; }
.sl-shoot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sl-shot { margin: 0; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #eceae5; }
.sl-shot__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-shot--busy { display: grid; place-items: center; color: #62615f;
  background: linear-gradient(110deg, #eceae5 30%, #f6f5f1 50%, #eceae5 70%) 0 0 / 300% 100%; animation: sl-busy 2.4s linear 2; }
@keyframes sl-busy { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .sl-shot--busy { animation: none; } }
@media (max-width: 639px) {
  .sl-win__body { grid-template-columns: 1fr; }
  .sl-list { display: none; }
}

.steps .panel { min-height: 0; aspect-ratio: 4 / 5; flex: 0 0 auto; }
#how .panel.sl-uploads { position: relative; padding: 0; background: #fff; }
.sl-uploads__main { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-uploads__thumb { position: absolute; right: 16px; bottom: 16px; width: 24%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgb(13 13 12 / .35); }
.sl-form__panel { padding: 16px; display: grid; gap: 8px; font: 400 13px/1.4 var(--font-text); }
.sl-form__label { margin: 0; color: var(--u-muted, #62615f); font-weight: 500; }
.sl-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px; background: rgb(13 13 12 / .06); margin-bottom: 6px; }
.sl-seg span { height: 30px; display: grid; place-items: center; border-radius: 8px; }
.sl-seg .is-on { background: #fff; box-shadow: 0 1px 2px rgb(13 13 12 / .12); font-weight: 500; }
.sl-form__brief { margin: 0 0 6px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgb(13 13 12 / .12); background: #fff; }
.sl-form__total { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgb(13 13 12 / .08); }
.sl-form__total b { font-weight: 500; }
.steps .panel.sl-result { --pad: 0px; position: relative; background: var(--ground-bg, #d9ccb7); }
.sl-result__img { position: absolute; top: var(--pad); left: 50%; transform: translateX(-50%); height: calc(100% - 2 * var(--pad)); width: auto; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; }

.sl-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: var(--s-7); border-radius: var(--r-lg); overflow: hidden; }
.sl-strip__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 639px) { .sl-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); } }

.sl-style { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-lg); background: var(--ground-bg, #d9ccb7); }
.sl-style__product { position: absolute; left: 6%; top: 8%; height: 50%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #eef0f0;
  box-shadow: 0 0 0 1px rgb(13 13 12 / .06); }
.sl-style__product img { width: 100%; height: 100%; object-fit: cover; }
.sl-style__shot { position: absolute; right: 6%; top: 8%; bottom: 8%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.sl-style__shot .frame__img { width: 100%; height: 100%; object-fit: cover; }
.sl-style__note { position: absolute; left: 6%; bottom: 8%; width: max-content; max-width: 46%; padding: 14px 16px; display: grid; gap: 4px; font: 400 13px/1.4 var(--font-text); }
.sl-style__note p { margin: 0; } .sl-style__note b { font-weight: 500; }
.sl-style__product { z-index: 1; } .sl-style__note { z-index: 2; }
@media (max-width: 639px) { .sl-style__product { height: 32%; left: 4%; top: 4%; } .sl-style__shot { right: 4%; top: 12%; bottom: auto; width: 74%; } .sl-style__note { left: 4%; bottom: 4%; padding: 10px 12px; } }

.sl-statement .mo-lt__type { font: var(--display-weight) clamp(40px, 6.2vw, 96px)/1.02 var(--font-display); letter-spacing: var(--display-tracking-xl); max-width: 16ch; }
.sl-statement__line { margin-top: var(--s-7); max-width: 52ch; }

.sl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.sl-pair .frame { aspect-ratio: 4 / 5; }

.card--plan > .btn { margin-top: auto; }
.sl-receipt { padding: 16px; display: grid; gap: 8px; font: 400 14px/1.4 var(--font-text); }
.sl-receipt p { margin: 0; display: flex; justify-content: space-between; gap: 16px; }
.sl-receipt b { font-weight: 500; }
.sl-receipt .sl-form__label { display: block; }
.sl-receipt__total { padding-top: 8px; border-top: 1px solid rgb(13 13 12 / .1); }
.hero--centred .hero__lead { color: var(--ink); }

.sl-plan-yearly { margin-top: calc(-1 * var(--s-3)); }
.sl-input { aspect-ratio: 3 / 4; }
@media (max-width: 1023px) { #who .sl-input { grid-column: auto / span 4; } }
@media (max-width: 639px) { #who .sl-input { grid-column: auto / span 6; } #who .sl-input:nth-of-type(3) { display: none; } }
.sl-statement .mo-lt__type { max-width: none; }

@media (max-width: 639px) { #how { --hm: 2; } #pricing { --hm: 2; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .sl-statement .mo-lt__type { font-size: clamp(48px, 8.4vw, 72px); }
}

@media (max-width: 639px) {
  .pill__more { display: none; }
  #settings { --hm: 2; }
  #settings .sl-pair { grid-template-columns: 1fr; }
  #settings .sl-pair .frame + .frame { display: none; }
  #stylist { --hm: 2; }
  #stylist .sl-style { aspect-ratio: 3 / 4; }
  .closing__links .footer__col { grid-column: auto / span 6; }
}

.card--plan { transition: transform .2s var(--ease, ease), border-color .2s; }
.card--plan:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card--plan:hover { transform: none; } }
.sl-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sl-slots > * { aspect-ratio: 3 / 4; border-radius: 6px; width: 100%; object-fit: cover; }
.sl-slots span { border: 1px dashed rgb(13 13 12 / .25); }
@media (min-width: 640px) and (max-width: 1023px) {
  #settings { --h: 1; }
  #settings .sl-setting { grid-column: auto / span 6; }
  #settings .sl-pair { grid-template-columns: 1fr; }
  #settings .sl-pair .frame + .frame { display: none; }
  #settings .sl-pair .frame { aspect-ratio: 4 / 5; }
  #pricing { --h: 1; }
  #pricing .card--plan { grid-column: auto / span 6; }
  #pricing .sl-plan-who { display: none; }
}
@media (max-width: 639px) {
  .sl-style__note { max-width: 62%; }
  #faq { --hm: 2; }
}

.sl-style__note { right: auto; top: auto; }
@media (min-width: 640px) and (max-width: 1023px) {
  #stylist .sl-style { aspect-ratio: 16 / 10; }
  #faq .sl-faq-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); align-content: start; }
  #faq .sl-faq-head > * { grid-column: 1; margin-top: 0; }
  #faq .sl-faq-head > .ui { grid-column: 2; grid-row: 1 / span 3; }
  #faq .sl-faq-head > * + * { margin-top: var(--s-4); }
  #faq .sl-faq-head > .ui { margin-top: 0; }
}
@media (max-width: 639px) { .sl-style__note { padding: 10px 12px; } }

@media (max-width: 379px) { .nav__logo img { height: 15px; } .nav .btn--primary { padding-inline: var(--s-4); } }

html main > section.section:not(.hero, .section--hero), html footer.closing { height: auto; min-height: 0; padding-block: clamp(48px, 5.5vw, 80px); }
html main > section.section:not(.hero) > .wrap, html footer.closing > .wrap { height: auto; }
.close__word { overflow-x: clip; overflow-y: visible; line-height: 1; margin-top: var(--s-6); font-size: clamp(56px, 10vw, 150px); }

#settings .grid { grid-template-rows: auto auto auto; }
#settings .sl-setting { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: var(--s-3); }
#settings .sl-pair { margin-top: var(--s-3); }

.btn { padding-top: 3px; }
.soon { padding-top: 2px; }
.soon__short { display: none; }
@media (max-width: 639px) {
  .btn .soon { display: inline-flex; height: 18px; font-size: 12px; }
  .soon__full { display: none; } .soon__short { display: inline; }
}

.sl-step { display: flex; align-items: center; gap: var(--s-3); }
.steps .step-num { flex: none; padding-top: 2px; }

.sl-shoot__btn { padding-top: 3px; }
.btn .soon { margin-top: -3px; padding-top: 3px; }
.sl-win__title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) {
  .sl-win__dots, .sl-win__type { display: none; }
  .hero--centred .hero__window { flex: 0 0 auto; min-height: 0; padding: var(--s-4); -webkit-mask-image: none; mask-image: none; }
  .hero--centred .hero__window > .ly-piece { position: relative; top: 0; left: 0; width: 100%; }
}
@media (min-width: 900px) and (max-width: 1279px) { #how .steps > .card { grid-column: auto / span 4; } }
@media (min-width: 640px) and (max-width: 899px) { .steps .panel { max-width: 420px; } }
@media (max-width: 639px) {
  footer.closing .closing__links > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.closing .closing__links > .grid > :first-child { display: none; }
  footer.closing .footer ul, footer.closing .closing__links ul { gap: 0; }
  footer.closing > .wrap { row-gap: var(--s-5); }
  footer.closing .close__word { margin-top: var(--s-4); font-size: 48px; }
  html footer.closing { padding-block: 40px; }
  footer.closing .footer__legal { gap: var(--s-2); }
  footer.closing .closing__links > .grid > .footer__col:nth-child(2) { grid-column: 1; grid-row: 1 / span 2; }
  footer.closing .closing__links > .grid > .footer__col:nth-child(3) { grid-column: 2; grid-row: 1; }
  footer.closing .closing__links > .grid > .footer__col:nth-child(4) { grid-column: 2; grid-row: 2; }
}
@media (min-width: 900px) {
  .steps .panel { aspect-ratio: auto; height: clamp(320px, 100svh - 490px, 520px); }
  .sl-uploads__main { object-fit: contain; }
  .steps .panel.sl-result { --pad: var(--s-4); }
  .sl-result__img { border-radius: 10px; }
}

.sl-legal__head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: var(--s-7); }
.sl-legal__head h1 { font-size: clamp(40px, 5vw, 64px); }
.sl-legal__body { max-width: 760px; }
.sl-legal__body h2 { margin: var(--s-7) 0 var(--s-3); font: 500 clamp(22px, 1.6vw, 26px)/1.25 var(--font-display); letter-spacing: -0.01em; }
.sl-legal__body h2:first-child { margin-top: 0; }
.sl-legal__body h3 { margin: var(--s-5) 0 var(--s-2); font: 500 17px/1.4 var(--font-text); }
.sl-legal__body p, .sl-legal__body li { font-size: 17px; line-height: 1.6; color: var(--ink); }
.sl-legal__body p + p, .sl-legal__body ul + p, .sl-legal__body p + ul { margin-top: var(--s-3); }
.sl-legal__body ul { margin: 0; padding-left: 1.2em; list-style: disc; display: grid; gap: var(--s-2); }
.sl-legal__body b { font-weight: 500; }
.sl-legal :is(.sl-legal__head, .sl-legal__body) a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sl-legal :is(.sl-legal__head, .sl-legal__body) a:hover { text-decoration-color: currentColor; }
@media (max-width: 639px) { .sl-legal__body p, .sl-legal__body li { font-size: 16px; } }
html main > section.section.sl-legal { padding-top: calc(var(--nav, 72px) + clamp(40px, 5vw, 72px)); }
