:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #18352d;
  background: #f7f7f2;
  font-synthesis: none;
  font-size: 15px;
  --muted: #697770;
  --line: #dce2d9;
  --green: #183e32;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin: 0 6vw;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1.1px;
}
.brand .mark {
  font-size: 55px;
  line-height: 1;
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 0;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 23px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.button:hover {
  background: #2b5445;
}
.button.compact {
  background: transparent;
  border: 1px solid #b9c8be;
  color: var(--green);
}
.button.large {
  margin-top: 20px;
  padding: 19px 25px;
  font-size: 16px;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 0 6vw;
}
.welcome {
  padding-top: 66px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px 70px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--muted);
}
h1 {
  font-size: clamp(44px, 4.8vw, 74px);
  letter-spacing: -3.4px;
  font-weight: 450;
  line-height: 1.08;
  margin: 28px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #677f57;
}
.intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}
.signin-note {
  margin-top: 17px;
  font-size: 11px;
  color: var(--muted);
}
.memory-art {
  min-height: 420px;
  border-radius: 4px 80px 4px 4px;
  background: #d9e5ca;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb-one {
  width: 330px;
  height: 330px;
  background: radial-gradient(circle at 30% 30%, #e7d8a8, #acc497 70%);
  right: -60px;
  top: 70px;
  box-shadow: -30px 30px 90px #496f5360;
}
.orb-two {
  width: 290px;
  height: 290px;
  background: radial-gradient(circle at 30% 20%, #c8d4b3, #446b54);
  left: -100px;
  bottom: -120px;
}
.art-word {
  position: absolute;
  font-family: Georgia, serif;
  line-height: 0.95;
  font-size: 70px;
  letter-spacing: -4px;
  left: 45px;
  top: 50px;
  color: #254935;
}
.art-caption {
  position: absolute;
  bottom: 35px;
  left: 45px;
  font-size: 9px;
  letter-spacing: 2px;
}
.art-infinity {
  position: absolute;
  font-size: 180px;
  line-height: 1;
  right: 24px;
  bottom: 12px;
  color: #f5f8e580;
  font-family: Georgia, serif;
}
.promise {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.promise div {
  display: grid;
  gap: 8px;
}
.promise b {
  font-weight: 550;
  font-size: 16px;
}
.promise span {
  font-size: 13px;
  color: var(--muted);
}
.early-note {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.7;
  max-width: 850px;
  color: var(--muted);
  margin-top: -18px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin: 50px 6vw 0;
  padding: 25px 0 35px;
  color: var(--muted);
  font-size: 11px;
}
footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vault-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 45px 0 28px;
}
.vault-heading h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 13px 0;
}
.vault-heading p {
  color: var(--muted);
  font-size: 13px;
}
.health-strip {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  border: 1px solid var(--line);
  background: #f0f3ec;
  border-radius: 9px;
  padding: 20px 24px;
  gap: 20px;
}
.health-strip strong {
  font-size: 12px;
  font-weight: 550;
}
.health-strip small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64895a;
  margin-right: 7px;
}
.backup-warning strong {
  color: #987a3d;
}
.library-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 24px;
}
.tabs {
  display: flex;
  gap: 25px;
}
.tabs button {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
}
.tabs button.selected {
  color: var(--green);
  box-shadow: 0 2px var(--green);
}
#file-count {
  font-size: 11px;
  color: var(--muted);
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}
.file-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #18352d0b;
}
.thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #e8eee4;
}
.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 55px;
  font-weight: 200;
  color: #78917e;
}
.file-caption {
  display: block;
  padding: 14px;
}
.file-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 550;
}
.file-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.file-status {
  display: block;
  color: #7d6a35;
  font-size: 10px;
  margin-top: 8px;
}
.empty {
  padding: 62px 20px;
  text-align: center;
  border: 1px dashed #becdbf;
  border-radius: 10px;
  background: #f1f4ed;
}
.empty-symbol {
  font-size: 40px;
  color: #7e9871;
}
.empty h2 {
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.7px;
}
.empty p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 14px;
}
.empty small {
  color: var(--muted);
  font-size: 11px;
}
#dropzone.dragging {
  outline: 3px solid #7c9d70;
  outline-offset: 6px;
  border-radius: 10px;
}
.notice {
  padding: 15px 18px;
  background: #e9efe2;
  border: 1px solid #c9d6bd;
  border-radius: 7px;
  margin: 20px 0;
  font-size: 13px;
  white-space: pre-line;
}
.notice.error {
  background: #f8eae3;
  border-color: #dfc7b9;
  color: #844d35;
}
.library-footnote {
  color: var(--muted);
  font-size: 10px;
  margin-top: 28px;
  line-height: 1.6;
}
.secondary {
  background: none;
  border: 1px solid #bccbbf;
  border-radius: 6px;
  color: var(--green);
  padding: 12px 16px;
}
.danger {
  color: #905942;
  border-color: #dfc7b9;
}
#load-more {
  margin: 25px auto;
  display: block;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 32px;
  color: var(--green);
  background: #f7f7f2;
}
dialog::backdrop {
  background: #11271f70;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--muted);
}
dialog h2 {
  font-size: 22px;
  overflow-wrap: anywhere;
  font-weight: 500;
  margin: 18px 0 25px;
}
dl {
  font-size: 12px;
  line-height: 1.5;
}
dt {
  color: var(--muted);
  margin-top: 16px;
}
dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
dd.hash {
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.detail-actions .button {
  width: 100%;
}
#detail-status {
  font-size: 12px;
  line-height: 1.6;
  color: #7c6634;
}
.article {
  max-width: 760px;
  padding-top: 50px;
  line-height: 1.8;
}
.article h1 {
  font-size: 45px;
  letter-spacing: -2px;
}
.article h2 {
  font-size: 21px;
  font-weight: 550;
  margin-top: 35px;
}
.article p,
.article li {
  color: var(--muted);
  font-size: 14px;
}
a:focus-visible,
button:focus-visible,
label:focus-visible {
  outline: 3px solid #93a97c;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  header {
    height: 85px;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
  }
  .memory-art {
    min-height: 320px;
    border-radius: 4px 60px 4px 4px;
  }
  .art-word {
    font-size: 60px;
    top: 35px;
  }
  .orb-one {
    width: 280px;
    height: 280px;
    top: 20px;
  }
  .promise {
    gap: 20px;
  }
  .promise b {
    font-size: 13px;
  }
  .promise span {
    font-size: 11px;
    line-height: 1.6;
  }
  .early-note {
    margin-top: 0;
  }
  .health-strip {
    grid-template-columns: 1fr 1fr;
  }
  .backup-warning {
    grid-column: 1/-1;
  }
  .vault-heading h1 {
    font-size: 37px;
  }
  .upload-button {
    font-size: 12px;
    padding: 12px;
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .thumbnail {
    height: 150px;
  }
  footer {
    flex-wrap: wrap;
    line-height: 1.7;
  }
  footer > span:last-child {
    display: none;
  }
  .button.compact {
    font-size: 11px;
    padding: 11px;
    gap: 8px;
  }
  .brand {
    font-size: 24px;
  }
  .brand .mark {
    font-size: 45px;
  }
  .file-caption {
    padding: 10px;
  }
  .file-title {
    font-size: 11px;
  }
}
