/* Demo showcase pages (CourseAdvisor, CareerAdvisor, AlumniPro, ExplorerK12).
   Shared layout; each page sets --ds-accent / --ds-accent-dark / --ds-tint in assets/css/pages/{slug}.css. */
.ds { --ds-accent: #29ABE2; --ds-accent-dark: #0077AA; --ds-tint: #E3F6FF; font-family: 'DM Sans', sans-serif; color: var(--dark); }
.ds h1, .ds h2 { font-family: 'DM Serif Display', serif; font-weight: 400; color: var(--dark); margin: 0; }
.ds p { margin: 0; }

/* hero */
.ds-hero { background: var(--light); border-bottom: 1px solid var(--border); padding: 64px 60px 0; text-align: center; overflow: hidden; }
.ds-hero-inner { max-width: 820px; margin: 0 auto; }
.ds-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ds-accent-dark); background: var(--ds-tint); border-radius: 20px; padding: 6px 14px; margin-bottom: 18px; }
.ds-hero h1 { font-size: 46px; line-height: 1.12; margin-bottom: 18px; }
.ds-intro { font-size: 18px; line-height: 1.65; color: var(--mid); max-width: 700px; margin: 0 auto 28px !important; }
.ds-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ds-btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 8px; border: 1.5px solid transparent; line-height: 1.2; transition: transform .12s ease, box-shadow .12s ease; }
.ds-btn-primary { background: var(--ds-accent-dark); color: #fff; border-color: var(--ds-accent-dark); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.ds-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); color: #fff; }
.ds-btn-ghost { background: #fff; color: var(--dark); border-color: var(--border); }
.ds-btn-ghost:hover { border-color: var(--ds-accent-dark); color: var(--ds-accent-dark); }
.ds-btn:focus-visible, .ds a:focus-visible, .ds-toggle button:focus-visible { outline: 3px solid var(--ds-accent-dark); outline-offset: 3px; }
.ds-host { font-size: 13px; color: #6b6b6b; margin-top: 12px !important; }
.ds-links { margin-top: 14px !important; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.ds-links a, .ds-inline-link { font-size: 14px; font-weight: 600; color: var(--ds-accent-dark); text-decoration: none; border-bottom: 1px solid transparent; }
.ds-links a:hover, .ds-inline-link:hover { border-bottom-color: var(--ds-accent-dark); }
.ds-note { font-size: 13px; color: #6b6b6b; margin-top: 16px !important; }
.ds-hero-shot { max-width: 1040px; margin: 44px auto 0; }
.ds-hero-shot img { width: 100%; height: auto; border: 1px solid var(--border); border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: 0 -2px 30px rgba(0,0,0,.08); }

/* benefit strip */
.ds-usps { max-width: 1100px; margin: 0 auto; padding: 40px 60px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 28px; }
.ds-usp { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--dark); }
.ds-usp-dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--ds-accent); margin-top: 7px; }

/* demo sign-in card */
.ds-login { max-width: 1100px; margin: 0 auto; padding: 32px 60px 0; }
.ds-login-card { background: var(--ds-tint); border: 1px solid var(--ds-accent); border-radius: 14px; padding: 26px 30px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: center; }
.ds-login-card h2 { font-size: 24px; margin-bottom: 6px; }
.ds-login-card p { font-size: 14px; color: var(--mid); line-height: 1.55; }
.ds-cred { margin: 0; display: grid; gap: 8px; }
.ds-cred div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ds-cred dt { font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--mid); min-width: 74px; }
.ds-cred dd { margin: 0; }
.ds-cred code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px; color: var(--dark); word-break: break-all; }

/* feature rows */
.ds-feature { max-width: 1100px; margin: 0 auto; padding: 64px 60px 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.ds-feature-flip .ds-feature-copy { order: 2; }
.ds-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ds-accent-dark); margin-bottom: 10px; }
.ds-feature h2 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
.ds-feature-copy p { font-size: 16px; line-height: 1.7; color: var(--mid); margin-bottom: 14px; }
.ds-feature-copy ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ds-feature-copy li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--dark); }
.ds-feature-copy li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 2px; background: var(--ds-accent); transform: rotate(45deg); }
.ds-shot { margin: 0; position: relative; }
.ds-shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 34px rgba(0,0,0,.10); }
.ds-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 10px; background: #fff; }
.ds-toggle button { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 14px; border: 0; background: #fff; color: var(--mid); cursor: pointer; min-height: 36px; }
.ds-toggle button.is-on { background: var(--ds-accent-dark); color: #fff; }

/* numbered callout */
.ds-callout { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 72px; padding: 60px; }
.ds-callout-inner { max-width: 1100px; margin: 0 auto; }
.ds-callout h2 { font-size: 32px; margin-bottom: 26px; }
.ds-callout ol { list-style: none; counter-reset: ds; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ds-callout li { counter-increment: ds; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--ds-accent); border-radius: 12px; padding: 24px 22px 22px 70px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.ds-callout li::before { content: counter(ds); position: absolute; left: 20px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--ds-accent-dark); color: #fff; font-family: 'DM Serif Display', serif; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ds-callout li strong { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--dark); }
.ds-callout li span { font-size: 15px; line-height: 1.55; color: var(--mid); }

/* closing call to action */
.ds-final { max-width: 760px; margin: 0 auto; padding: 72px 60px 24px; text-align: center; }
.ds-final h2 { font-size: 34px; margin-bottom: 12px; }
.ds-final p { font-size: 16px; line-height: 1.65; color: var(--mid); margin-bottom: 24px; }

@media (max-width: 900px) {
  .ds-hero { padding: 44px 20px 0; }
  .ds-hero h1 { font-size: 32px; }
  .ds-intro { font-size: 16px; }
  .ds-usps, .ds-login { padding-left: 20px; padding-right: 20px; }
  .ds-usps { grid-template-columns: 1fr 1fr; }
  .ds-login-card { grid-template-columns: 1fr; padding: 22px 20px; }
  .ds-feature { grid-template-columns: 1fr; gap: 22px; padding: 48px 20px 0; }
  .ds-feature-flip .ds-feature-copy { order: 0; }
  .ds-feature h2 { font-size: 25px; }
  .ds-callout { padding: 44px 20px; margin-top: 52px; }
  .ds-callout h2 { font-size: 26px; }
  .ds-final { padding: 52px 20px 12px; }
  .ds-final h2 { font-size: 27px; }
  .ds-btn { width: 100%; text-align: center; }
}
@media (max-width: 520px) {
  .ds-usps { grid-template-columns: 1fr; }
}
