@font-face {
  font-family: Onest;
  src: url("fonts/Onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("fonts/Lora.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #f5f2eb;
  --ink: #292e26;
  --muted: #6c7066;
  --line: #d9dacd;
  --accent: #d55832;
  --serif: Lora, Georgia, serif;
  --sans: Onest, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
::selection {
  background: #efc2a3;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--ink);
  color: white;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1.4px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font: 26px/1 var(--serif);
  letter-spacing: -2px;
  padding: 0 4px 5px 0;
}
.brand-period {
  font-size: 12px;
  align-self: flex-start;
  letter-spacing: 0;
  margin-top: 4px;
}
.header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--muted);
}
.header nav a:hover,
.footer a:hover {
  color: var(--accent);
}
.header-action {
  font-size: 13px;
  font-weight: 550;
}
.header-action span {
  margin-left: 18px;
  font-size: 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 80px 85px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
h1 {
  font-size: clamp(39px, 4.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 0 0 28px;
}
h1 em,
h2 em,
.closing em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
}
.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 13px 23px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark:hover {
  background: #454e3e;
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.letter-art {
  height: 390px;
  position: relative;
}
.art-grid {
  position: absolute;
  inset: 12px 0;
  background-image:
    linear-gradient(#dfdfd4 1px, transparent 1px),
    linear-gradient(90deg, #dfdfd4 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse, black 25%, transparent 70%);
}
.art-coordinate {
  position: absolute;
  top: 10px;
  left: 40px;
  letter-spacing: 1.5px;
  font-size: 8px;
  color: var(--muted);
}
.paper {
  position: absolute;
  width: 220px;
  height: 292px;
  top: 45px;
  box-shadow: 4px 10px 20px #33331c0f;
}
.paper-back {
  left: 48px;
  background: #d4d9bc;
  transform: rotate(-13deg);
  padding: 48px 28px;
  font: 33px/1.3 var(--serif);
}
.paper-front {
  left: 165px;
  transform: rotate(9deg);
  background: #fffdf6;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paper-tiny {
  font-size: 6px;
  letter-spacing: 1.5px;
}
.big-letter {
  font: 178px/1.1 var(--serif);
  letter-spacing: -18px;
  position: relative;
  margin-top: 7px;
}
.letter-dot {
  color: var(--accent);
}
.paper-lines {
  width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 15px;
}
.paper-lines i {
  height: 2px;
  background: #deded1;
}
.paper-lines i:last-child {
  width: 60%;
}
.art-stamp {
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--accent);
  color: #fff8ec;
  transform: rotate(-14deg);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 0 0 5px var(--paper);
}
.art-stamp strong {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
}
.art-footer {
  position: absolute;
  bottom: 7px;
  right: 0;
  font-size: 7px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.ribbon {
  border-block: 1px solid var(--line);
}
.ribbon .wrap {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.ribbon i {
  color: var(--accent);
  font-style: normal;
  font-size: 16px;
}
.workshop {
  padding-block: 80px 40px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
h2 {
  font-size: 34px;
  letter-spacing: -1.3px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
}
.section-heading > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.editor-card {
  background: #fffdf8;
  border: 1px solid #dadbcf;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px #33331c03;
}
.editor-top,
.editor-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
}
.editor-top {
  border-bottom: 1px solid #e9e8df;
}
.editor-top > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  color: var(--accent);
}
textarea {
  display: block;
  width: 100%;
  height: 245px;
  resize: vertical;
  min-height: 180px;
  max-height: 650px;
  border: 0;
  background: transparent;
  padding: 28px 26px;
  font: 18px/1.9 var(--serif);
  color: var(--ink);
  border-radius: 0;
}
textarea::placeholder {
  color: #97988b;
}
.editor-bottom {
  padding-block: 12px;
  color: var(--muted);
  font-size: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: #efefe5;
}
.stats > div {
  padding: 16px 26px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border-right: 0;
}
.stats strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1px;
  display: block;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-size: 10px;
  color: var(--muted);
}
.tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  align-items: center;
}
.transform-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.transform-tools button,
.download {
  font-size: 10px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
  min-height: 37px;
  padding: 8px 12px;
  color: var(--ink);
}
.transform-tools button:hover:not(:disabled),
.download:hover {
  border-color: var(--ink);
  background: #eaeadd;
}
.output-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.output-tools .button {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 11px;
}
.feedback {
  font-size: 11px;
  color: var(--muted);
  min-height: 1.7em;
  margin-top: 12px;
}
.notice {
  padding: 16px;
  border: 1px solid var(--accent);
}
.how {
  padding-block: 60px 80px;
}
.section-star {
  font-size: 60px;
  color: var(--accent);
  line-height: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 45px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-number {
  font-size: 12px;
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
}
.steps h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 550;
  margin: 18px 0 9px;
}
.steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 310px;
}
.notes {
  background: #e8ebde;
  border-block: 1px solid #d9ddcd;
}
.notes-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 85px;
  padding-block: 70px;
}
.notes h2 {
  line-height: 1.35;
}
.notes-intro {
  font-size: 13px;
  max-width: 320px;
  color: var(--muted);
  margin-top: 22px;
}
.note-list {
  display: grid;
  gap: 22px;
}
.note-list article {
  display: flex;
  gap: 20px;
}
.note-list article > span {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #c6ccb6;
  border-radius: 50%;
  font: 17px var(--serif);
}
.note-list h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.note-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding-block: 85px;
}
.faq .eyebrow {
  margin-bottom: 17px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  padding: 20px 26px 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  font-weight: 400;
  top: 15px;
}
details[open] summary::after {
  content: "−";
}
details > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 25px 20px 0;
}
.closing {
  padding: 40px 45px;
  background: #ebe6da;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-radius: 5px;
  margin-bottom: 75px;
}
.closing > span {
  font: 90px/1 var(--sans);
  color: var(--accent);
}
.closing p {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0 auto 0 20px;
}
.footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer .brand {
  font-size: 25px;
}
.footer p,
.footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 95px;
  }
  .letter-art {
    height: 410px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 15px;
    grid-template-columns: 1.1fr 1fr;
  }
  h1 {
    font-size: 45px;
  }
  .paper {
    width: 190px;
    height: 260px;
  }
  .paper-back {
    left: 12px;
  }
  .paper-front {
    left: 110px;
  }
  .big-letter {
    font-size: 150px;
  }
  .art-coordinate {
    left: 10px;
  }
  .art-stamp {
    left: 5px;
    bottom: 30px;
  }
  .tools {
    align-items: start;
  }
  .transform-tools {
    max-width: 410px;
  }
  .notes-inner {
    gap: 40px;
  }
  .faq {
    gap: 40px;
  }
  .header nav {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 79px;
  }
  .header nav {
    display: none;
  }
  .header-action {
    font-size: 11px;
  }
  .header-action span {
    margin-left: 5px;
  }
  .brand {
    font-size: 26px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 48px 35px;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2.3px;
  }
  .hero .lead {
    font-size: 14px;
  }
  .letter-art {
    height: 335px;
    width: 340px;
    max-width: 100%;
    margin: 20px auto 0;
  }
  .paper-back {
    left: 25px;
    top: 25px;
  }
  .paper-front {
    left: 130px;
    top: 25px;
    width: 185px;
  }
  .art-coordinate {
    top: 0;
    font-size: 7px;
  }
  .art-stamp {
    bottom: 10px;
    left: 13px;
    width: 90px;
    height: 90px;
  }
  .art-footer {
    font-size: 6px;
    bottom: 0;
  }
  .ribbon .wrap {
    min-height: 54px;
    gap: 10px;
    font-size: 10px;
  }
  .ribbon span:last-child,
  .ribbon i:last-of-type {
    display: none;
  }
  .workshop {
    padding-block: 50px 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading > p {
    margin-top: 14px;
  }
  .section-heading > p br {
    display: none;
  }
  h2 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .editor-top,
  .editor-bottom {
    padding-inline: 17px;
  }
  .editor-top .text-button {
    font-size: 10px;
  }
  .editor-top > span {
    font-size: 8px;
  }
  textarea {
    padding: 20px 17px;
    font-size: 16px;
    height: 260px;
  }
  .editor-bottom {
    font-size: 9px;
  }
  .stats > div {
    padding: 14px 12px;
  }
  .stats strong {
    font-size: 23px;
  }
  .stats span {
    font-size: 8px;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
  }
  .tools {
    flex-direction: column;
    align-items: stretch;
  }
  .transform-tools {
    max-width: none;
    gap: 6px;
  }
  .transform-tools button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .output-tools .button {
    flex: 1;
    justify-content: space-between;
  }
  .output-tools .download {
    padding-inline: 20px;
  }
  .how {
    padding-block: 35px 50px;
  }
  .how .section-heading {
    display: flex;
  }
  .section-star {
    font-size: 42px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .steps article {
    padding-top: 16px;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 4px 12px;
  }
  .step-number {
    grid-row: 1/3;
    padding-top: 3px;
  }
  .steps h3 {
    margin: 0 0 6px;
  }
  .steps p {
    grid-column: 2;
    max-width: none;
  }
  .notes-inner {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 45px;
  }
  .notes-intro {
    max-width: 100%;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 50px;
  }
  .closing {
    padding: 28px 22px;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 45px;
  }
  .closing > span {
    font-size: 65px;
  }
  .closing p {
    font-size: 25px;
    margin: 0;
    flex: 1;
  }
  .closing .button {
    width: 100%;
    justify-content: space-between;
  }
  .footer {
    padding-block: 25px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer .brand {
    width: 100%;
  }
  .footer p {
    margin: 0;
    font-size: 10px;
  }
  .footer > a:last-child {
    font-size: 10px;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero > * {
    min-width: 0;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 40px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .letter-art {
    width: 340px;
    max-width: none;
    left: 50%;
    margin-left: -170px;
    transform: scale(0.8);
    transform-origin: center top;
    height: 285px;
    margin-bottom: -10px;
  }
  .desktop {
    display: none;
  }
}
