/* The accepted postcard brand, around the existing participant interview. */
:root {
  --charcoal: #30302a;
  --orange: #f79a28;
  --cyan: #12bfe7;
  --blue: #0759a6;
  --ink: #30302a;
  --muted: #596772;
  --three-gs: linear-gradient(
    90deg,
    var(--orange) 0 33.333%,
    var(--cyan) 33.333% 66.666%,
    var(--blue) 66.666%
  );
}
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
}
.pilot-bar {
  background: #242420;
  color: #fff;
  padding: 8px max(24px, calc((100vw - 1184px) / 2));
}
.pilot-bar button {
  color: #fff;
  min-height: 30px;
  white-space: nowrap;
}
.site-head {
  background: var(--charcoal);
  color: #fff;
  max-width: none;
  margin: 0;
  padding: 24px max(24px, calc((100vw - 1184px) / 2)) 30px;
  border: 0;
  position: relative;
  justify-content: flex-start;
  gap: 30px;
}
.site-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--three-gs);
}
.site-head img {
  width: 88px !important;
  height: 88px !important;
}
.brand-power > span {
  font-size: 11px;
  color: white;
}
.brand-power p {
  font:
    italic 800 27px/1.1 Barlow,
    sans-serif;
  margin: 4px 0 0;
}
.brand-power em {
  color: white;
  font-style: italic;
  padding-bottom: 2px;
  border-bottom: 2px solid;
}
.brand-power .grit {
  border-color: var(--orange);
}
.brand-power .grace {
  border-color: var(--cyan);
}
.brand-power .gratitude {
  border-color: var(--blue);
}
.site-head #history {
  margin-left: auto;
  color: white;
}
.site-head #account-nav {
  margin-left: auto;
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.site-head #history {
  margin-left: 0;
}
.account-entry {
  display: inline-block;
  min-height: 44px;
  padding: 12px 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
.welcome h1,
.welcome h1 em {
  color: var(--charcoal);
}
h1 em::after {
  background: var(--cyan);
}
.primary,
.send,
.welcome .primary {
  background: var(--orange);
  color: var(--charcoal);
  border-color: var(--orange);
  border-radius: 5px;
  box-shadow: 0 2px 0 #bc6a0a;
  font-weight: 800;
}
.primary:hover:not(:disabled),
.send:hover:not(:disabled),
.welcome .primary:hover:not(:disabled) {
  background: #ffab3f;
  color: var(--charcoal);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.site-head :focus-visible,
.pilot-bar :focus-visible {
  outline-color: var(--cyan);
}
.welcome {
  margin: 58px auto 70px;
  gap: 88px;
}
.welcome h1 {
  font-size: clamp(54px, 5.8vw, 82px);
  line-height: 1.04;
}
.welcome .lead {
  font-size: 18px;
  max-width: 510px !important;
}
.welcome .entry-main {
  min-height: 80px;
}
.welcome .entry-main small {
  color: var(--charcoal);
}
.card-entry {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 5px;
  padding: 18px 22px;
  min-height: 80px;
}
.card-entry:hover {
  background: var(--navy);
  color: white;
}
.card-entry small {
  color: white;
  font-size: 12px;
  max-width: 300px;
  line-height: 1.6;
}
.welcome-example {
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.welcome-example > .eyebrow {
  text-align: left;
  color: var(--muted);
}
.welcome-example .sample-card {
  transform: none;
  max-width: 390px;
  background: #0a3e7a;
  padding: 34px;
  box-shadow: 0 14px 28px #30302a12;
}
.welcome-example .sample-card h2 {
  color: var(--orange);
}
.welcome-example .sample-card blockquote em {
  color: var(--orange);
}
.example-caption {
  text-align: left;
  margin-left: 0;
  max-width: 390px;
  font-size: 11px;
}
.entry-disclosure {
  font-size: 12px;
}
.path {
  margin: 0 auto;
  padding: 22px 0;
  font-size: 11px;
  color: var(--muted);
}
.path .current {
  color: var(--charcoal);
  font-weight: 800;
}
.conversation {
  margin-top: 28px;
}
.conversation-workspace {
  grid-template-areas: 'guide source';
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 84px;
}
.interview-guide {
  grid-area: guide;
}
.memory-workbench {
  grid-area: source;
  border-top: 3px solid var(--cyan);
  padding-top: 24px;
}
.source-intro h2 {
  font:
    800 32px/1.08 Barlow,
    sans-serif;
  margin-bottom: 14px;
}
.source-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
#source-details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
#source-details summary {
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
  color: var(--blue);
  font-weight: 700;
}
#source-fragments {
  max-height: 380px;
  overflow: auto;
  padding-right: 12px;
}
#source-fragments p {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-left: 2px solid var(--line);
  padding-left: 14px;
}
#source-fragments strong {
  font-size: 12px;
}
#source-open-card {
  width: 100%;
  margin-bottom: 20px;
}
#source-card-thumb {
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
}
.source-note {
  font-size: 11px;
  line-height: 1.8;
}
.conversation #question {
  color: var(--charcoal);
  font-size: clamp(35px, 3.5vw, 51px);
}
.listening-mark span:nth-child(1) {
  background: var(--orange);
}
.listening-mark span:nth-child(2) {
  background: var(--cyan);
}
.listening-mark span:nth-child(3) {
  background: var(--blue);
}
.composer-bar .send {
  min-height: 56px;
  background: var(--orange);
  color: var(--charcoal);
}
.question-tools {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.question-tool {
  font-size: 12px;
}
.review-heading h1 {
  font-size: 62px;
}
.review-grid {
  display: grid;
  grid-template-areas: 'media story';
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: start;
}
.review-grid > article {
  grid-area: story;
  min-width: 0;
}
.review-grid > aside {
  grid-area: media;
  min-width: 0;
}
.preview-card {
  background: #063d7d;
}
.review article #story-title {
  color: var(--charcoal);
  font-size: 44px;
}
.review #story-body p {
  font-size: 19px;
  line-height: 1.85;
}
.review #story-body .story-impact {
  border-left-color: var(--orange);
}
.revision-invite {
  margin-top: 32px;
}
#revision {
  background: transparent;
}
.site-foot {
  border-top: 1px solid var(--line);
  position: relative;
}
.site-foot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--three-gs);
}
.site-foot > span:first-child {
  color: var(--charcoal);
  font-weight: 800;
}
dialog h2 {
  color: var(--charcoal);
}
.returned-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  max-width: 1184px;
  margin: 44px auto 70px;
  align-items: center;
}
.returned-card h1 {
  font-size: clamp(52px, 5.5vw, 78px);
}
.return-copy p {
  max-width: 540px;
}
.return-actions > .primary {
  margin: 14px 0 8px;
}
.return-actions > .text-button {
  display: block;
  margin-bottom: 22px;
}
.returned-source {
  border-top: 3px solid var(--cyan);
  padding-top: 24px;
}
#open-returned-card {
  width: 100%;
}
#returned-card-image {
  width: 100%;
  box-shadow: 0 12px 30px #30302a12;
}
#returned-words {
  margin: 22px 0 8px;
}
#returned-words summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
}
#returned-card-text {
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.8;
}
@media (max-width: 1240px) {
  .welcome,
  .conversation,
  .review,
  .path {
    margin-left: 28px;
    margin-right: 28px;
  }
  .returned-card {
    margin-left: 28px;
    margin-right: 28px;
    gap: 44px;
  }
  .conversation-workspace {
    gap: 48px;
  }
}
@media (max-width: 760px) {
  .site-head {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 19px 22px 25px;
    gap: 22px;
    row-gap: 8px;
  }
  .site-head img {
    width: 70px !important;
    height: 70px !important;
  }
  .brand-power p {
    font-size: 24px;
  }
  .site-head #history {
    font-size: 11px;
    grid-column: 1 / -1;
    justify-self: end;
    margin: 0;
    min-height: 32px;
  }
  .site-head #account-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    min-height: 44px;
    padding-top: 4px;
  }
  .welcome {
    display: block;
    margin: 36px 22px 50px;
  }
  .returned-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 28px 22px 50px;
    gap: 32px;
  }
  .returned-card h1 {
    font-size: 54px;
  }
  .return-copy {
    display: contents;
  }
  .return-intro {
    order: 0;
  }
  .returned-source {
    order: 1;
  }
  .return-actions {
    order: 2;
  }
  #returned-card-image {
    max-height: 210px;
    object-fit: contain;
  }
  .returned-card .lead {
    font-size: 18px;
  }
  .return-actions > .primary {
    width: 100%;
  }
  .welcome h1 {
    font-size: 57px;
  }
  .welcome .lead {
    font-size: 17px;
  }
  .welcome-example {
    margin-top: 48px;
  }
  .welcome-example .sample-card {
    max-width: 400px;
  }
  .path {
    font-size: 10px;
    margin: 0 22px;
    gap: 8px;
    padding: 18px 0;
  }
  .path i {
    min-width: 5px;
  }
  .path [data-step='choices'],
  .path i:last-of-type {
    display: none;
  }
  .conversation {
    margin: 12px 22px 45px;
  }
  .conversation-workspace {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .memory-workbench {
    order: -1;
    width: 100%;
    position: static;
    padding-top: 14px;
  }
  .source-intro h2,
  .source-intro > .eyebrow,
  .source-note {
    display: none;
  }
  .source-intro > p {
    margin: 0;
    font-size: 12px !important;
  }
  #source-details {
    border: 0;
    margin: 4px 0 0;
    padding: 0;
  }
  #source-fragments {
    max-height: 240px;
  }
  .interview-guide {
    padding-top: 0;
    width: 100%;
  }
  .conversation #question {
    font-size: 37px;
    margin-bottom: 25px;
  }
  #answer {
    font-size: 21px;
    min-height: 110px !important;
  }
  .composer-bar {
    grid-template-columns: auto 1fr;
  }
  .composer-bar .send {
    grid-column: 1/-1;
    width: 100%;
  }
  .review {
    margin: 24px 22px 50px;
  }
  .review-heading h1 {
    font-size: 52px;
  }
  .review-grid {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }
  .review-grid > article {
    width: 100%;
  }
  .review-grid > aside {
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
  }
  .review article #story-title {
    font-size: 40px;
  }
  .review #story-body p {
    font-size: 18px;
  }
}

