:root { color-scheme: light; --ink: #203d36; --muted: #63736d; --accent: #276955; --line: #dce5df; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; background: #f5f7f4; color: var(--ink); font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #548f77; outline-offset: 5px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1400px; margin: auto; padding: 24px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { text-decoration: none; font-size: 22px; font-weight: 750; letter-spacing: -.9px; }
.wordmark span { font-size: 12px; font-weight: 600; letter-spacing: .2px; margin-left: 6px; color: var(--accent); }
.header-label { font-size: 10px; font-weight: 650; letter-spacing: 2px; color: var(--muted); }
.page { max-width: 1400px; margin: auto; padding: 42px 36px 24px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: 1.6px; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -1.2px; font-weight: 650; line-height: 1.2; }
.description { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 65ch; }
.drive-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 20px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.drive-link:hover { background: #1e5745; }
.drive-link:active { transform: scale(.98); }
.library { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.library-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.library-title { font-size: 13px; font-weight: 650; }
.library-source { color: var(--muted); font-size: 11px; }
.frame-container { position: relative; }
iframe { display: block; width: 100%; height: max(500px, calc(100dvh - 335px)); border: 0; background: #fff; }
.loading-state { position: absolute; inset: 0; background: #fff; padding: 36px 28px; pointer-events: none; }
.loading-state[hidden] { display: none; }
.loading-line { display: block; width: min(360px, 70%); height: 16px; border-radius: 4px; background: #e9eeea; margin-bottom: 16px; animation: fade 1.4s ease-in-out infinite alternate; }
.loading-line.short { width: min(240px, 50%); }
.loading-state p { margin-top: 26px; color: var(--muted); font-size: 13px; }
.frame-help { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.page-footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.page-footer span:first-child { font-weight: 650; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 12px; transform: translateY(-160%); padding: 12px 16px; background: var(--accent); color: #fff; z-index: 2; }
.skip-link:focus { transform: translateY(0); }
@keyframes fade { from { opacity: 1; } to { opacity: .45; } }
@media (max-width: 640px) {
  .header-inner { padding: 20px; }
  .header-label { letter-spacing: 1px; font-size: 9px; }
  .page { padding: 28px 16px 22px; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 22px; }
  .drive-link { justify-self: start; }
  .library-bar { padding: 16px; }
  iframe { height: 65dvh; min-height: 460px; }
  .page-footer { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
