@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #20221d;
  --muted: #57594e;
  --line: #dcded2;
  --lime: #d7fa82;
  --lime-hover: #c5ee6b;
  --green: #55732c;
  --lilac: #e8defa;
  --peach: #f8e6dc;
  --focus: #683fa3;
  --danger: #902f2d;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-height: 100svh; margin: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 "DM Sans", system-ui, sans-serif; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .62; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 4vw, 2.45rem); }
h3 { font-size: 1.2rem; }
svg { display: block; flex: none; }
.wrap { width: min(1184px, 100% - 72px); margin-inline: auto; }
.muted { color: var(--muted); }
.small-text { font-size: .9rem; }
.skip { position: fixed; padding: 9px 14px; left: 12px; top: 12px; z-index: 3; background: var(--white); }
.skip:not(:focus) { clip-path: inset(50%); }

.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.navigation { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 9px; font-size: 1.55rem; line-height: 1; font-weight: 800; letter-spacing: -.065em; }
.navigation nav { display: flex; align-items: center; gap: 30px; font-weight: 650; font-size: .95rem; color: var(--muted); }
.navigation nav a:hover, .footer-row a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }
#account-nav { justify-self: end; }
.site-footer { border-block-start: 1px solid var(--line); border-block-end: 0; }
.footer-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.footer-row .brand { font-size: 1.22rem; color: var(--ink); }
.footer-row > a:last-child { font-size: .9rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  border: 1px solid transparent; border-radius: 9px; padding: 9px 17px; line-height: 1.22;
  font-weight: 750; white-space: nowrap; font-size: .96rem; text-align: center;
  transition: background .16s, border-color .16s;
}
.button.primary { background: var(--lime); border-color: #b4d76e; }
.button.primary:hover { background: var(--lime-hover); border-color: #9bb95e; }
.button.secondary { background: var(--white); border-color: #d0d2c7; }
.button.secondary:hover { background: #eeefe6; border-color: #acb0a3; }
.button.small { min-height: 42px; padding-inline: 13px; font-size: .9rem; }
.button.danger { background: #f8e4e0; border-color: #dfbbb5; color: var(--danger); }
.full { width: 100%; }
.text-link { color: #503778; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
button.text-link { border: 0; background: transparent; padding: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7.2vw, 108px); padding-block: clamp(48px, 6vw, 88px) clamp(44px, 5.5vw, 76px); }
.hero h1 { font-size: clamp(3.8rem, 7.5vw, 7rem); line-height: .92; letter-spacing: -.075em; }
.hero h1 span { color: var(--green); }
.hero-copy > p { margin-top: 22px; max-width: 385px; color: var(--muted); font-size: clamp(1.06rem, 1.55vw, 1.22rem); }
.points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: var(--muted); font-size: .91rem; font-weight: 650; }
.points span { display: flex; gap: 7px; align-items: center; }
.points svg { color: var(--green); }

.transfer-frame {
  position: relative; display: grid; gap: 17px; border: 1px solid #cfc5e0; border-radius: 20px;
  padding: clamp(17px, 3.1vw, 34px); background-color: #ebe4f5;
  background-image: linear-gradient(#56406c12 1px, transparent 1px), linear-gradient(90deg, #56406c12 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
  box-shadow: 0 6px 0 #ded4e8;
}
.transfer-frame::before, .transfer-frame::after { content: ""; position: absolute; width: 13px; height: 13px; border: solid #867794; pointer-events: none; }
.transfer-frame::before { top: 11px; left: 11px; border-width: 1px 0 0 1px; }
.transfer-frame::after { bottom: 11px; right: 11px; border-width: 0 1px 1px 0; }
.transfer-pane { border: 1px solid #d6cde1; border-radius: 13px; padding: clamp(16px, 2.4vw, 25px); background: var(--white); box-shadow: 0 5px 15px #3325480d; min-width: 0; }
.transfer-pane h2 { font-size: 1.5rem; }
.pane-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.pane-heading > span { color: #645776; background: #f2ebfa; border: 1px solid #e1d7ed; border-radius: 24px; padding: 3px 9px; font-size: .85rem; font-weight: 750; }
.drop {
  min-height: 202px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 19px 12px; gap: 5px; margin-top: 16px;
  border: 1px dashed #bbbdac; border-radius: 10px; background: #f6f7ed;
  transition: background .16s, border-color .16s;
}
.drop.dragging { background: #edfacd; border-color: #6a893c; }
.drop p { overflow-wrap: anywhere; }
.drop strong { display: block; font-size: 1.12rem; font-weight: 800; overflow-wrap: anywhere; }
.drop .tile-icon { width: 52px; height: 52px; margin-bottom: 7px; }
.drop .button { margin-top: 9px; }
.fine-print { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.inline-message { border-radius: 9px; padding: 11px 14px; background: #edf4df; border: 1px solid #d5e2bc; color: #324220; margin-top: 15px; overflow-wrap: anywhere; }
.inline-message.error { color: var(--danger); background: #fff1ed; border-color: #eed5cd; }
.progress-panel { margin-top: 16px; }
.progress-panel label { display: block; font-weight: 700; }
progress { display: block; width: 100%; height: 10px; margin-block: 10px; border: 0; border-radius: 30px; overflow: hidden; appearance: none; background: #ececdf; color: #719940; }
progress::-webkit-progress-bar { background: #ececdf; border-radius: 30px; }
progress::-webkit-progress-value { background: #719940; border-radius: 30px; }
progress::-moz-progress-bar { background: #719940; }
.transfer-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.upload-access { display: grid; gap: 6px; margin-top: 14px; }
.upload-access label { display: block; font-weight: 720; }
.upload-access textarea { display: block; resize: vertical; }
.upload-access #selective-fields { margin-top: 4px; }
.upload-access #selective-fields > * + * { margin-top: 5px; }

.guide { border-top: 1px solid var(--line); padding-block: 35px 48px; scroll-margin-top: 18px; }
.guide h2 { margin-bottom: 20px; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { border: 1px solid var(--line); border-radius: 14px; padding: 19px 20px; background: var(--white); }
.guide-card h3 { margin-block: 14px 5px; }
.guide-card p { color: var(--muted); font-size: .96rem; }
.tile-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #27302223; background: #e3f2c1; }
.tile-icon.lilac { background: var(--lilac); }
.tile-icon.peach { background: var(--peach); }

.quota-card { margin-top: 24px; max-width: 385px; padding: 16px 18px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; }
.quota-card > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.quota-card .text-link { margin-top: 8px; display: inline-block; }
.library { border-top: 1px solid var(--line); padding-block: 36px 48px; }
.library .section-intro { margin-bottom: 16px; }
.section-intro p { color: var(--muted); margin-top: 6px; }
.files { margin: 0; padding: 0; list-style: none; }
.files > li, .empty-files {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: var(--white); border-radius: 11px; margin-bottom: 9px; padding: 12px 14px;
}
.file-name { overflow-wrap: anywhere; font-weight: 800; line-height: 1.3; }
.file-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.empty-files { display: block; padding: 19px; color: var(--muted); }
.download-card .tile-icon { margin-bottom: 14px; width: 50px; height: 50px; }
.download-card h1 { overflow-wrap: anywhere; }

.centered { width: min(100% - 36px, 475px); margin-inline: auto; padding-block: clamp(40px, 7vw, 85px); }
.form-card { border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: clamp(21px, 4vw, 32px); box-shadow: 0 8px 0 #e9e8dc; }
.form-card h1 { font-size: clamp(2rem, 5vw, 2.65rem); }
.form-card > p { margin-top: 10px; }
.form-card form { display: grid; gap: 13px; margin-block: 19px 12px; }
.form-card label { display: grid; gap: 6px; font-weight: 720; }
.field { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #c9cabe; border-radius: 8px; background: #fff; }
.field::placeholder { color: #747568; }
.form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.download-card .button { margin-top: 18px; }

dialog { width: min(100% - 30px, 456px); border: 1px solid #d1d1c6; border-radius: 15px; padding: 22px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #28243878; }
dialog h2 { font-size: 1.65rem; }
dialog p { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; }
dialog .field { margin-top: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.toast { position: fixed; z-index: 2; bottom: 18px; right: 18px; max-width: calc(100vw - 36px); padding: 11px 15px; border: 1px solid #3b4430; border-radius: 9px; background: var(--ink); color: var(--white); box-shadow: 0 6px 15px #27202530; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 650px); }
  .navigation { grid-template-columns: 1fr auto; min-height: 63px; gap: 10px; }
  .navigation nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(3.45rem, 11vw, 5.5rem); }
  .hero h1 br { display: none; }
  .hero-copy > p { margin-top: 16px; }
  .points { margin-top: 15px; }
  .quota-card { max-width: none; margin-top: 18px; }
}
@media (max-width: 530px) {
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; }
  .guide-card .tile-icon { grid-row: span 2; }
  .guide-card h3 { margin: 0; }
  .files > li { grid-template-columns: auto minmax(0, 1fr); }
  .file-controls { grid-column: 2; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
