/* schedule6.in landing page. Brand: navy #101C35, royal #2F4BE0 (#4A68F5 on navy), IBM Plex. Desktop: a navy panel pinned
   on the left, the page scrolling on the right. Below 980px the panel becomes a sticky top bar and a navy intro. */
:root {
  --navy: #101C35; --royal: #2F4BE0; --royal-hover: #2440C9; --royal-on-dark: #4A68F5; --body: #1F2A40; --muted: #475266;
  --tint: #F3F5FB; --line: #DDE1EA; --slate: #78869B; --on-dark: #B4BED2;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--body); font: 500 17px/26px var(--sans); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--royal-on-dark); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------------------------------------- layout */
.layout { display: grid; grid-template-columns: 440px minmax(0, 1fr); min-height: 100vh; }

/* ---------------------------------------------------------------------------------------------- the navy panel */
.panel { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; background: var(--navy); color: #fff;
  padding: 40px 44px 32px; display: flex; flex-direction: column; }
.logo { display: inline-block; line-height: 0; }
.logo svg { width: 220px; height: auto; }
.bar-actions, .m-menu { display: none; }
.intro { padding-top: 44px; }
.intro h1 { font: 700 44px/50px var(--sans); letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.intro-text { margin-top: 16px; color: var(--on-dark); }
.intro-note { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 6px;
  font: 600 16px/20px var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-hover); }
.btn-ghost-dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--tint); }

.index { margin-top: 36px; }
.index-label { font: 500 13px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.index ol { list-style: none; padding: 12px 0 0; }
.index a, .m-menu a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; color: var(--on-dark); text-decoration: none;
  font: 600 17px/26px var(--sans); }
.index a span, .m-menu a span { font: 500 13px/16px var(--mono); letter-spacing: .06em; }
.index a:hover { color: #fff; }
.index a[aria-current="true"] { color: #fff; }
.index a[aria-current="true"] span { color: var(--royal-on-dark); }
.panel-foot { margin-top: auto; padding-top: 24px; font-size: 15px; line-height: 22px; color: var(--on-dark); }

/* shorter laptop screens: keep the whole panel visible without its own scrolling */
@media (min-width: 981px) and (max-height: 860px) {
  .panel { padding-top: 32px; padding-bottom: 24px; }
  .intro { padding-top: 32px; }
  .intro h1 { font-size: 38px; line-height: 44px; }
  .actions { margin-top: 22px; }
  .index { margin-top: 26px; }
  .index a { padding: 3px 0; }
}
@media (min-width: 981px) and (max-height: 740px) {
  .intro-note, .index-label, .panel-foot { display: none; }
  .index ol { padding-top: 0; }
}

/* ---------------------------------------------------------------------------------------------- the page */
main { padding: 56px 64px 0; max-width: 1008px; min-width: 0; }
.eyebrow { font: 500 13px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--royal); margin-bottom: 28px; }
.top-line { margin-top: 28px; max-width: 760px; font: 600 24px/32px var(--sans); letter-spacing: -0.005em; color: var(--navy); }

/* the illustrations (drawn in landing/src/illustrations.py, inline SVG): a wide drawing, and a narrow one for phones */
.illus { margin: 48px 0 0; border-radius: 14px; overflow: hidden; background: var(--tint); line-height: 0; }
.illus-hero { margin-top: 0; }
.illus svg { display: block; width: 100%; height: auto; }
.illus .narrow { display: none; }

section { padding-top: 136px; scroll-margin-top: 8px; }
.head { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
h2 { font: 700 52px/58px var(--sans); letter-spacing: -0.02em; color: var(--navy); }
h2 .n { color: var(--royal); margin-right: .32em; }
.text > p { font-size: 19px; line-height: 30px; color: var(--body); }
.text > p.purpose { font: 600 24px/32px var(--sans); letter-spacing: -0.005em; color: var(--navy); margin-bottom: 16px; }

.steps { list-style: none; padding: 28px 0 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; counter-increment: step; }
.steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--royal); color: #fff;
  font: 600 16px/30px var(--sans); text-align: center; }
