/* Hallmark v2.0.0 · brand: Clawback · hero: the room from the app · signature: yellow lamp, idle phone · imagery: first-party Judy artwork from the app */
/* Same system as the app's earlier site: Gochi Hand display type, paper and ink, one yellow highlight. */
/* Hallmark · waive 38iii · the hero has one highlighted word · the yellow swipe underlines what you take back. */

@font-face {
  font-family: 'Gochi Hand';
  src: url('gochi-hand.2127af9b1a.woff2') format('woff2');
  font-display: swap;
}

:root {
  --paper: #f7f5f0;
  --ink: #141414;
  --muted-text: #6e6b62;
  --hairline: #b9b5aa;
  --highlight: #ffe94d;
  --focus-ring: #d93a2b;
  --display-font: 'Gochi Hand', cursive;
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --measure: 72ch;
  --page-width: 74rem;
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

html {
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, p, dl, dd { margin: 0; }

h1, h2 {
  min-width: 0;
  overflow-wrap: break-word;
  font-family: var(--display-font);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .24em;
}

a:hover { text-decoration-thickness: .15em; }

a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 5px;
}

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

.cb-wrap {
  width: min(var(--page-width), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.cb-skip {
  position: absolute;
  z-index: 1;
  inset-block-start: 1rem;
  inset-inline-start: var(--gutter);
  padding: .5rem 1rem;
  background: var(--paper);
  transform: translateY(-200%);
}

.cb-skip:focus { transform: none; }

.cb-header, .cb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: .5rem;
}

.cb-header {
  min-height: 5.4rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--hairline);
}

.cb-wordmark {
  padding-block: .25rem;
  font-family: var(--display-font);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  line-height: 1;
  text-decoration: none;
}

.cb-support {
  padding-block: .5rem;
  font-size: .95rem;
}

.cb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  min-height: clamp(37rem, 50vw, 45rem);
  padding-block: clamp(2.75rem, 7vw, 6rem);
}

.cb-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 8.5vw, 7.25rem);
  line-height: .86;
  letter-spacing: -.045em;
}

.cb-hero h1 span {
  background: linear-gradient(175deg, transparent 63%, var(--highlight) 64% 92%, transparent 93%);
}

.cb-hero p {
  max-width: 29ch;
  margin-block: 1.65rem 1.5rem;
  font-size: 1.18rem;
}

.cb-hero img {
  max-width: 36rem;
  justify-self: center;
  mix-blend-mode: multiply;
}

.cb-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .6rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: .45rem .75rem .55rem .65rem;
  background: var(--highlight);
  font-size: .98rem;
  font-weight: 650;
  text-decoration: none;
}

.cb-action:hover {
  background: var(--ink);
  color: var(--paper);
}

.cb-action:active { transform: translateY(2px); }

.cb-breaks {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 6vw, 4.5rem);
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 1rem;
}

.cb-breaks img {
  max-width: 16.25rem;
  justify-self: center;
  mix-blend-mode: multiply;
}

.cb-steps { margin-top: 1.25rem; }
.cb-steps div + div { margin-top: 1.1rem; }
.cb-steps dt { font-weight: 650; }
.cb-steps dd { max-width: 42ch; }

.cb-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  margin-bottom: clamp(2rem, 6vw, 5.5rem);
  background: var(--highlight);
  border-radius: .7rem .55rem .85rem .45rem;
}

.cb-focus p {
  max-width: 47ch;
  margin-top: .75rem;
}

.cb-focus img {
  max-width: 17.125rem;
  justify-self: center;
  mix-blend-mode: multiply;
}

.cb-footer {
  padding-block: 1.25rem 2rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted-text);
  font-size: .925rem;
}

.cb-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.35rem;
}

.cb-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.cb-footer [aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.cb-legal {
  max-width: var(--measure);
  padding-block: clamp(2.75rem, 7vw, 5rem);
  font-size: 1.06rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.cb-legal h1 {
  margin-bottom: 1.05rem;
  font-size: clamp(3.2rem, 8vw, 5rem);
  line-height: .95;
  letter-spacing: -.035em;
}

.cb-legal h2 {
  margin: 2rem 0 .5rem;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
}

.cb-legal p + p { margin-top: .95rem; }

.cb-legal .cb-effective { margin-bottom: 1.6rem; font-size: .95rem; }

.cb-legal ul {
  margin-block: .65rem 0;
  padding-inline-start: 1.25rem;
}

.cb-legal li + li { margin-top: .5rem; }

.cb-legal h3 {
  margin: 1.5rem 0 .35rem;
  font-size: 1.06rem;
  font-weight: 650;
}

.cb-legal table {
  width: 100%;
  margin-top: .75rem;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.5;
}

.cb-legal th, .cb-legal td {
  padding: .6rem .75rem .6rem 0;
  border-bottom: 1px solid var(--hairline);
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.cb-legal th { font-weight: 650; }

@media (min-width: 70rem) {
  .cb-hero img { transform: translateY(.9rem); }
}

@media (max-width: 43rem) {
  .cb-header { min-height: 4.4rem; }

  .cb-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .cb-hero img { width: min(100%, 24rem); }

  .cb-breaks {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .cb-breaks img {
    width: min(40%, 9rem);
    justify-self: start;
    order: 1;
  }

  .cb-focus { grid-template-columns: minmax(0, 1fr); }

  .cb-focus img {
    width: min(46%, 8rem);
    justify-self: end;
  }
}

/* The account-deletion page (site/pages/delete-account.html). One state shows at a time, by the hidden attribute. */
.cb-delete [hidden] { display: none !important; }
.cb-delete h1:focus { outline: none; }
.cb-delete button { font: inherit; color: inherit; cursor: pointer; }
.cb-delete button:disabled { cursor: progress; opacity: .55; }
.cb-delete .cb-action { font-weight: 650; }
.cb-signin,
.cb-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.6rem;
}
.cb-google { min-height: 44px; }
.cb-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 260px;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 4px;
  background: #000;
  color: #fff !important;
  font-weight: 600;
}
.cb-apple[hidden] { display: none; }
.cb-apple svg { flex: none; }
.cb-quiet {
  min-height: 3rem;
  padding: .6rem 1.2rem;
  border: 2px solid var(--hairline);
  border-radius: .45rem .75rem .55rem .65rem;
  background: transparent;
  font-weight: 650;
}
.cb-quiet:hover { border-color: var(--ink); }
