:root {
  color-scheme: light;
  --ink: #321e27;
  --muted: #7e6d74;
  --paper: #fbf8f5;
  --surface: #ffffff;
  --line: rgba(67, 39, 50, 0.09);
  --rose: #df6879;
  --rose-deep: #9f405b;
  --peach: #f1ad9f;
  --blush: #f8dfdb;
  --sage: #afc8b9;
  --butter: #f1d291;
  --blue: #bbcbed;
  --shadow: 0 18px 45px rgba(82, 47, 60, 0.13);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  background: #f7f2ee;
  color: var(--ink);
  overflow: auto;
}
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; position: relative; isolation: isolate; padding: 48px 16px 28px; }
.ambient { position: fixed; border-radius: 50%; filter: blur(2px); opacity: .72; z-index: -1; pointer-events: none; }
.ambient-one { width: 40vw; height: 40vw; min-width: 360px; min-height: 360px; left: -13vw; top: -12vw; background: radial-gradient(circle at 60% 60%, #f6c7bd, transparent 70%); }
.ambient-two { width: 48vw; height: 48vw; min-width: 420px; min-height: 420px; right: -16vw; bottom: -23vw; background: radial-gradient(circle at 35% 30%, #d7e2d9, transparent 67%); }
.phone { width: min(390px, calc(100vw - 28px)); height: min(844px, calc(100vh - 208px)); flex: 0 0 auto; border: 9px solid #171719; border-radius: 56px; background: #111; box-shadow: 0 42px 90px rgba(45, 29, 35, .26), 0 4px 12px rgba(45,29,35,.18), inset 0 0 0 1px #57575b; padding: 3px; position: relative; }
.device-edge { position: absolute; inset: -5px; border-radius: 52px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.19); }
.phone::before, .phone::after { content: ""; position: absolute; left: -13px; width: 5px; background: #262629; border-radius: 3px 0 0 3px; }
.phone::before { top: 150px; height: 76px; box-shadow: 0 92px 0 #262629; }
.phone::after { display: none; }
.screen { position: relative; height: 100%; width: 100%; border-radius: 44px; overflow: hidden; background: var(--paper); }
.dynamic-island { position: absolute; z-index: 80; top: 10px; left: 50%; transform: translateX(-50%); width: 116px; height: 32px; border-radius: 20px; background: #08080a; box-shadow: 0 1px 1px rgba(255,255,255,.12) inset; }
.dynamic-island::after { content: ""; width: 7px; height: 7px; position: absolute; right: 12px; top: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #29425e, #071017 65%); }
.status-bar { height: 52px; padding: 14px 22px 0; position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; z-index: 70; color: #17171a; font-size: 14px; font-weight: 650; pointer-events: none; }
.status-time { width: 54px; text-align: center; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.signal { display: flex; align-items: end; gap: 1.5px; height: 12px; }
.signal i { width: 3px; border-radius: 2px; background: currentColor; }
.signal i:nth-child(1){height:4px}.signal i:nth-child(2){height:6px}.signal i:nth-child(3){height:9px}.signal i:nth-child(4){height:11px}
.status-wifi { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.battery { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; padding: 1px; position: relative; }
.battery::after { content: ""; position: absolute; width: 2px; height: 5px; background: currentColor; right: -4px; top: 2px; border-radius: 0 2px 2px 0; opacity: .6; }
.battery i { display:block; width: 15px; height: 6px; border-radius: 1.5px; background: currentColor; }
.home-indicator { position: absolute; z-index: 90; left: 50%; transform: translateX(-50%); bottom: 7px; width: 132px; height: 5px; border: 0; border-radius: 10px; background: #171719; padding: 0; cursor: pointer; transition: transform .2s; }
.home-indicator:active { transform: translateX(-50%) scaleX(.85); }
.glass { background: rgba(255,255,255,.66); backdrop-filter: blur(24px) saturate(165%); -webkit-backdrop-filter: blur(24px) saturate(165%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.58), 0 8px 30px rgba(66,38,49,.08); }

/* iOS home */
.ios-home { position: absolute; inset: 0; background: radial-gradient(circle at 14% 18%, #ffe4dc 0, transparent 33%), radial-gradient(circle at 80% 40%, #e4d9ec 0, transparent 40%), linear-gradient(155deg, #f6cbbf 0%, #cfb9d4 47%, #9dacc4 100%); color: white; overflow: hidden; z-index: 10; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), filter .35s; }
.ios-home.launching { opacity: 0; transform: scale(1.18); filter: blur(8px); }
.wallpaper-orb { position:absolute; border-radius:50%; filter:blur(2px); opacity:.72; }
.orb-a { width:250px;height:250px;background:linear-gradient(145deg,rgba(255,255,255,.48),rgba(240,152,155,.12));top:150px;left:-110px; }
.orb-b { width:300px;height:300px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(80,111,145,.18));right:-140px;bottom:120px; }
.home-date { position: relative; z-index: 2; padding-top: 64px; text-align:center; text-shadow:0 1px 8px rgba(53,38,54,.18); }
.home-date span { display:block;font-size:14px;font-weight:600; }
.home-date strong { display:block;font-size:52px;line-height:1;letter-spacing:-2px;font-weight:500;margin-top:3px; }
.app-grid { position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:24px 14px;padding:48px 18px 0; }
.app-tile { border:0;background:none;padding:0;color:white;font-size:11px;text-shadow:0 1px 6px rgba(42,31,44,.4);display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer; }
.app-tile img,.generic-icon { width:58px;height:58px;border-radius:14px;box-shadow:0 5px 16px rgba(55,39,54,.22),inset 0 0 0 .5px rgba(255,255,255,.36);display:grid;place-items:center;font-size:30px;text-shadow:none;transition:transform .18s; }
.app-tile:active img,.app-tile:active .generic-icon { transform:scale(.9); }
.photos-icon{background:conic-gradient(#f44,#fb3,#6c6,#4bd,#76f,#f5c,#f44);color:#fff}.calendar-icon{background:#fff;color:#222;font-size:20px}.calendar-icon::before{content:"SUN";position:absolute;margin-top:-32px;color:#f34;font-size:8px}.notes-icon{background:linear-gradient(#ffdc43 0 20%,#fff 20%);color:#999;font-size:38px}.weather-icon{background:linear-gradient(145deg,#2f91fb,#65c8ff);}.health-icon{background:white;color:#ef5870}.maps-icon{background:linear-gradient(135deg,#dff1d0,#fff 45%,#aed7ff);color:#4d87a9}.ios-settings-icon{background:linear-gradient(145deg,#aeb1b8,#6e727c);}
.home-page-dots{position:absolute;left:0;right:0;bottom:116px;display:flex;justify-content:center;gap:6px}.home-page-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.42)}.home-page-dots i.active{background:#fff}
.ios-dock{position:absolute;left:12px;right:12px;bottom:19px;height:88px;border-radius:30px;display:flex;align-items:center;justify-content:space-around;padding:0 11px}.dock-icon{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;font-size:27px;text-shadow:none;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.3)}.phone-icon{background:#51c96a}.safari-icon{background:#fff;color:#248ee4}.message-icon{background:#43c95c}.camera-icon{background:#e6e6e8;color:#333}

/* app shell and common */
.lovies-app { display:none; position:absolute; inset:0; background:var(--paper); z-index:20; }
.lovies-app.open { display:block; animation:appOpen .45s cubic-bezier(.2,.8,.2,1); }
@keyframes appOpen{from{opacity:0;transform:scale(.84);border-radius:42px}to{opacity:1;transform:scale(1);border-radius:0}}
.app-view { position:absolute; inset:0; display:none; background:var(--paper); overflow:hidden; }
.app-view.active { display:block; animation:viewIn .32s cubic-bezier(.2,.75,.2,1); }
@keyframes viewIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
.scroll-content { height:100%;overflow-y:auto;overflow-x:hidden;padding:64px 18px 112px;scrollbar-width:none; }
.scroll-content::-webkit-scrollbar{display:none}
.eyebrow{margin:0 0 5px;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:750;color:var(--rose-deep)}
h1,h2,p{margin-top:0}.brand-header{display:flex;justify-content:space-between;align-items:center;margin:0 2px 22px}.brand-header h1{font-size:34px;letter-spacing:-1.4px;line-height:1;margin:0;font-weight:720}.avatar-button,.round-button{width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(60,35,44,.08),inset 0 0 0 1px var(--line);display:grid;place-items:center;font-weight:750;cursor:pointer}.avatar-button{background:linear-gradient(145deg,#f7cabf,#e98591);color:white}.round-button .icon{width:20px;height:20px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:25px 2px 12px}.section-heading h2{font-size:23px;letter-spacing:-.65px;margin:0}.section-heading.compact{margin-top:28px}.text-button{border:0;background:none;padding:6px;color:var(--rose-deep);font-size:13px;font-weight:650;cursor:pointer}.primary-button,.secondary-button{border:0;height:52px;border-radius:18px;padding:0 20px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s,filter .15s}.primary-button{color:#fff;background:linear-gradient(145deg,var(--rose),#bc4d68);box-shadow:0 10px 22px rgba(190,77,104,.23)}.secondary-button{background:#fff;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink)}.primary-button:active,.secondary-button:active{transform:scale(.98);filter:brightness(.98)}.wide{width:100%;margin-top:10px}.floating-header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:18px}.floating-header>div{text-align:center;display:flex;flex-direction:column}.floating-header strong{font-size:15px}.simple-header{margin-bottom:28px}.simple-header>span{width:42px}

/* Books */
.app-home-content { background:linear-gradient(180deg,#fff9f6 0,#fbf8f5 36%,#f8f4f1 100%); }
.story-hero{width:100%;height:256px;border:0;border-radius:30px;padding:0;text-align:left;overflow:hidden;position:relative;background:linear-gradient(145deg,#f8c3b9,#e98d8f 60%,#d97080);color:#512a37;box-shadow:var(--shadow);cursor:pointer}.hero-copy{position:relative;z-index:4;padding:24px;width:64%}.hero-week{display:inline-flex;background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.64);border-radius:99px;padding:7px 10px;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}.hero-copy h2{font-family:Iowan Old Style,Georgia,serif;font-size:31px;line-height:.94;letter-spacing:-1px;margin:18px 0 10px;font-weight:600}.hero-copy p{font-size:12px;line-height:1.35;margin-bottom:15px;color:#704552}.hero-link{display:flex;align-items:center;font-size:11px;font-weight:750}.hero-link .icon{width:15px}.hero-art{position:absolute;inset:0;overflow:hidden}.sun{position:absolute;width:94px;height:94px;border-radius:50%;right:-8px;top:28px;background:rgba(255,234,194,.65);box-shadow:0 0 40px rgba(255,228,183,.42)}.hill{position:absolute;border-radius:50% 50% 0 0}.hill-back{width:250px;height:145px;right:-95px;bottom:-28px;background:#c6d2c6;transform:rotate(-9deg)}.hill-front{width:240px;height:130px;right:-58px;bottom:-58px;background:#7f9b89;transform:rotate(8deg)}.figure{position:absolute;right:57px;bottom:33px;width:45px;height:92px;background:#6f4753;border-radius:40px 40px 16px 16px;transform:rotate(-4deg)}.figure::before{content:"";position:absolute;width:25px;height:25px;background:#865b64;border-radius:50%;top:-17px;left:8px}.figure::after{content:"";position:absolute;width:34px;height:40px;border-radius:50%;background:#e0a593;left:-13px;top:28px;box-shadow:0 0 0 8px rgba(255,255,255,.12)}.bloom{position:absolute;color:#fff6e7;font-size:20px}.bloom-one{right:120px;top:45px}.bloom-two{right:22px;top:135px;font-size:13px}.progress-book{width:100%;border:0;background:#fff;border-radius:23px;padding:13px;display:grid;grid-template-columns:67px 1fr 18px;gap:13px;align-items:center;text-align:left;box-shadow:0 10px 30px rgba(65,38,47,.07);cursor:pointer}.mini-cover{width:64px;height:82px;border-radius:8px 11px 11px 8px;background:linear-gradient(145deg,#f4b4a7,#cf6b7c);box-shadow:6px 5px 12px rgba(94,46,61,.18),inset 4px 0 0 rgba(255,255,255,.2);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;text-align:center;letter-spacing:.11em;font-family:Georgia,serif;font-size:9px;line-height:1.2;position:relative}.mini-cover i{font-family:inherit;font-size:7px;margin-top:7px;font-style:normal}.book-meta{display:flex;flex-direction:column;min-width:0}.book-meta strong{font-size:15px}.book-meta small{font-size:10px;color:var(--muted);margin:4px 0 9px}.book-meta em{font-style:normal;font-size:9px;color:var(--rose-deep);margin-top:5px}.progress-line{height:4px;background:#f1e8e8;border-radius:4px;overflow:hidden}.progress-line i{display:block;width:72%;height:100%;background:linear-gradient(90deg,var(--rose),var(--peach));border-radius:4px}.progress-book>.icon{width:17px;color:#9d8d93}.memory-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.memory-card{border:0;border-radius:24px;padding:17px 15px 16px;min-height:145px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;cursor:pointer;position:relative;overflow:hidden}.memory-card::after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;right:-42px;top:-40px;background:rgba(255,255,255,.28)}.pregnancy-card{background:#f6deda}.baby-card{background:#dde7df}.memory-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.75);font-size:22px;margin-bottom:23px}.memory-card strong{font-size:15px}.memory-card small{font-size:10px;line-height:1.3;color:#746168;margin-top:4px}

/* Tabs */
.tab-bar{position:absolute;z-index:40;left:20px;right:20px;bottom:19px;height:72px;border-radius:27px;display:grid;grid-template-columns:repeat(3,1fr);padding:7px 9px}.tab-bar button{border:0;background:transparent;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#8f8387;font-size:9px;font-weight:650;cursor:pointer}.tab-bar button .icon{width:21px;height:21px}.tab-bar button.active{color:var(--rose-deep);background:rgba(255,255,255,.76);box-shadow:0 5px 14px rgba(71,43,53,.09)}

/* Editor */
.editor-content{padding-left:14px;padding-right:14px;background:radial-gradient(circle at 100% 0,#f5ddd8,transparent 28%),var(--paper)}.editor-toolbar{height:68px;border-radius:24px;display:grid;grid-template-columns:repeat(5,1fr);padding:7px;margin-bottom:24px}.editor-toolbar button,.ecard-tools button{border:0;background:transparent;border-radius:16px;font-size:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#75676c;cursor:pointer}.editor-toolbar button:first-child{background:rgba(255,255,255,.75);color:var(--rose-deep)}.editor-toolbar .icon{width:19px;height:19px}.swatch-icon{width:19px;height:19px;border-radius:50%;background:conic-gradient(var(--rose),var(--butter),var(--sage),var(--blue),var(--rose))}.page-label{display:flex;justify-content:space-between;margin:0 6px 9px;font-size:10px;color:var(--muted);font-weight:600}.journal-page{width:100%;aspect-ratio:.76;border-radius:20px;background:#fff9ef;padding:26px 24px;box-shadow:0 16px 42px rgba(71,47,42,.12),inset 0 0 0 1px rgba(83,56,49,.06);position:relative;overflow:hidden}.journal-page::before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:#f5dfb3;right:-57px;top:-52px}.page-kicker{position:relative;font-size:7px;letter-spacing:.18em;color:#a57062;font-weight:750}.journal-page h2{position:relative;font-family:Iowan Old Style,Georgia,serif;font-size:31px;line-height:.9;font-weight:500;margin:9px 0 19px}.photo-frame{height:180px;width:100%;border:0;border-radius:92px 92px 20px 20px;background:#f1ded6;overflow:hidden;cursor:pointer;padding:0;position:relative}.photo-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8e6b6c}.photo-placeholder .icon{width:28px;height:28px}.photo-placeholder strong{font-size:11px;margin-top:7px}.photo-placeholder small{font-size:8px;margin-top:2px}.inserted-photo{display:none;position:absolute;inset:0;background:linear-gradient(180deg,#f5bda8,#efc8a9 48%,#8aa08b 49%,#6d8c74)}.photo-frame.has-photo .inserted-photo{display:block}.photo-frame.has-photo .photo-placeholder{display:none}.photo-sun{position:absolute;width:66px;height:66px;border-radius:50%;background:#ffe0a6;right:25px;top:22px}.photo-person{position:absolute;width:48px;height:92px;border-radius:45px 45px 10px 10px;background:#8b5962;left:100px;bottom:-12px}.photo-person::before{content:"";position:absolute;width:27px;height:27px;border-radius:50%;background:#bd7a74;top:-17px;left:9px}.photo-baby{position:absolute;width:41px;height:31px;border-radius:50%;background:#e9b2a3;left:78px;bottom:44px;transform:rotate(-16deg)}.journal-question{display:block;font-family:Georgia,serif;font-size:12px;margin:18px 0 7px}.answer-box{width:100%;min-height:48px;border:0;border-bottom:1px solid #d5b9ad;background:transparent;text-align:left;padding:6px 0;color:#806a67;font-family:Georgia,serif;font-style:italic;font-size:11px}.page-stars{position:absolute;right:20px;bottom:16px;color:#d19b7d;font-size:8px}.page-stars span{font-size:15px;margin:0 3px}.editor-bottom-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px;margin-top:17px}

/* Preview */
.preview-content{background:linear-gradient(180deg,#efe6e3,#f9f5f1 55%);padding-left:14px;padding-right:14px}.preview-stage{background:linear-gradient(145deg,#7e5963,#4f3540);border-radius:30px;padding:32px 13px 16px;box-shadow:var(--shadow)}.book-object{display:grid;grid-template-columns:1fr 1fr;min-height:255px;filter:drop-shadow(0 15px 18px rgba(32,18,24,.28));transition:transform .22s,opacity .22s}.book-object.flipping{transform:perspective(600px) rotateY(-7deg) scale(.98);opacity:.7}.book-page{background:#fff9ef;padding:22px 15px;position:relative}.book-page-left{border-radius:5px 0 0 8px;box-shadow:inset -8px 0 12px -12px #422}.book-page-right{border-radius:0 8px 8px 0;box-shadow:inset 8px 0 12px -12px #422}.tiny-label{font-size:6px;letter-spacing:.18em;color:#ae7669}.book-page h3{font-family:Georgia,serif;font-size:21px;line-height:.94;font-weight:500;margin:16px 0}.tiny-copy{font-family:Georgia,serif;font-style:italic;font-size:8px;line-height:1.5;color:#8f7771}.constellation{position:absolute;bottom:18px;left:15px;font-size:9px;color:#c99876}.preview-photo{height:158px;border-radius:60px 60px 8px 8px;background:linear-gradient(#f2c2ab 0 48%,#809684 48%);position:relative;overflow:hidden}.preview-photo i{position:absolute;width:44px;height:83px;background:#7b5059;border-radius:40px 40px 10px 10px;bottom:-8px;left:48px}.preview-photo i::before{content:"";position:absolute;width:23px;height:23px;border-radius:50%;background:#b97870;top:-14px;left:9px}.preview-photo b{position:absolute;width:34px;height:25px;border-radius:50%;background:#e7ad9f;bottom:34px;left:33px;transform:rotate(-12deg)}.book-page-right p{text-align:center;font-family:Georgia,serif;font-size:10px;font-style:italic;color:#806c68;margin-top:15px}.preview-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:16px;color:#fff;font-size:10px}.preview-pagination button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:white;display:grid;place-items:center;cursor:pointer}.preview-pagination .icon{width:17px}.preview-note{display:flex;align-items:center;gap:12px;background:#fff;border-radius:20px;padding:14px;margin:16px 0 2px}.preview-note>.icon{width:32px;height:32px;padding:7px;border-radius:50%;background:#e2efe6;color:#4c7960}.preview-note span{display:flex;flex-direction:column}.preview-note strong{font-size:12px}.preview-note small{font-size:9px;color:var(--muted);margin-top:3px}

/* Design and naming */
.intro-copy h2{font-family:Iowan Old Style,Georgia,serif;font-size:36px;line-height:.95;font-weight:500;letter-spacing:-1.3px;margin-bottom:10px}.intro-copy p{font-size:12px;line-height:1.45;color:var(--muted);max-width:290px}.design-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 12px;margin-top:22px}.design-option{border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.design-cover{aspect-ratio:.74;width:100%;border-radius:9px 13px 13px 9px;box-shadow:8px 8px 18px rgba(66,43,51,.12),inset 5px 0 rgba(255,255,255,.18);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-family:Georgia,serif;font-size:15px;letter-spacing:.1em;position:relative;transition:transform .2s,box-shadow .2s}.design-cover i{font-size:8px;letter-spacing:.06em;margin-top:13px;font-weight:400}.design-option.selected .design-cover{transform:translateY(-4px);box-shadow:0 0 0 3px #fff,0 0 0 5px var(--rose),9px 12px 24px rgba(126,50,72,.19)}.bloom-cover{background:linear-gradient(145deg,#f6bfb5,#e7838e);color:white}.night-cover{background:radial-gradient(circle at 70% 20%,#f4d5a0 0 5%,transparent 6%),linear-gradient(145deg,#7583ab,#424968);color:white}.linen-cover{background:linear-gradient(145deg,#efe5d6,#d9c6ae);color:#765c4f}.garden-cover{background:linear-gradient(145deg,#cbdcca,#86aa90);color:white}.design-option>strong{display:block;font-size:12px;margin-top:9px}.design-option>small{font-size:9px;color:var(--muted)}.sticky-cta{margin-top:25px}.naming-content{background:linear-gradient(180deg,#fffaf6,#f7eeee)}.naming-art{height:245px;display:grid;place-items:center;position:relative}.selected-book-cover{width:135px;height:182px;border-radius:9px 15px 15px 9px;background:linear-gradient(145deg,#f6bfb5,#dc7182);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-family:Georgia,serif;font-size:18px;line-height:1.05;letter-spacing:.11em;box-shadow:16px 20px 28px rgba(110,53,71,.2),inset 6px 0 rgba(255,255,255,.16);transform:rotate(-3deg)}.selected-book-cover i{font-size:8px;margin-top:18px;letter-spacing:.04em}.spark{position:absolute;color:#d89484}.spark-a{left:51px;top:72px}.spark-b{right:47px;bottom:55px;font-size:23px}.form-card{background:#fff;border-radius:24px;padding:6px 17px;box-shadow:0 12px 32px rgba(67,42,51,.07)}.form-card label,.checkout-section label{display:flex;flex-direction:column;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--muted);padding:11px 0;border-bottom:1px solid var(--line)}.form-card label:last-child,.checkout-section label:last-child{border-bottom:0}.form-card input,.checkout-section input,.checkout-section select{border:0;background:transparent;outline:none;color:var(--ink);font-size:15px;text-transform:none;letter-spacing:0;font-weight:550;padding:5px 0 0;width:100%}.privacy-copy{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:9px;line-height:1.35;margin:15px 5px}.privacy-copy .icon{width:17px;flex:0 0 auto}

/* E-cards */
.ecards-content{background:radial-gradient(circle at 90% 6%,#e4e9f4,transparent 24%),var(--paper)}.segmented-control{display:grid;grid-template-columns:repeat(3,1fr);height:45px;border-radius:18px;padding:5px;margin-bottom:18px}.segmented-control button{border:0;border-radius:14px;background:transparent;font-size:10px;color:var(--muted);cursor:pointer}.segmented-control button.active{background:rgba(255,255,255,.86);color:var(--ink);box-shadow:0 4px 12px rgba(52,39,45,.08)}.ecard-feature{height:220px;background:linear-gradient(145deg,#b8c9e9,#e1c9d9);border-radius:28px;padding:24px;display:flex;position:relative;overflow:hidden}.ecard-feature h2{font-family:Georgia,serif;font-size:26px;line-height:.95;font-weight:500;margin:13px 0}.ecard-feature button{border:0;background:none;padding:0;font-size:10px;font-weight:700;display:flex;align-items:center;cursor:pointer}.ecard-feature button .icon{width:15px}.card-stack{position:absolute;right:9px;bottom:-20px;width:140px;height:180px}.card-stack i,.card-stack b{position:absolute;width:106px;height:144px;border-radius:10px;background:#fff3e8;box-shadow:0 10px 24px rgba(66,44,60,.16)}.card-stack i{transform:rotate(-9deg);right:21px;top:14px}.card-stack b{right:-3px;top:0;transform:rotate(7deg);background:linear-gradient(145deg,#ffe0d7,#efa7a1)}.card-stack b::after{content:"hello,\A sunshine";white-space:pre;position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-family:Georgia,serif;font-size:16px;color:#7f4959}.ecard-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.ecard-template{border:0;border-radius:20px;aspect-ratio:.78;padding:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;font-family:Georgia,serif;font-size:18px;cursor:pointer;box-shadow:0 8px 22px rgba(62,39,47,.07)}.ecard-template i{font-style:normal;font-size:24px}.card-peach{background:#f7d7cf;color:#8d4d5e}.card-blue{background:#d9e1f4;color:#4f5f8a}.card-green{background:#dce8de;color:#58715e}.card-yellow{background:#f6e4b9;color:#8b6b3d}.ecard-editor-content{background:linear-gradient(180deg,#f7eceb,#fbf8f5)}.ecard-canvas{aspect-ratio:.78;border-radius:25px;background:linear-gradient(145deg,#f6d5cc,#eba9a5);box-shadow:0 18px 42px rgba(107,52,67,.17);position:relative;padding:24px;overflow:hidden}.ecard-canvas::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(255,244,226,.35);right:-80px;top:-90px}.ecard-photo{height:210px;border-radius:100px 100px 18px 18px;background:linear-gradient(180deg,#f2c6aa,#ebd5b4 50%,#7c9784 51%);overflow:hidden;position:relative}.ecard-photo::before{content:"";position:absolute;width:52px;height:92px;border-radius:45px 45px 8px 8px;background:#825560;left:105px;bottom:-8px}.ecard-photo::after{content:"";position:absolute;width:28px;height:28px;border-radius:50%;background:#bd7b74;left:117px;bottom:72px}.ecard-photo span{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.8);display:grid;place-items:center;z-index:2}.ecard-photo .icon{width:18px}.ecard-canvas h2{font-family:Georgia,serif;font-size:28px;line-height:.9;font-weight:500;margin:18px 0 6px}.ecard-canvas p{font-size:9px;text-transform:uppercase;letter-spacing:.14em}.ecard-moon{position:absolute;right:23px;bottom:26px;font-size:35px;color:#a96170}.ecard-tools{height:70px;border-radius:23px;display:grid;grid-template-columns:repeat(3,1fr);padding:6px;margin:16px 0}.ecard-tools .icon{width:20px}.ecard-tools strong{font-size:17px}.color-dot{width:19px;height:19px;border-radius:50%;background:conic-gradient(#dd6e7d,#efcd87,#9eb9a6,#a9bce5,#dd6e7d)}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-actions button{width:100%}

/* Profile */
.profile-content{background:linear-gradient(180deg,#fff7f3,#f8f5f2)}.profile-card{background:#fff;border-radius:24px;padding:16px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 30px rgba(66,40,49,.07)}.large-avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f4c3b9,#dc7685);color:#fff;font-weight:750;font-size:20px}.profile-card>span:nth-child(2){display:flex;flex-direction:column;flex:1}.profile-card strong{font-size:15px}.profile-card small{font-size:10px;color:var(--muted);margin-top:3px}.profile-card button{border:0;background:#f7eeee;color:var(--rose-deep);border-radius:14px;padding:8px 11px;font-size:10px;font-weight:700}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:14px 0 22px;background:#fff;border-radius:20px;padding:14px}.profile-stats span{text-align:center;display:flex;flex-direction:column;border-right:1px solid var(--line)}.profile-stats span:last-child{border:0}.profile-stats strong{font-size:18px}.profile-stats small{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-top:2px}.settings-group{background:#fff;border-radius:24px;padding:4px 13px;margin-bottom:13px;box-shadow:0 8px 26px rgba(66,40,49,.05)}.settings-group button{width:100%;min-height:64px;border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:8px 0;cursor:pointer}.settings-group button:last-child{border:0}.settings-group button>span:nth-child(2){display:flex;flex-direction:column;flex:1}.settings-group button strong{font-size:12px}.settings-group button small{font-size:9px;color:var(--muted);margin-top:3px}.settings-group button>.icon{width:17px;color:#9b8f93}.settings-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;flex:0 0 auto}.settings-icon .icon{width:19px}.book-settings{background:#f6dddd;color:#a65166}.bell-settings{background:#eee1f0;color:#76547b}.region-settings{background:#e1ece3;color:#58725f;font-size:9px;font-weight:800}.switch{width:42px;height:25px;border-radius:20px;background:#d7d4d5;padding:2px;transition:background .2s}.switch b{display:block;width:21px;height:21px;border-radius:50%;background:white;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:transform .2s}.switch.active{background:#70ba83}.switch.active b{transform:translateX(17px)}.settings-group.subtle button{min-height:49px;padding-left:4px;font-size:12px}.settings-group.subtle button>span{flex:1}

/* Checkout and success */
.print-content{background:linear-gradient(180deg,#f8eeee,#fbf8f5)}.order-book{background:#fff;border-radius:24px;padding:14px;display:flex;gap:15px;align-items:center}.order-book>span:nth-child(2){display:flex;flex-direction:column}.order-book strong{font-size:13px}.order-book small{font-size:9px;color:var(--muted);margin:5px 0 12px}.order-book em{font-style:normal;font-size:15px;font-weight:750}.delivery-banner{display:flex;align-items:center;gap:11px;background:#e3eee5;border-radius:18px;padding:13px;margin:13px 0}.delivery-banner>span{font-size:22px}.delivery-banner p{display:flex;flex-direction:column;margin:0}.delivery-banner strong{font-size:11px}.delivery-banner small{font-size:8px;color:#627367;margin-top:2px}.checkout-section{background:#fff;border-radius:24px;padding:4px 16px;margin-top:16px}.checkout-section .section-heading{margin:15px 0 4px}.field-row{display:grid;grid-template-columns:1fr .7fr;gap:14px}.price-summary{background:#fff;border-radius:20px;padding:15px 17px;margin-top:15px}.price-summary span{display:flex;justify-content:space-between;font-size:10px;margin-bottom:9px}.price-summary span:last-child{margin:0}.price-summary .total{padding-top:11px;border-top:1px solid var(--line);font-size:14px;font-weight:750}.apple-pay-button{height:52px;width:100%;border:0;border-radius:17px;background:#09090a;color:#fff;margin-top:13px;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.apple-pay-button span{font-size:11px}.apple-pay-button b{font-size:20px}.terms-copy{text-align:center;font-size:8px;line-height:1.4;color:var(--muted);margin:10px 20px 0}.success-content{height:100%;padding:90px 28px 34px;display:flex;flex-direction:column;align-items:center;text-align:center;background:radial-gradient(circle at 50% 35%,#f8d9d1,transparent 35%),linear-gradient(180deg,#fffaf6,#f4ece8)}.success-mark{width:64px;height:64px;border-radius:50%;background:#dcecdf;color:#5a8067;display:grid;place-items:center;margin-bottom:22px;box-shadow:0 0 0 10px rgba(220,236,223,.45)}.success-mark .icon{width:30px;height:30px;stroke-width:2.3}.success-content h1{font-family:Georgia,serif;font-size:35px;line-height:.95;font-weight:500;letter-spacing:-1.1px;margin:9px 0 12px}.success-content>p{font-size:11px;line-height:1.5;color:var(--muted);max-width:285px}.success-book{flex:1;display:grid;place-items:center;position:relative}.success-book .mini-cover{width:105px;height:140px;font-size:13px;transform:rotate(-4deg);z-index:2}.success-shadow{position:absolute;width:140px;height:25px;border-radius:50%;background:rgba(81,48,60,.16);filter:blur(10px);bottom:54px}.success-content .primary-button{margin-top:auto}

@font-face{font-family:"Matee Corpulent";src:url("https://framerusercontent.com/assets/NlvDHQtHM4FEsqrINpdRibTreA.woff2") format("woff2");font-display:swap}
.toast{position:absolute;z-index:100;left:50%;bottom:98px;transform:translate(-50%,20px);min-width:190px;max-width:300px;border-radius:17px;padding:12px 15px;text-align:center;font-size:11px;font-weight:650;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
.demo-hint{white-space:nowrap;font-size:11px;color:#88777d;letter-spacing:.02em;margin:0}.demo-hint span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--rose);margin-right:7px;box-shadow:0 0 0 4px rgba(223,104,121,.12)}
.proposal-links{z-index:200;display:flex;justify-content:center;gap:9px}.proposal-link{display:flex;align-items:center;gap:10px;min-width:184px;padding:10px 13px;border:1px solid rgba(67,39,50,.1);border-radius:18px;background:rgba(255,255,255,.83);box-shadow:0 14px 34px rgba(65,39,49,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--ink);text-decoration:none;transition:transform .18s,box-shadow .18s}.proposal-link:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(65,39,49,.2)}.proposal-link-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#171717;color:#fff;font-family:Georgia,serif;font-size:17px;font-weight:700}.proposal-link-detail .proposal-link-mark{background:#a95b72}.proposal-link span:last-child{display:flex;flex-direction:column;gap:2px}.proposal-link small{font-size:8px;color:var(--muted);letter-spacing:.04em}.proposal-link strong{font-size:10px;letter-spacing:-.1px}
.matee-credit{display:block;margin-bottom:4px;color:#5a4b51;text-decoration:none;transition:opacity .18s}.matee-credit:hover{opacity:.65}.matee-wordmark{display:block;font-family:"Matee Corpulent",Georgia,serif;font-size:28px;line-height:1;letter-spacing:-1.25px}

/* Keep the naming CTA visible on a standard iPhone viewport. */
.naming-content{padding-bottom:58px}.naming-art{height:205px}.naming-art .selected-book-cover{width:124px;height:168px;font-size:17px}.naming-art .spark-a{top:55px}.naming-art .spark-b{bottom:42px}.naming-content .form-card{padding-top:4px;padding-bottom:4px}.naming-content .form-card label{padding-top:9px;padding-bottom:9px}.naming-content .privacy-copy{margin-top:10px;margin-bottom:10px}

@media (max-width: 760px){.page-shell{gap:14px;padding-top:max(42px,calc(env(safe-area-inset-top) + 24px));padding-bottom:20px}.proposal-links{width:100%;max-width:390px}.proposal-link{flex:1;min-width:0}}
@media (max-width: 430px){.page-shell{padding-left:8px;padding-right:8px}.phone{width:calc(100vw - 18px)}.demo-hint{font-size:9px}.proposal-links{gap:6px}.proposal-link{padding:8px 10px;gap:7px}.proposal-link small{display:none}.proposal-link strong{font-size:9px}.proposal-link-mark{width:26px;height:26px;font-size:15px}.matee-wordmark{font-size:24px}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* Stateful prototype */
.ios-settings-icon{width:58px!important;height:58px!important;border-radius:17px!important;font-size:31px!important}
.editable-heading{position:relative;display:block;border:0;background:transparent;padding:0;text-align:left;font-family:Iowan Old Style,Georgia,serif;font-size:31px;line-height:.9;font-weight:500;margin:9px 0 19px;color:inherit;cursor:pointer;white-space:pre-line}.editable-heading::after{content:"";position:absolute;right:-2px;bottom:2px;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.82)}.editable-heading::before{content:"✎";position:absolute;right:3px;bottom:5px;z-index:1;font-family:system-ui;font-size:9px;color:#9a7370}.page-label{display:grid;grid-template-columns:28px 1fr auto 28px;align-items:center;gap:4px}.page-label>button{width:25px;height:25px;border:0;border-radius:50%;background:#fff;color:var(--muted);display:grid;place-items:center;cursor:pointer}.page-label>button .icon{width:13px}.page-label>button:disabled{opacity:.3}.page-label>span:nth-child(2){text-align:left}.page-label>span:nth-child(3){text-align:right}.photo-frame.low-quality::after{content:"Low quality";position:absolute;right:8px;top:8px;padding:5px 7px;border-radius:8px;background:#fff1d7;color:#8a6217;font-size:7px;font-weight:800;z-index:3}.page-strip{display:flex;gap:8px;overflow-x:auto;padding:14px 3px 5px;scrollbar-width:none}.page-strip::-webkit-scrollbar{display:none}.page-thumb{width:45px;height:59px;flex:0 0 auto;border:1px solid rgba(83,56,49,.08);border-radius:7px 9px 9px 7px;background:#fff9ef;padding:5px;box-shadow:0 5px 12px rgba(71,47,42,.08);font-size:7px;color:#96746c;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;position:relative}.page-thumb.active{box-shadow:0 0 0 2px var(--rose),0 5px 12px rgba(71,47,42,.12);transform:translateY(-2px)}.page-thumb.has-memory::before{content:"";height:24px;border-radius:10px 10px 3px 3px;background:linear-gradient(#efb8a6 0 48%,#809684 49%)}.page-thumb.incomplete::after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#eea43d;right:3px;top:3px;border:1px solid white}.saved-pulse{animation:savedPulse .45s ease}@keyframes savedPulse{50%{background:#e3eee5;color:#4b765b}}
.library-content{background:linear-gradient(180deg,#fff9f5,#f8f4f1)}.library-filters{margin-bottom:16px}.library-list{display:flex;flex-direction:column;gap:12px}.library-card{width:100%;border:0;background:#fff;border-radius:23px;padding:14px;display:grid;grid-template-columns:74px 1fr 24px;gap:14px;align-items:center;text-align:left;box-shadow:0 10px 28px rgba(66,40,49,.06);cursor:pointer}.library-card .mini-cover{width:65px;height:86px}.library-card-copy{min-width:0;display:flex;flex-direction:column}.library-card-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-card-copy small{font-size:9px;color:var(--muted);margin:4px 0 10px}.status-pill{align-self:flex-start;padding:5px 8px;border-radius:12px;background:#f8e4df;color:#9b5062;font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.status-pill.ready{background:#e2efe6;color:#4d765b}.status-pill.ordered{background:#e5e9f5;color:#526482}.status-pill.archived{background:#ece9e8;color:#7a7073}.library-card>.icon{width:17px;color:#9a8d91}.empty-state{border:1px dashed rgba(85,55,66,.16);border-radius:25px;padding:45px 25px;text-align:center;background:rgba(255,255,255,.55)}.empty-state span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:18px;background:#f4ded9;font-size:22px}.empty-state h3{font-family:Georgia,serif;font-size:20px;font-weight:500;margin:0 0 6px}.empty-state p{font-size:10px;line-height:1.45;color:var(--muted);margin:0 0 17px}.empty-state button{border:0;border-radius:14px;background:var(--ink);color:white;padding:10px 14px;font-size:10px;font-weight:700}
.sheet-backdrop{position:absolute;inset:0;z-index:70;background:rgba(43,30,35,.25);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:1}.sheet-backdrop[hidden],.action-sheet[hidden]{display:none}.action-sheet{position:absolute;z-index:80;left:9px;right:9px;bottom:9px;max-height:76%;overflow:auto;border-radius:30px;background:rgba(252,249,247,.96);box-shadow:0 -18px 50px rgba(50,31,38,.2);padding:10px 14px 16px;animation:sheetUp .24s ease}.action-sheet::before{content:"";display:block;width:36px;height:4px;border-radius:4px;background:#d4cdcf;margin:0 auto 14px}@keyframes sheetUp{from{transform:translateY(30px);opacity:.4}}.sheet-header{padding:0 6px 12px}.sheet-header h3{font-family:Georgia,serif;font-size:23px;font-weight:500;margin:0 0 4px}.sheet-header p{font-size:10px;color:var(--muted);line-height:1.4;margin:0}.sheet-options{background:#fff;border-radius:20px;padding:0 13px}.sheet-option{width:100%;min-height:53px;border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;gap:11px;text-align:left;font-size:11px;font-weight:650;cursor:pointer}.sheet-option:last-child{border-bottom:0}.sheet-option>.icon{width:19px;color:#9b596a}.sheet-option>span{display:flex;flex-direction:column}.sheet-option small{font-size:8px;font-weight:400;color:var(--muted);margin-top:2px}.sheet-option.danger{color:#c24455}.sheet-option:disabled{opacity:.35}.sheet-cancel{width:100%;height:47px;border:0;border-radius:17px;background:#fff;margin-top:9px;font-size:11px;font-weight:750}.sheet-form{display:flex;flex-direction:column;gap:10px}.sheet-form label{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:750}.sheet-form input,.sheet-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:11px 12px;margin-top:5px;outline:none;color:var(--ink);font:inherit;font-size:12px;resize:none}.sheet-form textarea{min-height:90px}.sheet-form input:focus,.sheet-form textarea:focus{border-color:#d78a99;box-shadow:0 0 0 3px rgba(215,138,153,.12)}.sheet-primary{width:100%;height:48px;border:0;border-radius:17px;background:var(--ink);color:#fff;font-size:11px;font-weight:750;margin-top:4px}.sheet-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-error{margin:8px 7px 0;color:#be4153;font-size:9px}.preview-note.warning{background:#fff5e5}.preview-note.warning>.icon{background:#f7dfb0;color:#8c641f}.preview-note.ordered{background:#e7ebf5}.preview-note.ordered>.icon{background:#d4dced;color:#52658a}.primary-button:disabled{opacity:.45;cursor:not-allowed}.checkout-section input.invalid{color:#bf4154;border-bottom:1px solid #bf4154}.book-status-label{display:inline-flex;align-items:center;gap:5px;font-size:8px;color:var(--muted);margin-top:4px}.book-status-label i{width:6px;height:6px;border-radius:50%;background:#e7a34b}.book-status-label.ready i{background:#65a877}.book-status-label.ordered i{background:#6e82aa}
