:root {
  color-scheme: light dark;
  --background: #f6f7f9;
  --surface: #fff;
  --text: #172131;
  --muted: #5b6473;
  --border: #d9dfe7;
  --accent: #3155d9;
  --accent-soft: #edf1ff;
  --focus: #3155d9;
  --workflow-background: #152131;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 3px; }
svg, img { display: block; flex-shrink: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #c5d3ff; color: #172131; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 12px 18px; background: var(--surface); border: 1px solid var(--border); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span { display: flex; align-items: center; gap: 22px; font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.brand-description { padding-left: 22px; border-left: 1px solid var(--border); font-size: 13px; font-weight: 450; letter-spacing: -.01em; color: var(--muted); }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 550; }
nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; }
nav a:hover, .site-footer > a:last-child:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.26fr 1fr; align-items: center; gap: 66px; padding-block: 94px 100px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-rule { width: 23px; height: 2px; background: var(--accent); }
h1 { margin: 0 0 26px; font-size: clamp(40px, 4.7vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -.064em; }
h1 span { color: var(--accent); }
.hero-description { max-width: 490px; margin: 0; font-size: 17px; line-height: 1.75; color: var(--muted); letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 13px 19px; font-size: 13px; font-weight: 600; border-radius: 5px; }
.button-primary { background: var(--accent); color: #fff; border: 1px solid transparent; }
.button-primary:hover { background: #2443b8; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 600; }
.text-link:hover { color: var(--accent); }
.hero-footnote { margin: 27px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }

.workflow { position: relative; overflow: hidden; padding: 26px 28px 20px; border: 1px solid #334256; border-radius: 12px; background: var(--workflow-background); color: #f2f5fb; box-shadow: 0 16px 40px -28px #132d4c80; }
.workflow::before { position: absolute; inset: 0; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px); background-size: 24px 24px; content: ""; pointer-events: none; }
.workflow > * { position: relative; }
.workflow-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid #ffffff1a; color: #b2bed0; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.workflow-symbol { font-size: 20px; line-height: 1; font-weight: 550; letter-spacing: -.08em; color: #91b7ff; }
.workflow-steps { margin: 26px 0 23px; padding: 0; list-style: none; }
.workflow-steps li { position: relative; display: flex; align-items: flex-start; gap: 18px; padding-bottom: 24px; }
.workflow-steps li:last-child { padding-bottom: 0; }
.workflow-steps li:not(:last-child)::before { position: absolute; top: 31px; bottom: 0; left: 15px; border-left: 1px solid #ffffff26; content: ""; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid #ffffff29; border-radius: 9px; background: #1b2a3f; color: #b4c7e5; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.step-number-final { background: #a8c6ff; color: #122745; border-color: #a8c6ff; }
.step-content { padding-top: 2px; }
.step-content h2 { margin: 0 0 6px; font-size: 14px; font-weight: 550; letter-spacing: -.02em; line-height: 1.4; }
.step-content p { margin: 0; color: #aebdd0; font-size: 11px; line-height: 1.7; }
.repo-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.repo-labels span { padding: 4px 8px; border: 1px solid #ffffff1f; border-radius: 3px; background: #ffffff06; color: #b8c9e1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.4; }
.workflow-footer { display: flex; align-items: center; gap: 13px; padding-top: 17px; border-top: 1px solid #ffffff1a; color: #b2bed0; font-size: 10px; line-height: 1.7; }
.workflow-footer > span { color: #91b7ff; font-size: 19px; }

.workspace-section { padding-block: 46px 64px; border-top: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 30px; }
.section-heading .eyebrow, .principles .eyebrow { margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 29px; font-weight: 550; line-height: 1.25; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 1px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.destination-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.destination-card:hover { border-color: var(--accent); box-shadow: 0 4px 14px -10px #17213160; }
.card-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.card-icon { color: var(--accent); }
.access-label { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 4px; font-size: 9px; line-height: 1.2; font-weight: 550; color: var(--muted); }
.access-private { background: var(--background); }
.destination-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 550; letter-spacing: -.04em; }
.destination-card p { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.card-link > span { color: var(--accent); font-size: 16px; }
.private-note { max-width: 760px; margin: 19px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.principles { display: grid; grid-template-columns: 1fr 1.2fr; gap: 76px; padding-block: 56px 78px; border-top: 1px solid var(--border); }
.principles-intro h2 { margin: 0 0 20px; font-size: 35px; font-weight: 550; line-height: 1.2; letter-spacing: -.05em; }
.principle-list article { display: flex; align-items: flex-start; gap: 22px; padding-block: 21px; border-bottom: 1px solid var(--border); }
.principle-list article:first-child { padding-top: 0; }
.principle-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.principle-index { min-width: 30px; padding-top: 3px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.5; }
.principle-list h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.principle-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 100px; padding-block: 24px; border-top: 1px solid var(--border); }
.footer-brand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 17px; font-size: 20px; font-weight: 700; letter-spacing: -.06em; }
.footer-brand span { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.site-footer > a:last-child { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 11px; }

@media (prefers-color-scheme: dark) {
  :root {
    --background: #10151d;
    --surface: #161e29;
    --text: #e9eef6;
    --muted: #a4b0c2;
    --border: #303b4b;
    --accent: #98b7ff;
    --accent-soft: #1c2a45;
    --focus: #a8c6ff;
    --workflow-background: #141f30;
  }
  .button-primary { background: #a8c6ff; color: #13213b; }
  .button-primary:hover { background: #c0d5ff; }
  .workflow { box-shadow: none; }
}

@media (min-width: 1440px) {
  .hero { gap: 82px; }
}

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 34px; padding-block: 74px; }
  h1 { font-size: clamp(36px, 4.7vw, 52px); }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 12px 20px; }
  .workflow { padding-inline: 22px; }
  .step-content p { font-size: 10px; }
  .destination-card { padding-inline: 20px; }
  .principles { gap: 50px; }
}

@media (max-width: 800px) {
  .brand-description { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 56px; }
  h1 { font-size: clamp(42px, 8vw, 62px); }
  .hero-description { max-width: 540px; font-size: 16px; }
  .hero-footnote { margin-top: 18px; }
  .workflow { max-width: 540px; width: 100%; padding: 24px 26px 19px; }
  .step-content p { font-size: 12px; }
  .section-heading { align-items: flex-start; }
  .section-heading > p { display: none; }
  .destination-grid { grid-template-columns: 1fr; gap: 14px; }
  .destination-card { padding: 24px; }
  .card-topline { margin-bottom: 22px; }
  .destination-card p { max-width: 560px; margin-bottom: 23px; }
  .principles { grid-template-columns: 1fr; gap: 32px; padding-block: 42px 54px; }
  .principles-intro h2 br { display: none; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 18px; }
  .brand { gap: 9px; }
  .brand img { width: 31px; height: 31px; }
  .brand > span { font-size: 21px; }
  nav { gap: 17px; font-size: 11px; }
  nav a { gap: 5px; }
  .hero { padding-block: 40px 46px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; letter-spacing: .12em; }
  h1 { font-size: clamp(34px, 9.1vw, 43px); margin-bottom: 21px; }
  .hero-description { font-size: 15px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 25px; }
  .hero-footnote { font-size: 10px; }
  .workflow { padding: 22px 19px 17px; }
  .workflow-steps li { gap: 13px; padding-bottom: 22px; }
  .step-content h2 { font-size: 13px; }
  .step-content p { font-size: 11px; }
  .workflow-footer { font-size: 9px; gap: 9px; }
  .workspace-section { padding-block: 34px 38px; }
  .section-heading { margin-bottom: 23px; }
  .section-heading h2 { font-size: 26px; }
  .destination-card { padding: 22px 20px 19px; }
  .principles-intro h2 { font-size: 29px; }
  .principle-list article { gap: 14px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
