/* the datasets section: the seven as framed rows (after unkey.com's Build & Deploy, the form since 2026-10-11, its retired forms stripped 2026-10-12).
   The same rules dress the industries section's rows and the sources section on geolocation.html, which links this file too. */
.datasets-section { padding-top: 0; padding-bottom: 0; overflow: clip; }
.ds-x { padding: var(--space-3xl) 0; }
.ds-x-text { margin: 0; max-width: 48ch; font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); }
.ds-x-link { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--text-primary); white-space: nowrap; transition: color var(--duration-fast) var(--ease-out); }
.ds-x-link span { display: inline-block; transition: transform var(--duration-fast) var(--ease-out); } .ds-x-link:hover { color: var(--accent); } .ds-x-link:hover span { transform: translateX(3px); }   /* blue on hover: his ask, 2026-10-12 */
/* the round arrows and the Explore pill: the Get started deck borrows them */
  

 

  
/* the response window, in the language of the geolocation hero's (moved from css/datasets-acc.css on 2026-10-12) */
.ds-win {
  --win-paper: #fff;
  --win-line: color-mix(in srgb, var(--text-primary) 9%, transparent);
  width: 100%;
  font-family: var(--font-mono);
  border: 1px solid color-mix(in srgb, var(--text-primary) 14%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: var(--win-paper);
  color: var(--text-primary);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--text-primary) 5%, transparent),
    0 28px 60px -24px color-mix(in srgb, var(--text-primary) 30%, transparent);
}
:root:is([data-theme="dark"]) .ds-win { --win-paper: var(--bg-secondary); }
:root:is([data-theme="dark"]) .ds-win-bar { background: var(--bg-dark-lighter); }
.ds-win-bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem; background: var(--bg-dark); color: var(--text-on-dark); font-size: .82rem; }
.ds-win-mark { width: 15px; height: 15px; color: var(--accent); flex: none; }
.ds-win-prompt { color: var(--text-on-dark-muted); }
.ds-win-cmd { font: inherit; color: inherit; background: none; padding: 0; white-space: nowrap; overflow: hidden; }
.ds-win-cursor { display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.18em; background: var(--accent); animation: ds-win-blink 1s steps(2, start) infinite; }
.ds-win.is-done .ds-win-cursor { animation: none; opacity: .55; }
@keyframes ds-win-blink { to { visibility: hidden; } }
.ds-win-table { width: 100%; border-collapse: collapse; font-size: .78rem; table-layout: fixed; }
.ds-win-table th, .ds-win-table td { text-align: left; padding: 0 1rem; height: 2.25rem; border-bottom: 1px solid var(--win-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-win-table th { height: 2rem; font-weight: 400; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); background: color-mix(in srgb, var(--text-primary) 2.5%, var(--win-paper)); }
.ds-win-table tr:last-child td { border-bottom: 0; }
.ds-win-n { width: 2.4rem; color: var(--text-muted); border-right: 1px solid var(--win-line); }
.ds-win-table th:nth-child(2), .ds-win-k { width: 40%; color: var(--text-secondary); }
/* a cell is hatched until its answer is in */
.ds-win-k span, .ds-win-v span { opacity: 0; transition: opacity .3s ease; }
.ds-win-k.is-in span, .ds-win-v.is-in span { opacity: 1; }
.ds-win-v { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--win-line) 5px 6px); transition: background-color .3s ease; }
.ds-win-v.is-in { background: var(--win-paper); }
.ds-win-v .t { color: var(--accent-text); }   /* a flag that is set */
.ds-win-v .f { color: #1a9f5a; }   /* a flag that is clear: the green of the hero's 200 OK (2026-10-14) */
.ds-win-foot { display: flex; align-items: center; padding: .7rem 1.1rem; border-top: 1px solid var(--win-line); background: color-mix(in srgb, var(--text-primary) 2.5%, var(--win-paper)); font-size: .72rem; color: var(--text-secondary); }
.ds-win-ms { margin-left: auto; color: #1a9f5a; font-weight: 500; }
.ds-win-led { width: 7px; height: 7px; border-radius: 50%; margin-right: .6rem; flex: none; background: #e0a52b; box-shadow: 0 0 6px #e0a52b; }
.ds-win.is-done .ds-win-led { background: #1a9f5a; box-shadow: 0 0 6px #1a9f5a; }
@media (max-width: 479px) {
  .ds-win-bar { font-size: .74rem; padding: .7rem .85rem; }
  .ds-win-table { font-size: .68rem; }
  .ds-win-table th, .ds-win-table td { padding: 0 .6rem; }
}
@media (prefers-reduced-motion: reduce) { .ds-win-k span, .ds-win-v span, .ds-win-v { transition: none; } .ds-win-cursor { animation: none; } }
.ds-x-win .ds-win-table { table-layout: fixed; } .ds-x-win .ds-win-v span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-x-win .ds-win-table th.ds-win-n, .ds-x-win td.ds-win-n { width: 3.2rem; padding: 0 0.7rem; }
/* 16 after unkey.com's Build & Deploy: a two-column header, a sticky bar of names that follows the scroll, framed rows with hatched bands between */
.ds-x-uk-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-xl); }
.ds-x-uk-head h2 { margin-top: var(--space-xl); font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.ds-x-uk-head p { margin: 0 0 0.5rem; max-width: 36ch; font-size: 1.05rem; line-height: 1.5; color: var(--text-secondary); }
.ds-x-uk-bar { position: sticky; top: 60px; z-index: 5; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); background: var(--bg-primary); }
.ds-x-uk-tab { padding: 1rem 0.6rem; border: 0; border-left: 1px solid var(--border); background: none; font: 500 0.9rem var(--font-sans); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ds-x-uk-tab:first-child { border-left: 0; }
.ds-x-uk-tab:hover { color: var(--text-primary); }
.ds-x-uk-tab.is-on { background: color-mix(in srgb, var(--text-primary) 5%, transparent); color: var(--text-primary); }
.ds-x-uk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 380px; border: 1px solid var(--border); border-top: 0; background: var(--bg-primary); }
.ds-x-uk-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35rem; padding: var(--space-2xl); }
.ds-x-uk-text h3 { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--text-primary); }
.ds-x-uk-sub { margin: 0; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--text-muted); }
.ds-x-uk-text .ds-x-text { margin-top: var(--space-md); max-width: 44ch; font-size: 0.95rem; }
.ds-x-uk-text .ds-x-link { margin-top: var(--space-md); }
.ds-x-uk-pic { display: grid; place-items: center; padding: var(--space-xl); border-left: 1px solid var(--border); background-image: radial-gradient(color-mix(in srgb, var(--text-primary) 16%, transparent) 1px, transparent 1.3px); background-size: 14px 14px; }
.ds-x-uk-pic .ds-x-snip { width: 100%; max-width: 520px; }
.ds-x-uk-hatch { height: 28px; border: 1px solid var(--border); border-top: 0; background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--text-primary) 10%, transparent) 7px 8px); }
@media (max-width: 899px) {
  .ds-x-uk-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .ds-x-uk-bar { display: flex; overflow-x: auto; scrollbar-width: none; } .ds-x-uk-bar::-webkit-scrollbar { display: none; } .ds-x-uk-tab { flex: 0 0 auto; padding: 0.9rem 1rem; }
  .ds-x-uk-row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ds-x-uk-text { padding: var(--space-lg); } .ds-x-uk-pic { border-left: 0; border-top: 1px solid var(--border); padding: var(--space-lg); }
  /* on a phone the head keeps the page gutter and the bar and rows run edge to edge, in both hosts (his call, 2026-10-15):
     the datasets' form sits outside the container, so its head takes the gutter; the industries' sits inside it, so its rows shed it */
  .datasets-section .ds-x-uk-head { padding-left: var(--container-padding); padding-right: var(--container-padding); }
  .industries-section .ind-x .ds-x-uk-bar, .industries-section .ind-x .ds-x-uk-row, .industries-section .ind-x .ds-x-uk-hatch { margin-left: calc(-1 * var(--container-padding)); margin-right: calc(-1 * var(--container-padding)); }
}
/* 18: the unkey form with one row at a time */
/* the response window in the datasets rows, decided 2026-10-11 (it was ?snippet=shade4): the curl line and the count as a caption above, the rounded, shadowed box holding the table with its head row shaded, no bar and no foot; the table scrolls past seven and a half rows, the eighth cut in half, the head staying */
.ds-x-snip { min-width: 0; --rows: 7.5; }
.ds-x-snip .ds-win { position: relative; }
.ds-x-snip .ds-win-bar, .ds-x-snip .ds-win-foot { display: none; }
.ds-x-snip-cap { display: block; margin-bottom: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); }
.ds-x-scroll { position: relative; max-height: calc(2rem + var(--rows, 7.5) * 2.25rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ds-x-scroll .ds-win-table thead th { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, var(--text-primary) 5%, var(--win-paper)); }
/* the industries section in the datasets form (decided 2026-10-11, once ?industries=rows), on the same rules; the host hides the tabs and panels, which remain as its source */
.ind-x[hidden] { display: none; }
:root .industries-section.section { overflow: clip; }   /* clip, not hidden: hidden would make the section the scroll box the bar sticks in */
:root #industries .section-header, :root #industries .ind-tabs, :root #industries .ind-panel-wrapper { display: none; }
.ind-x .ds-x-uk-bar { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.ind-x .ds-x-uk-tab { font-size: 0.85rem; padding: 1rem 0.4rem; }
.ind-x .ds-x-uk-text { gap: 0.35rem; }
.ind-x-uses { margin-top: var(--space-md); }
.ind-x .ds-x-uk-pic { padding: 0; display: block; background-image: none; }   /* the card is the whole right half: no dot grid around it */
.ind-x-card { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: var(--space-xl); padding: var(--space-2xl); background: var(--bg-primary); }
.ind-x-used { margin: 0; padding: 0; border: 0; }
.ind-x-fields .ind-panel-fields { margin-top: 0.5rem; }
@media (max-width: 899px) { .ind-x .ds-x-uk-bar { grid-template-columns: none; } }
/* the customers as a tidy grid of equal cells, every mark held to the same box; grey until the pointer finds it */
.ind-x-used .ind-panel-featured-label { margin-bottom: 0.8rem; }
.ind-x-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px var(--space-lg); }
.ind-x-logo { display: block; height: 40px; margin: 12px 0; padding: 0 1rem 0 0; }   /* no boxes: the marks sit on the grid, each from the left of its cell */
.ind-x-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }   /* one standard box for every mark, 40px tall and the column wide; in colour (2026-10-11) */
.ind-x-logos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* two across when there are few; the box stays 40px tall */
.ind-x-logos--1 { grid-template-columns: minmax(0, 1fr); } .ind-x-logos--1 .ind-x-logo { height: 72px; }   /* a lone mark gets the room */
.ind-x-logo--mark img { height: 40px; width: 40px; border-radius: 8px; }   /* a square mark, not a wordmark */
/* PROTOTYPE ?rowtext=a-e (2026-10-11): the text block at the left of the datasets rows; the pieces are all in the markup, the attribute shows and arranges them */
.ds-x-uk-num, .ds-x-uk-eyebrow, .ds-x-uk-figline, .ds-x-uk-pill { display: none; }
.ds-x-uk-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.ds-x-uk-num { font-family: var(--font-mono); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: color-mix(in srgb, var(--text-primary) 28%, transparent); margin-bottom: 0.6rem; }
.ds-x-uk-figline { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--space-md); }
.ds-x-uk-pill { display: none; align-items: center; gap: 0.4rem; margin-top: var(--space-md); height: 40px; padding: 0 1.1rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.88rem; font-weight: 500; text-decoration: none; color: var(--text-primary); transition: border-color .2s ease; }
.ds-x-uk-pill:hover { border-color: var(--text-primary); } .ds-x-uk-pill > span:last-child { display: inline-block; transition: transform var(--duration-fast) var(--ease-out); } .ds-x-uk-pill:hover > span:last-child { transform: translateX(3px); }
.ind-x-logo--wide { grid-column: span 2; }
/* dark themes (2026-10-12): the black-ink marks go white, the two mixed marks keep their colour with the lettering turned white; the colour marks stay (the script marks each image by its file) */
:root:is([data-theme="dark"]) .ind-x-logo img[data-ink="dark"] { filter: grayscale(1) invert(1); opacity: 0.85; }
:root:is([data-theme="dark"]) .ind-x-logo img[data-ink="mixed"] { filter: invert(1) hue-rotate(180deg); opacity: 0.92; }
:root:is([data-theme="dark"]) .ind-x-logo img[data-ink="deep"] { filter: brightness(1.6) saturate(0.85); }

