/* jawatlas.com
   White, calm, product-first. One typeface (Schibsted Grotesk), one accent
   (the app's own blue), #f5f5f7 bands and stages, real device frames.
   The three plane colours appear only where they mean something. */

:root {
  --bg: #ffffff;
  --band: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #4b4b50;
  --ink-3: #6e6e73;
  --line: #e5e5ea;
  --line-2: #d2d2d7;
  --accent: #0d4f9e;
  --axial: #ff453a;
  --coronal: #30d158;
  --sagittal: #ffd60a;
  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1040px;
  --radius: 24px;
  --shadow-device: 0 1px 2px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(28px, 2.8vw, 34px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font: .92em ui-monospace, "SF Mono", Menlo, monospace; background: var(--band); border-radius: 5px; padding: .05em .35em; }
pre { background: var(--band); border: 1px solid var(--line); padding: 16px 18px; border-radius: 12px; overflow-x: auto; font: 14px/1.55 ui-monospace, "SF Mono", Menlo, monospace; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; vertical-align: .05em; margin-right: .4em; }
.dot.axial { background: var(--axial); } .dot.coronal { background: var(--coronal); } .dot.sagittal { background: var(--sagittal); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; text-decoration: none; line-height: 1.1; }
.btn:hover { background: #0b4385; }
.btn.small { padding: 9px 16px; font-size: 15px; }
.textlink { font-weight: 500; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 48px; width: auto; }

/* masthead */
.mast { background: var(--bg); }
.mast .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.wordmark img { border-radius: 7px; }
.mast-nav { display: flex; gap: 26px; margin-left: 10px; flex: 1; }
.mast-nav a { color: #3a3a3c; text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.mast-nav a:hover, .mast-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; margin-left: auto; position: relative; cursor: pointer; }
.menu span, .menu span::before, .menu span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu span { top: 21px; } .menu span::before { top: -7px; left: 0; } .menu span::after { top: 7px; left: 0; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: none; flex-direction: column; border-top: 1px solid var(--line); padding: 8px 20px 16px; background: var(--bg); }
.mnav a { padding: 12px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 17px; }
.mnav a:last-child { border: 0; color: var(--accent); font-weight: 500; }
@media (max-width: 860px) { .mast-nav, .mast .btn { display: none; } .menu { display: block; } .mnav:not([hidden]) { display: flex; } }

/* stages and device frames */
.stage { background: var(--band); border-radius: var(--radius); padding: 48px 56px; display: grid; place-items: center; }
.band.grey .stage { background: var(--bg); }
.device { position: relative; width: min(100%, 300px); aspect-ratio: 1206 / 2622; background: #000; border-radius: 48px; overflow: hidden; margin: 10px; touch-action: none; user-select: none; -webkit-user-select: none;
  box-shadow: 0 0 0 9px #111, 0 0 0 10px #2c2c2e, var(--shadow-device); }
.device > video, .device > img.shot { width: 100%; height: 100%; object-fit: cover; }
.device img.top { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.device img.bot { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.device canvas { position: absolute; left: 0; top: 27.35%; width: 100%; aspect-ratio: 1; }
.device .ov { position: absolute; font: 500 11px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; color: #fff; pointer-events: none; }
.device .ro { left: 5%; top: 24.6%; display: flex; align-items: center; gap: 5px; }
.device .ro i { width: 7px; height: 7px; border-radius: 50%; background: var(--axial); display: inline-block; }
.device .lab { background: rgba(110,115,125,.55); width: 5.2%; aspect-ratio: 1; border-radius: 18%; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.device .lab.a { left: 47.4%; top: 24.3%; } .device .lab.r { left: 3%; top: 48.8%; } .device .lab.l { right: 11%; top: 48.8%; }
.device .sc { position: absolute; pointer-events: none; }
.device .sc.v { left: 50%; top: 23.3%; bottom: 22.5%; width: 1px; background: var(--sagittal); }
.device .sc.h { left: 0; right: 0; top: 50.5%; height: 1px; background: var(--coronal); }
.device .cross { position: absolute; left: 50%; top: 50.5%; width: 18px; height: 18px; transform: translate(-50%, -50%); pointer-events: none; }
.device .cross::before, .device .cross::after { content: ""; position: absolute; background: #fff; }
.device .cross::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; clip-path: polygon(0 0,100% 0,100% 33%,0 33%,0 67%,100% 67%,100% 100%,0 100%); }
.device .cross::after { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; clip-path: polygon(0 0,33% 0,33% 100%,0 100%,67% 0,100% 0,100% 100%,67% 100%); }
.device .knob { position: absolute; right: 3%; top: 48.6%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); display: grid; place-items: center; color: var(--accent); font-size: 12px; pointer-events: none; }
.device.grab { cursor: ns-resize; }
.stage-cap { color: var(--ink-3); font-size: 14px; text-align: center; margin: 14px 0 0; }

/* hero */
.hero { padding: 56px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 64px; align-items: center; }
.hero h1 { max-width: 11ch; margin-bottom: 20px; }
.hero .lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-cta .textlink { color: var(--ink); font-size: 16px; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; color: var(--ink-3); font-size: 14px; }
@media (max-width: 960px) {
  .hero { padding: 32px 0 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .hero h1 { font-size: 36px; line-height: 1.1; letter-spacing: -.015em; max-width: none; }
  .hero .lede { font-size: 17px; line-height: 1.5; }
  .hero .stage { padding: 24px; }
  .device { width: min(100%, 280px); }
}

/* bands and feature rows */
.band { padding: 96px 0; }
.band.grey { background: var(--band); }
.band-h { max-width: 60ch; margin-bottom: 40px; }
.band-h p { color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature .tag { display: block; font-size: 15px; font-weight: 500; color: var(--ink-3); margin: 0 0 14px; }
.feature h2 { margin-bottom: 16px; }
.feature p { color: var(--ink-2); max-width: 34em; font-size: 17px; }
.feature ul { margin: 20px 0 24px; padding: 0; list-style: none; color: var(--ink-2); max-width: 34em; }
.feature li { padding: 10px 0; border-top: 1px solid var(--line); }
.feature li:last-child { border-bottom: 1px solid var(--line); }
.band.grey .feature li { border-color: var(--line-2); }
.feature .more { font-weight: 500; }
@media (max-width: 960px) { .feature { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } .feature .stage { padding: 24px; } .band { padding: 64px 0; } .feature + .feature { margin-top: 64px; } }

/* tri-planar demo */
.panes-stage { background: var(--band); border-radius: var(--radius); padding: 24px; }
.panes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 20px; }
.pane { background: #000; border-radius: 16px; overflow: hidden; position: relative; touch-action: none; cursor: crosshair; }
.pane.ax { aspect-ratio: 1; }
.pane.co, .pane.sa { aspect-ratio: 3 / 2; }
.pane canvas { width: 100%; height: 100%; }
.pane .sc { position: absolute; pointer-events: none; }
.pane .sc.v { top: 0; bottom: 0; width: 1px; } .pane .sc.h { left: 0; right: 0; height: 1px; }
.pane .sc.axial { background: var(--axial); } .pane .sc.coronal { background: var(--coronal); } .pane .sc.sagittal { background: var(--sagittal); }
.pane .cross { position: absolute; width: 18px; height: 18px; transform: translate(-50%, -50%); pointer-events: none; }
.pane .cross::before, .pane .cross::after { content: ""; position: absolute; background: #fff; }
.pane .cross::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; clip-path: polygon(0 0,100% 0,100% 33%,0 33%,0 67%,100% 67%,100% 100%,0 100%); }
.pane .cross::after { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; clip-path: polygon(0 0,33% 0,33% 100%,0 100%,67% 0,100% 0,100% 100%,67% 100%); }
.pane-cap { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }
.pane-cap .mm { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .panes { grid-template-columns: minmax(0, 1fr); } .panes-stage { padding: 16px; } }

/* window wipe */
.wipe-row { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 64px; align-items: center; margin-top: 96px; }
.wipe-row p { color: var(--ink-2); max-width: 34em; }
.wipe { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe .top { clip-path: inset(0 50% 0 0); }
.wipe .bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.wipe .bar::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #1d1d1f; display: grid; place-items: center; font-size: 16px; }
.wipe-stage { background: var(--band); border-radius: var(--radius); padding: 24px; }
.wipe-cap { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 14px; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .wipe-row { grid-template-columns: minmax(0, 1fr); row-gap: 28px; margin-top: 64px; } }

/* audience ledger */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ledger > a { display: block; padding: 28px; text-decoration: none; color: inherit; background: var(--bg); border-radius: 20px; }
.ledger h3 { margin-bottom: 10px; }
.ledger p { color: var(--ink-2); font-size: 16px; }
.ledger .more { color: var(--accent); font-weight: 500; }
@media (max-width: 860px) { .ledger { grid-template-columns: minmax(0, 1fr); } }

/* editorial index lists */
.index-list { display: grid; border-top: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: 96px 1fr; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: baseline; }
.index-row .kicker { grid-row: 1 / 3; color: var(--ink-3); font-size: 14px; font-weight: 500; margin: 0; }
.index-row strong { font-weight: 500; font-size: 18px; color: var(--ink); }
.index-row span:not(.kicker) { color: var(--ink-2); font-size: 15px; }
.index-row:hover strong { color: var(--accent); }
@media (max-width: 600px) { .index-row { grid-template-columns: minmax(0, 1fr); } .index-row .kicker { grid-row: auto; } }
.index-group { margin-top: 40px; }

.privacy-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.privacy-strip p { color: var(--ink-2); max-width: 34em; }
.privacy-strip ul { list-style: none; padding: 0; margin: 0; }
.privacy-strip li { padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: 16px; }
.privacy-strip li strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .privacy-strip { grid-template-columns: minmax(0, 1fr); } }

.cta-band { background: var(--band); border-radius: var(--radius); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--ink-2); max-width: 34em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* articles */
.article-wrap { padding: 48px 0 64px; }
.article { max-width: 68ch; }
.article .lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-bottom: 1.6em; }
.article h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: .45em; }
.article h2 { margin-top: 2.2em; font-size: clamp(24px, 2.4vw, 30px); }
.article h3 { margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .45em; }
.article a { color: var(--accent); text-decoration-color: rgba(13,79,158,.35); }
.article a:hover { text-decoration-color: var(--accent); }
.article figure { margin: 2em 0; }
.article figure.plate img, .article figure.plate video { border-radius: 16px; width: 100%; background: #000; }
.article figure.plate.phone-wrap, .article figure.plate.phone { display: grid; justify-items: center; }
.article figure.phone video { width: min(100%, 280px); border-radius: 44px; box-shadow: 0 0 0 9px #111, 0 0 0 10px #2c2c2e, var(--shadow-device); margin: 12px auto; }
.article figure.plate.phone-wrap img { width: min(100%, 280px); border-radius: 44px; box-shadow: 0 0 0 9px #111, 0 0 0 10px #2c2c2e, var(--shadow-device); margin: 12px auto; }
.article figure.plate.phone-wrap img[width="1200"] { width: min(100%, 560px); border-radius: 18px; box-shadow: 0 0 0 10px #0b0b0c, 0 0 0 11px #2c2c2e, var(--shadow-device); }
.article figcaption { color: var(--ink-3); font-size: 14px; margin-top: 14px; text-align: center; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { color: inherit; }
.kicker { color: var(--ink-3); font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.toc { background: var(--band); border-radius: 16px; padding: 18px 22px; margin: 0 0 2em; font-size: 15px; }
.toc p { margin: 0 0 6px; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; margin: 2px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.note { background: var(--band); padding: 16px 20px; border-radius: 12px; margin: 1.6em 0; color: var(--ink-2); }
.note p:last-child { margin: 0; }
.lead-box { background: var(--band); border-radius: 12px; padding: 16px 20px; font-weight: 500; }
.steps ol { counter-reset: s; list-style: none; padding: 0; margin: 1em 0 1.6em; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 14px/30px var(--font); text-align: center; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0 1.8em; }
table.spec th, table.spec td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { font-weight: 500; color: var(--ink-2); font-size: 13px; }
table.spec tbody th { color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; }
dl.glossary dt { font-weight: 600; margin-top: 1.1em; }
dl.glossary dd { margin: .2em 0 0; color: var(--ink-2); }
.faq { margin-top: 3em; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 500; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 20px; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-2); margin: 0 0 14px; }
.try { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--band); border-radius: 20px; padding: 28px; margin: 3em 0 1.6em; }
.try p { margin: 0; color: var(--ink-2); }
.try .try-h { color: var(--ink); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 600px) { .try { grid-template-columns: minmax(0, 1fr); } }
.disclaimer { color: var(--ink-3); font-size: 14px; }
.updated { color: var(--ink-3); font-size: 13px; }
.related { max-width: 68ch; margin-top: 48px; }
.related h2 { font-size: 18px; color: var(--ink-2); font-weight: 500; }

/* footer */
.foot { background: var(--band); padding: 56px 0 40px; margin-top: 64px; color: var(--ink-2); font-size: 15px; }
.page-home .foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.foot-grid p { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot-grid a { display: block; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-disclaimer { max-width: 70ch; color: var(--ink-3); font-size: 14px; }
.foot-meta { color: var(--ink-3); font-size: 13px; }
.foot-meta a { color: inherit; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 1em 0 2em; }
.press-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14px; }
.press-grid img { border-radius: 10px; background: var(--band); margin-bottom: 6px; }
