:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0a0a0a;
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text: #f5f5f5;
  --muted: #a7a7a7;
  --dim: #727272;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--bg); }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #f5f5f5; outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  min-height: 78px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
  background: #050505;
}
.brand { display: inline-flex; align-items: center; justify-content: center; }
.brand img { display: block; width: 154px; height: auto; max-height: 44px; object-fit: contain; object-position: center; }

.page-main { width: min(760px, calc(100% - 32px)); margin: clamp(42px, 8vh, 76px) auto 58px; flex: 1; }
.status-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  text-align: center;
}
.status-label, .tiny-label { margin: 0; color: #929292; font: 9px/1.5 var(--mono); letter-spacing: .07em; }
.status-title-line { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 16px; }
.status-title-line h1 { margin: 0; font-size: clamp(19px, 3.2vw, 25px); font-weight: 570; line-height: 1.3; letter-spacing: -.035em; }
.status-dot { flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d94b4b; }
.status-panel.is-online .status-dot { background: #bdbdbd; }
.status-message { max-width: 500px; margin: 12px 0 0; color: #a0a0a0; font-size: 13px; line-height: 1.7; }
.status-duration { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--line-soft); color: #d0d0d0; font: 10px/1.6 var(--mono); letter-spacing: .025em; }
.status-footnote { margin: 19px 0 0; color: #777; font: 8px/1.5 var(--mono); letter-spacing: .06em; }

.hosting-info { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.hosting-info > span { color: #777; font: 9px/1.5 var(--mono); letter-spacing: .07em; }
.hosting-info > a { color: #d8d8d8; font-size: 12px; font-weight: 500; text-underline-offset: 3px; }
.hosting-info > a:hover { color: #fff; text-decoration: underline; }

.projects-section { margin-top: 42px; }
.projects-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.projects-heading .tiny-label { margin-bottom: 8px; color: #777; }
.projects-heading h2 { margin: 0; font-size: 23px; line-height: 1.1; letter-spacing: -.04em; font-weight: 600; }
.projects-heading h2 span { color: #888; }
.all-repos-link { color: #adadad; font-size: 11px; white-space: nowrap; }
.all-repos-link:hover, .footer-github:hover { color: #fff; }
.project-count { margin: 12px 0 0; color: #777; font: 9px/1.5 var(--mono); letter-spacing: .06em; }
.project-list { margin-top: 4px; }
.project-row { min-height: 68px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-soft); }
.project-number { color: #666; font: 10px var(--mono); }
.project-main { min-width: 0; }
.project-title { display: inline-block; color: #eee; font-size: 13px; font-weight: 550; }
.project-title:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.project-description { max-width: 520px; margin: 4px 0 0; overflow: hidden; color: #858585; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; }
.project-language { color: #777; font: 9px var(--mono); white-space: nowrap; }
.project-placeholder, .project-empty { margin: 0; padding: 20px 0; color: #858585; font-size: 12px; line-height: 1.7; }
.project-empty a { color: #ddd; text-decoration: underline; text-underline-offset: 3px; }
.projects-footnote { margin: 12px 0 0; color: #646464; font: 8px/1.5 var(--mono); letter-spacing: .035em; }

.site-footer { width: min(900px, calc(100% - 32px)); min-height: 56px; margin: auto auto 0; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line-soft); color: #666; font: 8px/1.5 var(--mono); letter-spacing: .04em; }
.footer-temporary { text-align: center; }
.footer-github { color: #9b9b9b; }

@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .brand img { width: 138px; }
  .page-main { margin-top: 36px; margin-bottom: 42px; }
  .status-panel { padding: 24px 16px 19px; }
  .status-title-line { gap: 8px; }
  .status-title-line h1 { font-size: 19px; }
  .status-message { font-size: 12px; }
  .projects-section { margin-top: 34px; }
  .projects-heading { align-items: center; }
  .project-row { grid-template-columns: 23px minmax(0,1fr); gap: 10px; padding: 12px 0; }
  .project-language { grid-column: 2; margin-top: -4px; }
  .site-footer { flex-wrap: wrap; font-size: 8px; }
  .footer-temporary { order: 3; width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Minimal branded 404 page */
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.error-card { width: min(100%, 620px); padding-block: 48px; }
.error-logo { display: block; width: 58px; height: 58px; object-fit: contain; margin-bottom: 30px; }
.error-eyebrow { margin: 0 0 18px; color: #777; font: 10px/1.5 var(--mono); letter-spacing: .06em; }
.error-card h1 { margin: 0 0 16px; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.error-card h1 span { color: #777; }
.error-card > p:not(.eyebrow) { margin: 0 0 24px; color: #888; line-height: 1.65; }
.error-card .button { display: inline-flex; gap: 12px; align-items: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; color: #eee; font-size: 12px; }
.error-card .button:hover { border-color: rgba(255,255,255,.35); }

/* Oracle sub-site additions */
.status-panel.is-pending .status-dot { background: #d9a94b; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.host-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; width: 100%; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.host-grid div { display: flex; flex-direction: column; gap: 4px; }
.host-grid span { color: #777; font: 9px/1.5 var(--mono); letter-spacing: .07em; }
.host-grid b { color: #d8d8d8; font: 500 12px var(--sans); }
@media (max-width: 560px) { .host-grid { grid-template-columns: 1fr; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .status-panel.is-pending .status-dot { animation: none; } }

/* Footer: ana icerikle ayni genislik, okunur boyut, uc esit sutun */
.site-footer { width: min(760px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr auto 1fr; font-size: 10px; letter-spacing: .06em; }
.site-footer > :first-child { justify-self: start; }
.site-footer .footer-github { justify-self: end; }
.site-footer .footer-temporary { text-align: center; }
.host-grid.first { margin-top: 20px; }
@media (max-width: 560px) {
  .site-footer { grid-template-columns: 1fr auto; row-gap: 4px; }
  .site-footer .footer-temporary { order: 3; grid-column: 1 / -1; text-align: left; width: auto; }
}
