:root {
  color-scheme: dark;
  --orange: #ff7414;
  --bg: #080b13;
  --text: #fff;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, system-ui, sans-serif;
}
a,
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffd399;
  outline-offset: 4px;
}
.home {
  min-height: 100svh;
  background: #080b13 url("assets/strylx-background.jpg") center/cover
    no-repeat;
}
.home:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #02051000,
    #03071166 30%,
    #03071188 50%,
    #03071166 70%,
    #02051000
  );
}
.landing {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(16px, 3vh, 36px) 24px 32px;
  max-width: 1600px;
  margin: auto;
}
.brand {
  display: block;
  width: min(42vw, 530px);
  margin: 0 auto 4px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}
.hero-copy {
  max-width: 600px;
  text-shadow: 0 2px 14px #000;
}
.eyebrow {
  font-size: clamp(13px, 1.65vw, 25px);
  letter-spacing: 0.26em;
  margin: 8px 0;
}
.hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 66px);
  font-weight: 950;
  letter-spacing: -0.04em;
  font-style: italic;
  line-height: 1.05;
  margin: 0 0 12px;
}
.hero-copy h1 em {
  color: #ff6908;
}
.intro {
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.35;
  margin: 0 0 20px;
}
.countdown-panel {
  width: min(100%, 395px);
  border: 1px solid #9a4b25;
  border-radius: 20px;
  background: linear-gradient(140deg, #0a1114f5, #05080af5);
  padding: 15px 18px 8px;
  box-shadow: 0 8px 35px #0008;
}
.countdown-panel h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px;
}
.digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.unit-box {
  border: 1px solid #292d31;
  border-radius: 9px;
  background: #090d10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 3px;
}
.value {
  font-size: 33px;
  color: var(--orange);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.unit {
  font-size: 10px;
  font-weight: 650;
}
.day-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 13px;
  margin: 10px 0 0;
  color: #e4d9d0;
}
.day-marker:before,
.day-marker:after {
  content: "";
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, #98541c);
}
.day-marker:after {
  transform: rotate(180deg);
}
.signup-actions {
  width: min(100%, 420px);
  margin-top: 16px;
}
.main-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ff9b04, #ff6200 55%, #e94400);
  border: 1px solid #ffb442;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  box-shadow:
    inset 0 0 12px #ffd04280,
    0 0 25px #ff5c1259;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.main-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.micro {
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 0;
  text-shadow: 0 2px 7px #000;
}
.launch-footer {
  margin-top: auto;
  padding-top: 35px;
}
.bottom-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 18px;
  text-shadow: 0 2px 7px #000;
  margin: 0 0 23px;
}
.bottom-line:before,
.bottom-line:after {
  content: "";
  height: 1px;
  width: 35px;
  background: #c9c7c3;
}
.store-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  min-width: 166px;
  padding: 8px 13px;
  border: 1px solid #827a73;
  background: #050507;
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 12px #0005;
}
.store-button:hover {
  border-color: #ff9b49;
  background: #17120f;
}
.store-button svg {
  height: 32px;
  width: 29px;
}
.store-button span {
  display: flex;
  flex-direction: column;
}
.store-button small {
  font-size: 10px;
}
.store-button strong {
  font-size: 20px;
  font-weight: 500;
}
.store-dialog {
  color: #fff;
  background: #0b1019;
  border: 1px solid #a55229;
  border-radius: 20px;
  padding: 32px;
  max-width: min(92vw, 440px);
  box-shadow: 0 20px 90px #000;
}
.store-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.modal-content {
  position: relative;
  text-align: center;
}
.modal-content h2 {
  margin: 8px 0 15px;
}
.modal-content p {
  line-height: 1.6;
  color: #d2d6df;
}
.modal-content .main-cta {
  font-size: 15px;
}
.close-modal {
  position: absolute;
  top: -24px;
  right: -18px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
}
.secondary-button {
  background: none;
  border: 0;
  color: #ddd;
  padding: 12px 22px;
  margin-top: 10px;
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .landing {
    padding-top: 32px;
  }
  .brand {
    width: 560px;
  }
  .brand img {
    max-height: 250px;
  }
  .intro {
    margin-bottom: 24px;
  }
  .countdown-panel {
    width: 420px;
  }
  .signup-actions {
    width: 440px;
  }
}
@media (max-width: 700px) {
  .home {
    background-position: 47% center;
  }
  .home:before {
    background: linear-gradient(#03071177, #030711ad 40%, #030711c9);
  }
  .landing {
    padding: 25px 18px 30px;
  }
  .brand {
    width: min(100%, 390px);
    margin-bottom: 20px;
  }
  .brand img {
    max-height: 170px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 8.2vw, 49px);
    margin: 8px 0 15px;
  }
  .intro {
    font-size: 16px;
    max-width: 380px;
    margin-bottom: 24px;
  }
  .desktop-break {
    display: none;
  }
  .countdown-panel {
    width: min(100%, 365px);
  }
  .countdown-panel h2 {
    font-size: 19px;
  }
  .value {
    font-size: 29px;
  }
  .signup-actions {
    width: min(100%, 365px);
  }
  .main-cta {
    font-size: 16px;
    padding: 16px 14px;
  }
  .micro {
    font-size: 12px;
  }
  .launch-footer {
    padding-top: 32px;
  }
  .bottom-line {
    font-size: 14px;
    gap: 8px;
  }
  .bottom-line:before,
  .bottom-line:after {
    width: 17px;
  }
  .store-links {
    gap: 10px;
  }
  .store-button {
    min-width: 145px;
    padding: 8px 10px;
  }
  .store-button strong {
    font-size: 17px;
  }
}
@media (max-width: 350px) {
  .landing {
    padding-inline: 12px;
  }
  .store-button {
    min-width: 132px;
  }
  .store-links {
    gap: 7px;
  }
  .store-button strong {
    font-size: 15px;
  }
  .main-cta {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.app-toast {
  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 16px 22px;
  border-radius: 14px;
  color: #fff;
  background: #281519;
  border: 1px solid #f08585;
  box-shadow: 0 10px 40px #0009;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.app-toast.toast-success {
  background: #102b23;
  border-color: #59d8a4;
}
.app-toast[hidden] {
  display: none;
}

/* Desktop : tout le contenu tient dans l'écran sans scroll */
@media (min-width: 701px) {
  .landing {
    height: 100svh;
    min-height: 0;
    padding: 2vh 24px 2.5vh;
  }
  .brand {
    width: auto;
    margin-bottom: 0;
  }
  .brand img {
    width: auto;
    height: clamp(70px, 17vh, 230px);
    max-height: none;
  }
  .eyebrow {
    font-size: clamp(12px, 2.2vh, 25px);
    margin: 0.6vh 0;
  }
  .hero-copy h1 {
    font-size: clamp(28px, 6vh, 66px);
    margin-bottom: 1vh;
  }
  .intro {
    font-size: clamp(14px, 2.2vh, 23px);
    margin: 0 0 1.8vh;
  }
  .countdown-panel {
    width: clamp(330px, 40vh, 420px);
    padding: 1.4vh 18px 0.8vh;
  }
  .countdown-panel h2 {
    font-size: clamp(14px, 2.2vh, 20px);
    margin: 0 0 1.1vh;
  }
  .unit-box {
    padding: 1vh 3px;
    gap: 0.4vh;
  }
  .value {
    font-size: clamp(22px, 4vh, 36px);
  }
  .day-marker {
    margin-top: 1vh;
  }
  .signup-actions {
    width: clamp(340px, 42vh, 440px);
    margin-top: 1.6vh;
  }
  .main-cta {
    padding: 1.6vh 20px;
    font-size: clamp(15px, 2.1vh, 19px);
  }
  .micro {
    margin-top: 0.8vh;
  }
  .launch-footer {
    padding-top: 2vh;
  }
  .bottom-line {
    font-size: clamp(14px, 2vh, 18px);
    margin: 0 0 1.8vh;
  }
  .store-button {
    padding: 0.8vh 13px;
  }
}
