:root {
  color-scheme: light;
  --bg:#f6f5f0;
  --paper:#fffefa;
  --ink:#282c27;
  --muted:#6e7169;
  --border:#dedfd5;
  --accent:#b94929;
  --accent-dark:#993719;
  --sage:#edf0e6;
  --green:#4c6442;
  --subtle: #606956;
  --panel: #f0f2e9;
  --input: #fafaf5;
  --surface: #eeefe8;
  --surface-hover: #e9ecdf;
  --on-accent: #fff;
  --disabled: #d6a78e;
  --disabled-ink: #fff;
  --error: #a23524;
  --focus-border: #9b7961;
  --focus-ring: #ba6b3c14;
  --illustration: #7a806f;
  --device-fill: #eeeee5;
  --device-shadow: #e1e3d7;
  --ornament: #9fa88f;
  --grid: #dbe0ce30;
  --corner: #adb798;
  --status: #718360;
  --status-ring: #e8ebdf;
  --underline: #c88865;
  --card-shadow: 0 3px 0 #e8e9e0, 0 12px 26px #292c2205;
  --tab-shadow: 0 1px 4px #24291b16;
  --radius:18px;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111112;
  --paper: #19191b;
  --ink: #f2efe7;
  --muted: #b8b5b0;
  --subtle: #aaa7a3;
  --border: #343436;
  --accent: #ed875f;
  --accent-dark: #f49a76;
  --sage: #242425;
  --green: #c4bcae;
  --panel: #202022;
  --input: #131315;
  --surface: #242426;
  --surface-hover: #303032;
  --on-accent: #28170e;
  --disabled: #694833;
  --disabled-ink: #d7beab;
  --error: #ffa68f;
  --focus-border: #ed875f;
  --focus-ring: #ed875f26;
  --illustration: #8f8c87;
  --device-fill: #212123;
  --device-shadow: #090909;
  --ornament: #84817c;
  --grid: #b7b3ad12;
  --corner: #605d58;
  --status: #d59370;
  --status-ring: #2a2420;
  --underline: #b86e4c;
  --card-shadow: 0 3px 0 #0a0a0b, 0 12px 26px #00000028;
  --tab-shadow: 0 1px 4px #00000030;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 10;
  clip-path: inset(50%);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus {
  clip-path: none;
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.beta-label {
  font: 600 9px/1.5 "Segoe UI", sans-serif;
  letter-spacing: 1px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 5px;
  margin: 4px 0 0 2px;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  gap: 30px;
}
.site-header nav a {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.site-header nav a:hover {
  color: var(--accent);
}
.site-header nav .icon {
  width: 15px;
  height: 15px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.theme-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--subtle);
}
.theme-picker .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.theme-picker select {
  min-height: 38px;
  width: 83px;
  border: 0;
  border-radius: 8px;
  padding: 6px 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}
.theme-picker select:focus-visible {
  outline: none;
}
.theme-picker:focus-within {
  border-color: var(--muted);
  box-shadow: 0 0 0 1px var(--muted);
}
.qr-ready .scanner-note {
  font-size: 11px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0 38px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--subtle);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--status);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--status-ring);
}
h1 {
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 650;
  margin: 18px 0 22px;
}
h1 .hop-word {
  color: var(--accent);
  position: relative;
}
.hop-word svg {
  position: absolute;
  width: 100%;
  height: 11px;
  bottom: -7px;
  left: 1px;
  fill: none;
  stroke: var(--underline);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.intro-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.intro-aside {
  position: relative;
  display: flex;
  align-items: center;
  margin: 15px 52px 0 0;
  height: 155px;
  gap: 97px;
}
.mini-device {
  position: relative;
  border: 1.7px solid var(--illustration);
  background: var(--device-fill);
  box-shadow: 4px 5px 0 var(--device-shadow);
}
.mini-device svg {
  fill: none;
  stroke: var(--illustration);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.phone {
  width: 51px;
  height: 88px;
  border-radius: 9px;
  transform: rotate(-10deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone > span {
  position: absolute;
  width: 14px;
  height: 3px;
  background: var(--illustration);
  border-radius: 3px;
  top: 6px;
}
.phone svg {
  width: 27px;
  height: 27px;
}
.desktop {
  width: 102px;
  height: 68px;
  border-radius: 6px;
  transform: rotate(6deg);
  display: grid;
  place-items: center;
}
.desktop svg {
  width: 29px;
  height: 29px;
}
.desktop:before {
  content: "";
  height: 18px;
  width: 1.7px;
  position: absolute;
  background: var(--illustration);
  bottom: -19px;
  left: 49px;
}
.desktop:after {
  content: "";
  width: 38px;
  height: 1.7px;
  position: absolute;
  background: var(--illustration);
  bottom: -20px;
  left: 30px;
}
.hop-trail {
  position: absolute;
  left: 63px;
  top: 8px;
}
.hop-trail svg {
  width: 112px;
  height: 57px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 5;
}
.hop-trail span {
  display: block;
  position: absolute;
  width: 140px;
  top: 119px;
  left: -11px;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--subtle);
  font-size: 13px;
  transform: rotate(-6deg);
}
.transfer-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  scroll-margin-top: 20px;
}
.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--border);
}
.tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.tab {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--subtle);
  min-height: 37px;
}
.tab[aria-selected=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--tab-shadow);
}
.tab .icon {
  width: 17px;
  height: 17px;
}
.local-badge {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--subtle);
  font-size: 12px;
}
.local-badge .icon {
  width: 15px;
  height: 15px;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
}
.compose-pane {
  padding: 29px 32px 25px;
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 27px;
  margin-bottom: 15px;
}
.step-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.55px;
  color: var(--subtle);
}
.text-button {
  border: 0;
  background: transparent;
  padding: 5px 0;
  font-size: 12px;
  color: var(--subtle);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover {
  color: var(--accent);
}
h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.5px;
  margin: 0 0 8px;
}
.section-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.text-entry {
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color .15s, box-shadow .15s;
}
.text-entry:focus-within {
  border-color: var(--focus-border);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.text-entry:has([aria-invalid=true]) {
  border-color: var(--error);
}
textarea {
  width: 100%;
  height: 161px;
  resize: vertical;
  min-height: 100px;
  max-height: 400px;
  display: block;
  border: 0;
  background: transparent;
  padding: 17px 17px 8px;
  color: var(--ink);
  font-family:
    "Cascadia Code",
    Consolas,
    monospace;
  font-size: 13px;
  line-height: 1.65;
  outline: none;
}
textarea::placeholder {
  color: var(--subtle);
  font-family: "Segoe UI", sans-serif;
  font-size: 13px;
}
.text-entry-footer {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px 12px;
  font-size: 11px;
  color: var(--subtle);
}
.text-entry-footer output {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.text-entry-footer output.over-limit {
  color: var(--error);
  font-weight: 700;
}
.size-hint {
  color: var(--subtle);
  font-size: 11px;
  margin: 9px 0 19px;
}
.button {
  min-height: 44px;
  border-radius: 7px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s, transform .15s;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.button-primary:hover:not(:disabled) {
  background: var(--accent-dark);
}
.button-primary:disabled {
  background: var(--disabled);
  border-color: var(--disabled);
  color: var(--disabled-ink);
}
.button-secondary {
  border-color: var(--border);
  background: var(--surface);
}
.button-secondary:hover {
  background: var(--surface-hover);
}
.full-width {
  width: 100%;
}
.button-end {
  margin-left: auto;
}
.button-primary:has(.button-end) {
  justify-content: flex-start;
}
.small-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px;
  color: var(--subtle);
  margin-top: 15px;
}
.small-note .icon {
  height: 13px;
  width: 13px;
  margin-right: 2px;
}
.small-note strong {
  font-weight: 600;
}
.feedback {
  font-size: 13px;
  line-height: 1.55;
  min-height: 0;
  margin: 0;
  color: var(--green);
  overflow-wrap: anywhere;
}
.feedback:not(:empty) {
  margin-top: 12px;
}
.feedback[data-tone=error] {
  color: var(--error);
}
.qr-pane,
.result-pane {
  background: var(--panel);
  border-left: 1px solid var(--border);
  padding: 36px 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.qr-empty,
.qr-ready {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
}
.qr-placeholder {
  height: 177px;
  width: 177px;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ornament);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 16px,
      var(--grid) 16px,
      var(--grid) 17px),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 16px,
      var(--grid) 16px,
      var(--grid) 17px);
}
.qr-placeholder > .icon {
  width: 45px;
  height: 45px;
  stroke-width: 1;
  opacity: .55;
}
.qr-placeholder > span {
  font-size: 11px;
  margin-top: 12px;
  letter-spacing: .1px;
  color: var(--subtle);
}
.qr-placeholder i {
  position: absolute;
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--corner);
}
.qr-placeholder i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 5px;
}
.qr-placeholder i:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 5px;
}
.qr-placeholder i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-top: 0;
  border-right: 0;
  border-bottom-left-radius: 5px;
}
.qr-placeholder i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-top: 0;
  border-left: 0;
  border-bottom-right-radius: 5px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
