:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #fffaf7;
  color: #282324;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 27%, #ffffff 0, #fffaf7 62%);
}

.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid #f8ded9;
  background: #fff0ed;
  color: #ed4842;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
}

.landing {
  width: min(100%, 550px);
  margin: 0 auto;
  padding: 58px 28px 40px;
  text-align: center;
}

.avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border: 5px solid #f0443e;
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(51, 31, 28, .13), 0 0 0 7px #fffaf7;
  background-color: #d5dde3;
  background-image: url('/assets/arkana-laptop.png');
  background-repeat: no-repeat;
  background-size: 184px auto;
  background-position: -36px -96px;
}

.intro { margin-top: 36px; }

h1 {
  margin: 0;
  color: #292425;
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.description {
  max-width: 500px;
  margin: 25px auto 0;
  color: #746b69;
  font-size: 17px;
  line-height: 1.54;
}

.description strong {
  color: #514845;
  font-weight: 700;
}

.offer {
  margin-top: 44px;
  padding: 26px 24px 23px;
  border: 1px solid #f0d0c9;
  border-radius: 23px;
  background: #fff3ef;
  box-shadow: 0 10px 30px rgba(127, 71, 59, .04);
}

.offer__heading {
  margin: 0;
  color: #ab3933;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .055em;
}

.offer__subheading {
  margin: 9px 0 20px;
  color: #8a716d;
  font-size: 14px;
}

.countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 89px;
  padding: 8px 2px;
  border: 1px solid #edc8c1;
  border-radius: 13px;
  background: rgba(255,255,255,.55);
}

.countdown__value {
  color: #f0443e;
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.1;
}

.countdown__label {
  margin-top: 7px;
  color: #9d8580;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.offer__spots {
  margin: 22px 0 0;
  color: #ab3933;
  font-size: 19px;
  font-weight: 700;
}

.offer__spots-number { color: #ed443f; font-weight: 800; }

.offer__note {
  min-height: 0;
  margin: 0;
  color: #806964;
  font-size: 13px;
}

.offer__note:not(:empty) { margin-top: 11px; }

.action-area { margin-top: 14px; }

.join-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: 75px;
  padding: 14px 20px;
  border: 0;
  border-radius: 15px;
  background: #f0443e;
  box-shadow: 0 13px 22px rgba(240, 68, 62, .19);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 23px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.join-button:hover { background: #dc3833; transform: translateY(-2px); box-shadow: 0 17px 25px rgba(240,68,62,.23); }
.join-button:active { transform: translateY(0); }
.join-button:focus-visible, .fallback a:focus-visible { outline: 3px solid #282324; outline-offset: 4px; }

.join-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fallback {
  margin: 16px 8px 0;
  color: #746b69;
  font-size: 14px;
  line-height: 1.5;
}

.fallback a { display: inline-block; color: #b73732; font-weight: 700; text-underline-offset: 3px; }

.footer-note { margin: 20px 0 0; color: #998d88; font-size: 12px; }
.footer-note a { color: #8b5d57; text-underline-offset: 3px; }
.footer-note a:focus-visible { outline: 3px solid #282324; outline-offset: 3px; }

.policy-page { width: min(100%, 740px); margin: 0 auto; padding: 44px 24px 72px; }
.policy-back { color: #ab3933; font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.policy-page h1 { margin-top: 30px; font-size: clamp(32px, 6vw, 48px); }
.policy-page h2 { margin: 30px 0 10px; font-size: 20px; }
.policy-page p, .policy-page li { color: #514845; font-size: 16px; line-height: 1.6; }
.policy-page a { color: #ab3933; text-underline-offset: 3px; }
.policy-page a:focus-visible { outline: 3px solid #282324; outline-offset: 3px; }

@media (max-width: 480px) {
  .top-banner { min-height: 48px; font-size: 12px; }
  .landing { padding: 38px 20px 24px; }
  .avatar { width: 116px; height: 116px; border-width: 5px; background-size: 168px auto; background-position: -33px -88px; }
  .intro { margin-top: 25px; }
  h1 { font-size: 42px; }
  .description { margin-top: 18px; font-size: 15px; line-height: 1.42; }
  .offer { margin-top: 31px; padding: 20px 16px 20px; border-radius: 19px; }
  .offer__heading { font-size: 15px; }
  .offer__subheading { margin: 6px 0 13px; font-size: 12px; }
  .countdown { gap: 8px; }
  .countdown__unit { min-height: 64px; border-radius: 10px; }
  .countdown__value { font-size: 27px; }
  .countdown__label { margin-top: 3px; font-size: 10px; }
  .offer__spots { margin-top: 14px; font-size: 17px; }
  .action-area { margin-top: 14px; }
  .join-button { min-height: 58px; padding: 10px 16px; font-size: 20px; border-radius: 12px; }
  .join-button svg { width: 21px; height: 21px; }
  .footer-note { margin-top: 14px; }
}

@media (max-width: 360px) {
  .top-banner { min-height: 35px; padding: 8px 12px; font-size: 10px; }
  .landing { padding: 12px 14px 18px; }
  .avatar { width: 116px; height: 116px; }
  .intro { margin-top: 11px; }
  h1 { font-size: 36px; }
  .description { margin-top: 9px; font-size: 13.5px; line-height: 1.35; }
  .offer { margin-top: 15px; padding: 13px 12px 14px; }
  .offer__heading { font-size: 13px; }
  .offer__subheading { margin: 5px 0 10px; font-size: 11px; }
  .countdown__unit { min-height: 57px; }
  .countdown__value { font-size: 24px; }
  .offer__spots { margin-top: 11px; font-size: 15px; }
  .action-area { margin-top: 8px; }
  .join-button { min-height: 53px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .join-button { transition: none; }
}
