/* Nextory static export — design tokens + layout */
:root {
  --nextory-sand: #EEEBE8;
  --nextory-sand-100: #F9F5F2;
  --nextory-pink: #D7355B;
  --nextory-pink-bg: #FFF0F3;
  --nextory-purple-700: #421862;
  --nextory-purple-800: #290C41;
  --nextory-text: #32302D;
  --nextory-text-muted: #4C4846;
  --nextory-yellow-bg: #FFF8E1;
  --nextory-yellow-border: #FECD40;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--nextory-text);
  background: var(--nextory-sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ----- Countdown banner ----- */
.countdown {
  width: 100%;
  border-radius: 9999px;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  transition: background-color .3s, border-color .3s, color .3s;
  background: var(--nextory-yellow-bg);
  border: 1px solid var(--nextory-yellow-border);
  color: var(--nextory-text-muted);
}
.countdown[data-state="urgent"] {
  background: var(--nextory-pink-bg);
  border-color: var(--nextory-pink);
}
.countdown[data-state="expired"] {
  background: var(--nextory-sand-100);
  border-color: transparent;
}
.countdown .time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--nextory-text);
}
.countdown[data-state="urgent"] .time { color: var(--nextory-pink); }
.countdown[data-state="expired"] .label-default,
.countdown[data-state="expired"] .label-urgent,
.countdown[data-state="expired"] .time { display: none; }
.countdown .label-expired { display: none; }
.countdown[data-state="expired"] .label-expired { display: inline; }
.countdown[data-state="urgent"] .label-default,
.countdown[data-state="default"] .label-urgent { display: none; }

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 6px;
  background: var(--nextory-pink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .1s;
}
.btn-primary:active { transform: scale(0.99); }
.btn-primary.full { width: 100%; max-width: 360px; }

/* ----- /roktse + / homepage ----- */
.hero-page {
  background: var(--nextory-purple-700);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 640px;
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
}
.hero-copy { display: flex; align-items: center; padding: 48px 24px; }
@media (min-width: 1024px) { .hero-copy { padding: 80px 64px; } }
.hero-copy-inner { width: 100%; max-width: 520px; margin: 0 auto; }
@media (min-width: 1024px) { .hero-copy-inner { margin: 0; } }
.hero h1 {
  margin: 40px 0 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #C8FF5A;
}
@media (min-width: 640px) { .hero h1 { font-size: 56px; } }
.hero .lede { margin-top: 20px; font-size: 16px; opacity: .95; }
.hero .cta-row { margin-top: 32px; }
.payments { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.payments .chips { display: flex; gap: 8px; }
.chip {
  background: rgba(255,255,255,0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.pay-logo { height: 20px; width: auto; display: block; }
.cancel { font-size: 13px; opacity: .85; }
.disclaimers {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

@media (max-width: 1023px) {
  .hero-copy { justify-content: center; }
  .hero-copy-inner { text-align: center; }
  .hero-copy-inner > img { margin-left: auto; margin-right: auto; }
  .hero .cta-row,
  .payments,
  .payments .chips,
  .disclaimers { justify-content: center; }
  .payments { align-items: center; }
  .disclaimer { text-align: center; }
}
@media (min-width: 640px) { .disclaimers { grid-template-columns: 1fr 1fr; } }
.disclaimer {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.4;
}
.hero-image {
  position: relative;
  min-height: 320px;
}
@media (min-width: 1024px) { .hero-image { min-height: 100%; } }
.hero-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Trust band */
.trust-band { background: var(--nextory-purple-800); color: #fff; }
.trust-band .row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
@media (min-width: 640px) {
  .trust-band .row { flex-direction: row; justify-content: center; }
}
.stars { color: #FFB400; letter-spacing: 2px; }
.store-logos { display: inline-flex; gap: 8px; align-items: center; }
.store-logo { height: 18px; width: auto; display: block; }

/* Steps section */
.steps-section { background: var(--nextory-sand); color: var(--nextory-text); }
.steps-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}
.steps-inner h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .steps-inner h2 { font-size: 40px; } }
.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 24px;
  text-align: left;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.step-num {
  height: 36px; width: 36px;
  border-radius: 9999px;
  background: var(--nextory-pink);
  color: #fff;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-card p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nextory-text-muted);
}
.steps-cta { margin-top: 40px; }

/* Footer */
.site-footer { background: var(--nextory-purple-700); color: #fff; }
.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.site-footer a.help {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; text-decoration: none;
}
.site-footer a.help:hover { text-decoration: underline; }
.site-footer .divider { height: 1px; background: rgba(255,255,255,0.15); margin: 24px 0; }
.footer-grid {
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) {
  .footer-grid { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.copy { font-size: 13px; opacity: .9; margin-top: 16px; }
.footer-meta {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
}
@media (min-width: 768px) { .footer-meta { align-items: flex-end; } }
.locale-row { display: flex; align-items: center; gap: 8px; }
.dot { opacity: .5; }
.links { display: flex; flex-wrap: wrap; gap: 4px 12px; opacity: .9; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* ----- /signup ----- */
.signup-page {
  min-height: 100vh;
  background: var(--nextory-sand);
  color: var(--nextory-text);
  display: flex;
  flex-direction: column;
}
.signup-main {
  flex: 1;
  padding: 40px 24px 64px;
}
.signup-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-label { margin: 8px 0 0; font-size: 14px; color: var(--nextory-text-muted); }
.icon-circle {
  margin-top: 40px;
  height: 48px; width: 48px;
  border-radius: 9999px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.signup-inner h1 {
  margin: 24px 0 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.signup-inner .sub {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 420px;
  color: var(--nextory-text-muted);
}
.signup-inner .countdown-wrap { margin-top: 24px; width: 100%; max-width: 360px; }
.signup-inner .cta { margin-top: 32px; }
.login-line { margin-top: 20px; font-size: 14px; }
.login-line a { color: #A40035; font-weight: 500; }
.signup-inner .couch { margin-top: 32px; max-width: 420px; }

@media (min-width: 1024px) {
  .cta-stack { width: fit-content; }
  .cta-stack .payments { align-items: center; }
  .cta-stack .payments .chips { justify-content: center; }
  .cta-stack .cancel { text-align: center; }
}

.cobrand-bar {
  width: 100%;
  background: var(--nextory-purple-800, #290C41);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cobrand-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.cobrand-logo { display: block; width: auto; }
.cobrand-nextory { height: 32px; }
.cobrand-vinted { height: 28px; }
.cobrand-x {
  color: #fff;
  font-size: 20px;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1;
}
@media (max-width: 640px) {
  .cobrand-bar { height: 72px; }
  .cobrand-inner { gap: 14px; }
  .cobrand-nextory { height: 26px; }
  .cobrand-vinted { height: 22px; }
  .cobrand-x { font-size: 16px; }
}
