/* Shared layout, spacing and presentation for every ATOM page. */
:root {
  --atom-ink: #22243b; --atom-muted: #53566b; --atom-bg: #fff; --atom-soft: #f5f3fb;
  --atom-line: #dfdce9; --atom-accent: #4a00d4; --atom-on-accent: #fff;
  --site-width: 1180px; --site-gutter: 24px; --section-space: 64px;
  --grid-gap: 24px; --card-space: 32px; --text-width: 65ch;
}
html[data-theme='dark'] { --atom-ink: #eeedf7; --atom-muted: #c0bed2; --atom-bg: #191824; --atom-soft: #242133; --atom-line: #454056; --atom-accent: #bca2ff; --atom-on-accent: #21103f; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--atom-bg); color: var(--atom-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.65; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
a { color: var(--atom-accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--atom-accent); outline-offset: 4px; }
main:focus { outline: none; }
.site-frame { min-height: 100vh; display: flex; flex-direction: column; }
.site-frame > main { flex: 1; min-width: 0; }
.site-container, .section-shell { width: min(calc(100% - var(--site-gutter) * 2), var(--site-width)); margin-inline: auto; }
.section-shell { padding-block: var(--section-space); }
.text-measure { max-width: var(--text-width); }
.site-section, .pathways-section, .platform-section, .content-section, .faq-section, .discovery-section { padding-block: var(--section-space); }
.section-soft, .platform-section, .faq-section { background: var(--atom-soft); border-block: 1px solid var(--atom-line); }
.skip-link { position: fixed; top: .5rem; left: 1rem; padding: .7rem 1rem; background: var(--atom-bg); border: 2px solid var(--atom-accent); z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--atom-line); background: var(--atom-bg); position: relative; z-index: 20; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--grid-gap); padding-block: 1.1rem; }
.site-brand { display: block; width: 300px; flex: 0 1 300px; line-height: 0; }
.site-brand svg { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--grid-gap); font-size: .95rem; font-weight: 600; }
.site-nav > a:not(.site-button), .nav-more summary { color: var(--atom-ink); text-decoration: none; }
.site-nav a[aria-current='page'] { color: var(--atom-accent); text-decoration: underline; }
.nav-more { position: relative; }
.nav-more summary, .mobile-nav summary { cursor: pointer; padding: .6rem .2rem; min-height: 44px; }
.nav-more ul { position: absolute; top: 100%; right: 0; width: 280px; margin: .4rem 0 0; padding: .65rem; list-style: none; border: 1px solid var(--atom-line); border-radius: 12px; background: var(--atom-bg); box-shadow: 0 15px 35px #15102620; }
.nav-more li a { display: block; padding: .6rem .7rem; color: var(--atom-ink); text-decoration: none; border-radius: 5px; }
.nav-more li a:hover { background: var(--atom-soft); }
.mobile-nav { display: none; }
.site-button, a.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; height: auto; border: 2px solid transparent; border-radius: 8px; padding: .7rem 1.15rem; background: var(--atom-accent); color: var(--atom-on-accent); font-size: 1rem; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; text-transform: none; }
.site-button:hover, a.btn:hover { text-decoration: underline; box-shadow: 0 4px 16px #4a00d426; }
a.btn-outline, a.btn-ghost { color: var(--atom-accent); background: transparent; border-color: var(--atom-line); }
.eyebrow { margin: 0 0 16px; font-size: .78rem; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; font-weight: 750; color: var(--atom-accent); }
.site-hero { padding-block: var(--section-space); background: linear-gradient(120deg, var(--atom-soft), var(--atom-bg) 75%); border-bottom: 1px solid var(--atom-line); }
.site-hero h1 { margin: 0; max-width: 900px; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 750; color: var(--atom-ink); text-wrap: balance; }
.hero-intro { max-width: var(--text-width); margin: 24px 0 0; font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--atom-muted); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--grid-gap); margin-top: 32px; }
.text-link { font-weight: 650; }
.hero-actions .text-link { padding-block: .6rem; }
.hero-note { max-width: var(--text-width); font-size: 1rem; color: var(--atom-muted); margin: 24px 0 0; }
.hero-grid, .home-hero-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--grid-gap); align-items: start; }
.home-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero-grid > *, .home-hero-grid > *, .detail-grid > *, .card-grid > *, .pathway-grid > *, .platform-grid > *, .footer-grid > *, .contact-grid > * { min-width: 0; }
.site-hero h1, h2, h3, .footer-heading { overflow-wrap: anywhere; hyphens: auto; }
.shared-gap { gap: var(--grid-gap); }
.profile-card-content { padding: var(--card-space); }
.site-grid, .card-grid, .pathway-grid, .two-column-grid { display: grid; gap: var(--grid-gap); }
.card-grid, .pathway-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid, .pathway-grid { margin-block: 24px 32px; }
.site-card, .pathway-card, .workday-panel, .booking-panel, .discovery-panel { padding: var(--card-space); background: var(--atom-bg); border: 1px solid var(--atom-line); border-radius: 16px; }
.site-card, .pathway-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
a.site-card { color: var(--atom-ink); text-decoration: none; transition: border-color .15s; }
a.site-card:hover { border-color: var(--atom-accent); }
a.site-card .text-link { color: var(--atom-accent); }
a.site-card:hover .text-link { text-decoration: underline; }
.site-card > :last-child, .pathway-card > :last-child { margin-bottom: 0; }
.site-card h2, .site-card h3, .pathway-card h3, .workday-panel h2, .booking-panel h2 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.site-card p, .site-card ul, .pathway-card p { margin: 0 0 24px; }
.site-card ul, .detail-aside ul { padding-left: 1.25rem; list-style: disc; }
.site-card li + li { margin-top: 8px; }
.site-card > .text-link:last-child, a.site-card > .text-link:last-child, .pathway-card > a:last-child { margin-top: auto; padding-top: 8px; }
.section-shell .site-card h2, .section-shell .site-card h3 { font-size: 1.35rem; margin: 0 0 16px; }
.site-card .eyebrow { margin-bottom: 16px; font-size: .78rem; }
.site-card .small-copy { font-size: .88rem; }
.site-card p, .pathway-card p { color: var(--atom-muted); }
.workday-panel { box-shadow: 0 15px 50px #2f16520c; }
.workday-panel ul { list-style: none; margin: 0; padding: 0; }
.workday-panel li { border-top: 1px solid var(--atom-line); padding: 12px 0; }
.small-copy { font-size: .88rem; line-height: 1.65; color: var(--atom-muted); }
.section-heading, .section-shell h2, .platform-section h2, .faq-section h2, .discovery-panel h2 { margin: 0 0 24px; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.pathways-section h2 { margin: 0 0 24px; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.25; font-weight: 700; }
.step-number { color: var(--atom-accent); font-size: .9rem; font-weight: 700; }
.platform-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--grid-gap); align-items: start; }
.platform-grid > div > p:not(.eyebrow) { color: var(--atom-muted); }
.platform-links > a { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--atom-line); text-decoration: none; }
.platform-links > a:first-child { padding-top: 0; }
.platform-links strong { font-size: 1.25rem; }
.platform-links > a > span { color: var(--atom-muted); font-size: .95rem; }
.platform-links a:hover strong { text-decoration: underline; }
.article-copy { font-size: 1.075rem; overflow-wrap: anywhere; min-width: 0; }
.article-copy > :first-child { margin-top: 0; }
.article-copy h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.025em; margin: 48px 0 24px; font-weight: 700; }
.article-copy h3 { font-size: 1.35rem; line-height: 1.3; margin: 32px 0 16px; font-weight: 700; }
.article-copy p, .article-copy ul, .article-copy ol { margin: 0 0 24px; }
.article-copy > p, .article-copy > ul, .article-copy > ol, .article-copy > blockquote { max-width: var(--text-width); }
.article-copy ul, .article-copy ol { padding-left: 1.4rem; list-style: disc; }
.article-copy ol { list-style: decimal; }
.article-copy li { margin-bottom: 8px; padding-left: .2rem; }
.article-copy li::marker { color: var(--atom-accent); }
.article-copy strong { font-weight: 700; }
.article-copy .site-card { font-size: 1rem; }
.article-copy .site-card h2, .article-copy .site-card h3 { margin: 0 0 16px; font-size: 1.35rem; }
.article-copy .site-card p { margin-bottom: 24px; }
.article-copy .site-card p:last-child { margin-bottom: 0; }
.article-copy table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; }
.article-copy th, .article-copy td { border: 1px solid var(--atom-line); padding: .6rem; text-align: left; }
.article-copy hr { margin-block: 32px; border-color: var(--atom-line); }
.detail-aside { display: grid; gap: var(--grid-gap); align-content: start; }
.detail-aside.site-card { display: block; }
.plain-list { list-style: none !important; padding-left: 0 !important; }
.library-filter { margin-bottom: 32px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq-list details { border-top: 1px solid var(--atom-line); padding-block: .3rem; }
.faq-list details:last-child { border-bottom: 1px solid var(--atom-line); }
.faq-list summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; padding: 16px .2rem; min-height: 48px; }
.faq-list details p { padding: 0 .2rem 16px; margin: 0; color: var(--atom-muted); }
.discovery-panel { background: var(--atom-soft); }
.discovery-panel > p:not(.eyebrow) { max-width: var(--text-width); }
.discovery-panel .site-button { margin-top: 8px; }
.discovery-panel .small-copy { margin-bottom: 0; }
.booking-panel { min-width: 0; background: var(--atom-soft); }
.booking-panel p { margin: 0 0 24px; }
.booking-panel .site-button { margin-bottom: 24px; }
.booking-panel a { overflow-wrap: anywhere; }
.booking-panel iframe { display: block; width: 100%; min-height: 950px; border: 1px solid var(--atom-line); background: #fff; border-radius: 8px; }
.booking-status:empty { display: none; }
.pricing-card .price { color: var(--atom-ink); font-size: 1.6rem; font-weight: 700; margin-bottom: 0; }
.price-renewal { border-top: 1px solid var(--atom-line); padding-top: 24px; width: 100%; }
.partner-logo { margin-bottom: 24px; }
.partner-logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.site-footer { background: var(--atom-soft); border-top: 1px solid var(--atom-line); padding-top: var(--section-space); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: var(--grid-gap); padding-bottom: var(--section-space); }
.footer-heading { font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin: 0 0 16px; }
.footer-intro > p:not(.eyebrow):not(.footer-heading) { color: var(--atom-muted); font-size: .95rem; margin-bottom: 24px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding-block: .35rem; color: var(--atom-ink); font-size: .95rem; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; border-top: 1px solid var(--atom-line); padding-block: 24px; font-size: .85rem; }
.footer-base p { margin: 0; }
.theme-controls { display: flex; gap: .4rem; margin-left: auto; }
.theme-controls button { min-height: 44px; padding: .45rem .7rem; background: var(--atom-bg); color: var(--atom-ink); border: 1px solid var(--atom-line); border-radius: 6px; cursor: pointer; }
.theme-controls button[aria-pressed='true'] { border-color: var(--atom-accent); color: var(--atom-accent); }
@media screen { .printable-page .print-document > h1:first-child { display: none; } }
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-width: 64px; font-weight: 650; }
  .mobile-nav nav { position: absolute; top: calc(100% - .3rem); left: var(--site-gutter); right: var(--site-gutter); max-height: 75vh; overflow-y: auto; display: flex; flex-direction: column; padding: .9rem; gap: .2rem; background: var(--atom-bg); border: 1px solid var(--atom-line); border-radius: 12px; box-shadow: 0 15px 35px #15102620; }
  .mobile-nav nav > a { padding: .7rem; min-height: 44px; }
  .mobile-nav nav > .site-button { margin-top: .5rem; }
  .card-grid, .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --site-gutter: 16px; --section-space: 40px; --grid-gap: 16px; --card-space: 24px; }
  .site-brand { width: min(65vw, 280px); flex-basis: min(65vw, 280px); }
  .header-inner { gap: .7rem; }
  .hero-grid, .home-hero-grid, .detail-grid, .card-grid, .pathway-grid, .platform-grid, .contact-grid, .footer-grid, .two-column-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; }
  .footer-base { align-items: flex-start; flex-direction: column; gap: 16px; }
  .theme-controls { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .discovery-section, .hero-actions, .skip-link, .print-hide { display: none; }
  .site-hero, .site-section, .content-section, .section-shell { padding-block: 1rem; background: white; color: black; }
  .site-container, .section-shell { width: 100%; }
  .text-measure, .article-copy > p, .article-copy > ul, .article-copy > ol { max-width: none; }
}
