/* Stitch / Fluent Practical Precision. Local fonts, real application state. */
.stitch-site {
  --bg: #fff; --bg-mid: #f8fafc; --surface: #f8f9ff; --border: #e2e8f0;
  --text: #0f172a; --g80: #334155; --g60: #64748b; --g40: #64748b;
  --accent: #e11d48; --accent-d: #be123c; --accent-g: #fff1f2; --accent-s: #fff1f2;
  --border-a: #fecdd3; --font-display: 'Inter', system-ui, sans-serif;
}
.stitch-site .nav-wrap { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.stitch-site .btn-primary, .stitch-site .btn-secondary { border-radius: 8px; }
.stitch-site .wm-fluent { text-transform: none; letter-spacing: -.04em; font-size: 20px; }
.stitch-site .wm-ai { font-size: 20px; }
.stitch-site .mark-spin { animation: none; }
.stitch-site .mark-arc { stroke: var(--accent); }
.stitch-site .site-footer { background: #0f172a; color: #cbd5e1; padding-block: 48px; border: 0; }
.stitch-site .site-footer a, .stitch-site .site-footer .wm-fluent { color: #e2e8f0; }
.stitch-site .site-footer .footer-copy { color: #94a3b8; }
.stitch-site :is(input, select, textarea):focus-visible { outline: 2px solid #be123c; outline-offset: 3px; }
.stitch-site .hero h1 em { color: #e11d48; }
.stitch-site .hero { background: radial-gradient(ellipse at 95% 15%, #fff1f2, transparent 45%); }
.stitch-site .learning-spine { background: #f8f9ff; border-color: #e2e8f0; border-radius: 16px; }
.stitch-breadcrumb { padding: 90px max(24px, calc((100% - 1200px)/2)) 16px; background: #eff4ff; color: #64748b; font-size: 12px; }
.stitch-breadcrumb a { color: inherit; }
.stitch-workshop { max-width: 1280px; margin: auto; padding: 64px 40px 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: 56px; align-items: start; }
.stitch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.stitch-tag { display: inline-block; background: #fff1f2; color: #be123c; padding: 6px 10px; border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.stitch-tag--blue { color: #0369a1; background: #e0f2fe; }
.stitch-tag--green { color: #047857; background: #ecfdf5; }
.stitch-workshop h1 { font-size: clamp(34px, 4vw, 56px); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; margin: 0 0 22px; }
.stitch-workshop h1 span { display: block; color: #e11d48; }
.stitch-workshop__copy > p { color: #475569; font-size: 16px; line-height: 1.8; }
.stitch-workshop .hero-actions { margin-top: 28px; }
.stitch-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #f8fafc; padding: 20px; margin: 24px 0; border-radius: 12px; }
.stitch-facts strong { display: block; font-size: 30px; letter-spacing: -.04em; }
.stitch-facts div:nth-child(2) strong { color: #be123c; }
.stitch-facts span { display: block; color: #64748b; font-size: 11px; line-height: 1.6; margin-top: 5px; }
.stitch-booking { padding: 28px; border: 1px solid #e2e8f0; border-top: 4px solid #e11d48; border-radius: 12px; background: white; box-shadow: 0 12px 24px -14px #0f172a44; }
.stitch-booking h2 { font-size: 21px; line-height: 1.4; margin: 8px 0 20px; letter-spacing: -.025em; }
.stitch-booking dl { display: grid; gap: 15px; margin: 24px 0; font-size: 12px; }
.stitch-booking dl div { display: flex; justify-content: space-between; gap: 16px; }
.stitch-booking dt { color: #64748b; }
.stitch-booking dd { text-align: right; font-weight: 600; }
.stitch-booking .btn-primary { width: 100%; }
.stitch-booking__price { background: #eff4ff; border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.stitch-booking__price strong { display: block; font-size: 32px; letter-spacing: -.04em; }
.stitch-booking__price small, .stitch-booking > small { color: #64748b; font-size: 11px; line-height: 1.6; display: block; }
.stitch-booking > small { margin-top: 14px; }
.stitch-method { background: #0f172a; color: white; padding: 36px max(24px, calc((100% - 1200px)/2)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stitch-method article { border-left: 1px solid #334155; padding-left: 24px; }
.stitch-method article:first-child { border: 0; padding-left: 0; }
.stitch-method strong { font-size: 30px; color: #fb7185; display: block; margin-bottom: 6px; }
.stitch-method h2, .stitch-method h3 { font-size: 15px; margin-bottom: 10px; }
.stitch-method p { color: #cbd5e1; font-size: 12px; line-height: 1.7; }
.stitch-outcomes { background: #f8fafc; padding: 72px max(24px, calc((100% - 1200px)/2)); }
.stitch-outcomes h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; max-width: 760px; margin: 14px 0; }
.stitch-outcomes > p { color: #64748b; line-height: 1.7; max-width: 760px; }
.stitch-outcome-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.stitch-outcome-grid article { padding: 24px; background: white; border: 1px solid #e2e8f0; border-radius: 12px; }
.stitch-symbol { width: 40px; height: 40px; display: grid; place-items: center; background: #fff1f2; color: #be123c; border-radius: 9px; font-size: 21px; margin-bottom: 20px; }
.stitch-outcome-grid article:nth-child(2) .stitch-symbol { background: #e0f2fe; color: #0369a1; }
.stitch-outcome-grid article:nth-child(3) .stitch-symbol { background: #e0e7ff; color: #4338ca; }
.stitch-outcome-grid article:nth-child(4) .stitch-symbol { background: #ecfdf5; color: #047857; }
.stitch-outcome-grid h3 { font-size: 16px; line-height: 1.5; margin: 10px 0; }
.stitch-outcome-grid p { color: #64748b; font-size: 13px; line-height: 1.7; }
.stitch-outcome-grid small { display: block; margin-top: 18px; background: #f8fafc; padding: 10px; font-size: 11px; line-height: 1.6; color: #475569; }
.stitch-site:has(.stitch-auth) #app { background: radial-gradient(ellipse at 5% 10%, #fff1f2, transparent 35%), #f8f9ff; }
.stitch-auth.section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; max-width: 1280px; padding: 140px 40px 88px; min-height: calc(100vh - 140px); }
.stitch-auth__intro h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; margin: 22px 0 16px; }
.stitch-auth__intro > p { color: #64748b; font-size: 16px; line-height: 1.8; }
.stitch-benefits { display: grid; gap: 12px; margin: 28px 0; }
.stitch-benefits article { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid #edf0f6; border-radius: 12px; }
.stitch-benefits .stitch-symbol { flex-shrink: 0; margin: 0; }
.stitch-benefits h3 { font-size: 15px; margin: 0 0 6px; }
.stitch-benefits p { color: #64748b; font-size: 12px; line-height: 1.7; margin: 0; }
.stitch-auth .auth-card { width: 100%; padding: 32px; border: 1px solid #edf0f6; border-radius: 16px; background: white; box-shadow: 0 12px 24px -16px #0f172a66; }
.stitch-auth .auth-card h1 { font-size: 25px; margin: 20px 0 10px; }
.stitch-auth .auth-card > p { font-size: 13px; line-height: 1.7; }
.stitch-auth .auth-google { margin-block: 24px 12px; min-height: 0; }
.stitch-auth .workspace-form label { font-size: 12px; font-weight: 500; color: #0f172a; }
.stitch-auth .workspace-form input { min-height: 46px; border: 1px solid #cbd5e1; background: white; border-radius: 8px; }
.stitch-auth-tabs { display: flex; background: #eff4ff; padding: 4px; border-radius: 10px; gap: 4px; }
.stitch-auth-tabs a { flex: 1; text-align: center; padding: 11px 8px; color: #475569; font-size: 13px; font-weight: 600; text-decoration: none; border-radius: 7px; }
.stitch-auth-tabs a[aria-current] { background: white; color: #0f172a; box-shadow: 0 1px 3px #0f172a0d; }
.stitch-auth .auth-links { gap: 12px; flex-wrap: wrap; font-size: 12px; }
.stitch-auth-notice { padding: 16px; background: #eff4ff; border-radius: 10px; margin-top: 22px; font-size: 12px; line-height: 1.7; color: #475569; }
.stitch-auth-notice strong { display: block; color: #0f172a; }
.stitch-site:has(.account-overview) #app { background: #f8f9ff; }
.stitch-site .account-overview { max-width: 1320px; padding-top: 104px; }
.stitch-site .account-overview__hero { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; }
.stitch-site .account-overview__hero h1 { font-size: clamp(23px, 2.5vw, 32px); }
.stitch-portal-label { color: #be123c; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.stitch-portal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.stitch-portal-nav a { padding: 10px 14px; background: white; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 600; color: #475569; }
.stitch-site .account-overview__layout { border: 0; gap: 24px; }
.stitch-site .account-overview__layout > :is(.account-agenda, .account-learning, .account-resources, .account-diagnostics) { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px; }
.stitch-site .account-learning__head h2 { font-size: 20px; }
.stitch-site .enrollment-card { border-radius: 10px; box-shadow: none; }
.stitch-site .account-diagnostic-card { border-radius: 10px; background: #f8fafc; }
.stitch-site .account-overview__actions { border-radius: 12px; background: #0f172a; padding: 24px; }
.stitch-site .account-overview__actions .btn-secondary { color: #fff; background: #1e293b; border-color: #334155; }
.certificate-gallery { max-width: 1240px; margin: auto; padding: 110px 32px 72px; min-height: 70vh; }
.certificate-gallery > h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; margin: 18px 0; }
.certificate-gallery > p { line-height: 1.7; color: #64748b; max-width: 760px; margin-bottom: 24px; }
.certificate-showcase { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; margin: 28px 0; }
.certificate-paper { background: white; padding: 36px; border: 1px solid #cbd5e1; outline: 4px solid #f1f5f9; outline-offset: -10px; border-radius: 6px; min-width: 0; box-shadow: 0 8px 24px #0f172a08; }
.certificate-paper__brand { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid #e11d48; padding-bottom: 20px; font-size: 20px; font-weight: 700; }
.certificate-paper__brand small { font-size: 10px; color: #64748b; font-weight: 500; }
.certificate-paper__body { text-align: center; padding: 32px 0; }
.certificate-paper__body > p { color: #64748b; font-size: 12px; line-height: 1.8; }
.certificate-paper h3 { text-transform: uppercase; font-size: 13px; letter-spacing: .15em; margin: 10px 0 25px; }
.certificate-paper__name { display: block; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; margin: 12px 0; overflow-wrap: anywhere; }
.certificate-paper h4 { font-size: 18px; line-height: 1.5; margin: 15px 0; }
.certificate-paper__meta { display: flex; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid #e2e8f0; padding-top: 18px; gap: 16px; font-size: 11px; line-height: 1.7; }
.certificate-paper__meta strong { display: block; }
.certificate-sidebar { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; min-width: 0; }
.certificate-sidebar h4 { font-size: 20px; margin: 14px 0; }
.certificate-sidebar p { font-size: 13px; line-height: 1.7; color: #475569; margin: 12px 0; }
.certificate-sidebar .certificate-actions { display: grid; gap: 10px; }
.certificate-sidebar .certificate-actions > * { text-align: center; justify-content: center; overflow-wrap: anywhere; }
.certificate-competencies { white-space: pre-wrap; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.certificate-verification-form { max-width: 700px; padding: 28px; background: #f8f9ff; border: 1px solid #e2e8f0; border-radius: 12px; }
.certificate-verification-form input { width: 100%; }
@media (max-width: 1000px) {
  .stitch-workshop { gap: 28px; padding-inline: 24px; }
  .stitch-outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stitch-auth.section { gap: 28px; padding-inline: 24px; }
  .certificate-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .stitch-breadcrumb { padding-inline: 16px; }
  .stitch-workshop { grid-template-columns: minmax(0, 1fr); padding: 36px 16px; }
  .stitch-booking { padding: 22px; }
  .stitch-method { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 30px 16px; gap: 24px 16px; }
  .stitch-method article { padding-left: 12px; }
  .stitch-method article:nth-child(3) { border: 0; padding-left: 0; }
  .stitch-outcomes { padding: 44px 16px; }
  .stitch-outcome-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stitch-auth.section { grid-template-columns: minmax(0, 1fr); padding: 96px 16px 44px; gap: 24px; }
  .stitch-auth__intro h2 { font-size: 28px; }
  .stitch-benefits { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stitch-benefits article { padding: 12px; display: block; }
  .stitch-benefits .stitch-symbol { margin-bottom: 10px; }
  .stitch-benefits h3 { font-size: 12px; }
  .stitch-benefits p { font-size: 11px; }
  .stitch-auth .auth-card { padding: 22px; }
  .stitch-site .account-overview { padding: 88px 16px 40px; }
  .stitch-site .account-overview__hero { padding: 20px; }
  .stitch-site .account-overview__layout > :is(.account-agenda, .account-learning, .account-resources, .account-diagnostics) { padding: 16px; }
  .certificate-gallery { padding: 96px 16px 44px; }
  .certificate-paper { padding: 26px 22px; }
  .certificate-paper__brand { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .stitch-site *, .stitch-site *::before, .stitch-site *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
