/* GymReset Styles */
:root {
  --green-900: #1b4332;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-500: #74c69d;
  --green-300: #95d5b2;
  --green-100: #d8f3dc;
  --green-50: #f0faf4;
  --gray-900: #1a1a2e;
  --gray-800: #22223b;
  --gray-700: #4a4e69;
  --gray-600: #6c757d;
  --gray-400: #adb5bd;
  --gray-200: #dee2e6;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --amber: #f4a261;
  --amber-light: #fce4c8;
  --red: #e76f51;
  --red-light: #fde8e4;
  --blue: #457b9d;
  --blue-light: #d6e8f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-800); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-900);
}
.logo:hover { text-decoration: none; }
.logo-text { letter-spacing: -0.02em; }

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}
.site-nav a {
  color: var(--gray-700);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus {
  color: var(--green-800);
  border-bottom-color: var(--green-600);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 50%, var(--white) 100%);
  padding: 60px 0 50px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.hero-copy h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--green-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 12px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.confidence-preview,
.mini-schedule {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.conf-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.conf-bar {
  height: 12px;
  background: var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0 6px;
}
.conf-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  border-radius: 6px;
  transition: width 0.6s ease;
}
.conf-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800);
}
.mini-schedule strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.mini-schedule ul {
  list-style: none;
  font-size: 0.9rem;
}
.mini-schedule li {
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.mini-schedule li:last-child { border-bottom: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-family: var(--font);
  line-height: 1.4;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  text-decoration: none;
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--green-600);
}
.btn-secondary:hover {
  background: var(--green-50);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-400);
}
.btn-ghost:hover {
  background: var(--gray-100);
  text-decoration: none;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Stats */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Quiz */
.quiz-section {
  padding: 60px 0;
}
.quiz-section h2,
.results-section h2,
.how-section h2,
.mistakes-section h2,
.selftalk-section h2,
.faq-section h2,
.product-section h2 {
  font-size: 1.8rem;
  color: var(--green-900);
  margin-bottom: 8px;
}
.section-intro {
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 600px;
}

.quiz-form {
  max-width: 720px;
}
.quiz-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.q-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.quiz-card h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 18px;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.option:hover {
  border-color: var(--green-500);
  background: var(--green-50);
}
.option:has(input:checked) {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-900);
}
.option input {
  accent-color: var(--green-700);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.quiz-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

/* Results */
.results-section {
  padding: 60px 0;
  background: var(--green-50);
}
.results-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}
.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.result-card h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.card-note {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 18px;
}

/* Confidence */
.conf-meter {
  height: 16px;
  background: var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.conf-meter-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--green-600), var(--green-800));
  transition: width 0.8s ease;
}
.conf-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.conf-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-900);
}
.conf-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-top: 6px;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.schedule-day {
  background: var(--green-50);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.schedule-day .day-name {
  font-weight: 700;
  color: var(--green-800);
  font-size: 1rem;
  margin-bottom: 4px;
}
.schedule-day .day-time {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.schedule-day .day-activity {
  font-size: 0.95rem;
  color: var(--gray-900);
  font-weight: 500;
}

/* Scripts */
.script-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.script-item {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.script-item .script-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.script-item .script-text {
  font-size: 0.95rem;
  color: var(--gray-900);
}

/* Worries */
.worries-response {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.worry-item {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.worry-item .worry-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #b06020;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.worry-item .worry-text {
  font-size: 0.95rem;
  color: var(--gray-900);
}

/* Gym Card */
.gym-card {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 0.9rem;
}
.gym-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Action buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.action-buttons .btn { width: 100%; }
.action-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 10px;
  min-height: 1.4em;
}

/* How it works */
.how-section {
  padding: 60px 0;
  background: var(--white);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--green-50);
  border-radius: var(--radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.how-step h3 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.how-step p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Mistakes */
.mistakes-section {
  padding: 60px 0;
  background: var(--gray-100);
}
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mistake {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.mistake h3 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.mistake p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* Self-talk */
.selftalk-section {
  padding: 60px 0;
  background: var(--white);
}
.selftalk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.selftalk-block {
  border-radius: var(--radius);
  padding: 24px;
}
.selftalk-block:first-child {
  background: var(--red-light);
  border: 1px solid #f5c6b8;
}
.selftalk-block:last-child {
  background: var(--green-50);
  border: 1px solid var(--green-300);
}
.selftalk-block h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--gray-900);
}
.thought-list, .truth-list {
  list-style: none;
  font-size: 0.95rem;
}
.thought-list li, .truth-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--gray-800);
}
.thought-list li:last-child, .truth-list li:last-child { border-bottom: none; }
.thought-list li::before { content: "💭 "; }
.truth-list li::before { content: "✅ "; }
.selftalk-note {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
}

/* FAQ */
.faq-section {
  padding: 60px 0;
  background: var(--gray-100);
}
.faq-list {
  max-width: 720px;
}
.faq-list details {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.faq-list summary {
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  font-size: 0.95rem;
}
.faq-list details p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Product */
.product-section {
  padding: 60px 0;
  background: var(--white);
}
.product-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--green-300);
}
.product-info h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.product-info p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 24px;
  font-size: 0.85rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p {
  margin-top: 10px;
  max-width: 280px;
}
.footer-brand .logo { color: var(--white); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links strong {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-links a {
  color: var(--gray-400);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .copy {
  color: var(--gray-600);
}

/* Print */
@media print {
  .site-header, .site-footer, .quiz-section, .how-section, .mistakes-section, .selftalk-section, .faq-section, .product-section, .stats-bar, .hero { display: none !important; }
  .results-section { display: block !important; background: white; }
  .results-section[hidden] { display: block !important; }
  body { background: white; }
  .result-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .results-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .mistakes-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-copy h1 { font-size: 1.7rem; }
  .site-nav { gap: 14px; font-size: 0.8rem; }
  .how-grid { grid-template-columns: 1fr; }
  .mistakes-grid { grid-template-columns: 1fr; }
  .selftalk-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quiz-actions { flex-direction: column; }
  .quiz-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
