/* Styles for the data-owner pages: /data (data.html) and /data/voice (data/voice.html). */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --black: #000; --card: #111114; --line: rgba(255, 255, 255, .10);
  --white: #fff; --soft: rgba(255, 255, 255, .68); --faint: rgba(255, 255, 255, .24);
  --indigo: #2530F5; --sky: #6FB7FF; --peach: #FFB48A; --violet: #8A7BFF; --cream: #F3ECE2; --cream-ink: #0D0D12;
  --font: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --h1: clamp(2.9rem, 1rem + 7.6vw, 7.25rem);
  --h2: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  --h3: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  --body: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --small: .9375rem;
  --gutter: max(20px, 4vw, calc((100vw - 1440px) / 2));
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font); font-size: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--white); color: var(--black); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: .95; letter-spacing: -0.05em; }
h2 { font-size: var(--h2); letter-spacing: -0.045em; }
h3 { font-size: var(--h3); letter-spacing: -0.03em; line-height: 1.1; }
section[id] { scroll-margin-top: 84px; }
.pad { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.label { font-size: var(--small); color: var(--soft); }
.lede { color: var(--soft); max-width: 34em; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: .7rem 1rem; border-radius: 999px; background: var(--white); color: var(--black); font-size: var(--small); font-weight: 500; transform: translateY(-300%); }
.skip:focus { transform: none; }

.btn { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; min-height: 52px; padding: 0 1.6rem; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 500; font-size: 1.0625rem; line-height: 1; letter-spacing: -0.01em; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.btn svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.btn:hover { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: var(--small); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff, 0 0 0 6px rgba(255, 255, 255, .1); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); padding-top: env(safe-area-inset-top, 0px); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 22px; width: auto; }
.nav__links { display: flex; gap: .2rem; font-size: var(--small); color: var(--soft); }
.nav__links a { padding: .55rem .95rem; border-radius: 999px; transition: color .3s, background .3s; }
.nav__links a:hover { color: var(--white); }
.nav__links a.is-here { color: var(--white); background: rgba(255, 255, 255, .12); }
@media (max-width: 980px) { .nav__links { display: none; } }

/* "Data types" menu in the top bar: moves between the owner pages */
.nav__side { display: flex; align-items: center; gap: .4rem; }
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-size: var(--small); color: var(--soft); background: none; border: 0; cursor: pointer; padding: .55rem 1rem; border-radius: 999px; transition: color .3s, background .3s; }
.dd__btn svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.dd__btn:hover, .dd.is-open .dd__btn { color: var(--white); }
.dd.is-open .dd__btn { background: rgba(255, 255, 255, .12); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel { position: absolute; top: calc(100% + 10px); right: 0; width: 300px; padding: .5rem; display: grid; gap: 2px; border-radius: 18px; background: #131317; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .4s var(--ease), visibility 0s .25s; }
.dd__panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease); }
.dd__panel a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding: 0 .9rem; border-radius: 12px; font-size: var(--small); transition: background .25s; }
.dd__panel a:hover, .dd__panel a:focus-visible { background: rgba(255, 255, 255, .1); }
.dd__panel a[aria-current] { background: rgba(255, 255, 255, .07); }
.dd__tag { font-size: .75rem; color: var(--soft); white-space: nowrap; }
.dd__tag--on { color: var(--black); background: var(--white); font-weight: 500; padding: .2rem .55rem; border-radius: 999px; }
.dd__sep { height: 1px; margin: .3rem .9rem; background: var(--line); }
@media (max-width: 560px) { .dd { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 12vh, 8rem); padding-bottom: clamp(3rem, 9vh, 6rem); display: grid; gap: clamp(1.5rem, 3.5vh, 2.25rem); justify-items: start; }
.hero h1 { max-width: 11.5em; }
.hero .lede { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.35; letter-spacing: -0.015em; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Four facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); padding-bottom: clamp(4rem, 12vh, 8rem); }
.fact { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 2.5rem; min-height: clamp(220px, 30vh, 300px); padding: clamp(1.4rem, 2vw, 2rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.fact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(90% 70% at 100% 0%, var(--glow), transparent 70%); opacity: .55; }
.fact .art { width: 56px; height: 56px; stroke-width: 1.5; }
.fact p { color: var(--soft); margin-top: .6rem; }
@media (max-width: 1080px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .fact { min-height: 0; gap: 1.5rem; } }

/* ---------- Section heads ---------- */
.block { padding-top: clamp(4rem, 12vh, 8rem); padding-bottom: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 6vh, 4rem); max-width: 52rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); counter-reset: n; }
.step { display: grid; grid-template-rows: auto auto 1fr; gap: 1rem; padding: clamp(1.4rem, 1.8vw, 1.9rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step .art { width: 100%; max-width: 132px; height: auto; aspect-ratio: 1; stroke-width: 1.3; margin-bottom: .5rem; }
.step .num { font-size: var(--small); color: var(--soft); }
.step p { color: var(--soft); font-size: 1.0625rem; }
@media (max-width: 1180px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 76px 1fr; grid-template-rows: auto; column-gap: 1.2rem; row-gap: .4rem; align-items: start; }
  .step .art { grid-row: 1 / span 3; max-width: 76px; margin: 0; }
}

/* ---------- Two-column lists ---------- */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.panel { padding: clamp(1.5rem, 2.6vw, 2.5rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.panel h3 { margin-bottom: 1.4rem; }
.panel--cream { background: var(--cream); color: var(--cream-ink); border-color: transparent; }
.panel--cream .list li p { color: rgba(13, 13, 18, .72); }
.panel--cream .list li { border-color: rgba(13, 13, 18, .12); }
.list { display: grid; }
.list li { display: grid; grid-template-columns: 30px 1fr; gap: .2rem 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list li:last-child { padding-bottom: 0; }
.list strong { font-weight: 500; letter-spacing: -0.01em; }
.list p { grid-column: 2; color: var(--soft); font-size: 1rem; }
.mk { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; grid-row: 1 / span 2; }
.mk svg { width: 14px; height: 14px; }
.mk--yes { background: var(--white); color: var(--black); }
.mk--no { background: var(--cream-ink); color: var(--cream); }
.note { margin-top: clamp(1.25rem, 3vh, 2rem); color: var(--soft); font-size: var(--small); max-width: 44rem; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* ---------- Limits ---------- */
.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.limit { display: grid; gap: 1rem; align-content: start; padding: clamp(1.5rem, 2.2vw, 2.25rem); border-radius: var(--radius); border: 1px solid var(--line); }
.limit .art { width: 64px; height: 64px; stroke-width: 1.5; margin-bottom: .75rem; }
.limit p { color: var(--soft); }
@media (max-width: 860px) { .limits { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq .head { position: sticky; top: 110px; margin: 0; justify-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; padding: clamp(1.1rem, 2.6vh, 1.5rem) 0; cursor: pointer; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .26); transition: background .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover i { border-color: var(--white); }
.qa details > div { padding-bottom: clamp(1.2rem, 3vh, 1.8rem); color: var(--soft); max-width: 36em; display: grid; gap: .8rem; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .head { position: static; } }

/* ---------- Contact ---------- */
.cta { padding-bottom: clamp(4rem, 12vh, 8rem); }
.cta__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(1.25rem, 3vh, 2rem); justify-items: start; padding: clamp(2rem, 6vw, 5.5rem); border-radius: var(--radius); background: var(--indigo); }
.cta__panel::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(111, 183, 255, .55), transparent 65%), radial-gradient(60% 80% at 0% 100%, rgba(255, 180, 138, .35), transparent 70%); }
.cta__panel h2 { max-width: 12em; }
.cta__panel .lede { color: rgba(255, 255, 255, .86); }
.inc { display: flex; flex-wrap: wrap; gap: .5rem; }
.inc li { padding: .5rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: var(--small); }
.cta__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cta__acts .btn--ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.cta__mail { font-size: var(--small); color: rgba(255, 255, 255, .86); }
.cta__mail a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.25rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--soft); font-size: var(--small); }
.foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; transition: color .3s; }
.foot a:hover { color: var(--white); }

/* ---------- Line drawings (same style as the home page) ---------- */
.art { --a1: var(--sky); --a2: var(--peach); display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art .s { stroke: var(--a1); }
.art .p { stroke: var(--a2); }
.art .d { stroke-opacity: .36; }
.art .fs { fill: var(--a1); stroke: none; }
.art .fp { fill: var(--a2); stroke: none; }
.art .ff { fill: currentColor; stroke: none; }
.art--draw .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.art--draw .pop { opacity: 0; }
.art--draw.is-drawn .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) calc(.1s + var(--k) * 60ms); }
.art--draw.is-drawn .pop { opacity: 1; transition: opacity .7s calc(.45s + var(--k) * 60ms); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
[data-reveal].pre { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal].pre { opacity: 1; transform: none; }
}

