/* 2026 color system and RepLab Pro */
:root {
  --bg: #071612;
  --ink: #fffbea;
  --muted: #c1c4b4;
  --line: #315047;
  --panel: #10231d;
  --panel-strong: #183029;
  --accent: #ff6b35;
  --accent-dark: #d94b20;
  --mint: #55e2b6;
  --blue: #54adff;
  --lime: #c6f36b;
  --violet: #af91ff;
  --pink: #ff79ad;
}

html.pro-document {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html.pro-document body.pro-page {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

body {
  background:
    radial-gradient(circle at 10% 6%, rgb(85 226 182 / 0.24), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgb(84 173 255 / 0.16), transparent 30rem),
    radial-gradient(circle at 62% 92%, rgb(175 145 255 / 0.12), transparent 26rem),
    linear-gradient(145deg, #06130f 0%, #0b1c17 48%, #1c1514 100%);
}

.site-header {
  background: rgb(6 19 15 / 0.88);
  border-bottom-color: rgb(85 226 182 / 0.22);
}

.brand-title {
  text-shadow: 0 0 28px rgb(85 226 182 / 0.22);
}

.brand-subtitle {
  background: linear-gradient(90deg, var(--mint), var(--blue));
  color: transparent;
  background-clip: text;
}

.home-hero {
  background:
    radial-gradient(circle at 88% 16%, rgb(84 173 255 / 0.17), transparent 22rem),
    radial-gradient(circle at 8% 100%, rgb(198 243 107 / 0.1), transparent 18rem),
    linear-gradient(135deg, rgb(18 52 42 / 0.96), rgb(12 31 26 / 0.94));
  border-color: rgb(85 226 182 / 0.28);
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.28);
}

.home-hero h1 span,
.pro-hero h1 span {
  background: linear-gradient(90deg, var(--mint), var(--blue) 52%, var(--lime));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.workflow-strip span:nth-child(1) {
  border-color: rgb(84 173 255 / 0.38);
  background: rgb(84 173 255 / 0.1);
}

.workflow-strip span:nth-child(2) {
  border-color: rgb(175 145 255 / 0.38);
  background: rgb(175 145 255 / 0.1);
}

.workflow-strip span:nth-child(3) {
  border-color: rgb(85 226 182 / 0.38);
  background: rgb(85 226 182 / 0.1);
}

.workflow-strip span:nth-child(4) {
  border-color: rgb(198 243 107 / 0.34);
  background: rgb(198 243 107 / 0.08);
}

.pro-preview {
  background:
    linear-gradient(135deg, rgb(255 107 53 / 0.14), rgb(175 145 255 / 0.12)),
    rgb(8 24 19 / 0.8);
  border-color: rgb(255 121 173 / 0.28);
}

.workout-shelf {
  background: linear-gradient(145deg, rgb(19 44 36 / 0.96), rgb(10 27 22 / 0.94));
  border-color: rgb(85 226 182 / 0.2);
}

.preset-card {
  --card-accent: var(--mint);
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--card-accent) 30%, var(--line));
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--card-accent) 16%, transparent), transparent 13rem),
    linear-gradient(155deg, #0b1b16, #101b18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.025), 0 14px 30px rgb(0 0 0 / 0.16);
}

.preset-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--card-accent), transparent 86%);
}

.workout-shelf:nth-child(1) .preset-card:nth-child(1) { --card-accent: var(--accent); }
.workout-shelf:nth-child(1) .preset-card:nth-child(2) { --card-accent: var(--blue); }
.workout-shelf:nth-child(1) .preset-card:nth-child(3) { --card-accent: var(--violet); }
.workout-shelf:nth-child(2) .preset-card:nth-child(1) { --card-accent: var(--mint); }
.workout-shelf:nth-child(2) .preset-card:nth-child(2) { --card-accent: var(--lime); }
.workout-shelf:nth-child(2) .preset-card:nth-child(3) { --card-accent: var(--pink); }

.preset-card > span,
.preset-card > small {
  color: var(--card-accent);
}

.preset-card .button.primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 88%, white), var(--card-accent));
  border-color: color-mix(in srgb, var(--card-accent) 72%, white);
  color: #07120f;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--card-accent) 22%, transparent);
}

.preset-card .button.secondary:hover,
.preset-card .button.ghost:hover {
  border-color: color-mix(in srgb, var(--card-accent) 58%, var(--line));
  background: color-mix(in srgb, var(--card-accent) 12%, var(--panel-strong));
}

.button,
.nav-link {
  min-height: 44px;
}

.pro-nav-link {
  border-color: rgb(175 145 255 / 0.28);
  color: #d9ccff;
}

.pro-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(30px, 7vw, 86px) 0 90px;
}

.pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  min-height: min(720px, calc(100vh - 110px));
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgb(85 226 182 / 0.26);
  border-radius: 30px;
  background:
    radial-gradient(circle at 6% 12%, rgb(85 226 182 / 0.18), transparent 22rem),
    radial-gradient(circle at 92% 8%, rgb(175 145 255 / 0.2), transparent 22rem),
    linear-gradient(145deg, rgb(16 47 38 / 0.96), rgb(10 26 22 / 0.96));
  box-shadow: 0 32px 100px rgb(0 0 0 / 0.3);
}

.pro-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.pro-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.pro-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 34px 0 0;
}

.price-line strong {
  color: var(--lime);
  font-size: 2rem;
}

.price-line span,
.price-note {
  color: var(--muted);
}

.price-note {
  margin-top: 4px;
  font-size: 0.92rem;
}

.pro-signal-card {
  position: relative;
  display: grid;
  gap: 15px;
  padding: clamp(26px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgb(84 173 255 / 0.32);
  border-radius: 26px;
  background: linear-gradient(160deg, rgb(10 32 30 / 0.9), rgb(9 19 27 / 0.96));
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.28);
}

.pro-signal-card::after {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -100px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgb(175 145 255 / 0.38), transparent 68%);
}

.signal-dot {
  position: absolute;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.signal-mint { left: 20px; background: var(--mint); }
.signal-blue { left: 38px; background: var(--blue); }
.signal-lime { left: 56px; background: var(--lime); }

.pro-signal-card p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.035);
  font-weight: 900;
}

.pro-signal-card i {
  width: 2px;
  height: 24px;
  margin: -10px 0 -10px 28px;
  background: linear-gradient(var(--blue), var(--mint));
}

.pro-signal-card strong {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--lime);
}

.pro-feature-section,
.early-access-section {
  margin-top: 26px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgb(85 226 182 / 0.2);
  border-radius: 26px;
  background: linear-gradient(145deg, rgb(16 39 33 / 0.94), rgb(9 25 21 / 0.94));
}

.pro-feature-section .section-heading h2,
.early-access-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pro-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.pro-feature-card {
  --feature-accent: var(--mint);
  min-height: 270px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 30%, var(--line));
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--feature-accent) 14%, transparent), transparent 12rem), #0a1915;
}

.pro-feature-card.accent-blue { --feature-accent: var(--blue); }
.pro-feature-card.accent-mint { --feature-accent: var(--mint); }
.pro-feature-card.accent-lime { --feature-accent: var(--lime); }
.pro-feature-card.accent-orange { --feature-accent: var(--accent); }
.pro-feature-card > span { color: var(--feature-accent); font-weight: 900; }
.pro-feature-card h3 { margin: 60px 0 12px; font-size: 1.35rem; }
.pro-feature-card p { margin: 0; color: var(--muted); }

.early-access-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  border-color: rgb(175 145 255 / 0.26);
  background:
    radial-gradient(circle at 0 100%, rgb(84 173 255 / 0.16), transparent 24rem),
    linear-gradient(145deg, rgb(15 38 34 / 0.96), rgb(13 21 31 / 0.96));
}

.early-access-section > div > p:not(.eyebrow),
.early-access-section li {
  color: var(--muted);
}

.early-access-section > div > p:not(.eyebrow) {
  margin-top: 20px;
}

.early-access-section ul {
  display: grid;
  gap: 9px;
  padding-left: 1.2rem;
}

.early-access-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgb(84 173 255 / 0.26);
  border-radius: 20px;
  background: rgb(6 20 18 / 0.76);
}

.early-access-form > label:not(.consent-row) {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.early-access-form input,
.early-access-form select {
  width: 100%;
  min-height: 52px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c201a;
  color: var(--ink);
}

.early-access-form input:focus,
.early-access-form select:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(84 173 255 / 0.16);
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--mint);
}

.website-field {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

@media (max-width: 900px) {
  .pro-hero,
  .early-access-section {
    grid-template-columns: 1fr;
  }

  .pro-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 0.35rem;
    padding-inline: 0.6rem;
  }

  .site-header .top-nav {
    gap: 0.35rem;
  }

  .site-header .nav-link {
    padding-inline: 0.75rem;
    font-size: 0.84rem;
  }

  .preset-actions .button,
  .saved-item-actions .button,
  .share-nudge-actions .button {
    min-height: 44px;
  }

  .pro-main {
    width: min(100% - 18px, 1180px);
    padding-top: 14px;
  }

  .pro-hero,
  .pro-feature-section,
  .early-access-section {
    padding: 22px;
    border-radius: 20px;
  }

  .pro-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .pro-feature-grid {
    grid-template-columns: 1fr;
  }

  .pro-feature-card {
    min-height: 220px;
  }
}
