/* Layout: a framed 1200px column with hairline rails; every block is a rectangular cell divided by fine blue lines (1px gap over a line-coloured ground). Single deliberate light look. */
:root {
  --ground: #ffffff;
  --ink: #0d2633;
  --muted: #557080;
  --brand: #0085B6;
  --brand-dk: #006e96;
  --line: #b9dbeb;
  --tint: #f4f9fc;
  --grid-minor: #ecf5fa;
  --blueprint: #0085B6;
  --bp-minor: rgba(255,255,255,.14);
  --bp-major: rgba(255,255,255,.32);
  --grid-major: #d8eaf3;
  --font: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--ground); color: var(--ink); }
body { font-family: var(--font); font-size: 16px; line-height: 1.55; font-weight: 400; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; }
.page { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.frame { max-width: 1200px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.cells { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.cell { background: var(--ground); padding: 28px; min-width: 0; }
.cell.tint { background: var(--tint); }
.cell.flush { padding: 0; }

.label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.label, .tag { display: inline-block; align-self: flex-start; padding: 0 12px 7px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); line-height: 1.4; }
.label b { color: var(--muted); font-weight: 400; }
.fs { text-transform: none; letter-spacing: normal; }
.foot h4 .fs, .label .fs, .tag .fs, .grouphead .fs, .group .fs, .badge .fs, .draft .fs, .legal .fs { text-transform: uppercase; letter-spacing: inherit; }
.meta { font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); font-style: italic; }

.btn { display: inline-flex; align-items: center; gap: 0; white-space: pre-wrap; font: 400 15px/1 var(--font); text-decoration: none; padding: 13px 18px; border-radius: 3px; border: 1px solid var(--brand); transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dk); border-color: var(--brand-dk); }
.btn.ghost { background: var(--ground); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.textlink { color: var(--brand); text-decoration: none; font-weight: 600; font-size: 15px; }
.textlink:hover { text-decoration: underline; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* time zone helper */
.tz { border: 1px solid var(--line); border-radius: 3px; padding: 14px 16px; display: grid; gap: 10px; background: var(--ground); }
.cta .tz p { margin-top: 0; }
.tz-call { font-size: 15px; }
.tz-call a { color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tz-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tz-row label { font-size: 13px; color: var(--muted); }
.tz-row select { font: 400 14px/1.3 var(--font); color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; max-width: 100%; min-width: 0; flex: 1 1 200px; }
.tz-out { font-size: 14px; color: var(--muted); }
.tz-out b { color: var(--ink); font-weight: 600; }
.tz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.tz-dot.open { background: #2e9e5b; } .tz-dot.closed { background: #b8c6cd; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; position: relative; }
.brand { font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; height: auto; max-width: 100%; }
.nav ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 15px; color: var(--muted); white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }
.nav ul { align-items: center; }
.nav .mobile-only { display: none; }
.nav ul li { position: relative; }
.nav-yt img { display: block; height: 16px; width: auto; }
.nav ul li:not(.nav-yt) > a { display: inline-block; padding: 0 13px; border-right: 1px solid var(--line); line-height: 1.4; }
.nav ul a[aria-current] { color: var(--brand); }
.nav .btn { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.menu-btn { display: none; font: 400 14px/1 var(--font); background: var(--ground); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; cursor: pointer; }

/* page head */
.head { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.head .cell { padding-block: 22px; }
.head h2 em { font-style: normal; color: var(--brand); }
.head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -.015em; }
.pagehead { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.pagehead .cell { padding-block: 40px; }
.pagehead h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; }
.pagehead h1 em { font-style: normal; color: var(--brand); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }

/* home hero */
.hero { grid-template-columns: minmax(0, 1fr) 460px; }
.hero { gap: 0; }
.hero-img { padding: 0; position: relative; aspect-ratio: 1280 / 1808; border-left: 1px solid #d4d9dc; cursor: pointer; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border: 0; opacity: 0; transition: opacity .8s ease; }
.hero-img img.on { opacity: 1; }
.hero-img:focus-visible { outline-offset: -3px; }
.hero-copy { padding: 48px 40px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.viewport { display: flex; flex-direction: column; }
.vp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pause { font: 400 12px/1 var(--font); color: var(--muted); background: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: 6px 9px; cursor: pointer; }
.pause:hover { color: var(--brand); border-color: var(--brand); }
.wall { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; padding: 12px;
  background-color: var(--blueprint);
  background-image:
    linear-gradient(var(--bp-major) 2.5px, transparent 1px),
    linear-gradient(90deg, var(--bp-major) 2.5px, transparent 1px),
    linear-gradient(var(--bp-minor) 2px, transparent 1px),
    linear-gradient(90deg, var(--bp-minor) 2px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px; }
.slot { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; }
.slot.big { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
.slot.big .sheet { width: auto; height: calc(100% - 32px); max-width: calc(100% - 32px); }
.sheet { position: relative; width: calc(100% - 32px); aspect-ratio: 1 / 1.414; border: 0; box-shadow: 0 6px 18px rgba(0, 40, 64, .28); background: var(--ground); overflow: hidden; opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .8s ease, transform .8s ease; }
.slot.on .sheet { opacity: 1; transform: none; }
.sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet img.after { opacity: 0; transition: opacity 1.1s ease; }
.slot.flip .sheet img.after { opacity: 1; }

/* generic column grids */
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.svc { display: flex; flex-direction: column; gap: 12px; padding-block: 32px; }
.svc .tag, .tag { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.svc h3 { font-size: 1.3rem; }
.svc p { color: var(--muted); }
.svc .textlink { margin-top: auto; padding-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.fact { background: var(--ground); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fact h3 { font-size: 1.02rem; }
.fact p { color: var(--muted); font-size: 15px; }
.big { font-size: 1.15rem; line-height: 1.5; }

/* apps */
.apps { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.appgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: linear-gradient(var(--ground), var(--ground)) no-repeat 0 0 / calc(100% - 1px) 100%; }
.appgrid { margin: -1px -1px 0 0; }
.appgrid > .app { border: 1px solid var(--line); border-left: 0; margin-bottom: -1px; }
.appgrid > .group { border: 1px solid var(--line); border-left: 0; margin-bottom: -1px; }
.app { background: var(--ground); padding: 14px 14px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background .15s; }
a.app:hover { background: var(--tint); }
.app.custom { cursor: default; }
.app.custom .tip { width: auto; white-space: nowrap; }
.app { position: relative; }
.app .tip { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); width: 230px; transform: translate(-50%, 4px);
  background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 9px 11px; border-radius: 3px;
  display: none; pointer-events: none; }
.app .tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.app:hover .tip, .app:focus-visible .tip, .app.custom:focus .tip { display: block; transform: translate(-50%, 0); }
@media (hover: none) { .app .tip { display: none; } }
.app .no { font-size: 15px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.app .nm { font-size: 15px; font-weight: 600; }
.group { grid-column: 1 / -1; background: var(--tint); padding: 8px 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.appcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.appcard.blank { background: var(--ground); }
.appcard { background: var(--ground); padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; }
a.appcard:hover { background: var(--tint); }
.appcard .no { font-size: 12px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.appcard h3 { font-size: 1.15rem; }
.appcard p { color: var(--muted); font-size: 15px; }
.appcard .go { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--brand); }
.badge { display: inline-block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--line); border-radius: 3px; padding: 3px 6px; align-self: flex-start; }

/* strips + lists */
.strip { display: flex; flex-direction: column; gap: 14px; padding: 36px 28px; }
.strip h3 { font-size: 1.5rem; }
.strip p { color: var(--muted); max-width: 30rem; }
.strip .btn { align-self: flex-start; margin-top: 6px; }
.qs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.qs li { background: var(--ground); padding: 10px 14px; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.qs li span { color: var(--brand); font-size: 13px; white-space: nowrap; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; background: var(--brand); }
.ticks li b { color: var(--ink); font-weight: 600; }

/* tables */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--tint); }
td:first-child { font-weight: 600; white-space: nowrap; }

/* accordions */
details.qa { background: var(--ground); }
details.qa > summary { list-style: none; cursor: pointer; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::marker { content: ""; }
details.qa > summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .15s; margin-top: -4px; }
details.qa[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.qa > summary:hover { color: var(--brand-dk); }
details.qa .ans { padding: 0 28px 22px; display: flex; flex-direction: column; gap: 12px; color: var(--muted); max-width: 52rem; }
details.qa .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.qlist { display: grid; gap: 1px; background: var(--line); }
.grouphead { background: var(--tint); padding: 10px 28px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.appref { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: .02em; }

/* work */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.case { background: var(--ground); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pair img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; border: 1px solid var(--line); display: block; }
.pair figcaption { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: 1.1rem; }
.case h3 span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.case p { color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.work-item { background: var(--ground); margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.work-frame { display: block; padding: 0; }
.work-item img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; border: 1px solid #d4d9dc; display: block; background: var(--ground); }
.gallery .blank { display: block; }
.work-item figcaption { display: flex; flex-direction: column; gap: 2px; }
.work-item figcaption b { font-weight: 600; }
.work-item figcaption span { font-size: 14px; color: var(--muted); }
.clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 12px; padding-block: 30px; }
.quote::before { content: "\201C"; font-size: 44px; line-height: .6; color: var(--brand); font-weight: 600; height: 20px; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.client { display: flex; flex-direction: column; gap: 6px; padding-block: 30px; }
.client .nm { font-size: 1.35rem; font-weight: 600; }

/* blog */
.chips { gap: 8px; padding-block: 16px; }
.chip { font: 400 14px/1 var(--font); color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: 9px 12px; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--ground); margin: -1px -1px 0 0; }
.posts > .post { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.post { background: var(--ground); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post h3 { font-size: 1.2rem; line-height: 1.25; }
.post p { color: var(--muted); font-size: 15px; }
.post.featured { padding-block: 36px; }
.post.featured h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.post.featured p { font-size: 1.05rem; }
.post-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.draft { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--line); border-radius: 3px; padding: 3px 6px; }

/* contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.drop { border: 1px dashed var(--line); border-radius: 3px; padding: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.drop label.btn { font-size: 14px; padding: 9px 12px; color: var(--muted); }
.drop input { display: none; }
.sent { background: var(--tint); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; font-size: 14px; }

/* terms */
.prose { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.prose h3 { font-size: 1.1rem; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.cols3 { display: block; column-count: 3; column-gap: 56px; column-rule: 1px solid var(--line); max-width: none; font-size: 15px; }
.cols3 > * { margin: 0 0 12px; }
.cols3 ul { display: block; }
.cols3 li { margin-bottom: 6px; break-inside: avoid; }
.cols3 p { break-inside: avoid; }
.cols3 h3 { font-size: 1rem; margin-top: 18px; break-after: avoid; }
.cols3 .colhead { display: block; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); break-after: avoid; }
.cols3 .colhead:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.termstitle { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; }
.termstitle em { font-style: normal; color: var(--brand); }

/* cta */
.cta { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cta .cell { padding: 44px 28px; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; margin-top: 10px; }
.cta p { color: var(--muted); margin-top: 14px; max-width: 36rem; }
.cta .act { display: flex; flex-direction: column; justify-content: center; gap: 12px; }

/* footer */
.foot { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.foot .cell { padding-block: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--brand); }
.foot address { font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 28px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* responsive */
@media (max-width: 960px) {
  .hero, .apps, .cta, .split, .pagehead { grid-template-columns: 1fr; }
  .three, .clients { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .blank { display: none; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols3 { column-count: 2; }
  .appcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .appgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav ul { gap: 0; }
}
@media (max-width: 1020px) {
  .menu-btn { display: inline-block; }
  .nav .btn.primary { display: none; }
  .nav ul { display: none; align-items: stretch; position: absolute; left: -1px; right: -1px; top: 100%; z-index: 20; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: none; }
  .nav.open ul { display: flex; }
  .nav .mobile-only { display: block; }
  .nav ul a { display: block; background: var(--ground); padding: 14px 20px; font-size: 16px; color: var(--ink); }
  .nav ul li:not(.nav-yt) > a { display: block; border: 0; padding: 14px 20px; line-height: 1.55; }
  .nav ul a[aria-current] { box-shadow: inset 3px 0 0 var(--brand); padding-bottom: 14px; }
}
@media (max-width: 640px) {
  .head, .two, .cases, .gallery, .foot, .posts { grid-template-columns: 1fr; }
  .work-item { padding: 22px 20px; }
  .cols3 { column-count: 1; }
  .facts, .form { grid-template-columns: 1fr; }
  .appgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appcards { grid-template-columns: 1fr; }
  .nav { padding: 14px 20px; }
  .hero-copy { padding: 36px 20px; }
  .cell { padding: 22px 20px; }
  .cell.flush, .cell.viewport { padding: 0; }
  .cta .cell { padding: 32px 20px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 3.4; }
  .sheet { width: calc(100% - 24px); }
  details.qa > summary { padding: 16px 20px; }
  details.qa .ans { padding: 0 20px 20px; }
  .grouphead { padding: 10px 20px; }
  .legal { padding: 16px 20px; }
  .foot .cell { padding-block: 22px; }
}

/* folder-tab layout */
.frame { border-left: 0; border-right: 0; }
.frame > .nav { border: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
.sec { margin-top: 40px; }
.sec > section { border: 1px solid var(--line); border-top: 0; }
.sec > section > .cells:first-child, .sec > section.cells { border-top: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 0; position: relative; z-index: 1; margin-bottom: -1px; }
.tab { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; line-height: 1.4;
  background: var(--ground); border: 1px solid var(--line); border-bottom-color: var(--ground); border-radius: 4px 4px 0 0; padding: 9px 18px 8px; line-height: 17px; }
.tab b { color: inherit; font-weight: inherit; }
.tab .fs { text-transform: uppercase; letter-spacing: inherit; }
.tabbed:has(> section.two, > section.split) > .tabs:has(> .tab:nth-child(2):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.tabbed > .tabs > .tab { justify-self: start; }
.tabbed > .tabs > .tab:nth-child(2) { margin-left: -1px; }
.sec.duo { margin-top: 76px; }
.sec.duo > section { border: 0; background: transparent; gap: 76px 40px; }
.sec.duo > section > .cell { position: relative; border: 1px solid var(--line); }
.tab.ptab { position: absolute; top: -36px; left: -1px; white-space: nowrap; }
.sec.duo > section.cells { border-top: 0; }
.cells.nest { background: var(--ground); padding: 56px 20px 20px; gap: 56px 20px; }
.cells.nest > .cell { position: relative; border: 1px solid var(--line); }
.appgrid > .group, .appcards > .grouphead, .paidcol > .grouphead { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.titlerow { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.appcard .titlerow .no { font-size: 1.15rem; line-height: 1.2; }
.appcard .titlerow .no + h3 { margin-left: -4px; }
.titlerow .badge { margin: 0; }
.afterbox { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.label, .tag { border: 0; padding: 0; color: var(--ink); font-weight: 600; }
.label b, .tag b { color: var(--ink); font-weight: 600; }
.svc-thumb { margin-top: auto; padding-top: 8px; }
.svc .svc-thumb + .textlink { margin-top: 0; }
.svc-thumb img { width: 85%; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; display: block; border: 1px solid #d4d9dc; background: var(--ground); }
.paidcol { display: flex; flex-direction: column; background: var(--ground); }
.paidcol > .appcard { flex: 1; }
.freetag { display: inline-block; margin-right: 10px; padding: 2px 6px 1px; background: #fff; color: var(--brand); font-size: 10px; line-height: 1.2; letter-spacing: .1em; font-weight: 600; border-radius: 0; vertical-align: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent.err { color: #b3261e; }
.cells:has(> .cell:only-child) { grid-template-columns: minmax(0, 1fr); }
.frame > .foot { margin-top: 40px; border: 1px solid var(--line); }
.frame > .legal { border: 0; padding-inline: 0; padding-top: 18px; justify-content: space-between; }
.frame > .legal > span:last-child:not(:first-child) { margin-left: auto; text-align: right; }
.frame > .legal { padding-bottom: 32px; }
@media (max-width: 640px) { .frame > .legal > span:last-child { margin-left: 0; text-align: left; } }

/* seo:skip-link */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #0085B6; color: #fff; padding: 10px 16px; border-radius: 0 0 4px 0; text-decoration: none; }
.skip:focus { left: 0; outline: 2px solid #0d2633; outline-offset: 2px; }
main:focus { outline: none; }

/* seo:img-auto -- width/height attributes reserve space; CSS keeps control of the rendered size */
img { height: auto; }
