@font-face{font-family:'Suisse Intl';font-style:normal;font-weight:400;font-display:swap;src:url(/_astro/suisse-intl-400.B6EuJOa1.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2190-2193,U+2212}@font-face{font-family:'Suisse Intl';font-style:normal;font-weight:500;font-display:swap;src:url(/_astro/suisse-intl-500.BJ_aDRM3.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2190-2193,U+2212}@font-face{font-family:'Suisse Intl Fallback';font-weight:400;src:local('Arial'),local('ArialMT');size-adjust:103.39%;ascent-override:113.55%;descent-override:53.78%;line-gap-override:0%}@font-face{font-family:'Suisse Intl Fallback';font-weight:500;src:local('Arial'),local('ArialMT');size-adjust:106.1%;ascent-override:110.65%;descent-override:52.4%;line-gap-override:0%}
:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --surface-2: #efe9dd;
  --text: #1f1c17;
  --muted: #5d564b;
  --gold: #b8893b;
  --gold-strong: #8a6420;
  --shadow: 0 1px 2px rgb(60 45 20 / 0.06), 0 6px 20px -6px rgb(60 45 20 / 0.14);
  --shadow-lift: 0 2px 4px rgb(60 45 20 / 0.07), 0 14px 32px -10px rgb(60 45 20 / 0.2);
  --focus: #1f1c17;
  --button-bg: #1f1c17;
  --button-text: #fbf8f2;

  --font: 'Suisse Intl', 'Suisse Intl Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.0625rem);
  --step-4: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius-outer: 20px;
  --pad-card: 10px;
  --radius-inner: calc(var(--radius-outer) - var(--pad-card));
  --measure: 65ch;
  --page: 72rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #1b1916;
    --surface: #25221e;
    --surface-2: #2e2a25;
    --text: #efe9de;
    --muted: #b0a797;
    --gold: #d1a253;
    --gold-strong: #ddb46b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.35), 0 16px 36px -10px rgb(0 0 0 / 0.6);
    --focus: #efe9de;
    --button-bg: #efe9de;
    --button-text: #1b1916;
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #1b1916;
  --surface: #25221e;
  --surface-2: #2e2a25;
  --text: #efe9de;
  --muted: #b0a797;
  --gold: #d1a253;
  --gold-strong: #ddb46b;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.35), 0 16px 36px -10px rgb(0 0 0 / 0.6);
  --focus: #efe9de;
  --button-bg: #efe9de;
  --button-text: #1b1916;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    box-shadow 200ms var(--ease),
    background-color 200ms var(--ease);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--shadow);
}

.button-quiet {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

@media (hover: hover) {
  .button-primary:hover,
  .button-quiet:hover {
    box-shadow: var(--shadow-lift);
  }
}

.prose {
  max-width: var(--measure);
  margin-inline: auto;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.prose p + p {
  margin-top: var(--space-2);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

main:focus {
  outline: none;
}

/* Pages the Worker renders: sign in, account, device approval. */
.app-bar {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  padding-block: 0.5rem;
  color: var(--text);
  text-decoration: none;
}

.app-brand .logo {
  display: block;
  width: auto;
  height: 1.75rem;
}

.app-main {
  max-width: 32rem;
  padding-block: clamp(2rem, 1rem + 4vw, 4rem) var(--space-5);
}

.app-card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-outer);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-card h1 {
  font-size: var(--step-3);
}

.app-stack {
  display: grid;
  gap: var(--space-1);
}

.app-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.app-wide {
  width: 100%;
}

.app-note {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: var(--surface-2);
}

.app-code {
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.app-facts {
  display: grid;
  gap: var(--space-1);
  margin: 0;
}

.app-facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--surface-2);
}

.app-facts dt {
  color: var(--muted);
}

.app-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.app-card label {
  font-weight: 500;
}

.app-card input {
  min-height: 2.875rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  white-space: nowrap;
}

/* Web check report at /r/:id. */
.report-main {
  display: grid;
  gap: var(--space-4);
  padding-block: clamp(1.5rem, 1rem + 3vw, 3rem) var(--space-5);
}

.report-head h1 {
  margin-top: 0.25rem;
  font-size: var(--step-3);
  overflow-wrap: anywhere;
}

.report-head p:last-child {
  margin-top: 0.4rem;
}

.report-eyebrow {
  font-size: var(--step--1);
}

.report-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-outer);
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.report-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.report-steps li.is-done {
  color: var(--text);
}

.report-dot {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.is-done .report-dot {
  background: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .report-steps li:not(.is-done) .report-dot {
    animation: report-pulse 1.4s var(--ease) infinite;
  }
}

@keyframes report-pulse {
  50% {
    opacity: 0.35;
  }
}

.report-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-scores li {
  display: grid;
  gap: 0.25rem;
  padding: var(--space-3);
  border-radius: var(--radius-outer);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-score-label {
  color: var(--muted);
}

.report-score {
  font-size: var(--step-4);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.report-score-na {
  font-size: var(--step-1);
  color: var(--muted);
}

.report-section h2,
.report-cta h2 {
  margin-bottom: var(--space-2);
  font-size: var(--step-2);
}

.report-findings {
  display: grid;
  gap: var(--space-2);
  max-width: var(--measure);
  margin: 0;
  padding-left: 1.5rem;
}

.report-findings h3 {
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: 0;
}

.report-findings p {
  margin-top: 0.3rem;
}

.report-source {
  font-size: var(--step--1);
}

.report-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-2);
  align-items: start;
}

.report-shot {
  margin: 0;
}

.report-shot-desktop {
  grid-column: span 2;
}

@media (max-width: 40rem) {
  .report-shot-desktop {
    grid-column: auto;
  }
}

.report-shot figcaption {
  margin-bottom: 0.4rem;
  font-size: var(--step--1);
}

.report-frame {
  max-height: 32rem;
  overflow: hidden;
  border-radius: var(--radius-inner);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.report-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.report-cta,
.report-owner {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-outer);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-cta h2 {
  margin-bottom: 0;
}

.report-main code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.report-share {
  display: grid;
  gap: 0.4rem;
}

.report-share input {
  flex: 1 1 16rem;
  min-width: 0;
  min-height: 2.875rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.report-share[hidden] {
  display: none;
}

.report-findings + p {
  margin-top: var(--space-2);
}
