/* Langopashtana Digital Service core styles */
* { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--lds-surface);
      color: var(--lds-ink);
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
    }

    img { max-width: 100%; }
    a { color: var(--lds-blue); text-underline-offset: .18em; text-decoration-thickness: .1em; }
    a:hover { color: var(--lds-blue-dark); text-decoration-thickness: .16em; }
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
      outline: 4px solid var(--lds-focus);
      outline-offset: 3px;
      box-shadow: 0 0 0 2px var(--lds-ink);
    }

    .skip-link {
      position: absolute;
      left: 16px;
      top: -80px;
      z-index: 999;
      background: var(--lds-yellow);
      color: var(--lds-ink);
      padding: 10px 14px;
      font-weight: 700;
    }
    .skip-link:focus { top: 12px; }

    .official-bar {
      border-top: 5px solid var(--lds-red);
      border-bottom: 1px solid var(--lds-border);
      background: #fff;
    }
    .official-inner,
    .masthead-inner,
    .nav-inner,
    .container,
    .footer-inner {
      width: min(calc(100% - 32px), var(--content));
      margin: 0 auto;
    }
    .official-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 50px;
      font-size: .875rem;
    }
    .official-inner img { width: 34px; height: 22px; object-fit: contain; }
    .official-copy { display: flex; flex-wrap: wrap; gap: 4px 8px; }
    .official-copy strong { font-weight: 700; }
    .official-button {
      margin-left: auto;
      border: 0;
      background: transparent;
      color: var(--lds-blue);
      font: inherit;
      font-weight: 600;
      text-decoration: underline;
      cursor: pointer;
    }

    .official-panel {
      display: none;
      border-bottom: 1px solid var(--lds-border);
      background: var(--lds-surface-muted);
    }
    .official-panel[aria-hidden="false"] { display: block; }
    .official-panel .container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      padding-block: 24px;
      font-size: .94rem;
    }

    .masthead {
      background: var(--lds-navy);
      color: #fff;
      border-bottom: 7px solid var(--lds-yellow);
    }
    .masthead-inner {
      min-height: 138px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      padding-block: 26px;
    }
    .lds-lockup {
      display: flex;
      align-items: center;
      gap: 22px;
      min-width: 0;
    }
    .lds-logo {
      width: min(360px, 52vw);
      height: auto;
      display: block;
    }
    .masthead-meta {
      padding-left: 22px;
      border-left: 1px solid rgba(255,255,255,.35);
    }
    .masthead-meta .eyebrow { color: #fff; opacity: .8; }
    .masthead-meta strong { display: block; font-size: 1.05rem; }

    .utility-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 18px;
      font-size: .9rem;
    }
    .utility-links a { color: #fff; }

    .site-nav {
      border-bottom: 1px solid var(--lds-border);
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 50;
    }
    .nav-inner {
      display: flex;
      align-items: center;
      gap: 26px;
      min-height: 58px;
      overflow-x: auto;
    }
    .nav-inner a {
      color: var(--lds-ink);
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      border-bottom: 4px solid transparent;
      padding: 17px 0 13px;
    }
    .nav-inner a:hover,
    .nav-inner a[aria-current="page"] { border-color: var(--lds-red); }

    main { display: block; }
    .hero {
      background:
        linear-gradient(90deg, var(--lds-surface-blue) 0, var(--lds-surface-blue) 66%, var(--lds-yellow-soft) 66%);
      border-bottom: 1px solid var(--lds-border);
    }
    .hero .container {
      padding-block: 70px 64px;
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr);
      gap: 56px;
      align-items: end;
    }
    .breadcrumb {
      margin: 0 0 22px;
      font-size: .9rem;
    }
    .breadcrumb ol {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .breadcrumb li:not(:last-child)::after {
      content: "›";
      margin-left: 8px;
      color: var(--lds-muted);
    }

    .eyebrow {
      margin: 0 0 10px;
      color: var(--lds-red);
      font-size: .78rem;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    h1, h2, h3, h4 { line-height: 1.15; margin-top: 0; letter-spacing: -.025em; }
    h1 {
      font-size: clamp(2.8rem, 7vw, 5.8rem);
      margin-bottom: 24px;
      max-width: 13ch;
    }
    h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
    h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 12px; }
    h4 { font-size: 1.05rem; margin-bottom: 8px; }

    .lead {
      max-width: 760px;
      font-size: clamp(1.15rem, 2.2vw, 1.45rem);
      line-height: 1.5;
      margin: 0;
    }
    .hero-note {
      border-top: 6px solid var(--lds-red);
      padding-top: 18px;
      align-self: end;
    }
    .hero-note dl { margin: 0; }
    .hero-note div { padding-block: 10px; border-bottom: 1px solid rgba(27,39,51,.22); }
    .hero-note dt { font-size: .8rem; color: var(--lds-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
    .hero-note dd { margin: 2px 0 0; font-weight: 600; }

    .section {
      padding-block: 82px;
      border-bottom: 1px solid var(--lds-border);
    }
    .section.alt { background: var(--lds-surface-muted); }
    .section-intro { max-width: var(--reading); margin-bottom: 42px; }
    .section-intro p { font-size: 1.12rem; }

    .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

    .principle {
      border-top: 5px solid var(--lds-red);
      padding: 22px 0 0;
    }
    .principle:nth-child(2n) { border-color: var(--lds-yellow); }
    .principle:nth-child(3n) { border-color: var(--lds-green); }

    .specimen {
      border: 1px solid var(--lds-border);
      background: #fff;
    }
    .specimen-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 13px 16px;
      border-bottom: 1px solid var(--lds-border);
      background: var(--lds-surface-muted);
      font-size: .82rem;
      color: var(--lds-muted);
    }
    .specimen-body { padding: 30px; }
    .type-display { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .98; font-weight: 700; letter-spacing: -.065em; margin: 0; }
    .type-heading { font-size: clamp(2.1rem, 5vw, 4.3rem); line-height: 1.04; font-weight: 600; letter-spacing: -.045em; margin: 0; }
    .type-body { max-width: 62ch; font-size: 1.12rem; }

    .swatch {
      border: 1px solid var(--lds-border);
      background: #fff;
    }
    .swatch-color { min-height: 150px; border-bottom: 1px solid rgba(0,0,0,.15); }
    .swatch-copy { padding: 16px; }
    .swatch-copy strong { display: block; }
    .swatch-copy code { font-size: .86rem; color: var(--lds-muted); }

    .callout {
      border-left: 7px solid var(--lds-yellow);
      background: var(--lds-yellow-soft);
      padding: 22px 24px;
      margin-block: 28px;
    }
    .callout.red { border-color: var(--lds-red); background: #faecec; }
    .callout.green { border-color: var(--lds-green); background: var(--lds-green-soft); }

    .brand-header-demo {
      border: 1px solid var(--lds-border);
      background: #fff;
    }
    .brand-header-top {
      padding: 18px 22px;
      background: var(--lds-navy);
      border-bottom: 5px solid var(--lds-yellow);
    }
    .brand-header-top img { width: 260px; display: block; }
    .org-row {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 24px 22px;
      border-bottom: 1px solid var(--lds-border);
    }
    .org-mark {
      width: 78px;
      height: 78px;
      border: 1px solid var(--lds-border);
      display: grid;
      place-items: center;
      background: #fff;
      flex: 0 0 auto;
    }
    .org-mark img { max-width: 62px; max-height: 62px; }
    .org-row h3 { margin-bottom: 4px; }
    .service-strip { padding: 18px 22px; background: var(--lds-surface-muted); font-weight: 700; }

    .component-card {
      border: 1px solid var(--lds-border);
      padding: 24px;
      background: #fff;
    }
    .component-card > :last-child { margin-bottom: 0; }
    .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
    .btn {
      appearance: none;
      border: 2px solid transparent;
      border-radius: var(--radius-sm);
      padding: 11px 18px;
      min-height: 46px;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      text-decoration: none;
    }
    .btn-primary { background: var(--lds-blue); color: #fff; }
    .btn-primary:hover { background: var(--lds-blue-dark); color: #fff; }
    .btn-secondary { background: #fff; border-color: var(--lds-blue); color: var(--lds-blue); }
    .btn-danger { background: var(--lds-red); color: #fff; }
    .btn-link { border: 0; background: transparent; color: var(--lds-blue); text-decoration: underline; padding-inline: 0; }

    label { display: block; font-weight: 700; margin-bottom: 7px; }
    .hint { color: var(--lds-muted); margin: -3px 0 8px; font-size: .9rem; }
    input, select, textarea {
      width: 100%;
      border: 2px solid var(--lds-border-dark);
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      min-height: 46px;
      font: inherit;
      color: var(--lds-ink);
      background: #fff;
    }
    .field { margin-bottom: 22px; max-width: 580px; }
    .field.error { border-left: 5px solid var(--lds-error); padding-left: 16px; }
    .error-message { color: var(--lds-error); font-weight: 700; margin: 0 0 8px; }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid currentColor;
      border-radius: 999px;
      padding: 5px 10px;
      font-size: .82rem;
      font-weight: 700;
    }
    .status.green { color: var(--lds-green); background: var(--lds-green-soft); }
    .status.yellow { color: #6d4b00; background: var(--lds-yellow-soft); }
    .status.red { color: var(--lds-red); background: #faecec; }
    .status.blue { color: var(--lds-blue); background: var(--lds-surface-blue); }

    .icon-demo {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .icon-tile {
      width: 126px;
      min-height: 126px;
      border: 1px solid var(--lds-border);
      display: grid;
      place-items: center;
      align-content: center;
      gap: 9px;
      background: #fff;
      text-align: center;
      padding: 14px;
    }
    .icon-tile svg { width: 34px; height: 34px; stroke-width: 1.8; }
    .animated-icon { display:grid; place-items:center; width:44px; height:44px; }
    .animated-icon > button { appearance:none; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }

    .asset-table-wrap { overflow-x: auto; border: 1px solid var(--lds-border); }
    table { width: 100%; border-collapse: collapse; min-width: 840px; }
    th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lds-border); }
    th { background: var(--lds-navy); color: #fff; font-size: .84rem; letter-spacing: .03em; }
    td:first-child { width: 120px; }
    .asset-preview {
      width: 88px;
      height: 58px;
      object-fit: contain;
      display: block;
      background: #fff;
    }
    .dark-preview { background: var(--lds-navy); padding: 8px; }
    .asset-url { word-break: break-all; font-size: .82rem; }

    .do-dont {
      border-top: 8px solid var(--lds-green);
      background: #fff;
      padding: 24px;
    }
    .do-dont.dont { border-color: var(--lds-red); }
    .do-dont ul { padding-left: 1.2em; }

    .footer {
      background: var(--lds-navy);
      color: #fff;
      border-top: 8px solid var(--lds-yellow);
    }
    .footer-inner { padding-block: 50px 34px; }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.25fr 1fr 1fr;
      gap: 44px;
      padding-bottom: 38px;
      border-bottom: 1px solid rgba(255,255,255,.3);
    }
    .footer img { width: 320px; }
    .footer a { color: #fff; }
    .footer ul { list-style: none; padding: 0; margin: 0; }
    .footer li { margin-bottom: 8px; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      padding-top: 24px;
      font-size: .84rem;
      color: rgba(255,255,255,.78);
    }

    .back-top { margin-left: auto; }

    @media (max-width: 900px) {
      .masthead-inner,
      .hero .container,
      .grid-3,
      .grid-4,
      .footer-grid { grid-template-columns: 1fr; }
      .masthead-inner { align-items: flex-start; flex-direction: column; }
      .utility-links { justify-content: flex-start; }
      .hero { background: var(--lds-surface-blue); }
      .official-panel .container, .grid-2 { grid-template-columns: 1fr; }
      .hero-note { max-width: 520px; }
      .masthead-meta { display: none; }
    }

    @media (max-width: 620px) {
      .official-inner { align-items: flex-start; padding-block: 12px; }
      .official-button { margin-left: 0; }
      .official-inner { flex-wrap: wrap; }
      .masthead-inner { min-height: auto; }
      .lds-logo { width: min(100%, 330px); }
      .section { padding-block: 58px; }
      .hero .container { padding-block: 50px; }
      .specimen-body { padding: 22px; }
      .org-row { align-items: flex-start; }
      .footer-bottom { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
      }
    }

    @media print {
      .site-nav, .official-button, .utility-links, .back-top { display: none !important; }
      .masthead { background: #fff; color: #000; border-bottom-color: #000; }
      .lds-logo { filter: invert(1); }
      .section { break-inside: avoid; }
      a { color: #000; }
    }
