@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
h1, h2, h3 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
}
button, input, select { font-family: inherit; }
nav div a, button, .demo-link { font-weight: 600; }
:root {
  color-scheme: dark;
  font-weight: 500;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: #0b0b0d;
  color: #f8f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b1b7ff; outline-offset: 5px; }
header, footer { background: #0b0b0d; }
nav, footer { display: flex; justify-content: space-between; align-items: center; padding: 23px max(6vw, 18px); }
nav div { display: flex; gap: 24px; }
.brand { font-size: 25px; font-weight: 950; font-style: italic; letter-spacing: -.065em; }
.hero { text-align: center; padding: clamp(45px, 7vw, 100px) 16px 0; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #747bc9, #303450 47%, #101116 78%); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.7vw, 112px); }
p { color: #d0d0db; line-height: 1.55; font-size: clamp(16px, 1.5vw, 21px); }
.hero p { max-width: 525px; margin: 21px auto; }
.button { display: inline-flex; align-items: center; gap: 20px; background: white; color: #1a1922; padding: 14px 22px; border-radius: 30px; font-weight: 600; }
.section { width: min(100% - 40px, 940px); margin: auto; padding: clamp(55px, 8vw, 110px) 0 0; }
h2 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 40px; }
article { display: flex; gap: 8%; justify-content: space-evenly; align-items: center; height: 390px; overflow: hidden; margin: 20px 0; padding: 32px; background: #21232d; border-radius: 24px; }
article:nth-of-type(even) { flex-direction: row-reverse; background: #292735; }
article div { max-width: 410px; }
h3 { font-size: clamp(29px, 4vw, 52px); margin-bottom: 14px; }
article img { width: 28%; align-self: flex-start; }
.faq { padding-bottom: 80px; }
details { border-top: 1px solid #484954; padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; }
details p { margin: 12px 0 0; }
footer { border-top: 1px solid #484954; }
@media (max-width: 600px) {
  article, article:nth-of-type(even) { flex-direction: column; align-items: flex-start; gap: 22px; padding: 25px; height: 405px; }
  article img { width: 165px; align-self: center; }
  nav div { gap: 16px; }
}

header { padding: 22px 5vw 0; }
nav { max-width: 1140px; margin: auto; background: #111114; border-radius: 50px; padding: 10px 12px 10px 32px; min-height: 62px; }
nav div { align-items: center; }
.brand { font-family: Impact, "Arial Narrow", sans-serif; font-style: normal; letter-spacing: -.04em; }
.nav-action, .button { display: inline-block; border-radius: 40px; padding: 13px 26px; color: #14140e; background: #dbfa42; font-weight: 600; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 5%; width: min(90%, 1080px); margin: clamp(22px, 2.7vw, 40px) auto 0; padding: 65px 0; min-height: min(78vh, 765px); overflow: visible; text-align: left; background: transparent; }
.platform { display: inline-block; border: 1px solid #39393d; border-radius: 40px; padding: 8px 16px; color: #d1d1d3; font-size: 14px; }
h1 { font-size: clamp(48px, 5.1vw, 78px); margin-top: 26px; }
.hero p { margin: 19px 0 24px; max-width: 425px; }
.screens {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 1;
}
.screens::before {
  content: "";
  position: absolute;
  inset: -25% 0 0;
  pointer-events: none;
  background: radial-gradient(ellipse 47% 39% at 50% 40%, #a9c64790 0%, #81973648 47%, #81973612 76%, #81973600 100%);
}
.screens .center {
  position: absolute;
  z-index: 2;
  top: 3%;
  left: 30%;
  width: 40%;
  filter: drop-shadow(0 2cqw 1.5cqw #0009);
}
.screens .wing {
  position: absolute;
  height: 82%;
  width: auto;
  top: 11%;
}
.screens .left { left: 2%; }
.screens .right { right: 2%; }
#seduta h2 { text-align: center; }
article { background: radial-gradient(ellipse at 80% 65%, #3a392e, #161617 58%); }
article:nth-of-type(even) { background: radial-gradient(ellipse at 20% 70%, #363729, #161617 58%); }
article img { border: 0; border-radius: 0; }
@media (max-width: 700px) {
  header { padding: 12px 12px 0; }
  nav { min-height: 48px; padding: 7px 8px 7px 16px; }
  nav div { gap: 12px; font-size: 13px; }
  .nav-action { padding: 9px 13px; }
  .hero { grid-template-columns: 1fr; gap: 32px; width: min(88%, 475px); padding: 42px 0 25px; text-align: center; }
  .hero p { margin: 16px auto 20px; }
  h1 { margin-top: 16px; }
}

header { position: sticky; top: 0; z-index: 8; background: transparent; pointer-events: none; }
header nav {
  pointer-events: auto;
  isolation: isolate;
  background: #19191b;
  border-radius: 43px;
  box-shadow: inset 0 -1px rgb(0 0 0 / 7%);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header nav {
    background: rgb(255 255 255 / 1%);
    -webkit-backdrop-filter: blur(100px);
    backdrop-filter: blur(100px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  header nav {
    background: #242527;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
[id] { scroll-margin-top: 100px; }
.footer-grid a:hover { color: #dbfa42; }
.manifesto, .explore h2, .guides h2, .faq h2 { text-align: center; }
.feature-grid, .guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.feature-grid details, .guide-grid details { border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #18181a; }
.feature-grid summary, .guide-grid summary { list-style: none; position: relative; display: block; }
summary::-webkit-details-marker { display: none; }
.feature img, .guide-grid img { width: 100%; object-fit: cover; display: block; }
.feature img { aspect-ratio: 4/5; }
#nutrizione img { object-position: 50% 14%; }
.feature span { position: absolute; inset: auto 0 0; padding: 65px 46px 20px 20px; background: linear-gradient(transparent, #080809ed); }
.feature summary::after, .guide-grid summary::after { content: '+'; position: absolute; right: 14px; bottom: 16px; border: 1px solid #888; border-radius: 50%; width: 26px; height: 26px; text-align: center; line-height: 24px; }
.feature[open] summary::after, .guide-grid details[open] summary::after { content: '−'; }
.feature p, .guide-grid p { font-size: 16px; padding: 0 20px 20px; }
.guide-grid img { aspect-ratio: 1.55; }
.guide-grid span { display: block; padding: 18px 45px 18px 18px; line-height: 1.25; }
.closing { width: min(90%,1000px); margin: 0 auto; background: radial-gradient(ellipse at 50% 115%,#424d18,#191c12 60%,#151515); border-radius: 50px; padding: clamp(36px,7vw,90px) 16px; text-align: center; }
.closing img, .footer-intro img { border-radius: 22%; }
.closing h2 { margin: 18px auto 25px; }
footer { display: block; width: min(90%,1140px); margin: auto; padding: clamp(78px,10vw,150px) 0 0; border: 0; }
.footer-grid { display: grid; grid-template-columns: 2.1fr repeat(4,1fr); gap: 24px; }
.footer-grid h3 { font-size: 16px; letter-spacing: 0; }
.footer-grid a { display: block; color: #aeaeaf; font-size: 15px; margin: 10px 0; }
.footer-intro p { font-size: 17px; font-weight: 600; margin-top: 8px; }
.footer-mark { margin-top: 55px; width: 100%; overflow: hidden; container-type: inline-size; }
.footer-mark span {
  display: block;
  font: 900 40cqw/1 Impact, "Arial Black", sans-serif;
  letter-spacing: -.045em;
  text-align: center;
  color: #fafafa;
  text-box: trim-both cap alphabetic;
  margin-top: .04cap;
  margin-bottom: -.5cap;
}
@media(max-width:700px) {
  .wide-nav { display: none; }
  .feature-grid, .guide-grid { grid-template-columns: 1fr; }
  .feature img { aspect-ratio: 1.6; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-intro { grid-column: 1/-1; }
  .closing { border-radius: 26px; }
  .footer-mark { margin-top: 32px; }
}

/* Product demonstrations and editorial photography */
main { --lime: #dbfa42; --rule: #383939; }
.skip-home { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px; background: white; color: black; transform: translateY(-150%); }
.skip-home:focus { transform: none; }
.platform { display: inline-flex; align-items: center; gap: 14px; padding: 10px 17px 10px 11px; border: 1.5px solid #222225; color: #fafafa; font-size: 18px; line-height: 1.2; }
.portraits { display: flex; }
.portraits img { width: 39px; height: 39px; object-fit: cover; border-radius: 50%; border: 1.5px solid #0b0b0d; object-position: center 22%; }
.portraits img + img { margin-left: -17px; }
.hero h1 { font-size: clamp(38px, 4.2vw, 54px); line-height: 1.20; letter-spacing: -.035em; margin: 26px 0 0; }
.hero .intro p { color: #adadaf; font-size: 18px; line-height: 1.23; max-width: 470px; margin: 16px 0 24px; }
.hero-actions { display: flex; gap: 17px; align-items: center; padding-left: 7px; }
.hero-actions button { padding: 0; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.hero-actions img { display: block; height: clamp(40px, 3.9vw, 52px); width: auto; max-width: 100%; }
.store-note { padding: 20px 24px; width: min(360px,85vw); border: 1px solid #454548; border-radius: 16px; background: #161618; color: white; font-size: 16px; }
.store-note a { color: #dbfa42; text-decoration: underline; }
@media(max-width:700px) {
  .hero .intro { text-align: left; }
  .hero-actions { gap: 12px; padding-left: 0; }
  .platform { font-size: 15px; padding: 7px 12px 7px 8px; }
  .portraits img { width: 33px; height: 33px; }
}
.index-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  width: min(90%,1080px);
  margin: clamp(56px,8vw,120px) auto 0;
  padding-block: 20px;
  border-block: 1px solid #333436;
}
.index-strip a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px,1.4vw,20px);
  padding: 18px clamp(12px,2vw,30px);
  font: 700 clamp(20px,2.1vw,30px)/1.2 "DM Sans",sans-serif;
  letter-spacing: -.035em;
}
.index-strip a + a { border-left: 1px solid #303135; }
.index-strip a > svg { width: 32px; height: 32px; fill: none; stroke: #dbfa42; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.index-arrow { color: #96989b; font: 400 20px/1 sans-serif; }
.index-strip a:is(:hover,:focus-visible) { background: #171819; }
.index-strip a:is(:hover,:focus-visible) .index-arrow { color: #dbfa42; }
@media(max-width:760px) {
  .index-strip { grid-template-columns: 1fr; padding-block: 0; }
  .index-strip a { gap: 18px; padding: 17px 12px; font-size: 23px; }
  .index-strip a + a { border-left: 0; border-top: 1px solid #292a2d; }
  .index-strip a > svg { width: 27px; height: 27px; }
}
.section { width: min(90%,1040px); }
.manifesto {
  padding-block: clamp(75px, 11vw, 160px);
  text-align: center;
}
.manifesto h2 {
  margin: 0 auto;
  max-width: 26em;
  font-size: clamp(28px, 3.45vw, 50px);
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .manifesto[data-reveal] {
    --reading-top: clamp(84px, 16svh, 150px);
    --reading-distance: clamp(380px, 72svh, 760px);
    padding-top: 0;
    padding-bottom: 0;
    margin-block: clamp(75px, 11vw, 160px);
    scroll-margin-top: var(--reading-top);
  }
  .manifesto[data-reveal]::after {
    content: "";
    display: block;
    height: var(--reading-distance);
  }
  .manifesto[data-reveal] h2 { position: sticky; top: var(--reading-top); }
  .manifesto .pending-word { opacity: .19; }
}
#seduta article { border: 1px solid #32332f; }
.demo,.glance,.movement { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(25px,5vw,80px); }
.demo h2,.movement h2,.glance h2 { margin-bottom: 18px; }
.demo > div p,.glance > div p,.movement-copy p { max-width: 420px; }
/* Interactive exercise sheet */
#set-demo { background: #0c0c0d; border: 1px solid #343436; border-radius: 24px; padding: clamp(20px,3vw,34px); min-width: 0; color-scheme: dark; }
.set-heading { display: flex; align-items: center; gap: 15px; }
.set-heading img { object-fit: cover; border-radius: 10px; }
.set-heading h3 { font-size: 30px; margin: 0 0 5px; }
.set-heading strong { display: block; color: #dbfa42; }
.set-heading small { display: block; color: #aaa; margin-top: 4px; }
#set-demo progress { appearance: none; width: 100%; height: 4px; border: 0; background: #343436; color: #dbfa42; border-radius: 3px; margin: 20px 0; }
#set-demo progress::-webkit-progress-bar { background: #343436; }
#set-demo progress::-webkit-progress-value { background: #dbfa42; }
#set-demo progress::-moz-progress-bar { background: #dbfa42; }
#set-demo fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#set-demo legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.set-metrics { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; background: #202021; padding: 10px; }
.set-metrics label { text-align: center; color: #bcbcbc; font-size: 14px; }
.set-metrics label + label { border-left: 1px solid #454547; }
.set-metrics input { display: block; width: 100%; background: transparent; border: 0; color: white; font-size: 28px; font-weight: 700; text-align: center; appearance: textfield; }
.set-metrics input::-webkit-inner-spin-button { appearance: none; }
.warmup-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
.warmup-row input { appearance: none; width: 44px; height: 26px; border-radius: 20px; background: #444; cursor: pointer; }
.warmup-row input::before { content: ""; display: block; margin: 3px; width: 20px; height: 20px; border-radius: 50%; background: white; }
.warmup-row input:checked { background: #a6c52b; }
.warmup-row input:checked::before { transform: translateX(18px); }
#set-demo select, #set-demo button { font: inherit; color: inherit; cursor: pointer; }
#set-demo select { min-height: 44px; background: #0c0c0d; border: 0; }
#set-demo button { background: #272729; border: 0; padding: 10px 15px; border-radius: 22px; min-height: 44px; }
#set-demo :focus-visible { outline: 2px solid #dbfa42; outline-offset: 2px; }
.rest-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-variant-numeric: tabular-nums; }
.set-history { padding: 8px 0 14px; border: 0; }
.set-history summary { font-size: 16px; min-height: 44px; padding-block: 10px; }
.set-history ol { list-style: none; margin: 0; padding: 0; }
.set-history li { padding: 8px 0; border-top: 1px solid #333; }
.set-history p, #exercise-status { font-size: 14px; }
#save-set { display: flex; width: 100%; justify-content: space-between; align-items: center; border-radius: 14px; font-weight: 700; }
#save-set span { display: grid; place-items: center; background: #dbfa42; color: #101010; border-radius: 50%; width: 30px; height: 30px; }
#exercise-status:not(:empty), #reset-demo { margin-top: 12px; }
#set-demo [hidden] { display: none !important; }
.movement { grid-template-columns: 1.2fr .8fr; }
.movement-copy { grid-column: 2; grid-row: 1; }
.movement figure { margin: 0; grid-column: 1; grid-row: 1; }
.movement video { width: 100%; display: block; aspect-ratio: 16/9; border-radius: 18px; background: #181818; }
.movement figcaption { margin-top: 9px; font-size: 12px; color: #b7b7b7; }
.movement figcaption a { text-decoration: underline; }
.widget-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(24px,4vw,50px); background: radial-gradient(ellipse at 50% 25%,#444b36,#20231c 68%,#191b17); border: 1px solid #373a31; border-radius: 28px; }
.widget-board img { display: block; width: 100%; height: auto; }
.widget-board img:first-child { grid-column: 1/-1; }
.faq { max-width: 800px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 16px; list-style: none; }
.faq summary::after { content: '+'; color: var(--lime); font-size: 24px; }
.faq [open] summary::after { content: '−'; }
:is(button,a,summary):focus-visible { outline: 3px solid #dbfa42; outline-offset: 3px; }
.feature-grid summary:focus-visible,.guide-grid summary:focus-visible { outline-offset: -4px; }
@media(hover:hover) {
  .button:hover,.nav-action:hover { background: #e8ff85; }
  .demo-link:hover,nav a:not(.nav-action):hover { color: #dbfa42; }
  .feature-grid summary:hover img,.guide-grid summary:hover img { filter: brightness(1.12); }
}
@media(prefers-reduced-motion:no-preference) {
  .button,.nav-action,.feature img,.guide-grid img { transition: background-color .18s,filter .18s; }
}
@media(max-width:700px) {
  .demo,.movement,.glance { grid-template-columns: minmax(0,1fr); }
  .movement-copy,.movement figure { grid-column: auto; grid-row: auto; }
  .demo-link { margin-top: 2px; }
}

header .brand img {
  display: block;
  background: white;
  object-position: 100px 100px;
  mask: url("img/tapis-forma.png") center / contain no-repeat luminance;
}

.integrations dl { margin: 0; }
.integrations dt, .privacy h2 { border-top: 1px solid #39393d; padding-top: 24px; }
.integrations dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 23px; font-weight: 700; }
.integrations small { font-size: 15px; color: #dbfa42; }
.integrations dd { margin: 10px 0 28px; max-width: 66ch; color: #d0d0db; line-height: 1.55; }
.demo p + p { margin-top: 12px; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid a + h3 { margin-top: 24px; }
.privacy { max-width: 760px; padding-bottom: 64px; }
.privacy h1 { margin: 12px 0 22px; }
.privacy h2 { margin: 34px 0 12px; font-size: clamp(24px, 3vw, 36px); }
.privacy p + p { margin-top: 12px; }
.privacy a { color: #dbfa42; text-decoration: underline; overflow-wrap: anywhere; }

.language-switch { display: inline-flex; align-items: center; padding: 2px; border: 1px solid #414145; border-radius: 30px; background: #19191b; }
.language-switch > * { display: grid; place-items: center; min-width: 30px; min-height: 30px; border-radius: 24px; font-size: 12px; font-weight: 700; }
.language-switch [aria-current] { background: #dbfa42; color: #14140e; }
.language-switch a { color: #dedee1; }
.screens .phones-en { position: absolute; width: 96%; height: auto; left: 2%; top: 1%; }
@media (max-width: 460px) {
  nav a[href="#seduta"] { display: none; }
}

/* Keep the set confirmation visible at the foot of the phone. */
#registra-serie img { align-self: flex-end; }
@media (max-width: 600px) {
  #registra-serie { height: auto; }
  #registra-serie img { align-self: center; }
}

html[lang="en"] #progressi img { align-self: center; }
@media (max-width: 600px) {
  html[lang="en"] #progressi { height: auto; }
}

.waitlist { display: grid; gap: 14px; }
.waitlist input { min-width: 0; padding: 12px 14px; border: 1px solid #888; border-radius: 8px; background: #181918; color: white; font: inherit; }
.waitlist a { width: fit-content; color: #dbfa42; text-decoration: underline; }
.waitlist [role="status"]:empty { margin: 0; }
.closing-signup { border: 0; padding: 0; }
.closing-signup > summary { list-style: none; width: fit-content; margin-inline: auto; font-size: 1rem; }
.closing-signup .waitlist { max-width: 360px; margin: 24px auto 0; text-align: left; }
.closing-signup .waitlist button { border: 0; cursor: pointer; }

#prova-serie h2 { font-size: clamp(36px, 4.2vw, 56px); }
#set-demo .set-heading { margin-bottom: 0; }
#set-demo #save-set { margin-top: 14px; }

/* Two native app walkthroughs on the page background. */
.app-stories { padding-top: 32px; }
.app-story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(24px,6vw,90px); padding: clamp(46px,7vw,90px) 0; border-top: 1px solid #303033; }
.story-copy { max-width: 430px; }
.story-copy h2 { margin-bottom: 18px; }
.story-action { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 0; min-height: 44px; border: 0; background: transparent; color: #dbfa42; cursor: pointer; font: inherit; font-weight: 650; text-align: left; }
.story-action b { font-size: 1.25em; }
.story-action:hover span { text-decoration: underline; }
.story-action:focus-visible { outline: 2px solid #dbfa42; outline-offset: 4px; }
.story-action[hidden], .story-phone img[hidden] { display: none; }
.story-phone { width: min(85%, 276px); justify-self: center; }
.story-phone img { width: 100%; height: auto; display: block; }
.app-story:nth-child(2) .story-copy { grid-area: 1 / 2; }
.app-story:nth-child(2) .story-phone { grid-area: 1 / 1; }
@media (max-width: 650px) {
  .app-story { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .app-story:nth-child(2) .story-copy, .app-story:nth-child(2) .story-phone { grid-area: auto; }
  .story-phone { width: min(80%,248px); }
}


.plan-phone { position: relative; }
.exercise-toggle { position: absolute; left: 8%; width: 84%; top: 56%; transform: translateY(-50%); height: 8%; min-height: 42px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.exercise-toggle:focus-visible { outline: 2px solid #dbfa42; }
.exercise-toggle:hover { background: rgb(219 250 66 / 6%); }

#nutrizione-phone { position: relative; }
.meal-shutter { position: absolute; left: 50%; top: 84.3%; transform: translate(-50%, -50%); width: 20%; min-width: 44px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.meal-shutter:focus-visible { outline: 3px solid #dbfa42; outline-offset: 2px; }

.arrow-icon { display: inline-block; vertical-align: -0.12em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