.qr-pane p,
.result-empty p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--subtle);
  margin: 0;
}
.visibility-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--subtle);
  margin-top: 25px;
  text-align: center;
  flex-wrap: wrap;
}
.visibility-note .icon {
  width: 13px;
  height: 13px;
}
.visibility-note a {
  text-underline-offset: 2px;
}
.ready-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 10px;
}
.ready-label .icon {
  width: 14px;
  height: 14px;
}
#qr-canvas {
  display: block;
  max-width: 100%;
  width: 280px;
  height: auto;
  background: #fff;
  margin: 0 0 14px;
  image-rendering: pixelated;
}
.camera-state {
  font-size: 11px;
  color: var(--subtle);
}
.camera-state[data-active=true] {
  color: var(--accent);
}
.camera-view {
  position: relative;
  min-height: 212px;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
}
.camera-view video {
  width: 100%;
  height: 252px;
  object-fit: cover;
  display: block;
}
.camera-view h3 {
  font-size: 13px;
  margin-top: 11px;
}
.camera-view p {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.camera-view #camera-placeholder {
  text-align: center;
  padding: 25px 12px;
}
.camera-view #camera-placeholder > .icon {
  width: 32px;
  height: 32px;
  color: var(--ornament);
  stroke-width: 1.3;
}
.scan-guide {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 2px solid #fff9;
  border-radius: 12px;
  box-shadow: 0 0 0 150px #0002;
  pointer-events: none;
}
.camera-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12px;
}
.camera-choice select {
  min-width: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.camera-actions {
  display: flex;
  gap: 8px;
}
.result-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 0 30px;
}
.arrival-icon {
  width: 68px;
  height: 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  transform: rotate(-5deg);
}
.arrival-icon .icon {
  width: 28px;
  height: 28px;
  color: var(--ornament);
  stroke-width: 1.4;
}
.result-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0 14px;
}
.result-heading h3 {
  margin: 0;
}
.received-check {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--green);
}
.received-check .icon {
  width: 13px;
  height: 13px;
}
#received-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: text;
  min-height: 185px;
  max-height: 290px;
  overflow: auto;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  font:
    12px/1.7 "Cascadia Code",
    Consolas,
    monospace;
  margin: 0;
}
#select-text {
  margin-top: 8px;
}
.scan-again {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 7px;
  margin-top: 12px;
}
.scan-again .icon {
  width: 13px;
  height: 13px;
}
.how-it-works {
  padding: 37px 0 30px;
  scroll-margin-top: 24px;
}
.how-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.how-heading h2 {
  font-size: 15px;
  letter-spacing: -.2px;
  margin: 0;
}
.how-heading p {
  color: var(--subtle);
  font-size: 11px;
  margin: 0;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  gap: 24px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--subtle);
  flex: none;
}
.step-icon .icon {
  width: 18px;
  height: 18px;
}
.steps h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.steps h3 > span {
  font-size: 11px;
  color: var(--subtle);
  font-weight: 500;
  margin-right: 7px;
}
.steps p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--subtle);
  margin: 0;
}
.privacy-details {
  border-block: 1px solid var(--border);
  scroll-margin-top: 24px;
  padding: 17px 0;
}
.privacy-details summary {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--subtle);
  cursor: pointer;
  list-style: none;
}
.privacy-details summary::-webkit-details-marker {
  display: none;
}
.privacy-details summary:after {
  content: "+";
  font-size: 20px;
  margin-left: 5px;
}
.privacy-details[open] summary:after {
  content: "\2212";
}
.privacy-details summary > .icon {
  width: 15px;
  height: 15px;
}
.privacy-details summary > span {
  margin-left: auto;
  color: var(--subtle);
  font-size: 11px;
}
.privacy-content {
  max-width: 850px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--subtle);
  padding: 10px 0 3px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 25px 30px;
  color: var(--subtle);
  font-size: 11px;
}
.footer-brand {
  color: var(--subtle);
  font-weight: 700;
  font-size: 13px;
}
.footer-brand > span {
  font-weight: 400;
  font-size: 11px;
  margin-left: 11px;
  color: var(--subtle);
}
.footer-mark {
  font-size: 15px;
  color: var(--accent);
  margin-left: 8px;
}
.noscript {
  padding: 24px;
  color: var(--error);
}
.method-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  margin: 0 0 18px;
}
.method-switch button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--subtle);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}
.method-switch button[aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--tab-shadow);
}
.pair-controls {
  margin-bottom: 17px;
}
.pair-controls > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
#send-pair-code {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--input);
  color: var(--ink);
  font: 600 16px/1.4 Consolas, monospace;
  letter-spacing: 1.3px;
}
#send-pair-code::placeholder { color: var(--subtle); }
.pair-scan-view { margin: 12px 0 7px; }
.pair-scan-view video { height: 220px; }
.pair-info-pane { justify-content: center; align-items: center; text-align: center; }
.pair-info-pane .step-label { align-self: flex-start; }
.pair-info-pane h3 { font-size: 17px; max-width: 300px; }
.pair-info-pane p { max-width: 330px; }
.pair-info-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  margin: 30px 0 20px;
}
.pair-info-icon .icon { width: 35px; height: 35px; }
.pair-boundary { margin-top: 17px !important; }
.pair-instruction {
  font-size: 12px;
  line-height: 1.7;
  color: var(--subtle);
  margin: 0 0 18px;
}
.pair-ready {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--input);
  padding: 20px 12px;
}
.pair-ready .ready-label { justify-content: center; }
.pair-code {
  display: block;
  color: var(--ink);
  font: 700 clamp(17px, 2.4vw, 25px)/1.5 Consolas, monospace;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
  margin: 14px 0;
}
#pair-qr-canvas {
  display: block;
  width: min(210px, 100%);
  height: auto;
  image-rendering: pixelated;
  margin: 0 auto;
  background: #fff;
}
.pair-ready .size-hint { margin: 13px 0; }
.pair-ready .pair-instruction { max-width: 330px; margin: 0 auto 8px; }
@media (min-width: 1450px) {
  .wrap {
    width: min(1180px, calc(100% - 100px));
  }
  .intro {
    padding-top: 60px;
    padding-bottom: 44px;
  }
  .compose-pane {
    padding: 33px 38px 31px;
  }
  .qr-pane,
  .result-pane {
    padding: 40px 34px 27px;
  }
  textarea {
    height: 176px;
  }
  .how-it-works {
    padding-top: 42px;
    padding-bottom: 38px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .intro-aside {
    margin-right: 12px;
    gap: 66px;
    transform: scale(.85);
    transform-origin: right center;
  }
  .hop-trail {
    left: 46px;
  }
  .hop-trail svg {
    width: 89px;
  }
  .compose-pane {
    padding: 24px;
  }
  .qr-pane,
  .result-pane {
    padding: 31px 24px 24px;
  }
  .text-entry-footer {
    font-size: 11px;
    padding-inline: 10px;
  }
  .panel-grid {
    grid-template-columns: 1.08fr 1fr;
  }
  .steps {
    gap: 18px;
  }
  .steps li {
    gap: 10px;
  }
  .steps p br {
    display: none;
  }
  .visibility-note {
    font-size: 11px;
  }
  .local-badge {
    font-size: 11px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 77px;
  }
  .header-actions {
    gap: 14px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .beta-label {
    font-size: 11px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .site-header nav a .icon {
    display: none;
  }
  .intro {
    padding: 34px 0 28px;
  }
  .intro-aside {
    display: none;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
    margin: 16px 0 20px;
  }
  .intro-copy {
    font-size: 13px;
    line-height: 1.75;
  }
  .desktop-break {
    display: none;
  }
  .card-topbar {
    padding: 13px 17px;
    min-height: 69px;
    gap: 10px;
  }
  .tab {
    padding: 7px 15px;
    font-size: 13px;
    min-height: 34px;
  }
  .tabs {
    padding: 3px;
  }
  .local-badge {
    font-size: 0;
    gap: 0;
  }
  .local-badge .icon {
    width: 18px;
    height: 18px;
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .compose-pane {
    padding: 22px 22px 24px;
  }
  .section-heading {
    margin-bottom: 11px;
  }
  h2 {
    font-size: 21px;
  }
  .section-description {
    font-size: 12px;
    margin-bottom: 20px;
  }
  textarea {
    height: 149px;
    font-size: 13px;
  }
  .text-entry-footer {
    font-size: 11px;
  }
  .size-hint {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .qr-pane,
  .result-pane {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 25px 22px 22px;
  }
  .qr-empty {
    padding-top: 27px;
  }
  .qr-placeholder {
    height: 141px;
    width: 141px;
    margin-bottom: 19px;
  }
  .qr-empty h3 {
    font-size: 13px;
  }
  .qr-pane p {
    font-size: 11px;
  }
  .visibility-note {
    margin-top: 22px;
    font-size: 11px;
  }
  .qr-ready {
    padding-top: 20px;
  }
  #qr-canvas {
    width: min(100%, 320px);
  }
  .small-note {
    font-size: 11px;
  }
  .how-it-works {
    padding: 30px 0;
  }
  .how-heading {
    display: block;
    margin-bottom: 22px;
  }
  .how-heading h2 {
    font-size: 14px;
  }
  .how-heading p {
    font-size: 11px;
    margin-top: 7px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .steps li {
    gap: 15px;
  }
  .steps p {
    font-size: 12px;
  }
  .steps h3 {
    font-size: 13px;
  }
  .steps p br {
    display: none;
  }
  .step-icon {
    width: 39px;
    height: 39px;
  }
  .privacy-details summary {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .privacy-details summary > span {
    display: none;
  }
  .privacy-details summary:after {
    margin-left: auto;
  }
  .privacy-content {
    font-size: 12px;
  }
  .site-footer {
    align-items: flex-start;
    gap: 18px;
    padding-top: 23px;
  }
  .site-footer > span:last-child {
    max-width: 125px;
    text-align: right;
    font-size: 11px;
  }
  .footer-brand > span {
    display: block;
    margin: 4px 0 0;
    font-size: 11px;
  }
  .result-empty {
    padding: 36px 0;
  }
  .camera-view video {
    height: 260px;
  }
  .received-check {
    font-size: 11px;
  }
  .camera-choice select {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .site-header nav {
    display: none;
  }
  .brand {
    gap: 7px;
  }
  .beta-label {
    font-size: 9px;
  }
  .theme-picker {
    padding-left: 7px;
    gap: 2px;
  }
  .theme-picker select {
    width: 73px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
