@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light only;
  --background: oklch(0.99 0 0);
  --card: #fff;
  --ink: oklch(0.145 0 0);
  --muted: oklch(0.97 0 0);
  --quiet: #666;
  --border: oklch(0.905 0 0);
  --radius: 16px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: -0.035em;
  font-weight: 800;
}
h1 {
  font-size: clamp(44px, 5.3vw, 74px);
  line-height: 1.06;
}
h2 {
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.13;
}
h3 {
  font-size: 23px;
  line-height: 1.2;
}
p {
  line-height: 1.65;
}
.wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #777;
  outline-offset: 5px;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px;
  background: white;
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 100px;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
}
.site-header nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-header nav a {
  padding: 10px 13px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-header nav a:hover {
  background: var(--muted);
}
.site-header nav a[aria-current] {
  background: var(--ink);
  color: #fff;
}
.web-link {
  font-size: 14px;
  text-underline-offset: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 58px;
  padding-top: 34px;
  padding-bottom: 60px;
}
.hero-copy {
  padding-block: 28px;
}
.hero-body {
  max-width: 510px;
  font-size: 18px;
  color: #4c4c4c;
  margin: 25px 0 30px;
}
.hero-note {
  font-size: 13px;
  color: var(--quiet);
  margin-top: 14px;
}
.button {
  gap: 10px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 25px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 3px 9px #00000012;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.98);
}
.character-stage {
  height: 520px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.mascot {
  height: 94%;
  width: 95%;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px #00000013);
  transform-origin: 50% 88%;
  animation: mascot-drift 6s ease-in-out infinite;
  animation-play-state: paused;
}
.section {
  padding-top: 56px;
  padding-bottom: 36px;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}
.section-heading p {
  color: var(--quiet);
  font-size: 16px;
  margin-top: 16px;
}
.workflow-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 46px;
  background: var(--card);
  align-items: center;
}
.workflow-panel figure {
  display: grid;
  justify-items: center;
}
.app-screen {
  max-height: 490px;
  width: auto;
  border-radius: 16px;
}
.workflow-rows article + article {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 26px;
}
.workflow-rows p,
.guide-items p {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 16px;
}
figcaption {
  font-size: 12px;
  color: var(--quiet);
  margin-top: 12px;
  text-align: center;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}
.guide-items article + article {
  margin-top: 28px;
}
.report-card {
  background: var(--muted);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 36px 60px;
}
.report-card figure {
  display: grid;
  justify-items: center;
}
.report-thumbnail {
  max-height: 330px;
  width: auto;
  box-shadow: 0 2px 12px #00000012;
}
.report-card .section-heading {
  margin-bottom: 16px;
}
.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 15px;
  color: var(--ink);
}
.faq-items {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.faq-items details + details {
  border-top: 1px solid var(--border);
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  font-size: 16px;
  cursor: pointer;
  line-height: 1.5;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  padding: 0 26px 24px;
  color: var(--quiet);
  max-width: 900px;
}
.related-list {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}
.related-list a {
  display: block;
  text-decoration: none;
  padding: 24px 28px;
}
.related-list a + a {
  border-top: 1px solid var(--border);
}
.related-list a:hover {
  background: var(--muted);
}
.related-list p {
  color: var(--quiet);
  margin-top: 8px;
  max-width: 850px;
}
.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: #111;
  border-radius: 24px;
  color: #fff;
  padding: 45px;
}
.download-card .section-heading {
  margin: 0;
}
.download-card .section-heading p {
  color: #bbb;
}
.download-card .button {
  background: #fff;
  color: #111;
  flex-shrink: 0;
}
.site-footer {
  padding-block: 48px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--quiet);
}
.site-footer nav a {
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.report-dialog {
  border: 0;
  padding: 0;
  background: #111;
  color: #fff;
  border-radius: 24px;
  width: min(900px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: hidden;
  box-shadow: 0 20px 100px #0005;
}
.report-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  align-items: start;
}
.dialog-head h2 {
  font-size: 28px;
}
.dialog-head p {
  color: #bbb;
  font-size: 13px;
  margin-top: 5px;
}
.dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  color: white;
  background: #ffffff15;
}
.dialog-pages {
  max-height: calc(90dvh - 110px);
  overflow: auto;
  padding: 20px;
  background: #e8e8e8;
  overscroll-behavior: contain;
}
.dialog-pages img {
  width: 100%;
  height: auto;
  margin-inline: auto;
}
.dialog-pages img + img {
  margin-top: 18px;
}
.modal-open {
  overflow: hidden;
}
.reading-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  gap: 45px 65px;
  padding-top: 45px;
}
.article-heading {
  grid-column: 1/-1;
  max-width: 960px;
}
.article-heading h1 {
  font-size: clamp(39px, 4.5vw, 62px);
  max-width: 900px;
}
.article-heading p {
  font-size: 19px;
  max-width: 790px;
  color: #555;
  margin-top: 24px;
}
.contents {
  align-self: start;
  position: sticky;
  top: 28px;
  display: grid;
  gap: 16px;
  padding-top: 8px;
}
.contents a {
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  color: var(--quiet);
}
.contents a:hover {
  text-decoration: underline;
}
.article-body {
  font-size: 17px;
  line-height: 1.8;
  min-width: 0;
}
.article-body > p,
.article-body section > p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.article-body section {
  scroll-margin-top: 20px;
  margin-top: 42px;
}
.article-body section:first-child {
  margin-top: 0;
}
.article-body h2 {
  font-size: 30px;
  margin-bottom: 18px;
}
.article-body ul {
  padding-left: 24px;
  line-height: 1.8;
}
.article-body li + li {
  margin-top: 9px;
}
.article-sources {
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 25px;
  font-size: 13px;
  color: var(--quiet);
}
.article-sources h2 {
  font-size: 22px;
}
.table-scroll {
  overflow: auto;
  margin-bottom: 20px;
}
.table-scroll table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.table-scroll caption {
  text-align: left;
  margin-bottom: 13px;
  color: var(--quiet);
}
th,
td {
  border-bottom: 1px solid var(--border);
  padding: 13px 10px;
  text-align: left;
}
th {
  background: var(--muted);
}
.index-hero {
  display: block;
  max-width: 1160px;
  padding-bottom: 0;
}
.index-hero .hero-body {
  max-width: 700px;
}
@media (max-width: 950px) {
  .site-header {
    gap: 15px;
  }
  .site-header nav a {
    padding: 10px 9px;
  }
  .hero {
    gap: 30px;
  }
  .character-stage {
    height: 460px;
  }
  .workflow-panel {
    gap: 35px;
    padding: 28px;
  }
  .report-card {
    gap: 35px;
    padding: 30px;
  }
  .reading-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 38px;
  }
  .site-footer {
    align-items: start;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 23px;
    gap: 20px;
  }
  .site-header .brand img {
    width: 132px;
    height: auto;
  }
  .site-header .web-link {
    margin-left: auto;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 6px;
  }
  .site-header nav a {
    padding: 10px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 20px;
  }
  .hero-copy {
    padding: 10px 0;
  }
  .hero-body {
    font-size: 17px;
    margin: 20px 0 24px;
  }
  .hero .button {
    width: 100%;
  }
  .character-stage {
    height: 410px;
  }
  .section {
    padding-top: 38px;
    padding-bottom: 12px;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .workflow-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px 22px;
  }
  .app-screen {
    max-height: 420px;
  }
  .workflow-rows article + article {
    margin-top: 22px;
    padding-top: 22px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .report-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }
  .report-thumbnail {
    max-height: 300px;
  }
  .report-card .section-heading {
    margin-bottom: 10px;
  }
  summary {
    padding: 20px;
    gap: 20px;
  }
  details p {
    padding: 0 20px 22px;
  }
  .download-card {
    display: block;
    padding: 29px 25px;
    border-radius: 16px;
  }
  .download-card .button {
    width: 100%;
    margin-top: 25px;
  }
  .site-footer {
    display: block;
    padding-block: 35px;
  }
  .site-footer nav {
    margin-top: 25px;
    gap: 20px;
  }
  .report-dialog {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 24px;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-head h2 {
    font-size: 24px;
  }
  .dialog-pages {
    max-height: calc(92dvh - 110px);
    padding: 12px;
  }
  .reading-layout {
    display: block;
    padding-top: 25px;
  }
  .article-heading p {
    font-size: 17px;
  }
  .contents {
    position: static;
    gap: 13px;
    background: var(--muted);
    padding: 22px;
    border-radius: 16px;
    margin: 30px 0;
  }
  .article-body {
    font-size: 16px;
  }
  .article-body h2 {
    font-size: 28px;
  }
  .related-list a {
    padding: 22px;
  }
  .article-body section {
    margin-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* Header height can wrap on phones; let the document viewport take the remaining space. */
.report-dialog[open] {
  display: flex;
  flex-direction: column;
  height: 90dvh;
}
.dialog-head {
  flex-shrink: 0;
}
.dialog-pages {
  min-height: 0;
  max-height: none;
  flex: 1;
}
@media (max-width: 760px) {
  .report-dialog[open] {
    height: 92dvh;
  }
  .dialog-pages {
    max-height: none;
  }
}
/* October 26 browser feedback: the character stands directly on the page. */
.site-header .web-link {
  margin-left: auto;
}
.character-stage.is-visible .mascot {
  animation-play-state: running;
}
@keyframes mascot-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}
.android-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.device-preview {
  position: relative;
  width: min(244px, 90%);
  padding: 5px;
  border: 1px solid #34373b;
  border-radius: 31px;
  background: #17191c;
  transform: none;
  box-shadow:
    0 20px 38px #00000016,
    0 3px 8px #00000012;
}
.device-preview .app-screen {
  width: 100%;
  max-height: none;
  border-radius: 25px;
}
.workflow-panel figure {
  padding-block: 15px;
}
.workflow-panel figcaption {
  margin-top: 30px;
}
.site-footer {
  flex-wrap: wrap;
}
.android-attribution {
  flex-basis: 100%;
  max-width: 760px;
  font-size: 11px;
  color: var(--quiet);
  line-height: 1.6;
  margin-top: -12px;
}
.android-attribution a {
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .site-header {
    flex-wrap: nowrap;
  }
  .device-preview {
    width: 210px;
  }
  .workflow-panel figure {
    padding-block: 12px;
  }
  .android-attribution {
    display: block;
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mascot {
    animation: none !important;
    transform: none;
  }
}
.device-preview::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #111318;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
@media (min-width: 761px) {
  .hero:not(.index-hero) {
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
  }
  .hero:not(.index-hero) .hero-copy {
    padding-left: clamp(24px, 4vw, 52px);
  }
}