.steps b { display: block; font-weight: 600; color: var(--navy); }
.steps span { display: block; color: var(--muted); }

.views { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 28px; }
.view { background: var(--tint); border-radius: 12px; padding: 22px; }
.view-label { font: 500 13px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }
.view h3 { margin-top: 8px; font: 700 21px/28px var(--sans); letter-spacing: -0.005em; color: var(--navy); }
.view p { margin-top: 8px; color: var(--body); }

.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.report { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none;
  transition: border-color .15s; }
.report:hover { border-color: var(--royal); }
.report-num { font: 500 13px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }
.report h3 { font: 700 21px/28px var(--sans); letter-spacing: -0.005em; color: var(--navy); }
.report p { color: var(--body); }
.report .more { margin-top: auto; font-weight: 600; color: var(--royal); }
.all-reports { margin-top: 32px; }
.all-reports a { font-weight: 600; color: var(--royal); text-decoration: none; }
.all-reports a:hover, .foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

#how-to-start .actions { margin-top: 32px; }

.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 136px 0 48px; }
.foot-name { font-weight: 600; color: var(--navy); }
.foot-note, .foot-links { font-size: 15px; line-height: 22px; color: var(--muted); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }

/* ---------------------------------------------------------------------------------------------- tablets and phones */
@media (max-width: 1180px) and (min-width: 981px) {
  main { padding: 48px 48px 0; }
  .head { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 980px) {
  .layout { display: block; }
  .panel { display: contents; }
  .bar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; padding: 12px 20px; padding-top: max(12px, env(safe-area-inset-top)); }
  .logo svg { width: 156px; }
  .bar-actions { display: flex; align-items: center; gap: 8px; }
  .bar-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #fff; font-weight: 600; text-decoration: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0;
    background: transparent; color: #fff; cursor: pointer; border-radius: 6px; }
  .menu-btn svg { width: 24px; height: 24px; }
  .m-menu:not([hidden]) { display: grid; flex-basis: 100%; padding: 8px 0 12px; }
  .m-menu a { padding: 9px 0; color: #fff; }
  .m-menu a span { color: var(--royal-on-dark); }
  .m-menu a.m-cta { margin-top: 8px; justify-content: center; min-height: 50px; border-radius: 6px; background: var(--royal); }
  .intro { background: var(--navy); color: #fff; padding: 28px 20px 36px; }
  .intro h1 { font-size: 34px; line-height: 40px; }
  .intro .actions .btn-primary { flex: 1 1 auto; }
  .index, .panel-foot { display: none; }
  main { padding: 32px 20px 0; max-width: none; }
  .top-line { font-size: 20px; line-height: 27px; margin-top: 20px; }
  .illus { margin-top: 32px; }
  .illus-hero { margin-top: 0; }
  section { padding-top: 72px; scroll-margin-top: 72px; }
  .head { grid-template-columns: 1fr; gap: 16px; }
  h2 { font-size: 34px; line-height: 40px; letter-spacing: -0.015em; }
  .text > p { font-size: 17px; line-height: 26px; }
  .text > p.purpose { font-size: 20px; line-height: 27px; margin-bottom: 12px; }
  .steps { padding-top: 20px; gap: 16px; }
  .views, .reports { grid-template-columns: 1fr; gap: 16px; }
  .views { padding-top: 20px; }
  .reports { margin-top: 28px; }
  .report { padding: 22px; }
  .foot { flex-direction: column; align-items: flex-start; padding: 72px 0 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}
@media (max-width: 639px) {
  .illus .wide { display: none; }
  .illus .narrow { display: block; }
}
@media (min-width: 640px) and (max-width: 980px) {
  main { padding: 40px 40px 0; }
  .intro { padding: 36px 40px 44px; }
  .bar { padding-left: 40px; padding-right: 40px; }
  .reports { grid-template-columns: 1fr 1fr; }
}
