:root {
  --paper: #f7f0eb;
  --ink: #26201d;
  --muted: #897a72;
  --line: #d9ccc3;
  --rose: #df8277;
  --cream: #fce8ca;
  --sage: #aeb9a2;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", cursive;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 15px; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .28; z-index: 5; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
main { max-width: 1120px; margin: auto; padding: 0 42px; }
.topbar { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand > img { width: 45px; height: 31px; color: var(--ink); }
.brand-word { display: grid; gap: 1px; color: var(--ink); padding: 0; }
.brand-word b { font-size: 17px; line-height: 1; letter-spacing: 3px; }
.brand-word small { font: 7px var(--mono); letter-spacing: 1.8px; color: var(--muted); }
.nav-links { display: flex; gap: 31px; margin-left: 115px; }
.nav-links a { font-size: 13px; text-decoration: none; color: var(--ink); }
.round-btn { border: 1px solid var(--ink); border-radius: 50%; width: 31px; height: 31px; background: none; color: var(--ink); font-size: 18px; cursor: pointer; }
.hero { height: 515px; padding: 83px 0 0; position: relative; border-bottom: 1px solid var(--line); }
.eyebrow { font: 10px var(--mono); letter-spacing: 1.4px; color: var(--muted); margin: 0 0 18px; }
.hero h1 { font-weight: 500; font-size: 51px; line-height: 1.48; letter-spacing: -2px; margin: 0; }
.hero h1 em { font-family: var(--hand); font-size: 60px; font-style: normal; color: var(--rose); letter-spacing: 1px; }
.hero-bottom { position: absolute; bottom: 45px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: end; }
.hero-bottom p { color: var(--muted); line-height: 1.8; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 17px; margin-top: 20px; }
.hero-primary { border: 0; border-radius: 22px; padding: 11px 19px; background: var(--ink); color: var(--paper); font: 13px var(--serif); cursor: pointer; }
.hero-secondary { color: var(--ink); border-bottom: 1px solid var(--line); padding: 5px 0; font-size: 12px; text-decoration: none; }
.scroll-note { font: 11px var(--mono); text-decoration: none; color: var(--ink); letter-spacing: 1px; }
.scroll-note span { font-size: 18px; margin-left: 8px; }
.doodle { position: absolute; color: var(--rose); }
.heart { right: 93px; top: 118px; font-size: 100px; font-family: serif; transform: rotate(-12deg); }
.star { right: 12px; top: 205px; font-size: 28px; }
.spark { right: 185px; top: 265px; font-size: 35px; }
.together-card { background: var(--cream); margin: 63px 0 124px; text-align: center; padding: 46px 20px 33px; position: relative; }
.card-label, .tiny-note { font: 11px var(--mono); letter-spacing: 1px; color: #8e725f; }
.anniversary-tool-callout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 42px; margin: -72px 0 124px; padding: 34px 36px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--paper) 82%, #ead6cd); transition: transform .2s ease, border-color .2s ease; }
.anniversary-tool-callout:hover { transform: translateY(-2px); border-color: var(--rose); }
.anniversary-tool-callout .eyebrow { margin-bottom: 10px; }
.anniversary-tool-callout h2 { margin: 0 0 9px; font-size: 24px; }
.anniversary-tool-callout p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.anniversary-tool-callout > span { white-space: nowrap; color: var(--rose); font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.anniversary-tool-callout b { margin-left: 8px; }
.monthly-recap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 62px; align-items: center; margin: -38px 0 125px; padding: 48px 50px; background: #343e38; color: #f8f0e9; overflow: hidden; position: relative; }
.monthly-recap::before { content: ""; position: absolute; width: 390px; height: 390px; right: -110px; top: -220px; border: 1px solid #c5d1c050; border-radius: 50%; }
.monthly-recap-copy { position: relative; z-index: 1; }
.monthly-recap .eyebrow { color: #bac5b6; }
.monthly-recap h2 { max-width: 550px; margin: 0; color: #f8f0e9; font-weight: 500; font-size: 33px; line-height: 1.45; letter-spacing: -1px; }
.monthly-recap h2 em { display: block; color: #efb2a5; font: normal 39px/1.4 var(--hand); letter-spacing: 1px; }
.monthly-recap-copy > p:not(.eyebrow) { max-width: 475px; margin: 21px 0 27px; color: #c9d0c3; font-size: 13px; line-height: 1.85; }
.monthly-month-picker { display: flex; align-items: center; gap: 12px; width: fit-content; margin: -4px 0 20px; color: #bac5b6; font: 10px var(--mono); letter-spacing: .5px; }
.monthly-month-picker select { min-width: 150px; padding: 9px 32px 9px 11px; border: 1px solid #f8f0e966; border-radius: 0; color: #f8f0e9; background: #343e38; font: 12px var(--serif); cursor: pointer; }
.monthly-month-picker select:focus { outline: 1px solid #efb2a5; outline-offset: 2px; }
.monthly-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.monthly-primary, .monthly-secondary { padding: 11px 16px; border: 1px solid #f8f0e9; color: #f8f0e9; background: transparent; font: 12px var(--serif); cursor: pointer; }
.monthly-primary { background: #f8f0e9; color: #343e38; }
.monthly-primary span { margin-left: 8px; }
.monthly-secondary:disabled { opacity: .45; cursor: not-allowed; }
.monthly-recap-card { position: relative; z-index: 1; min-height: 390px; padding: 30px 31px; background: #e8d9cb; color: #2d2926; box-shadow: 18px 22px 0 #1017122b; transform: rotate(2deg); }
.monthly-card-mark { position: absolute; right: 27px; top: 18px; color: #ba756b; font: 48px/1 Georgia, serif; }
.monthly-recap-card > p { margin: 0; color: #86736d; font: 9px var(--mono); letter-spacing: 1px; }
.monthly-recap-card > strong { display: inline-block; margin-top: 18px; font: 500 89px/1 Georgia, serif; }
.monthly-recap-card > small { margin-left: 7px; color: #796964; font-size: 12px; }
.monthly-highlights { min-height: 116px; margin-top: 23px; padding: 15px 0 42px; border-top: 1px solid #c9aba0; display: grid; gap: 10px; }
.monthly-highlights p { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: #765f58; font-size: 11px; line-height: 1.55; }
.monthly-highlights span { flex: 0 0 55px; color: #b96962; font: 8px/1.7 var(--mono); letter-spacing: .3px; }
.monthly-highlights b { min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: break-word; font-weight: 500; }
.monthly-recap-card footer { position: absolute; bottom: 26px; color: #a68a80; font: 8px var(--mono); letter-spacing: 1px; }
.days { font-size: 67px; line-height: 1.1; margin: 14px 0 10px; font-weight: 500; }
.days small { font-size: 18px; }
.time-row { font-size: 13px; color: var(--muted); }
.text-btn { margin-left: 13px; border: 0; border-bottom: 1px solid var(--muted); font: 11px var(--serif); color: var(--muted); background: none; cursor: pointer; }
.relationship-countdown { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: 18px auto -5px; padding: 10px 17px; border: 1px solid #c7a98b; color: #735f52; background: color-mix(in srgb, var(--cream) 70%, white); font-size: 11px; }
.relationship-countdown[hidden] { display: none; }
.relationship-countdown strong { color: var(--rose); font: 500 28px/1 Georgia, serif; }
.relationship-countdown small { font-size: 11px; }
.relationship-countdown time { flex-basis: 100%; color: var(--muted); font: 9px var(--mono); letter-spacing: .5px; }
.date-modal .form-tip { margin-top: -6px; }
.timeline { height: 19px; display: flex; gap: 0; max-width: 600px; align-items: center; margin: 29px auto 16px; border-top: 1px solid #c7a98b; }
.timeline i { width: 100%; height: 9px; border-right: 1px solid #c7a98b; }
.timeline i:first-child { border-left: 1px solid #c7a98b; }
.section { padding-bottom: 125px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 39px; }
.section h2 { font-size: 30px; margin: 0; font-weight: 600; letter-spacing: -1px; }
.add-btn { font: 12px var(--serif); color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 20px; padding: 9px 15px; cursor: pointer; }
.add-btn span { font: 20px var(--serif); vertical-align: -1px; margin-right: 4px; }
.wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.wish-card { min-height: 216px; padding: 25px; position: relative; background: #ead6cd; }
.wish-card:nth-child(3n+2) { background: #d7dfd0; }
.wish-card:nth-child(3n) { background: #f3e0ba; }
.wish-icon { font-size: 29px; color: #b36f66; height: 53px; }
.wish-card h3, .food-item h3, .moment h3 { margin: 0; font-size: 17px; font-weight: 600; }
.wish-card p, .food-item p, .moment p { font-size: 13px; color: var(--muted); margin: 9px 0; }
.check { position: absolute; right: 22px; bottom: 20px; font: 25px serif; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.wish-card.done { opacity: .62; }
.wish-card.done h3 { text-decoration: line-through; }
.delete { position: absolute; right: 11px; top: 8px; border: 0; background: transparent; font-size: 18px; color: var(--muted); cursor: pointer; opacity: 0; }
.wish-card:hover .delete, .food-item:hover .delete, .moment:hover .delete { opacity: 1; }
.food-section { padding-bottom: 130px; }
.food-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 49px; }
.food-feature { background: #dfe5d8; padding: 43px; min-height: 328px; position: relative; }
.food-emoji { font-size: 58px; }
.feature-tag { font: 10px var(--mono); color: var(--muted); letter-spacing: 1px; margin: 27px 0 11px; }
.food-feature h3 { font-size: 22px; line-height: 1.65; font-weight: 500; margin: 0; }
.feature-mark { position: absolute; right: 40px; bottom: 35px; font: 68px var(--hand); color: #93a183; }
.food-list { border-top: 1px solid var(--line); }
.food-item { min-height: 108px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr 18px; align-items: center; position: relative; }
.food-date, .moment-date { font: 11px var(--mono); color: var(--rose); }
.food-dot { color: var(--rose); }
.moments { border-top: 1px solid var(--line); }
.moment { display: grid; grid-template-columns: 150px 1fr 30px; position: relative; min-height: 121px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.moment-copy p { margin-bottom: 0; }
.moment-keepsake { border: 0; border-bottom: 1px solid var(--line); padding: 5px 0; margin-top: 12px; background: none; color: var(--rose); font: 12px var(--serif); cursor: pointer; }
.moment-photo { display: none; width: min(100%, 360px); aspect-ratio: 16/10; object-fit: cover; margin: 0 0 16px; }
.moment-photo.has-photo { display: block; }
.moment-line { border-left: 1px solid var(--rose); height: 36px; align-self: center; }
.love-note { text-align: center; padding: 95px 0 107px; border-top: 1px solid var(--line); }
.love-note p { font-family: var(--hand); color: var(--rose); font-size: 33px; line-height: 1.6; margin: 0 0 18px; }
.love-note span { font: 11px var(--mono); color: var(--muted); letter-spacing: 1px; }
footer { display: flex; justify-content: center; align-items: center; gap: 28px; text-align: center; padding: 25px; background: #342b27; color: #d9c8bd; font: 10px var(--mono); letter-spacing: 1.5px; }
footer > div { display: grid; gap: 7px; }
footer small { color: #a8968d; font: 9px/1.5 var(--serif); letter-spacing: .3px; }
footer nav { display: flex; gap: 15px; }
footer a { color: #d9c8bd; text-decoration: none; border-bottom: 1px solid #74655e; padding-bottom: 2px; }
.back-to-top { position: fixed; z-index: 20; right: max(18px, calc((100vw - 1120px) / 2)); bottom: 22px; width: 46px; height: 46px; display: grid; place-content: center; gap: 0; border: 1px solid color-mix(in srgb, var(--ink) 36%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 8px 28px #342b2724; color: var(--ink); text-decoration: none; backdrop-filter: blur(8px); }
.back-to-top span { font: 18px/1 var(--serif); text-align: center; }
.back-to-top small { font: 6px/1 var(--mono); letter-spacing: 1px; margin-left: 1px; }
.back-to-top:hover, .back-to-top:focus-visible { border-color: var(--rose); color: var(--rose); outline: none; }
dialog { width: min(calc(100vw - 32px), 500px); max-width: none; max-height: min(90dvh, 760px); border: 0; padding: 0; overflow: hidden; background: transparent; color: var(--ink); }
dialog::backdrop { background: #352a2580; }
.modal { width: 100%; max-width: 100%; max-height: min(90dvh, 760px); overflow-x: hidden; overflow-y: auto; background: var(--paper); color: var(--ink); padding: 37px; position: relative; }
.modal h3 { color: var(--ink); font-size: 25px; margin: 0 0 28px; }
.close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: var(--ink); font-size: 25px; cursor: pointer; }
.modal label, .modal legend { color: var(--ink); }
.modal label { display: block; font-size: 13px; margin: 14px 0; }
.modal input { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; background: transparent; color: var(--ink); font: 15px var(--serif); outline: none; }
.modal textarea { display: block; width: 100%; resize: vertical; border: 1px solid var(--line); padding: 12px; margin-top: 9px; background: transparent; color: var(--ink); font: 15px/1.7 var(--serif); outline: none; }
.modal textarea:focus { border-color: var(--rose); }
.form-tip { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 11px 0 -6px; }
.photo-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-field span { display: flex; align-items: center; justify-content: center; min-height: 74px; margin-top: 10px; border: 1px dashed var(--line); color: var(--muted); font-size: 12px; cursor: pointer; text-align: center; padding: 12px; }
.photo-field span:hover { border-color: var(--rose); color: var(--rose); }
.primary { border: 0; background: var(--ink); color: var(--paper); width: 100%; padding: 13px; margin-top: 22px; font: 14px var(--serif); cursor: pointer; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 13px; }
.switch-auth, .forgot-password { border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; background: none; color: var(--muted); font: 11px var(--serif); cursor: pointer; }
.forgot-password[hidden] { display: none; }
.icon-picker { display: flex; gap: 8px; margin-top: 18px; }
.icon-picker button { border: 1px solid var(--line); background: transparent; color: var(--ink); width: 34px; height: 34px; cursor: pointer; }
.icon-picker .selected { border-color: var(--rose); color: var(--rose); }
body.dark { --paper: #292422; --ink: #f4e7de; --muted: #c2ada2; --line: #554944; --cream: #4c3a30; --sage: #64705e; }
body.dark .together-card { background: #4c3931; }
body.dark .wish-card { background: #6a4b48; }
body.dark .wish-card:nth-child(3n+2) { background: #566251; }
body.dark .wish-card:nth-child(3n) { background: #70583d; }
body.dark .food-feature { background: #53604f; }
body.dark .modal { background: #292422; }

.today-section { padding-top: 4px; }
.today-date { font: 11px var(--mono); letter-spacing: 1px; color: var(--muted); }
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.daily-note-card, .question-card { min-height: 315px; padding: 31px 33px 28px; display: flex; flex-direction: column; }
.daily-note-card { background: #ead6cd; }
.question-card { background: #dce4d6; }
.interactive-card-head { display: flex; align-items: center; gap: 12px; }
.interactive-card-head .eyebrow { margin: 0; }
.card-symbol { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50%; color: var(--rose); font: 17px var(--hand); }
.daily-note-card h3, .question-card h3 { font-size: 22px; line-height: 1.55; font-weight: 500; margin: 23px 0 15px; }
.question-card h3 { max-width: 410px; }
.note-preview, .answer-preview { flex: 1; color: var(--muted); font-size: 13px; line-height: 1.75; }
.note-slip { display: grid; grid-template-columns: 38px 1fr; gap: 9px; margin: 0 0 10px; }
.note-slip b { font: 11px var(--mono); color: var(--rose); padding-top: 2px; }
.note-slip p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.locked-answer { border-left: 2px solid var(--rose); padding-left: 12px; }
.revealed-answers { display: grid; gap: 9px; }
.revealed-answers p { margin: 0; }
.revealed-answers b { color: var(--rose); font: 11px var(--mono); margin-right: 8px; }
.card-action { align-self: flex-start; border: 0; border-bottom: 1px solid currentColor; padding: 5px 0; background: transparent; color: var(--ink); font: 13px var(--serif); cursor: pointer; }
.card-action span { margin-left: 5px; }
.milestone-card { margin-top: 20px; padding: 25px 31px; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.milestone-card .eyebrow { margin-bottom: 8px; }
.milestone-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.milestone-card p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin: 0; }
.milestone-card strong { color: var(--rose); font: 500 44px var(--serif); white-space: nowrap; }
.milestone-card strong small { color: var(--muted); font-size: 12px; margin-left: 5px; }
.anniversary-panel { margin-top: 20px; padding: 28px 31px 20px; background: #efe4dc; }
.anniversary-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.anniversary-panel-head .eyebrow { margin-bottom: 7px; }
.anniversary-panel-head h3 { font-size: 18px; margin: 0; font-weight: 500; }
.text-action { border: 0; border-bottom: 1px solid var(--line); padding: 5px 0; background: none; color: var(--ink); font: 12px var(--serif); cursor: pointer; white-space: nowrap; }
.anniversary-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.anniversary-item { position: relative; min-height: 105px; padding: 17px 38px 15px 17px; background: color-mix(in srgb, var(--paper) 66%, transparent); }
.anniversary-item time { display: block; color: var(--rose); font: 10px var(--mono); margin-bottom: 10px; }
.anniversary-item h4 { font-size: 14px; margin: 0 0 5px; }
.anniversary-item p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; }
.anniversary-item strong { display: block; color: var(--rose); font: 500 20px var(--serif); margin-top: 8px; }
.anniversary-item .anniversary-delete { position: absolute; right: 9px; top: 9px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.anniversary-empty { grid-column: 1/-1; color: var(--muted); font-size: 12px; padding: 17px 0; }
.timeline-section .section-intro { margin-bottom: 34px; }
.story-timeline { position: relative; border-top: 1px solid var(--line); }
.story-item { display: grid; grid-template-columns: 18px 125px 1fr; gap: 20px; min-height: 115px; padding: 25px 0; border-bottom: 1px solid var(--line); position: relative; }
.story-marker { width: 9px; height: 9px; margin-top: 5px; border: 2px solid var(--paper); border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.story-date { color: var(--rose); font: 11px var(--mono); padding-top: 3px; }
.story-kind { display: inline-block; margin-bottom: 7px; color: var(--muted); font: 9px var(--mono); letter-spacing: 1px; }
.story-copy h3 { margin: 0; font-size: 17px; font-weight: 600; }
.story-copy p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 7px 0 0; }
.story-photo { display: none; width: min(100%, 420px); aspect-ratio: 16/9; object-fit: cover; margin: 2px 0 15px; }
.story-photo.has-photo { display: block; }
body.dark .daily-note-card { background: #6a4b48; }
body.dark .question-card { background: #53604f; }
body.dark .anniversary-panel { background: #473b36; }
.export-btn { margin-top: 17px; }
.export-hint { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.5; }
.delete-account-link { display: block; margin: 18px auto 0; border: 0; background: none; color: #a95e57; font: 11px var(--serif); cursor: pointer; }
.danger-modal { width: min(92vw, 450px); }
.danger-note { border-left: 3px solid #b94f48; background: #f3dfdc; padding: 16px 18px; margin: -8px 0 21px; }
.danger-note strong { color: #9c3f39; font-size: 14px; }
.danger-note p { color: #785b56; font-size: 12px; line-height: 1.75; margin: 7px 0 0; }
.confirm-check { display: grid !important; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: var(--muted); line-height: 1.6; cursor: pointer; }
.confirm-check input { width: 16px; height: 16px; margin: 2px 0 0; }
.danger-button { width: 100%; border: 0; background: #a8443d; color: #fff; padding: 13px; margin-top: 17px; font: 14px var(--serif); cursor: pointer; }
body.dark .danger-note { background: #543431; }
body.dark .danger-note p { color: #d8b8b2; }

.keepsake-section { padding-top: 5px; }
.keepsake-intro { display: grid; grid-template-columns: 1.5fr .75fr; min-height: 360px; background: #342b27; color: #f7f0eb; }
.keepsake-intro > div:first-child { padding: 52px 55px; }
.keepsake-intro .eyebrow { color: #cbb9ae; }
.keepsake-intro h2 { font-size: 36px; line-height: 1.45; }
.keepsake-intro h2 em { color: #e29387; font-family: var(--hand); font-size: 43px; font-style: normal; font-weight: 400; }
.keepsake-intro p:not(.eyebrow) { max-width: 540px; color: #cbb9ae; font-size: 14px; line-height: 1.9; margin: 19px 0 26px; }
.keepsake-primary { border: 1px solid #e8d8ce; border-radius: 22px; padding: 11px 18px; background: transparent; color: #f7f0eb; font: 13px var(--serif); cursor: pointer; }
.keepsake-primary span { margin-left: 7px; }
.keepsake-visual { min-width: 0; margin: 0; position: relative; overflow: hidden; background: #d6c1ad; }
.keepsake-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 57% center; }
.keepsake-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #2a211eb8); }
.keepsake-visual figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; }
.keepsake-visual span { font: 8px var(--mono); letter-spacing: 1.6px; }
.keepsake-visual strong { font: 500 27px var(--serif); letter-spacing: 1px; }
.keepsake-products { display: grid; grid-template-columns: repeat(3, 1fr); }
.keepsake-products article { min-height: 290px; padding: 29px; border: 1px solid var(--line); border-top: 0; position: relative; }
.keepsake-products article + article { border-left: 0; }
.keepsake-products article > span { color: var(--muted); font: 9px var(--mono); }
.product-glyph { height: 79px; display: flex; align-items: center; color: var(--rose); font: 35px var(--hand); letter-spacing: 5px; }
.ring-glyph { font-family: var(--serif); letter-spacing: -6px; }
.keepsake-products h3 { margin: 2px 0 9px; font-size: 18px; }
.keepsake-products p { min-height: 63px; color: var(--muted); font-size: 12px; line-height: 1.75; margin: 0 0 15px; }
.keepsake-products button { border: 0; border-bottom: 1px solid var(--line); padding: 5px 0; background: none; color: var(--ink); font: 12px var(--serif); cursor: pointer; }
.keepsake-requests-wrap { margin-top: 38px; }
.compact-head { margin-bottom: 18px; }
.compact-head h3 { font-size: 19px; margin: 0; }
.keepsake-requests { border-top: 1px solid var(--line); }
.request-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.request-item time { color: var(--rose); font: 10px var(--mono); }
.request-item h4 { font-size: 14px; margin: 0 0 5px; }
.request-item p { color: var(--muted); font-size: 12px; margin: 0; }
.request-status { border: 1px solid var(--line); border-radius: 14px; padding: 5px 10px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.request-empty { padding: 26px 0; color: var(--muted); font-size: 12px; }
.keepsake-modal { width: 100%; }
.keepsake-modal .close { position: sticky; top: -24px; z-index: 3; float: right; width: 38px; height: 38px; margin: -25px -25px -13px 0; border-radius: 50%; background: color-mix(in srgb, var(--paper) 92%, transparent); }
.keepsake-modal select { display: block; width: 100%; margin-top: 8px; border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; background: transparent; color: var(--ink); font: 14px var(--serif); }
.product-choice { border: 0; padding: 0; margin: 18px 0; }
.product-choice legend { font-size: 13px; margin-bottom: 10px; }
.product-choice label { display: inline-block; margin: 0 7px 7px 0; cursor: pointer; }
.product-choice input { position: absolute; opacity: 0; }
.product-choice span { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 8px 13px; color: var(--muted); font-size: 12px; }
.product-choice input:checked + span { border-color: var(--rose); color: var(--rose); background: color-mix(in srgb, var(--rose) 8%, transparent); }
.price-preview { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 19px; padding: 17px; background: var(--cream); }
.price-preview span { color: var(--muted); font-size: 11px; }
.price-preview strong { color: var(--rose); font-size: 24px; font-weight: 500; }
.price-preview small { grid-column: 1/-1; color: var(--muted); font-size: 10px; margin-top: 6px; }

.how-section { padding-top: 4px; }
.how-section .section-head { max-width: 710px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.how-grid article { min-height: 230px; padding: 31px 29px; }
.how-grid article + article { border-left: 1px solid var(--line); }
.how-grid span { color: var(--rose); font: 10px var(--mono); }
.how-grid h3 { margin: 51px 0 12px; font-size: 18px; font-weight: 600; }
.how-grid p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.privacy-promise { display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; align-items: center; padding: 22px 26px; background: #efe4dc; }
.privacy-promise > span { color: var(--rose); font: 34px var(--serif); }
.privacy-promise strong { font-size: 14px; }
.privacy-promise p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 4px 0 0; }
.privacy-promise a { color: var(--ink); font-size: 11px; text-decoration: none; white-space: nowrap; }
.keepsake-process { display: grid; grid-template-columns: .8fr 1.7fr; gap: 42px; align-items: start; margin-top: 31px; padding: 31px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keepsake-process h3 { margin: 0; font-size: 19px; line-height: 1.5; }
.keepsake-process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.keepsake-process li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; }
.keepsake-process li b { display: grid; place-content: center; width: 23px; height: 23px; border: 1px solid var(--rose); border-radius: 50%; color: var(--rose); font: 9px var(--mono); }
.keepsake-process li span { display: grid; gap: 5px; }
.keepsake-process li strong { font-size: 12px; }
.keepsake-process li small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.mobile-dock { display: none; }
body.dark .privacy-promise { background: #473b36; }

@media (max-width: 940px) and (min-width: 681px) {
  .nav-links { gap: 14px; margin-left: 24px; }
  .nav-links a { font-size: 12px; }
  .keepsake-process { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
  main { padding: 0 22px; }
  .topbar { height: 74px; }
  .nav-links { display: none; }
  .hero { height: 535px; padding-top: 69px; }
  .hero h1 { font-size: 38px; }
  .hero h1 em { font-size: 48px; }
  .heart { right: 15px; top: 230px; font-size: 69px; }
  .star { right: 3px; top: 193px; }
  .spark { right: 93px; top: 285px; }
  .hero-bottom { bottom: 34px; align-items: end; }
  .hero-actions { gap: 13px; }
  .hero-primary { padding: 10px 14px; }
  .scroll-note { display: none; }
  .together-card { margin: 43px 0 85px; }
  .anniversary-tool-callout { grid-template-columns: 1fr; gap: 25px; margin: -42px 0 85px; padding: 28px 24px; }
  .anniversary-tool-callout h2 { font-size: 22px; }
  .anniversary-tool-callout > span { justify-self: start; }
  .monthly-recap { grid-template-columns: 1fr; gap: 37px; margin: -24px 0 88px; padding: 37px 25px 43px; }
  .monthly-recap h2 { font-size: 28px; }
  .monthly-recap h2 em { font-size: 34px; }
  .monthly-recap-card { width: min(100%, 355px); justify-self: center; min-height: 365px; transform: none; }
  .section { padding-bottom: 85px; }
  .section-head { align-items: start; gap: 18px; }
  .section h2 { font-size: 24px; }
  .add-btn { white-space: nowrap; padding: 7px 11px; }
  .wish-grid { grid-template-columns: 1fr; gap: 12px; }
  .wish-card { min-height: 158px; }
  .food-layout { grid-template-columns: 1fr; gap: 18px; }
  .food-feature { min-height: 244px; }
  .moment { grid-template-columns: 82px 1fr 18px; }
  .moment h3 { font-size: 16px; }
  .love-note { padding: 75px 0; }
  .love-note p { font-size: 28px; }
  .today-grid { grid-template-columns: 1fr; }
  .daily-note-card, .question-card { min-height: 285px; padding: 25px 23px; }
  .milestone-card { align-items: flex-end; padding: 22px; }
  .milestone-card strong { font-size: 35px; }
  .story-item { grid-template-columns: 13px 74px 1fr; gap: 10px; }
  .story-copy h3 { font-size: 15px; }
  .anniversary-panel { padding: 23px 20px 14px; }
  .anniversary-list { grid-template-columns: 1fr; }
  .anniversary-item { min-height: 88px; }
  .keepsake-intro { grid-template-columns: 1fr; }
  .keepsake-intro > div:first-child { padding: 37px 28px; }
  .keepsake-intro h2 { font-size: 29px; }
  .keepsake-visual { min-height: 250px; }
  .keepsake-products { grid-template-columns: 1fr; }
  .keepsake-products article { min-height: 230px; border-left: 1px solid var(--line) !important; }
  .keepsake-products article + article { border-top: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 172px; padding: 25px 23px; }
  .how-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .how-grid h3 { margin-top: 27px; }
  .privacy-promise { grid-template-columns: 34px 1fr; padding: 20px; }
  .privacy-promise a { grid-column: 2; }
  .keepsake-process { grid-template-columns: 1fr; gap: 24px; }
  .keepsake-process ol { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  dialog { width: calc(100vw - 24px); max-height: 92dvh; }
  .modal { max-height: 92dvh; padding: 29px 22px; }
  .keepsake-modal .close { top: -18px; margin: -18px -12px -12px 0; }
  .mobile-dock { position: fixed; z-index: 24; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); min-height: 58px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 13px 38px #342b2730; backdrop-filter: blur(15px); overflow: hidden; }
  .mobile-dock button { display: grid; place-content: center; gap: 3px; border: 0; background: none; color: var(--ink); font: 10px var(--serif); cursor: pointer; }
  .mobile-dock button + button { border-left: 1px solid var(--line); }
  .mobile-dock span { color: var(--rose); font: 17px/1 var(--serif); }
  .back-to-top { right: 14px; bottom: 82px; width: 42px; height: 42px; }
  .request-item { grid-template-columns: 76px 1fr; gap: 11px; }
  .request-status { grid-column: 2; justify-self: start; }
  footer { flex-direction: column; gap: 12px; padding-bottom: 92px; }
}
