:root {
  color-scheme: light;
  --ground: #edf3ef;
  --paper: #fffef9;
  --ink: #213d34;
  --muted: #53695f;
  --line: #c6d5ca;
  --green: #23694c;
  --focus: #215caf;
  --danger: #a33d2d;
  --accent: #d7e9ac;
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 500;
}
h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
  line-height: 1.15;
  font-weight: 500;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
p + p {
  margin-top: 1rem;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--green);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
input,
textarea {
  caret-color: var(--green);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
::selection {
  background: #c7dfb2;
  color: #213d34;
}
* {
  scrollbar-color: #9bb3a1 var(--ground);
  scrollbar-width: thin;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--paper);
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
.site-header,
.site-footer,
main {
  max-width: 1320px;
  margin: auto;
}
.site-header {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 52px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.brand svg {
  width: 28px;
  height: 28px;
}
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
}
.site-header nav a {
  text-decoration: none;
}
.nav-create {
  border-bottom: 1px solid var(--ink);
  padding: 7px 0;
}
.nav-create span {
  margin-left: 14px;
}
main {
  padding: 0 52px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.4;
}
.button:hover {
  background: #325b49;
  color: var(--paper);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  background: #dae6dd;
}
.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.text-link {
  font-size: 0.95rem;
}
.quiet,
.small {
  color: var(--muted);
  font-size: 0.85rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 58px 0 95px;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.4vw, 5.4rem);
  line-height: 1.035;
  letter-spacing: -0.04em;
}
.hero em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--green);
}
.hero-copy > p {
  max-width: 43ch;
  margin: 28px 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-copy .quiet {
  margin-top: 20px;
  font-size: 0.8rem;
}
.hero-gift {
  position: relative;
  padding: 0 16px;
}
.gift-letter {
  --letter-paper: #fffef9;
  --letter-ink: #213d34;
  --letter-tint: #e8eddd;
  background: var(--letter-paper);
  color: var(--letter-ink);
  border: 1px solid #c6d5ca;
  border-radius: 14px;
  padding: 32px;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.theme-rose {
  --letter-paper: #fff6f1;
  --letter-ink: #6c3441;
  --letter-tint: #f0ddd8;
}
.theme-midnight {
  --letter-paper: #213d34;
  --letter-ink: #fffef9;
  --letter-tint: #365348;
}
.letter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 20px;
}
.letter-top svg {
  width: 28px;
  height: 28px;
}
.gift-letter h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 38px 0 20px;
  letter-spacing: -0.03em;
}
.gift-letter > p {
  max-width: 36ch;
  font-size: 1rem;
  white-space: pre-line;
}
.letter-signature {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.2rem;
  margin: 30px 0 40px;
}
.stock-ticket {
  display: flex;
  gap: 16px;
  border-top: 1px solid currentColor;
  padding-top: 22px;
  align-items: center;
}
.stock-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--letter-tint);
  font-size: 0.8rem;
  font-weight: 650;
  flex-shrink: 0;
}
.stock-ticket div {
  display: grid;
  font-size: 0.85rem;
}
.stock-ticket div > span {
  font-size: 0.8rem;
  margin-top: 3px;
}
.gift-letter .example-note {
  font-size: 0.7rem;
  margin-top: 20px;
}
.hand-note {
  display: block;
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  margin: 17px 8px;
}
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-top: 1px solid var(--line);
  padding: 64px 0;
  gap: 90px;
}
.intro-section > div > p {
  font-size: 1.2rem;
  max-width: 45ch;
}
.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
  margin: 34px 0 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 44px;
  border-top: 1px solid var(--line);
}
.steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}
.steps strong,
.steps span {
  display: block;
}
.steps span {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 6px;
  max-width: 50ch;
}
.promise-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  padding: 55px 0 65px;
  border-top: 1px solid var(--line);
}
.promise-list > div + div {
  margin-top: 32px;
}
.promise-list p {
  max-width: 54ch;
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}
.closing {
  background: #dbe8d6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  margin: 20px 0 80px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 52px 38px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.site-footer .brand {
  font-size: 1rem;
}
.site-footer p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 5px;
}
.site-footer .footer-note {
  text-align: right;
  font-size: 0.75rem;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.page-heading h1 {
  font-size: 2.8rem;
}
.page-heading p {
  color: var(--muted);
  margin-top: 12px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  padding-bottom: 64px;
}
.editor-form {
  min-width: 0;
}
.step-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.step-nav button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--muted);
  flex: 1;
  text-align: left;
}
.step-nav button[aria-current='step'] {
  border-bottom-color: var(--ink);
  color: var(--ink);
  font-weight: 650;
}
.step-nav button span {
  margin-right: 8px;
}
.step-panel h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.step-panel > p {
  color: var(--muted);
  margin-bottom: 24px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label,
legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 550;
  margin: 20px 0 7px;
}
input:not([type='checkbox']):not([type='radio']),
textarea,
select {
  width: 100%;
  background: var(--paper);
  border: 1px solid #a3b9a9;
  border-radius: 6px;
  padding: 11px 12px;
  min-height: 48px;
}
input::placeholder,
textarea::placeholder {
  color: #617569;
}
textarea {
  resize: vertical;
  min-height: 140px;
}
.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
}
.check-row input {
  margin-top: 5px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.form-error {
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 0;
  margin-top: 14px;
}
.form-error:empty {
  display: none;
}
.editor-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
}
.preview-area {
  position: sticky;
  top: 24px;
  align-self: start;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 17px;
  color: var(--muted);
  font-size: 0.8rem;
}
.preview-area .gift-letter {
  padding: 28px;
}
.preview-area .gift-letter h2 {
  font-size: 2.6rem;
}
.preview-area .gift-letter > p {
  font-size: 0.95rem;
}
.preview-toggle {
  display: none;
}
.photo-preview {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 18px;
}
.remove-photo {
  border: 0;
  background: transparent;
  padding: 10px 0;
  text-decoration: underline;
  font-size: 0.85rem;
}
.theme-picker {
  padding: 0;
  margin: 28px 0;
  border: 0;
}
.theme-picker legend {
  margin-bottom: 10px;
}
.theme-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.theme-options label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}
.theme-options input {
  accent-color: var(--green);
}
.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38644e;
}
.theme-dot.rose {
  background: #a76378;
}
.theme-dot.midnight {
  background: #213d34;
}
.stock-entry {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 0 0 24px;
  margin: 24px 0 0;
  min-width: 0;
}
.stock-entry legend {
  padding-right: 14px;
  font-size: 0.85rem;
}
.stock-entry label {
  margin-top: 14px;
}
.stock-entry .remove-stock {
  background: none;
  border: 0;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 12px 0;
  min-height: 44px;
}
.stock-summary {
  font-size: 0.85rem;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 72px !important;
}
.reveal-password {
  position: absolute;
  right: 2px;
  top: 2px;
  height: 44px;
  padding: 0 13px;
  background: transparent;
  border: 0;
  font-size: 0.8rem;
}
.notice {
  padding: 16px 20px;
  background: #e0e9df;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 20px 0;
}
.notice.warning {
  background: #fff5df;
  color: #674d20;
  border-color: #d9c9a6;
}
.narrow {
  max-width: 650px;
  margin: 64px auto 90px;
}
.narrow > p {
  margin: 24px 0;
  color: var(--muted);
}
.narrow h1 {
  font-size: 3rem;
}
.narrow form .button {
  margin-top: 20px;
}
.file-import {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.prose {
  max-width: 740px;
  margin: 55px auto 90px;
}
.prose h1 {
  margin-bottom: 32px;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
}
.prose p {
  max-width: 70ch;
  color: var(--muted);
}
.prose .lead {
  font-size: 1.2rem;
  color: var(--ink);
}
.unlock-wrap {
  text-align: center;
  max-width: 570px;
  padding: 48px 0 70px;
  margin: auto;
}
.unlock-wrap h1 {
  font-size: 2.7rem;
}
.unlock-wrap > p {
  color: var(--muted);
  margin: 22px 0;
}
.seal {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
}
.seal svg {
  width: 34px;
  height: 34px;
}
.unlock-form {
  max-width: 360px;
  margin: 30px auto;
  text-align: left;
}
.unlock-form .button {
  width: 100%;
  margin-top: 20px;
}
.demo-banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin: 20px 0 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
}
.gift-view {
  max-width: 1040px;
  margin: 35px auto 60px;
}
.gift-view .gift-letter {
  padding: 48px;
  min-height: 380px;
}
.gift-view-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  align-items: start;
}
.gift-view .gift-letter h2 {
  font-size: 3.4rem;
}
.gift-details {
  padding: 16px 0;
}
.gift-details > h2 {
  font-size: 1.65rem;
}
.gift-details > p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
}
.gift-stocks {
  margin: 25px 0;
}
.gift-stock {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.gift-stock h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.gift-stock .company {
  color: var(--muted);
  font-size: 0.8rem;
}
.gift-stock dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
  font-variant-numeric: tabular-nums;
}
.gift-stock dt {
  color: var(--muted);
  font-size: 0.75rem;
}
.gift-stock dd {
  margin: 0;
  font-weight: 550;
}
.gift-stock a {
  font-size: 0.8rem;
}
.gift-value {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-variant-numeric: tabular-nums;
}
.gift-value > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.gift-value .small {
  margin-top: 12px;
}
.quote-time {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}
.gift-tools {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
  padding-top: 24px;
}
.gift-tools .button {
  font-size: 0.85rem;
  min-height: 44px;
  padding: 10px 15px;
}
.gift-footnote {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 24px;
}
.success-wrap {
  max-width: 720px;
  margin: 40px auto 70px;
}
.success-wrap h1 {
  font-size: 3rem;
}
.success-wrap > p {
  margin: 20px 0;
}
.link-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 25px 0;
}
.link-box h2 {
  font-size: 1.35rem;
}
.link-box input {
  margin: 14px 0;
}
.link-box .actions {
  gap: 12px;
}
.link-box .small {
  margin-top: 12px;
}
.manage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.manage-editor {
  margin-top: 40px;
}
.manage-editor .editor-layout {
  display: block;
}
.manage-editor .preview-area {
  display: none;
}
.manage-editor .step-nav {
  font-size: 0.9rem;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 12px 20px;
  z-index: 30;
  max-width: calc(100% - 32px);
  font-size: 0.9rem;
}
.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;
}
.keep-notice {
  font-size: 0.8rem;
  margin-top: 20px;
  color: var(--muted);
}
.status-line {
  min-height: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background-color 160ms ease-out;
  }
  .gift-view .gift-letter {
    animation: unfold 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes unfold {
    from {
      clip-path: inset(0 0 6% 0);
      transform: translateY(8px);
    }
    to {
      clip-path: inset(0);
      transform: translateY(0);
    }
  }
}
@media (max-width: 1050px) {
  .site-header {
    padding: 22px 30px;
  }
  main {
    padding: 0 30px;
  }
  .hero {
    gap: 30px;
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 4.3rem;
  }
  .hero-gift {
    padding: 0;
  }
  .gift-letter {
    padding: 26px;
  }
  .intro-section,
  .promise-section {
    gap: 50px;
  }
  .editor-layout {
    gap: 30px;
  }
  .site-footer {
    padding: 30px;
  }
  .gift-view-grid {
    gap: 25px;
  }
  .gift-view .gift-letter {
    padding: 30px;
  }
  .gift-view .gift-letter h2 {
    font-size: 2.8rem;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px;
    min-height: 80px;
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header nav a:first-child {
    display: none;
  }
  .brand {
    font-size: 1.05rem;
    gap: 8px;
  }
  .brand svg {
    width: 24px;
    height: 24px;
  }
  .site-header .nav-create {
    font-size: 0.8rem;
  }
  .nav-create span {
    display: none;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 28px 0 55px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 12vw, 4.4rem);
  }
  .hero-copy > p {
    margin: 22px 0;
    font-size: 1rem;
  }
  .hero-copy > p br {
    display: none;
  }
  .hero-gift {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .hero-gift .gift-letter h2 {
    font-size: 2.9rem;
  }
  .hand-note {
    font-size: 0.9rem;
  }
  .intro-section,
  .promise-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .intro-section > div > p {
    font-size: 1.05rem;
  }
  .steps {
    margin-top: 22px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    margin: 10px 0 50px;
  }
  .closing h2 {
    font-size: 2.1rem;
  }
  .site-footer {
    padding: 28px 20px;
    flex-wrap: wrap;
  }
  .site-footer nav {
    gap: 22px;
  }
  .site-footer .footer-note {
    text-align: left;
    flex-basis: 100%;
  }
  .page-heading {
    padding: 25px 0;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 2.4rem;
  }
  .page-heading > a {
    display: none;
  }
  .page-heading p {
    font-size: 0.9rem;
  }
  .editor-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .preview-area {
    position: static;
    order: -1;
  }
  .preview-area .preview-caption {
    display: none;
  }
  .preview-area .gift-letter {
    display: none;
  }
  .preview-area.show-preview .gift-letter {
    display: block;
    margin-top: 15px;
  }
  .preview-toggle {
    display: inline-flex;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 0.85rem;
    width: 100%;
  }
  .step-nav {
    margin-bottom: 22px;
  }
  .step-nav button {
    font-size: 0.85rem;
    padding: 12px 5px;
    text-align: center;
  }
  .step-nav button span {
    margin-right: 5px;
  }
  .field-row {
    gap: 12px;
  }
  .editor-actions .button {
    font-size: 0.9rem;
    padding: 12px 17px;
    gap: 14px;
  }
  .gift-view-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gift-view .gift-letter {
    padding: 28px;
  }
  .gift-view .gift-letter h2 {
    font-size: 2.9rem;
  }
  .gift-details {
    padding: 20px 0 0;
  }
  .gift-tools {
    margin-top: 20px;
  }
  .gift-tools .button {
    flex: 1 1 40%;
  }
  .demo-banner {
    font-size: 0.8rem;
    align-items: flex-start;
    margin-top: 15px;
  }
  .demo-banner a {
    flex-shrink: 0;
  }
  .narrow,
  .prose {
    margin: 30px auto 55px;
  }
  .narrow h1,
  .prose h1 {
    font-size: 2.5rem;
  }
  .unlock-wrap {
    padding-top: 32px;
  }
  .unlock-wrap h1 {
    font-size: 2.3rem;
  }
  .success-wrap h1 {
    font-size: 2.5rem;
  }
  .success-wrap {
    margin: 26px auto 50px;
  }
  .link-box {
    padding: 18px;
  }
  .gift-footnote {
    font-size: 0.75rem;
  }
}
@media (max-width: 380px) {
  .site-header nav {
    gap: 12px;
  }
  .site-header nav a {
    font-size: 0.8rem;
  }
  .brand {
    font-size: 0.95rem;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero .actions {
    gap: 18px;
  }
  .hero .button {
    width: 100%;
  }
  .gift-letter {
    padding: 22px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .gift-tools,
  .demo-banner,
  .skip-link {
    display: none;
  }
  body {
    background: #fff;
  }
  main {
    padding: 0;
  }
  .gift-view-grid {
    display: block;
  }
  .gift-letter {
    break-inside: avoid;
  }
  .gift-details {
    break-before: auto;
  }
  .gift-stock {
    break-inside: avoid;
  }
  .gift-view {
    margin: 0;
  }
}
.gift-letter h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 38px 0 20px;
  letter-spacing: -0.03em;
}
@media (max-width: 1050px) {
  .gift-letter h1 {
    font-size: 2.8rem;
  }
}
@media (max-width: 760px) {
  .gift-letter h1 {
    font-size: 2.9rem;
  }
}