/* Readability scale: story copy20px, supporting copy16px, labels15px. */
.review #story-body p {
  font-size: 20px;
  line-height: 1.8;
}
.review .byline,
.small,
.fine,
.question-tool,
.account-entry,
.preview-caption,
.site-foot,
.site-head #account-nav,
.source-note,
.source-details summary,
.returned-card .optional-photo {
  font-size: 16px;
}
.eyebrow,
.brand-power > span,
.pilot-bar,
.path,
.path span,
.source-words > p,
.source-words > strong,
.field-label {
  font-size: 15px;
}
#source-fragments p,
.welcome .lead,
.returned-card p,
.review-heading p {
  font-size: 20px;
}
button.text-button,
.question-tools button,
.composer-bar button {
  font-size: 17px;
}

.card-entry small,
.example-caption,
.entry-disclosure,
#source-details summary,
#source-fragments strong,
.site-head #history {
  font-size: 16px;
}
.source-intro > p:not(.eyebrow) {
  font-size: 20px;
}

/* Keep the invitation's three phrases intact at desktop and phone widths. */
.welcome-copy {
  container-type: inline-size;
}
.welcome .welcome-headline {
  font-size: clamp(46px, 12cqw, 82px);
  line-height: 1.08;
}
.welcome-headline .headline-line {
  display: block;
  white-space: nowrap;
}
.welcome-headline em {
  display: inline-block;
  font-size: 0.72em;
  font-style: italic;
  white-space: nowrap;
}
