
/* Hero */
.hero {
  max-width: 500px;
  margin: 24px auto 32px auto;
  text-align: center;
  padding: 0 16px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #606060;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: clamp(30px, 4vw, 40px);
  max-width: clamp(210px, 50vw, 440px);
  line-height: 1.15;
  margin: 0 auto 32px auto;
  text-align: center;
  width: 100%;
}
.hero-subtitle {
  font-size: 18px;
  color: #3a3a3a;
  max-width: 820px;
  margin: 0 auto 20px auto;
}

/* Layout */
.pricing-root { max-width: 850px; margin: 0 auto 32px auto; padding: 0 16px; }
.feature-root { max-width: 1000px; margin: 0 auto 32px auto; padding: 0 16px; }
.billing-row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 0 0 20px 0; }
.billing-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.billing-text { font-size: 12px; color: #555; }

/* Logged-out CTA (match prize hero-cta style) */
.pricing-login-section { text-align: center; margin: 12px 0 22px 0; max-width: 600px; margin: 0 auto; margin-bottom: 48px; }
.pricing-login-note { font-size: 18px; color: #606060; margin: 0 0 10px 0; }
.pricing-login-note a,
.pricing-login-note a:visited,
.pricing-login-note a:active { color: var(--primary-color); text-decoration: none; }
.pricing-login-note a:hover { color: var(--primary-dark); text-decoration: underline; }
.pricing-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  margin-top: 18px; 
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.pricing-login-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); background: var(--primary-dark); }

/* Toggle */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: #c7c7c7; border-radius: 999px; transition: background 160ms ease; }
.slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: transform 160ms ease; box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.toggle-switch input:checked + .slider { background: #6aa8ff; }
.toggle-switch input:checked + .slider:before { transform: translateX(22px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card { border: 1px solid #cfcfcf; border-radius: 8px; box-shadow: 0 2px 0 #d0d0d0; background: #fff; padding: 16px; }
.plan-name { text-align: center; color: #6b83c7; margin-bottom: 8px; }
.billed-note { text-align: center; color: #7a7a7a; font-size: 11px; margin-bottom: 6px; min-height: 14px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 6px 0; }
.currency { font-weight: 400; font-size: 18px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.5px; font-family: Georgia, 'Times New Roman', Times, serif; }
.per { font-size: 16px; }
.price-period { text-align: center; color: #666; font-size: 12px; margin-bottom: 12px; min-height: 16px; }
.subscription-label { text-align: center; font-size: 13px; color: #000000; margin: 8px 0 12px 0; padding-top: 10px; border-top: 1px solid #e5e5e5; }
.features { list-style: none; padding: 0; margin: 0; border-top: 1px solid #e5e5e5; }
.features li { padding: 12px; border-bottom: 1px solid #eaeaea; text-align: center; font-size: 14px; }
.features li.spacer { padding: 8px; border-bottom: none; }
.per-draft-row { font-weight: 600; font-size: 14px !important; }

@media (max-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }

/* CTAs */
.plan-cta { width: 100%; margin-top: 12px; background: #6aa8ff; color: #fff; border: none; border-radius: 10px; padding: 10px 14px; font-size: 15px; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,0.15); transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.plan-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); background: #5a9bff; }

/* Make the gap before the last card appear doubled on wide screens */
@media (min-width: 1101px) {
  .cards .plan-card:last-child { margin-left: 16px; }
}

/* Slightly thicker border on the last card */
.cards .plan-card:last-child { border-width: 1.5px; border-color: #202020; }

/* Subscription module */
.subscription-module { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #cfcfcf; border-radius: 8px; background: #f9fbff; padding: 10px 12px; margin-bottom: 40px; text-align: left; }
.subscription-module p { margin: 0; font-size: 12px; }
.subscription-module form { margin: 0; }
.subscription-note { color: #979797; font-size: 14px; margin-top: 4px; }
.manage-subscription-btn { display: inline-block; margin: 0; background: #6aa8ff; color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; border: none; outline: none; cursor: pointer; }
.manage-subscription-btn:focus, .manage-subscription-btn:focus-visible { outline: none; }
.manage-subscription-btn:hover { background: #5a9bff; }

@media (max-width: 600px) {
  .subscription-module { flex-direction: column; align-items: stretch; gap: 8px; }
  .manage-subscription-btn { width: 100%; }
}

/* Claim module */
.claim-module { border: 1px solid #cfcfcf; border-radius: 8px; background: #ffffff; padding: 16px; }
.claim-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.claim-input { width: 100%; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 8px; font-size: 14px; }
.claim-input:focus { outline: none; border-color: #6aa8ff; box-shadow: 0 0 0 3px rgba(106,168,255,0.2); }
.claim-btn { background: #6aa8ff; color: #fff; border: none; border-radius: 8px; padding: 10px 16px; cursor: pointer; transition: background 160ms ease; }
.claim-btn:hover { background: #5a9bff; }
.claim-link { background: none; border: none; color: #6b83c7; font-size: 13px; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.claim-link:hover { background: rgba(106,168,255,0.12); }

/* Modal */
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.modal-content { position: relative; background: #fff; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); width: min(480px, 92vw); }
.modal-body { padding: 24px 24px 24px 24px; font-size: 15px; color: #222; }
.modal-body ul { margin: 0px; font-size: 12px; padding: 0px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 8px 12px 12px 12px; }
.modal-btn { background: #6aa8ff; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.modal-btn:hover { background: #5a9bff; }
.modal-close { position: absolute; right: 8px; top: 8px; background: transparent; border: none; font-size: 22px; line-height: 1; color: #666; cursor: pointer; padding: 6px; border-radius: 6px; }
.modal-close:hover { background: rgba(0,0,0,0.06); }

/* Bottom Section */
.section-header { font-size: 32px; font-family: Georgia, 'Times New Roman', Times, serif; font-weight: 100; text-align: center; margin: 92px 0 32px 0; color: #1c1c1c; border-bottom: 1px solid #c5c5c5; padding-bottom: 32px; }
.feature { display: flex; flex-direction: row; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; margin-bottom: 32px; }
.feature-media { border: 1px solid #c1c1c1; border-radius: 10px; overflow: hidden; background: #fff; flex: 0 0 520px; width: 520px; box-shadow: 0 2px 0 #d0d0d0; }
.feature-gif { width: 100%; height: auto; display: block; }
.feature-content { padding: 8px 4px; flex: 1 1 auto; }
.feature-title { font-family: Georgia, 'Times New Roman', Times, serif; font-size: clamp(18px, 3vw, 28px); line-height: 1.25; margin: 6px 0 8px 0; }
.feature-subtitle { font-size: 15px; color: #3a3a3a; margin: 0; }
.feature + .feature { margin-top: 18px; }

@media (max-width: 900px) {
  .feature { flex-direction: column; }
  .feature-media { width: 100%; flex: 1 1 auto; }
}