.ind-x-logos--fit .ind-x-logo { display: flex; align-items: center; } .ind-x-logos--fit .ind-x-logo img { width: auto; max-width: 100%; }   /* the government row: each mark at the height the lettering rule gave it */
.ind-x-logos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ind-x-logos--3 .ind-x-logo { height: 56px; }   /* the three best known, larger */
.ind-x-logos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--space-lg); } .ind-x-logos--4 .ind-x-logo { height: 56px; }   /* the four best known, two by two */
.ind-x-logos--slide { grid-template-columns: minmax(0, 1fr); } .ind-x-logos--slide .ind-x-logo { grid-area: 1 / 1; height: 72px; opacity: 0; transition: opacity .6s ease; } .ind-x-logos--slide .ind-x-logo.is-on { opacity: 1; }   /* the marks stacked in one cell, the one in turn showing */
@media (prefers-reduced-motion: reduce) { .ind-x-logos--slide .ind-x-logo { transition: none; } }

/* the response window rises under the cursor (lift, his pick on 2026-10-12 from six hover forms): only with a real pointer and no reduced-motion preference */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #datasets .ds-x-snip .ds-win { transition: transform 0.28s var(--ease-out, cubic-bezier(0.2, 0.7, 0.3, 1)), box-shadow 0.28s var(--ease-out, cubic-bezier(0.2, 0.7, 0.3, 1)); }
  #datasets .ds-x-snip .ds-win:hover { transform: translateY(-6px); box-shadow: 0 1px 2px color-mix(in srgb, var(--text-primary) 5%, transparent), 0 36px 70px -24px color-mix(in srgb, var(--text-primary) 38%, transparent); }
}

/* on a phone the industries' tabs are spaced like the datasets' (the tight padding above is for the wide screen's eight columns); after that rule so it wins */
@media (max-width: 899px) { .ind-x .ds-x-uk-tab { font-size: 0.9rem; padding: 0.9rem 1rem; } }
