/* notoland.com // Noto language site. Windows XP / Y2K treatment. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

  :root {
    --desktop-top: #8ec5f0;
    --desktop-mid: #cfe8f6;
    --desktop-hill: #9ed36a;
    --desktop-hill-deep: #6fa94d;

    --win: #ffffff;
    --win-sub: #eef4fb;
    --win-sunken: #10203a;

    --chrome: #2f6fd8;
    --chrome-deep: #1c4ea6;
    --chrome-off: #a9c2e0;

    --ink: #16222f;
    --ink-soft: #5c6f81;
    --line: #ccd9e7;

    --pop: #f5a623;
    --ok: #28c840;
    --warn: #febc2e;
    --stop: #ff5f57;

    --accent-bright: #2f6fd8;

    --shadow: rgba(20, 34, 51, 0.34);

    --f-display: "Pixelify Sans", "Trebuchet MS", Verdana, sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --f-label: "Silkscreen", "JetBrains Mono", monospace;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --desktop-top: #0b1732;
      --desktop-mid: #142744;
      --desktop-hill: #12351f;
      --desktop-hill-deep: #0b2415;

      --win: #17222f;
      --win-sub: #1e2c3c;
      --win-sunken: #0a1524;

      --chrome: #2f6fd8;
      --chrome-deep: #14345f;
      --chrome-off: #37506d;

      --ink: #e7eef6;
      --ink-soft: #93a6b8;
      --line: #2c3c4e;

      --pop: #ffbe4d;
      --accent-bright: #6ea8f0;
      --shadow: rgba(0, 0, 0, 0.55);
    }
  }

  :root[data-theme="dark"] {
    --desktop-top: #0b1732;
    --desktop-mid: #142744;
    --desktop-hill: #12351f;
    --desktop-hill-deep: #0b2415;

    --win: #17222f;
    --win-sub: #1e2c3c;
    --win-sunken: #0a1524;

    --chrome: #2f6fd8;
    --chrome-deep: #14345f;
    --chrome-off: #37506d;

    --ink: #e7eef6;
    --ink-soft: #93a6b8;
    --line: #2c3c4e;

    --pop: #ffbe4d;
    --accent-bright: #6ea8f0;
    --shadow: rgba(0, 0, 0, 0.55);
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    font-family: var(--f-mono);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--desktop-mid);
    -webkit-font-smoothing: antialiased;
  }

  /* ---------- wallpaper ---------- */
  .wallpaper {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(180deg,
        var(--desktop-top) 0%,
        var(--desktop-mid) 44%,
        var(--desktop-hill) 52%,
        var(--desktop-hill) 64%,
        var(--desktop-hill-deep) 100%);
  }
  .wallpaper::after {
    /* soft rolling hill highlight */
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: 40%;
    height: 22%;
    background: radial-gradient(60% 120% at 30% 0%, rgba(255,255,255,0.35), transparent 70%);
    filter: blur(2px);
  }
  .cloud {
    position: fixed;
    z-index: -1;
    width: 220px;
    height: 70px;
    background:
      radial-gradient(closest-side, rgba(255,255,255,0.9), rgba(255,255,255,0) 100%),
      radial-gradient(closest-side, rgba(255,255,255,0.8), rgba(255,255,255,0) 100%),
      radial-gradient(closest-side, rgba(255,255,255,0.7), rgba(255,255,255,0) 100%);
    background-size: 60% 100%, 46% 78%, 40% 62%;
    background-position: 20% 60%, 55% 20%, 78% 55%;
    background-repeat: no-repeat;
    opacity: 0.85;
    animation: drift 90s linear infinite;
  }
  .cloud--a { top: 7%; left: -260px; transform: scale(1); animation-delay: -12s; }
  .cloud--b { top: 20%; left: -260px; transform: scale(0.62); animation-delay: -55s; opacity: 0.6; }
  .cloud--c { top: 3%;  left: -260px; transform: scale(0.8);  animation-delay: -78s; opacity: 0.5; }
  @keyframes drift { to { transform: translateX(120vw); } }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cloud { opacity: 0.16; }
  }
  :root[data-theme="dark"] .cloud { opacity: 0.16; }

  /* ---------- desktop layout ---------- */
  .desktop {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px 20px 96px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* ---------- window ---------- */
  .window {
    background: var(--win);
    border: 1px solid var(--chrome-deep);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--shadow);
    overflow: hidden;
    scroll-margin-top: 18px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
  }
  .window:hover { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 var(--shadow); }

  .window__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    background: var(--chrome-off);
    border-bottom: 1px solid var(--chrome-deep);
    color: #eaf2ff;
    transition: background 0.2s ease;
  }
  .window.is-active .window__bar { background: linear-gradient(180deg, #4a86e4, var(--chrome)); }

  .lights { display: flex; gap: 6px; flex: none; }
  .lights i {
    width: 12px; height: 12px; border-radius: 50%;
    display: block;
    border: 1px solid rgba(0,0,0,0.25);
  }
  .lights i:nth-child(1) { background: var(--stop); }
  .lights i:nth-child(2) { background: var(--warn); }
  .lights i:nth-child(3) { background: var(--ok); }

  .window__title {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  }
  .window__spacer { flex: 1; }
  .window__btns { display: flex; gap: 5px; flex: none; }
  .window__btns b {
    width: 16px; height: 14px;
    display: grid; place-items: center;
    font-family: var(--f-label);
    font-size: 9px;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(0,0,0,0.28);
    border-radius: 3px;
    color: #16222f;
  }

  .window__body { padding: 24px 26px 28px; }
  @media (max-width: 560px) { .window__body { padding: 20px 16px 22px; } }

  /* ---------- typography ---------- */
  h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; }
  h3 { font-family: var(--f-mono); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; margin: 0; }

  .eyebrow {
    font-family: var(--f-label);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bright);
    display: block;
    margin-bottom: 10px;
  }

  h2 { font-size: 26px; margin-bottom: 6px; }
  h3 { font-size: 17px; margin-bottom: 4px; }

  p { margin: 0 0 14px; max-width: 66ch; }
  p:last-child { margin-bottom: 0; }
  a { color: var(--ink); text-decoration-color: var(--pop); text-underline-offset: 3px; text-decoration-thickness: 2px; }
  a:hover { color: var(--accent-bright); }
  .eyebrow a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
  .eyebrow a:hover { color: var(--ink); }

  strong { font-weight: 700; }
  .muted { color: var(--ink-soft); }

  /* ---------- hero ---------- */
  .hero__mark {
    font-family: var(--f-display);
    font-size: clamp(52px, 13vw, 92px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin: 2px 0 10px;
  }
  .hero__mark span { color: var(--accent-bright); }
  .hero__tag { font-size: 16px; max-width: 54ch; margin-bottom: 18px; }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .chip {
    font-family: var(--f-label);
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 5px 9px;
    background: var(--win-sub);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink-soft);
  }

  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
  .btn {
    font-family: var(--f-label);
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 11px 18px;
    border-radius: 6px;
    border: 1px solid var(--chrome-deep);
    background: var(--win-sub);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--shadow);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); color: var(--ink); }
  .btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow); }
  .btn--primary { background: linear-gradient(180deg, #4a86e4, var(--chrome)); color: #fff; border-color: var(--chrome-deep); }
  .btn--primary:hover { color: #fff; }

  /* ---------- terminal / code ---------- */
  .terminal {
    background: var(--win-sunken);
    border: 1px solid var(--chrome-deep);
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0;
  }
  .terminal__bar {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px;
    background: #0b1730;
    border-bottom: 1px solid #23375c;
  }
  .terminal__bar .lights i { width: 10px; height: 10px; }
  .terminal__bar span {
    font-family: var(--f-label); font-size: 9px; letter-spacing: 0.06em;
    color: #7f9bc9;
  }
  .terminal pre {
    margin: 0;
    padding: 14px 16px;
    overflow-x: auto;
    font-family: var(--f-mono);
    font-size: 13.5px;
    line-height: 1.7;
    color: #d7e3ff;
    tab-size: 2;
  }
  .terminal pre::-webkit-scrollbar { height: 10px; }
  .terminal pre::-webkit-scrollbar-thumb { background: #23375c; border-radius: 5px; }

  .t-prompt { color: #57d98a; }
  .t-out { color: #9fb4d6; }
  .t-kw { color: #ff9d5c; }
  .t-str { color: #7fe0b0; }
  .t-fn { color: #6fb2ff; }
  .t-num { color: #f3c969; }
  .t-com { color: #62789e; font-style: italic; }
  .t-err { color: #ff8080; }
  .t-dim { color: #6b82ac; }

  /* ---------- tabs ---------- */
  .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
  .tab {
    font-family: var(--f-label);
    font-size: 10px;
    letter-spacing: 0.03em;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: var(--win-sub);
    color: var(--ink-soft);
    cursor: pointer;
  }
  .tab[aria-selected="true"] {
    background: var(--win-sunken);
    color: #d7e3ff;
    border-color: var(--chrome-deep);
  }
  .tabpanel .terminal { margin-top: 0; border-radius: 0 8px 8px 8px; }

  /* ---------- feature list ---------- */
  .features { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 16px; }
  .features li { display: grid; grid-template-columns: 28px 1fr; gap: 15px; align-items: start; }
  .features svg { width: 26px; height: 26px; margin-top: 2px; shape-rendering: crispEdges; }
  .features h3 { margin-bottom: 2px; }
  .features p { margin: 0; font-size: 14px; }

  /* ---------- card grid ---------- */
  .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
  @media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
  .card {
    background: var(--win-sub);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 16px 18px;
  }
  .card h3 { margin-bottom: 6px; }
  .card p { font-size: 13.5px; margin: 0; }
  .card code, .inline { font-size: 12.5px; background: rgba(47,111,216,0.12); padding: 1px 5px; border-radius: 4px; }

  /* ---------- pipeline ---------- */
  .pipe-scroll { overflow-x: auto; padding-bottom: 8px; margin-top: 10px; }
  .pipe {
    display: flex; align-items: center; gap: 8px;
    min-width: min-content;
  }
  .node {
    font-family: var(--f-label);
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 10px 12px;
    border: 1px solid var(--chrome-deep);
    border-radius: 999px;
    background: var(--win);
    white-space: nowrap;
    box-shadow: 2px 2px 0 var(--shadow);
  }
  .node--io { background: linear-gradient(180deg, #4a86e4, var(--chrome)); color: #fff; }
  .node--ir { background: var(--pop); color: #16222f; border-color: #b9791a; }
  .pipe .arr { color: var(--ink-soft); flex: none; font-size: 13px; }

  /* ---------- status / meters ---------- */
  .status-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; margin-top: 8px; }
  @media (max-width: 620px) { .status-wrap { grid-template-columns: 1fr; gap: 18px; } }
  .bignum { font-family: var(--f-display); font-size: 40px; color: var(--accent-bright); line-height: 1; }
  .meter { margin-bottom: 12px; }
  .meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .meter__label { font-family: var(--f-label); font-size: 10px; letter-spacing: 0.04em; }
  .meter__note { font-size: 12px; color: var(--ink-soft); }
  .meter__dots { display: flex; gap: 4px; margin-top: 5px; }
  .meter__dots i { width: 15px; height: 15px; border: 1px solid var(--chrome-deep); background: var(--win-sub); display: block; }
  .meter__dots i.on { background: var(--chrome); }

  /* ---------- timeline ---------- */
  .tl-scroll { overflow-x: auto; margin-top: 14px; padding-bottom: 6px; }
  .tl {
    display: flex;
    gap: 0;
    min-width: 760px;
    position: relative;
    padding-top: 26px;
  }
  .tl::before {
    content: "";
    position: absolute;
    top: 32px; left: 8px; right: 8px;
    border-top: 2px dashed var(--line);
  }
  .tl__item { flex: 1; padding: 0 8px; position: relative; }
  .tl__item::before {
    content: "";
    position: absolute;
    top: -20px; left: 8px;
    width: 11px; height: 11px;
    background: var(--win);
    border: 2px solid var(--chrome);
    border-radius: 50%;
  }
  .tl__item.now::before { background: var(--pop); border-color: var(--pop); }
  .tl__v { font-family: var(--f-label); font-size: 11px; color: var(--accent-bright); display: block; margin-bottom: 3px; }
  .tl__d { font-size: 12px; color: var(--ink-soft); }

  /* ---------- command table ---------- */
  .cmds { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
  .cmds td { border-bottom: 1px dashed var(--line); padding: 8px 10px 8px 0; vertical-align: top; }
  .cmds tr:last-child td { border-bottom: none; }
  .cmds td:first-child { white-space: nowrap; color: var(--accent-bright); font-weight: 500; width: 1%; padding-right: 20px; }
  .cmds td:last-child { color: var(--ink-soft); }

  /* ---------- footer ---------- */
  .foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 13px; }
  .foot .muted { font-size: 12px; }

  /* ---------- taskbar ---------- */
  .taskbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 8px;
    background: linear-gradient(180deg, #3a7ae0, var(--chrome-deep));
    border-top: 1px solid #12326a;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.28);
  }
  .start {
    font-family: var(--f-display);
    font-size: 15px;
    color: #fff;
    padding: 6px 14px 6px 12px;
    background: linear-gradient(180deg, #4fd06a, #2e9c47);
    border: 1px solid #1c6c30;
    border-radius: 7px;
    display: flex; align-items: center; gap: 7px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
    flex: none;
    text-decoration: none;
  }
  .start:hover { color: #fff; filter: brightness(1.05); }
  .start i {
    width: 12px; height: 12px; flex: none;
    background: #fff;
    clip-path: polygon(0 0, 55% 0, 55% 55%, 0 55%, 0 0, 100% 45%, 100% 100%, 45% 100%, 45% 45%, 100% 45%);
    display: block;
  }
  .tasks { display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
  .tasks::-webkit-scrollbar { display: none; }
  .tasks a {
    font-family: var(--f-label);
    font-size: 9.5px;
    letter-spacing: 0.03em;
    color: #eaf2ff;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    white-space: nowrap;
    text-decoration: none;
    flex: none;
  }
  .tasks a.is-current { background: rgba(0,0,0,0.28); border-color: rgba(0,0,0,0.4); box-shadow: inset 0 1px 3px rgba(0,0,0,0.4); }
  .tray {
    font-family: var(--f-label);
    font-size: 10px;
    color: #eaf2ff;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    flex: none;
    display: flex; gap: 8px; align-items: center;
  }
  @media (max-width: 560px) {
    .start { font-size: 13px; padding: 6px 10px; }
    .tray span.tz { display: none; }
  }

  :focus-visible { outline: 3px solid var(--pop); outline-offset: 2px; border-radius: 3px; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cloud { animation: none; }
    .window, .btn { transition: none; }
  }

  /* ---------- Notoland home: project + team rows ---------- */
  .stack { display: grid; gap: 14px; margin-top: 10px; }
  .row-card {
    display: flex; align-items: center; gap: 16px;
    padding: 15px 16px;
    border: 1px solid var(--line); border-radius: 8px;
    background: var(--win-sub); color: var(--ink); text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  }
  a.row-card:hover {
    border-color: var(--chrome-deep); color: var(--ink);
    transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow);
  }
  .row-card__body { flex: 1; min-width: 0; }
  .row-card__body h3 { margin-bottom: 3px; }
  .row-card__body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); max-width: none; }
  .row-card__meta { display: flex; align-items: center; gap: 10px; flex: none; }
  .row-card__open { font-size: 15px; color: var(--ink-soft); flex: none; }

  .avatar {
    width: 46px; height: 46px; flex: none;
    border: 1px solid var(--chrome-deep); border-radius: 6px;
    background: var(--win);
  }

  .pill {
    font-family: var(--f-label); font-size: 9px; letter-spacing: 0.04em;
    padding: 4px 8px; border-radius: 4px;
    border: 1px solid var(--line); background: var(--win);
    color: var(--ink-soft); white-space: nowrap;
  }
  .pill--live {
    color: color-mix(in srgb, var(--ok) 58%, var(--ink));
    border-color: color-mix(in srgb, var(--ok) 45%, transparent);
    background: color-mix(in srgb, var(--ok) 14%, transparent);
  }
  .pill--dev {
    color: color-mix(in srgb, var(--warn) 52%, var(--ink));
    border-color: color-mix(in srgb, var(--warn) 48%, transparent);
    background: color-mix(in srgb, var(--warn) 16%, transparent);
  }

  .ethos { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
  .ethos li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; }
  .ethos li::before { content: "▪"; color: var(--accent-bright); line-height: 1.5; }
