@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: light; font-family: 'DM Sans', sans-serif; color: #232923; background: #f5f3ee; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, textarea { font: inherit; }
.page-shell { min-height: 100vh; max-width: 1600px; margin: auto; padding: 0 56px; display: flex; flex-direction: column; }
.topbar { height: 96px; display: flex; align-items: center; border-bottom: 1px solid #deded5; gap: 11px; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; height: 19px; width: 23px; }
.brand-mark span { display: block; width: 5px; background: #254d3c; transform: skew(-15deg); }
.brand-mark span:nth-child(1) { height: 10px; }.brand-mark span:nth-child(2) { height: 15px; }.brand-mark span:nth-child(3) { height: 19px; }
.brand-name { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.brand-name span { font-weight: 500; }
.topbar-label { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #8a9088; }
.main-content { width: 100%; max-width: 690px; margin: 94px auto 100px; }
.eyebrow, .section-kicker, .card-index, .saved-indicator, .page-footer { font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #557360; }
.eyebrow-line { display: block; width: 20px; height: 1px; background: #557360; }
h1, h2, p { margin-top: 0; }
h1 { font-family: Manrope, sans-serif; font-size: clamp(47px, 6vw, 70px); font-weight: 700; letter-spacing: -.07em; line-height: 1.1; margin: 19px 0 16px; }
.title-period { color: #c38f59; }
.subtitle { max-width: 480px; color: #737b72; font-size: 16px; line-height: 1.65; margin-bottom: 40px; }
.entry-card { background: #fff; border: 1px solid #e7e8e1; border-radius: 12px; box-shadow: 0 20px 55px rgba(32,44,32,.055); padding: 33px 36px 30px; }
.card-heading, .saved-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.section-kicker { color: #a08e75; margin-bottom: 10px; }
.card-heading h2 { font-family: Manrope, sans-serif; font-size: 24px; letter-spacing: -.035em; margin: 0; }
.card-index { color: #b1b6ad; margin-top: 5px; }
form { margin-top: 31px; }
label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 11px; }
textarea { display: block; width: 100%; min-height: 130px; resize: vertical; border: 1px solid #dfe3da; border-radius: 7px; background: #fcfdfb; padding: 17px 18px; color: #242a24; font-size: 15px; line-height: 1.5; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea::placeholder { color: #aab0a7; }
textarea:focus { border-color: #53775e; box-shadow: 0 0 0 3px rgba(83,119,94,.12); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 19px; }
.form-footer > span { font-size: 12px; color: #939a90; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 0; border-radius: 6px; background: #254d3c; color: white; padding: 13px 18px 13px 21px; min-width: 119px; min-height: 46px; cursor: pointer; font-weight: 700; font-size: 13px; transition: background .2s, transform .2s; }
button:hover { background: #183d2b; transform: translateY(-1px); }
button:focus-visible { outline: 3px solid #c38f59; outline-offset: 3px; }
button span { font-size: 18px; font-weight: 400; line-height: 0; }
.feedback { border-radius: 6px; margin: 18px 0 0; padding: 12px 14px; font-size: 13px; }
.feedback.success { color: #29543a; background: #eaf4ec; }
.feedback.error { color: #8b3a2b; background: #fff0e9; }
.saved-section { padding: 29px 2px 0; }
.saved-heading { align-items: center; border-bottom: 1px solid #dfdfd6; padding-bottom: 15px; gap: 10px; }
.saved-heading h2 { font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; margin: 0; }
.saved-indicator { color: #a0a59a; white-space: nowrap; }
.saved-indicator.has-note { color: #52735b; }
.saved-content { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.65; margin: 19px 0 0; }
.saved-content.empty { color: #a0a59a; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #deded5; color: #aaaFA6; padding: 24px 0 28px; margin-top: auto; }
@media (max-width: 680px) {
  .page-shell { padding: 0 22px; }
  .topbar { height: 72px; }
  .topbar-label { display: none; }
  .main-content { margin: 68px auto 75px; }
  h1 { margin-top: 19px; font-size: clamp(42px, 11vw, 55px); }
  .subtitle { font-size: 15px; margin-bottom: 32px; }
  .entry-card { padding: 26px 21px 23px; }
  .card-heading h2 { font-size: 21px; }
  form { margin-top: 28px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  button { align-self: stretch; }
  .page-footer { font-size: 9px; }
}
