:root {
  --ink: #071632;
  --muted: #506687;
  --teal: #0b8f98;
  --blue: #e6f4ff;
  --border: #e2ebf5;
  --white: #fff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #edf6fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 25% 40%, #dcefff80, transparent 70%);
  min-height: 100vh;
}
a {
  color: #0069b9;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #07838a;
  background: var(--teal);
  color: white;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 3px #07333b0a;
  text-decoration: none;
  white-space: nowrap;
}
button:hover,
.button:hover {
  background: #087e87;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #2192e5;
  outline-offset: 4px;
}
input,
textarea {
  display: block;
  border: 1px solid #ceddeb;
  border-radius: 9px;
  padding: 13px 15px;
  width: 100%;
  color: var(--ink);
  background: white;
  outline: none;
  box-shadow: 0 1px 2px #05264405;
}
input:focus,
textarea:focus {
  border-color: #188fba;
  box-shadow: 0 0 0 3px #189bb41a;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
label {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
p {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0;
}
h1,
h2,
h3,
.brand {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 32px;
  line-height: 1.15;
  margin: 15px 0;
}
h2 {
  font-size: 21px;
  margin: 12px 0;
}
strong {
  font-weight: 700;
}
form {
  margin: 20px 0;
}
header form {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 36px;
  background: #ffffffce;
  position: relative;
  z-index: 1;
  border-radius: 18px 18px 0 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
nav > a {
  color: var(--ink);
}
.nav-button {
  border: 1px solid var(--border);
  background: white;
  padding: 10px 24px;
  border-radius: 10px;
  box-shadow: 0 3px 15px #0c284214;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.heart {
  width: 35px;
  height: 35px;
  color: #0c929c;
}
.site {
  max-width: 1440px;
  margin: 18px auto;
  padding: 0 18px;
}
main {
  min-height: 65vh;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 5px 25px #24415a05;
}
.eyebrow {
  display: inline-block;
  background: #e6f4ff;
  color: #0570bc;
  font-size: 10px;
  letter-spacing: 0.22em;
  border-radius: 30px;
  padding: 7px 15px;
  font-weight: 700;
}
.hero {
  position: relative;
  min-height: 490px;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      #fffffff5 26%,
      #ffffffaa 40%,
      #ffffff00 64%
    ),
    url("/images/hero.png") right 48% / cover no-repeat;
  padding: 25px 50px 45px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  width: 55%;
  max-width: 690px;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  letter-spacing: -0.045em;
  margin: 22px 0 8px;
  white-space: nowrap;
  font-weight: 800;
}
.hero h2 {
  color: var(--muted);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  font-size: 23px;
  line-height: 1.4;
  margin: 0 0 6px;
  max-width: 650px;
}
.hero-copy > p {
  font-size: 17px;
  max-width: 480px;
  line-height: 1.5;
  margin: 8px 0 18px;
}
.code-form {
  padding: 17px 20px;
  width: 100%;
  max-width: 540px;
  margin: 0;
}
.input-row {
  display: flex;
  gap: 12px;
}
.input-row input {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  min-width: 0;
}
.input-row button {
  min-width: 150px;
}
.code-form small {
  margin-top: 7px;
}
.hero-benefits {
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 18px 0 15px 0;
  padding: 10px 25px;
  width: 310px;
  background: #ffffffed;
}
.hero-benefits p {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
}
.hero-benefits p > span {
  background: #e1f5f6;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 26px;
  color: #078e97;
}
.hero-benefits small {
  font-size: 12px;
  margin-top: 3px;
  font-weight: 400;
}
.steps {
  position: relative;
  margin: -18px 332px 24px 50px;
  display: flex;
  gap: 20px;
  padding: 22px;
  align-items: center;
  z-index: 2;
  min-width: 0;
}
.steps > strong {
  width: 135px;
  flex-shrink: 0;
  line-height: 1.5;
  font-size: 14px;
}
.steps > div {
  display: flex;
  gap: 13px;
  align-items: center;
  flex: 1;
}
.steps b {
  border-radius: 50%;
  padding: 4px 9px;
  background: #e2f2ff;
  color: #006fb5;
}
.steps p {
  line-height: 1.25;
  font-size: 13px;
  color: var(--ink);
  margin: 0;
}
.steps small {
  font-size: 11px;
  margin-top: 5px;
}
.step-arrow {
  color: #6c84a3;
}
.owner-intro {
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}
.owner-intro h2 {
  font-size: 27px;
}
.owner-intro p {
  margin-bottom: 0;
}
.narrow {
  max-width: 500px;
  margin: 48px auto;
  padding: 36px;
}
.narrow h1 {
  font-size: 37px;
}
.narrow .eyebrow {
  margin-top: 12px;
}
.narrow input {
  margin-bottom: 16px;
}
.narrow small {
  margin-top: 13px;
}
.full {
  width: 100%;
  margin-top: 18px;
}
.otp {
  font-size: 32px;
  letter-spacing: 0.4em;
  text-align: center;
}
.quiet {
  display: block;
  font-size: 13px;
  margin-bottom: 22px;
}
.notice {
  padding: 13px 16px;
  background: #edf9f8;
  border: 1px solid #d6eeea;
  border-radius: 10px;
  color: #246c68;
  font-size: 14px;
  line-height: 1.55;
  margin: 16px 0;
}
.error {
  color: #b1333e;
  line-height: 1.5;
}
.code-chip {
  display: inline-block;
  border-radius: 8px;
  background: #eaf5ff;
  padding: 8px 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.privacy {
  font-size: 14px;
}
.dashboard {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.sidebar {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar > a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 12px;
  border-radius: 9px;
  font-size: 14px;
}
.sidebar .selected {
  background: #e6f4ff;
  color: #004a84;
}
.sidebar .eyebrow {
  font-size: 8px;
}
.sidebar-note {
  color: #90a5b8;
  font-size: 13px;
  line-height: 1.7;
  padding: 16px;
  margin-top: auto;
}
.dashboard-main {
  padding: 28px;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.title-row p {
  font-size: 14px;
}
.dashboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  margin-top: 15px;
}
.tag-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 15px 12px;
  margin-bottom: 12px;
  position: relative;
  flex-wrap: wrap;
}
.item-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 58px;
  height: 55px;
  background: linear-gradient(120deg, #eef4f8, #dae7ee);
  border-radius: 8px;
  font-size: 31px;
  color: #317782;
}
.tag-details {
  flex: 1;
  min-width: 120px;
  font-size: 14px;
}
.tag-code {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 15px;
}
.tag-row details {
  font-size: 12px;
}
summary {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  list-style: none;
}
.delete summary {
  color: #d23e4b;
  border-color: #ffdce1;
}
details[open] {
  flex-basis: 100%;
}
details form {
  margin: 12px 0;
}
details form button {
  padding: 8px 15px;
}
.danger {
  background: #bd3447;
  border-color: #a62c3d;
}
.return-list {
  background: #f5f8fb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  height: fit-content;
}
.return-list h2 {
  font-size: 17px;
  margin-top: 0;
}
.count {
  display: inline-flex;
  border-radius: 50%;
  background: #098bc6;
  color: white;
  padding: 3px 7px;
  font-size: 11px;
  vertical-align: middle;
}
.return-card {
  display: block;
  padding: 16px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink);
}
.return-card.active {
  background: #e6f4ff;
  border-color: #c9e6f8;
}
.return-card small {
  margin: 8px 0;
}
.return-card span {
  font-size: 12px;
  color: #046bbb;
}
.empty {
  text-align: center;
  padding: 40px 20px;
}
.empty > span {
  font-size: 50px;
  color: var(--teal);
}
.empty p,
.empty-note {
  font-size: 14px;
}
.room {
  max-width: 780px;
  margin: 32px auto;
  padding: 30px;
}
.room h1 {
  font-size: 27px;
}
.room-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 10px;
  gap: 20px;
}
.status {
  background: #e0f5ef;
  color: #08816f;
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 12px;
  text-transform: capitalize;
}
.connection {
  font-size: 12px;
  color: #70869e;
  margin: 12px 0;
}
.messages {
  min-height: 210px;
  max-height: 460px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 12px 0;
}
.message {
  max-width: 82%;
  align-self: flex-start;
}
.message.mine {
  align-self: flex-end;
}
.bubble {
  padding: 12px 16px;
  background: #f0f4f8;
  border-radius: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: #193356;
}
.mine .bubble {
  background: #e0f2ff;
}
.message small {
  font-size: 10px;
  margin: 4px 7px;
}
.mine small {
  text-align: right;
}
.message-form {
  display: flex;
  gap: 12px;
  margin: 20px 0 12px;
}
.message-form textarea {
  resize: none;
}
.room-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.secondary {
  background: white;
  color: #275778;
  border-color: var(--border);
  font-size: 12px;
  padding: 9px 13px;
}
.secondary:hover {
  background: #eaf5fa;
}
.text-button {
  background: none;
  border: 0;
  box-shadow: none;
  color: #35627b;
  font-size: 13px;
  padding: 8px;
}
.text-button:hover {
  background: #eaf5fa;
}
.privacy-reminder {
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  background: #ffffffaa;
  border-radius: 16px;
  margin-top: 20px;
  font-size: 13px;
}
footer .brand {
  font-size: 21px;
}
footer .heart {
  width: 27px;
  height: 27px;
}
footer p {
  font-size: 12px;
  margin: 5px 0;
}
.support {
  background: #ffe0c4;
  color: #9b360c;
  border: 1px solid #ffc79b;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
}
footer strong {
  color: #0d3b66;
}
@media (min-width: 1200px) {
  .steps {
    margin-right: 325px;
    gap: 14px;
    padding: 20px;
  }
  .steps > strong {
    width: 120px;
  }
  .steps > div {
    gap: 8px;
  }
}
@media (max-width: 1100px) {
  .steps {
    margin: 18px 0;
    gap: 15px;
  }
  .hero {
    padding: 20px 30px 45px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy {
    width: 62%;
  }
  .hero-benefits {
    width: 270px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .dashboard-content {
    grid-template-columns: 1fr;
  }
  .dashboard {
    grid-template-columns: 170px 1fr;
  }
  .return-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .return-list h2,
  .empty-note {
    grid-column: 1/-1;
  }
  .return-card {
    margin: 0;
  }
  .tag-row {
    gap: 10px;
  }
  .steps > strong {
    width: 105px;
  }
}
@media (max-width: 700px) {
  .site {
    padding: 0 12px;
    margin: 12px auto;
  }
  header {
    padding: 20px 16px;
  }
  .brand {
    font-size: 21px;
    gap: 8px;
  }
  .heart {
    width: 29px;
    height: 29px;
  }
  nav {
    gap: 10px;
  }
  nav > a:not(.nav-button) {
    display: none;
  }
  .nav-button {
    padding: 8px 13px;
    font-size: 12px;
  }
  header .text-button {
    font-size: 11px;
    padding: 2px;
  }
  .hero {
    padding: 20px 20px 30px;
    background:
      linear-gradient(180deg, #fffffffc 0%, #ffffffee 48%, #ffffff33 85%),
      url("/images/hero.png") 70% bottom/auto 100% no-repeat;
    min-height: 690px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
  .hero h1 {
    font-size: 39px;
    white-space: normal;
    margin-top: 23px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .code-form {
    padding: 16px;
    margin-top: 22px;
  }
  .input-row {
    gap: 8px;
  }
  .input-row button {
    min-width: 100px;
    padding: 12px;
  }
  .input-row button span {
    display: none;
  }
  .input-row input {
    font-size: 16px;
    padding: 12px;
  }
  .hero-benefits {
    right: 12px;
    bottom: 12px;
    width: 245px;
    border-radius: 12px;
    padding: 4px 14px;
  }
  .hero-benefits p {
    font-size: 12px;
  }
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 12px;
  }
  .steps > strong {
    width: auto;
  }
  .steps > div {
    gap: 15px;
  }
  .steps .step-arrow {
    display: none;
  }
  .steps small {
    font-size: 12px;
  }
  .owner-intro {
    padding: 25px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .owner-intro h2 {
    font-size: 25px;
  }
  .owner-intro p {
    font-size: 14px;
  }
  .narrow {
    margin: 24px auto;
    padding: 26px;
  }
  .narrow h1 {
    font-size: 32px;
  }
  .dashboard {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .dashboard-main {
    padding: 20px;
  }
  .title-row {
    align-items: flex-start;
    gap: 10px;
  }
  .title-row h1 {
    font-size: 28px;
  }
  .title-row .button {
    padding: 11px 13px;
    font-size: 12px;
    margin-top: 33px;
  }
  .title-row p {
    font-size: 13px;
  }
  .tag-row {
    padding: 12px;
  }
  .item-symbol {
    width: 45px;
    height: 45px;
  }
  .tag-details {
    min-width: 100px;
  }
  .tag-row details {
    font-size: 11px;
  }
  .return-list {
    display: block;
  }
  .return-card {
    margin-top: 12px;
  }
  .room {
    padding: 22px 18px;
    margin: 22px auto;
  }
  .room h1 {
    font-size: 24px;
  }
  .room .eyebrow {
    font-size: 8px;
  }
  .message-form {
    gap: 8px;
  }
  .message-form button {
    padding: 10px 14px;
  }
  .message-form button span {
    display: none;
  }
  .message {
    max-width: 92%;
  }
  footer {
    padding: 22px;
    flex-wrap: wrap;
    gap: 15px;
  }
  footer > div:first-child {
    flex-basis: 100%;
  }
  footer > div:not(:first-child) {
    flex-basis: 45%;
  }
  .support {
    margin-top: 5px;
  }
  .room-actions {
    gap: 7px;
  }
  .room-heading {
    padding: 13px;
  }
}

.privacy-page {
  max-width: 820px;
  margin: 30px auto 60px;
  padding: clamp(24px, 5vw, 48px);
}
.privacy-page .eyebrow {
  display: table;
  margin-top: 24px;
}
.privacy-page h2 {
  margin-top: 30px;
  font-size: 1.3rem;
}
.privacy-page p,
.privacy-page li {
  line-height: 1.7;
}
.privacy-page ul {
  padding-left: 24px;
}
.privacy-page li + li {
  margin-top: 12px;
}

/* Persona review: legible controls and a short path to the finder form. */
:root {
  --teal: #087880;
}
[hidden] {
  display: none !important;
}
summary,
.nav-button,
.text-button,
.secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
summary {
  font-size: 14px;
}
.tag-code,
.label-example strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0.05em;
  user-select: all;
  color: var(--ink);
}
.label-example {
  background: white;
  border: 1px dashed #abc6cb;
  border-radius: 8px;
  padding: 14px;
  margin: 12px 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.label-example span,
.label-example strong {
  display: block;
}
.label-example strong {
  margin-top: 6px;
  font-size: 24px;
}
.tag-row details[open] .label-example {
  max-width: 420px;
}
.reply-help {
  font-size: 14px;
  background: #edf6fb;
  padding: 12px;
  border-radius: 8px;
}
.sidebar-note {
  color: var(--muted);
}
@media (max-width: 700px) {
  header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  header .text-button {
    min-height: 44px;
    padding: 8px;
    font-size: 13px;
  }
  .hero {
    min-height: 0;
    padding: 14px 20px 22px;
  }
  .hero .eyebrow {
    display: none;
  }
  .hero h1 {
    font-size: clamp(29px, 8vw, 36px);
    margin: 8px 0;
  }
  .hero h2 {
    font-size: 18px;
  }
  .hero-copy > p {
    margin: 8px 0 12px;
  }
  .code-form {
    margin-top: 14px;
    padding: 14px;
  }
  .input-row {
    flex-direction: column;
  }
  .hero-benefits {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 20px;
  }
  .title-row {
    flex-wrap: wrap;
  }
  .title-row .button {
    margin: 0;
    min-height: 44px;
    font-size: 14px;
  }
}