/* ---------- Shared by /data and /data/voice ---------- */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* The padding makes these small text links easier to tap; the negative margin keeps the line where it was. */
.label a, .cta__mail a { display: inline-block; padding-block: .8rem; margin-block: -.8rem; }
.label a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .3s; }
.label a:hover { color: var(--white); }
.qa a, .note a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Data types (on /data) ---------- */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.kind { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1rem; align-content: start; justify-items: start; padding: clamp(1.5rem, 2.2vw, 2.25rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.kind--open::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(37, 48, 245, .9), transparent 70%); opacity: .6; }
.kind .art { width: 64px; height: 64px; stroke-width: 1.5; margin-bottom: .5rem; }
.kind p { color: var(--soft); }
.kind .btn { margin-top: .5rem; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .8rem; border-radius: 999px; font-size: var(--small); background: rgba(255, 255, 255, .14); }
.tag--open { background: var(--white); color: var(--black); font-weight: 500; }
@media (max-width: 860px) { .kinds { grid-template-columns: 1fr; } }

/* ---------- Phones: compact rows instead of tall cards, and less space between sections ---------- */
@media (max-width: 640px) {
  .block { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  .facts { gap: 10px; padding-bottom: 3.25rem; }
  .fact { grid-template-columns: 40px minmax(0, 1fr); align-content: start; align-items: start; gap: 1rem; min-height: 0; padding: 1.1rem 1.2rem; }
  .fact .art { width: 40px; height: 40px; }
  .fact p { margin-top: .3rem; font-size: 1rem; }
  .steps { gap: 10px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; row-gap: .25rem; padding: 1.1rem 1.2rem; }
  .step .art { max-width: 48px; }
  .step p { font-size: 1rem; }
  .limits { gap: 10px; }
  .limit { grid-template-columns: 44px minmax(0, 1fr); column-gap: 1rem; row-gap: .3rem; padding: 1.1rem 1.2rem; }
  .limit .art { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  .limit p { font-size: 1rem; }
}
