:root {
  --paper:#f5f5ef;
  --ink:#27392e;
  --muted:#72796e;
  --green:#294f3e;
  --lime:#dce8a7;
  --line:#e0e3d9;
  --white:#fff;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

button,input,select {
  font:inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #759346;
  outline-offset:4px;
}

button {
  color:inherit;
}

a {
  color:inherit;
}

.site-header,.site-footer {
  max-width:1280px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.site-header {
  height:116px;
  padding:0 40px;
}

.brand {
  display:flex;
  align-items:center;
  font-size:29px;
  font-weight:660;
  letter-spacing:-1.7px;
  text-decoration:none;
}

.brand svg {
  width:34px;
  height:34px;
  margin-right:10px;
  fill:none;
  stroke:var(--green);
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.brand-dot {
  color:#9aac75;
}

.preview-badge {
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:1.1px;
  color:#747e6d;
  border:1px solid var(--line);
  padding:9px 12px;
  border-radius:30px;
  display:flex;
  align-items:center;
  gap:7px;
}

.preview-badge>span {
  width:5px;
  height:5px;
  background:#83995f;
  border-radius:50%;
}

.text-button {
  border:0;
  background:none;
  padding:8px 0;
  font-size:13px;
  font-weight:550;
}

.how-button span {
  margin-left:20px;
}

.layout {
  max-width:1180px;
  margin:59px auto 89px;
  padding:0 30px;
  display:grid;
  grid-template-columns:1fr 474px;
  gap:72px;
  align-items:start;
}

.intro {
  padding-top:22px;
}

.eyebrow {
  font:10px var(--mono);
  letter-spacing:1.65px;
  margin:0 0 24px;
  display:flex;
  gap:10px;
  align-items:center;
}

.tiny-cross {
  color:#6a8458;
  font-size:20px;
  line-height:10px;
}

h1 {
  font-size:clamp(48px,5.25vw,73px);
  font-weight:450;
  line-height:1.095;
  letter-spacing:-3.7px;
  margin:0;
}

h1 em {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:normal;
  color:inherit;
  letter-spacing:-3px;
}

.intro-copy {
  font-size:16px;
  line-height:1.85;
  color:var(--muted);
  margin:26px 0 0;
  letter-spacing:-.2px;
}

.handoff-illustration {
  height:167px;
  position:relative;
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:18px;
  max-width:405px;
}

.illustration-line {
  position:absolute;
  border-top:1px dashed #b7c1aa;
  left:30px;
  right:25px;
  top:83px;
}

.mini-file {
  width:64px;
  height:84px;
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
  gap:9px;
  transform:rotate(-8deg);
  background:var(--paper);
}

.mini-file svg {
  width:28px;
  height:35px;
  fill:#fff;
  stroke:#859076;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.mini-file span {
  font:8px var(--mono);
  letter-spacing:.7px;
  color:#89937f;
}

.word-ticket {
  width:222px;
  background:#e6eccf;
  border:1px solid #d5debb;
  border-radius:7px;
  padding:19px 21px 22px;
  box-shadow:0 7px 0 -3px #edf0e0;
  transform:rotate(5deg);
  position:relative;
}

.ticket-caption {
  font:8px var(--mono);
  letter-spacing:1.3px;
  color:#7d8867;
}

.word-ticket>div {
  font-family:Georgia,serif;
  font-size:24px;
  letter-spacing:-.6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:10px;
  color:#56673c;
}

.ticket-star {
  font-size:17px;
  color:#93a574;
}

.ticket-perforation {
  display:block;
  border-bottom:1px dashed #c7d2aa;
  position:absolute;
  left:0;
  right:0;
  bottom:11px;
}

.recipient-dot {
  position:relative;
  background:var(--paper);
  padding:8px 0;
  display:flex;
  align-items:center;
}

.recipient-dot svg {
  width:35px;
  height:35px;
  border:1px solid #b9c9a4;
  border-radius:50%;
  background:#edf1e3;
  fill:none;
  stroke:#6e8654;
  stroke-width:1.25;
  padding:7px;
}

.promise {
  display:flex;
  gap:14px;
  margin-top:2px;
  color:#808773;
  align-items:center;
}

.promise-icon {
  font-size:32px;
  font-weight:200;
  color:#a7b196;
  align-self:flex-start;
}

.promise p {
  font-size:12px;
  line-height:1.8;
  margin:0;
}

.promise strong {
  font-weight:500;
  color:#56644d;
}

.workspace {
  background:#fff;
  border:1px solid #e1e5d9;
  border-radius:19px;
  box-shadow:0 12px 35px -23px #344c3540,0 1px 2px #213b2210;
  overflow:hidden;
  min-width:0;
}

.workspace:focus {
  outline:none;
}

.mode-switch {
  display:flex;
  border-bottom:1px solid var(--line);
  padding:0 27px;
  gap:28px;
}

.mode-switch button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:21px 4px 19px;
  border:0;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  background:none;
  color:#8e9589;
  font-size:13px;
  flex:1;
}

.mode-switch button[aria-pressed=true] {
  color:var(--green);
  border-bottom-color:var(--green);
  font-weight:600;
}

.mode-switch svg,.button-icon {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.panel {
  padding:27px 28px 25px;
}

.step-line {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:25px;
  color:#a3aa9a;
  font:9px var(--mono);
  letter-spacing:1.2px;
}

.step-line i {
  flex:1;
  border-top:1px solid #e8ebe1;
}

.step-line .current {
  color:#63724d;
}

.panel h2 {
  font-size:23px;
  letter-spacing:-.8px;
  font-weight:550;
  margin:0 0 8px;
  line-height:1.3;
}

.subcopy {
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 22px;
}

.dropzone {
  width:100%;
  border:1px dashed #bbc7ad;
  border-radius:11px;
  background:#fafbf6;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:174px;
  text-align:center;
  padding:22px 14px;
  transition:background .15s,border-color .15s;
}

.dropzone:hover,.dropzone.dragging {
  background:#f0f4e5;
  border-color:#788f60;
}

.upload-art {
  width:46px;
  height:46px;
  background:#edf2df;
  border-radius:12px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  color:#617448;
}

.upload-art svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.drop-title {
  font-size:13px;
  font-weight:550;
  display:block;
}

.browse-copy {
  font-size:11px;
  color:#808878;
  margin-top:7px;
}

.browse-copy u {
  text-underline-offset:3px;
  text-decoration-color:#a6b195;
}

.limit {
  font:9px var(--mono);
  letter-spacing:.3px;
  margin-top:12px;
  color:#9aA28f;
}

.file-card {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  background:#f5f7ee;
  border:1px solid #e0e7d4;
  border-radius:10px;
  margin-bottom:20px;
  min-width:0;
}

.file-icon {
  background:#e7edd8;
  min-width:38px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:6px;
  color:#5f764b;
}

.file-icon svg {
  width:21px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linejoin:round;
}

.file-details {
  min-width:0;
  flex:1;
}

.file-name {
  font-size:12px;
  font-weight:600;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.file-size {
  font:9px var(--mono);
  color:#8b947e;
  display:block;
  margin-top:6px;
}

.icon-button {
  border:0;
  background:none;
  min-width:32px;
  min-height:32px;
  font-size:23px;
  color:#859078;
}

.selected-drop {
  margin-bottom:0;
}

.selected-drop .file-card {
  margin:0;
  width:100%;
}

.sample-link {
  font-size:10px;
  color:#8a947f;
  border:0;
  background:none;
  text-decoration:underline;
  text-decoration-color:#c5cbbd;
  text-underline-offset:3px;
  padding:12px 0 0;
  display:block;
  margin:auto;
}

.policy-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:27px 0 13px;
}

.policy-heading h3 {
  font-size:12px;
  font-weight:550;
  margin:0;
}

.policy-heading span {
  font:9px var(--mono);
  color:#939d85;
}

.policies {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.select-field {
  display:block;
  border:1px solid var(--line);
  border-radius:8px;
  padding:11px 12px 8px;
}

.select-field>span {
  display:block;
  font-size:10px;
  color:#929989;
  margin-bottom:6px;
}

.select-field select {
  border:0;
  background:transparent;
  color:#3e4b34;
  font-size:12px;
  font-weight:550;
  display:block;
  width:100%;
  padding:0 0 2px;
  cursor:pointer;
  outline-offset:8px;
}

.policy-note {
  font-size:10px;
  line-height:1.7;
  color:#a0a797;
  margin:11px 0 23px;
}

.primary {
  width:100%;
  border:1px solid var(--green);
  border-radius:8px;
  background:var(--green);
  color:#f2f6e7;
  padding:14px 17px;
  font-size:12px;
  font-weight:550;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  transition:background .15s,transform .15s;
}

.primary:hover:not(:disabled) {
  background:#1c3e2e;
  transform:translateY(-1px);
}

.primary:disabled {
  background:#e8ecdf;
  color:#98a38b;
  border-color:#e8ecdf;
}

.primary>span:last-child {
  font-size:17px;
  line-height:14px;
}

.primary.center {
  justify-content:center;
}

.under-button {
  text-align:center;
  margin:12px 0 0;
  font-size:10px;
  color:#9aa28f;
  line-height:1.6;
}

.preview-note {
  border-top:1px solid #edf0e7;
  padding:13px 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#919a86;
  font-size:9px;
  background:#fdfefb;
}

.preview-note span {
  font-size:14px;
}

.site-footer {
  padding:27px 40px 35px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#8e9684;
}

.site-footer strong {
  font-weight:500;
  color:#59674d;
}

.site-footer>span:last-child>span {
  margin-left:10px;
}

.label {
  display:block;
  font:9px var(--mono);
  letter-spacing:1px;
  color:#909a82;
  margin-bottom:9px;
}

.copy-field {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:14px;
  background:#f7f8f2;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
  margin-bottom:21px;
  min-width:0;
}

.copy-field input {
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  font-family:var(--mono);
  font-size:26px;
  font-weight:600;
  color:var(--ink);
  outline-offset:3px;
  width:100%;
}

.copy-field .small-button {
  align-self:flex-start;
}

.small-button {
  border:1px solid #d8dfcc;
  border-radius:5px;
  background:white;
  padding:7px 10px;
  font-size:10px;
  font-weight:500;
  white-space:nowrap;
}

.small-button:hover {
  background:#eef3e3;
}

.phrase-display {
  display:flex;
  gap:10px;
  margin-bottom:11px;
}

.phrase-word {
  flex:1;
  background:#edf2df;
  border:1px solid #dce5c9;
  padding:17px 12px;
  border-radius:8px;
  font-family:Georgia,serif;
  font-size:23px;
  text-align:center;
  position:relative;
  letter-spacing:-.4px;
}

.phrase-word small {
  position:absolute;
  left:9px;
  top:8px;
  font:8px var(--mono);
  color:#a1ad8d;
}

.phrase-caption {
  font-size:10px;
  line-height:1.6;
  color:#89967a;
  margin:0 0 21px;
}

.waiting {
  display:flex;
  gap:10px;
  padding:13px;
  background:#f8f6ef;
  border:1px solid #ece7d5;
  border-radius:8px;
  font-size:11px;
  color:#8b7e51;
  align-items:flex-start;
  margin-bottom:18px;
}

.waiting .status-dot {
  background:#b19a58;
  width:6px;
  height:6px;
  border-radius:50%;
  margin-top:4px;
  flex-shrink:0;
}

.waiting strong {
  display:block;
  font-weight:500;
}

.waiting p {
  font-size:10px;
  line-height:1.6;
  margin:5px 0 0;
  color:#a1997e;
}

.secondary {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  width:100%;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  padding:12px;
  color:#758467;
  font-size:11px;
  margin-top:10px;
}

.secondary:hover {
  background:#f6f8f0;
}

.text-input {
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  width:100%;
  font-size:12px;
  padding:13px 12px;
  color:var(--ink);
  min-width:0;
}

#handoff-code {
  font-family:var(--mono);
  font-size:26px;
  font-weight:600;
  padding:18px 12px;
}

.text-input::placeholder {
  color:#b0b7a7;
}

.input-group {
  margin:19px 0;
}

.word-inputs {
  display:flex;
  gap:10px;
}

.word-inputs label {
  flex:1;
  min-width:0;
  position:relative;
}

.word-inputs .text-input {
  padding:17px 12px 17px 30px;
  font-size:15px;
}

.word-inputs label span {
  position:absolute;
  top:21px;
  left:12px;
  font:9px var(--mono);
  color:#a6af98;
}

.receive-note {
  font-size:10px;
  line-height:1.8;
  color:#939e86;
  margin:12px 0 22px;
}

.error {
  font-size:11px;
  line-height:1.6;
  color:#a54932;
  margin:12px 0;
  background:#fcf3ee;
  border-radius:6px;
  padding:9px 11px;
}

.error:empty {
  display:none;
}

.offer-policy {
  margin:19px 0 22px;
  padding:0 2px;
}

.offer-policy>div {
  display:flex;
  justify-content:space-between;
  margin:11px 0;
  font-size:11px;
  color:#96a086;
}

.offer-policy strong {
  font-weight:500;
  color:#596c4a;
}

.consent-note {
  font-size:11px;
  line-height:1.75;
  color:#8c987e;
  background:#f7f9f2;
  border-radius:8px;
  padding:14px;
  margin-bottom:20px;
}

.success-mark {
  width:58px;
  height:58px;
  border:1px solid #d5e2bf;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:25px;
  color:#6b8750;
  background:#eef4e2;
  margin:8px 0 22px;
}

.end-state {
  padding-top:30px;
}

.end-state .subcopy {
  margin-bottom:24px;
}

.preview-divider {
  margin:23px 0 15px;
  border-top:1px solid var(--line);
}

.demo-text {
  font-size:10px;
  line-height:1.8;
  color:#929c87;
  margin:13px 0 0;
}

.back-link {
  border:0;
  background:none;
  padding:0;
  color:#859578;
  font-size:10px;
  margin-bottom:23px;
}

.site-footer {
  max-width:1200px;
}

.skip-link {
  position:absolute;
  left:16px;
  top:-60px;
  z-index:10;
  background:var(--green);
  color:#fff;
  padding:12px;
}

.skip-link:focus {
  top:10px;
}

#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,12px);
  opacity:0;
  pointer-events:none;
  background:#293e2f;
  color:#f2f6e9;
  padding:12px 20px;
  border-radius:8px;
  font-size:12px;
  z-index:20;
  transition:.2s;
  max-width:90vw;
  text-align:center;
}

#toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}

dialog {
  border:1px solid var(--line);
  border-radius:16px;
  padding:37px;
  width:min(460px,calc(100% - 32px));
  color:var(--ink);
  box-shadow:0 20px 80px #20342520;
}

dialog::backdrop {
  background:#27392e50;
  backdrop-filter:blur(3px);
}

.close-dialog {
  position:absolute;
  right:14px;
  top:10px;
}

.how-steps {
  padding-left:19px;
  margin:23px 0;
}

.how-steps li {
  padding-left:8px;
  margin-bottom:20px;
  font-size:12px;
  color:#71845d;
}

.how-steps strong {
  color:var(--ink);
  font-weight:550;
}

.how-steps p {
  font-size:11px;
  line-height:1.8;
  margin:7px 0;
  color:var(--muted);
}

dialog h2 {
  font-size:28px;
  letter-spacing:-1px;
  font-weight:500;
  margin:0;
}

.dialog-note {
  font-size:10px;
  color:#929b86;
  line-height:1.8;
  margin-bottom:22px;
}

input[type=file] {
  display:none;
}

p[data-transfer-status] {
  min-height:1.5em;
}

@media(min-width:1450px) {
  .layout {
    margin-top:92px;
    margin-bottom:120px;
  }
}

@media(max-width:1050px) {
  .layout {
    gap:36px;
    grid-template-columns:1fr 430px;
    padding:0 32px;
  }
  h1 {
    font-size:57px;
    letter-spacing:-3px;
  }
  .word-ticket {
    width:193px;
    padding:17px;
  }
  .handoff-illustration {
    gap:17px;
  }
  .word-ticket>div {
    font-size:21px;
  }
}

@media(max-width:850px) {
  .site-header {
    padding:0 28px;
    height:92px;
  }
  .layout {
    grid-template-columns:1fr;
    max-width:550px;
    gap:35px;
    margin:20px auto 55px;
    padding:0 20px;
  }
  .intro {
    padding-top:0;
    text-align:center;
  }
  .eyebrow {
    justify-content:center;
    margin-bottom:17px;
  }
  h1 {
    font-size:62px;
  }
  .intro-copy {
    font-size:14px;
    margin-top:17px;
  }
  .handoff-illustration,.promise {
    display:none;
  }
  .preview-badge {
    font-size:8px;
    padding:7px 9px;
    letter-spacing:.7px;
  }
  .how-button {
    font-size:11px;
  }
  .how-button span {
    margin-left:8px;
  }
  .site-footer {
    margin:0 24px;
    padding:23px 0 28px;
  }
  .panel {
    padding:25px 27px;
  }
  .workspace {
    border-radius:16px;
  }
  dialog .eyebrow {
    justify-content:flex-start;
  }
}

@media(max-width:480px) {
  .site-header {
    padding:0 20px;
    height:82px;
  }
  .brand {
    font-size:24px;
  }
  .brand svg {
    width:28px;
    height:28px;
    margin-right:7px;
  }
  .preview-badge {
    position:fixed;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    z-index:5;
    background:#f5f5eff5;
    box-shadow:0 2px 8px #20342510;
    font-size:8px;
  }
  .layout {
    margin-top:16px;
    gap:28px;
    padding:0 18px;
    margin-bottom:34px;
  }
  h1 {
    font-size:52px;
    letter-spacing:-2.7px;
  }
  .intro .eyebrow {
    font-size:8px;
  }
  .intro-copy {
    font-size:12px;
    line-height:1.8;
    margin-top:15px;
  }
  .panel {
    padding:23px 22px;
  }
  .mode-switch {
    padding:0 22px;
    gap:20px;
  }
  .mode-switch button {
    padding:18px 3px;
    font-size:12px;
  }
  .dropzone {
    min-height:160px;
  }
  .policy-heading {
    margin-top:23px;
  }
  .preview-note {
    font-size:8px;
    padding:12px;
  }
  .site-footer {
    font-size:9px;
    padding-bottom:68px;
    margin:0 20px;
  }
  .copy-field {
    padding:10px;
  }
  .copy-field input,#handoff-code {
    font-size:22px;
  }
  .step-line {
    font-size:8px;
    gap:8px;
  }
  .step-line i {
    min-width:10px;
  }
  .policies {
    gap:10px;
  }
  .select-field {
    padding:10px;
  }
  .select-field select {
    font-size:11px;
  }
  #toast {
    bottom:50px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* Keep functional copy readable; reserve faint ink for decorative annotations. */
.subcopy {
  font-size:13px;
}

.drop-title {
  font-size:14px;
}

.browse-copy {
  font-size:12px;
  color:#737f67;
}

.sample-link {
  font-size:11px;
  color:#778669;
}

.policy-heading h3 {
  font-size:13px;
}

.primary {
  font-size:13px;
}

.select-field select {
  font-size:13px;
}

.select-field>span {
  font-size:11px;
  color:#75816b;
}

.policy-note,.under-button,.receive-note,.phrase-caption,.demo-text,.preview-note {
  color:#77846a;
}

.policy-note,.under-button,.receive-note,.phrase-caption,.demo-text {
  font-size:11px;
}

.preview-note {
  font-size:10px;
}

.label {
  color:#758568;
}

.file-name {
  font-size:13px;
}

.file-size {
  font-size:10px;
  color:#78866a;
}

.copy-field .small-button {
  align-self:flex-start;
}

.small-button {
  font-size:11px;
}

.secondary {
  font-size:12px;
}

.waiting p {
  font-size:11px;
  color:#81764f;
}

.waiting strong {
  font-size:12px;
}

.offer-policy>div {
  font-size:12px;
  color:#7c8b6d;
}

.consent-note {
  font-size:12px;
  color:#708060;
}

.limit {
  font-size:10px;
  color:#839173;
}

@media(max-width:480px) {
  .site-header {
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px;
    height:auto;
    padding:23px 20px 0;
  }
  .how-button {
    grid-column:2;
    grid-row:1;
  }
  .preview-badge {
    position:static;
    transform:none;
    grid-column:1/-1;
    justify-self:center;
    box-shadow:none;
    margin-top:4px;
  }
  .layout {
    margin-top:25px;
  }
  .site-footer {
    padding-bottom:35px;
  }
  .policy-note,.under-button,.receive-note,.demo-text {
    font-size:11px;
  }
  .preview-note {
    font-size:9px;
  }
  .select-field select {
    font-size:13px;
  }
  #toast {
    bottom:22px;
  }
}

.login-layout {
  max-width:520px;
  margin:60px auto;
  padding:0 20px;
}
