:root{--ink:#253a42;--muted:#637378;--accent:#7b2481;--accent-soft:#f1e3f3;--paper:#fbf9f5;--line:#e5ddd6;--white:#fff;--serif:Georgia,'Times New Roman',serif;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:400;line-height:1.18;letter-spacing:-.025em}h1{font-size:clamp(2rem,3.2vw,3.3rem);margin-bottom:.65rem}h2{font-size:1.7rem;margin-bottom:1rem}h3{font-size:1.08rem}a{color:var(--accent);text-underline-offset:4px}button,.button{font:inherit;border:1px solid transparent;background:var(--accent);color:white;padding:.7rem 1.2rem;border-radius:9px;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.95rem;font-weight:600}button:hover,.button:hover{filter:brightness(.93)}button:disabled{opacity:.5;cursor:wait}button.secondary,.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}button.link,button.text-link{color:var(--accent);background:transparent;padding:.4rem .5rem;text-decoration:underline;border:0}button.selected{background:var(--accent);color:white;border-color:var(--accent)}:focus-visible{outline:3px solid #39869b;outline-offset:3px}input,select,textarea{font:inherit;color:var(--ink);background:white;border:1px solid #b7bfbe;border-radius:7px;padding:.7rem .8rem;width:100%;min-width:0;min-height:44px}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;font-weight:600}form{display:grid;gap:1.1rem}small,.fine,figcaption{font-size:.83rem;color:var(--muted)}small{display:block}.eyebrow{font-size:.77rem;letter-spacing:.14em;color:var(--accent);font-weight:750;display:block;margin-bottom:1rem}.pill{display:inline-block;border-radius:40px;background:var(--accent-soft);color:#65206a;font-size:.8rem;padding:.25rem .75rem}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 24px;display:flex;flex-direction:column;z-index:5;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font:1.35rem/1.2 var(--serif);margin-bottom:36px}.brand-icon{background:var(--accent);color:#fff;width:46px;height:52px;border-radius:24px 24px 6px 6px;display:grid;place-items:center;font-size:2rem}.sidebar nav{display:grid;gap:3px}.sidebar nav a{padding:9px 12px;color:var(--muted);text-decoration:none;border-radius:8px;font-size:.9rem}.sidebar nav a.active{background:var(--accent-soft);color:var(--accent);font-weight:650}.alarm-link{margin:24px 0;padding:10px;font-size:.9rem}.profile{border-top:1px solid var(--line);padding-top:18px;margin-top:auto;display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:.85rem}.avatar{width:35px;height:35px;background:#e8ecea;border-radius:50%;display:inline-grid;place-items:center;flex-shrink:0;color:var(--ink);font-weight:600}.workspace{margin-left:250px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:var(--muted);font-size:.85rem}.privacy{text-decoration:none;color:#466052;font-size:.8rem}.mobile-brand,.bottom{display:none}main{max-width:1220px;margin:auto;padding:35px 42px 50px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);margin-bottom:0}.hero{background:#f2e5f4;border:1px solid #e2cce5;border-radius:18px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;margin-bottom:24px}.hero-copy{padding:38px 34px}.hero h2{font-size:2.3rem;margin:20px 0 10px}.big-number{font:3.5rem/1.2 var(--serif);margin-bottom:20px;color:#702277}.big-number span{font:1.3rem/1.5 var(--serif)}.hero-art{display:flex;align-items:center;padding:14px}.hero-art figure{width:100%}.progress-label{display:flex;flex-direction:row;justify-content:space-between;font-size:.85rem;margin-top:25px}progress{appearance:none;width:100%;height:7px;display:block;margin:10px 0 22px;border:0;border-radius:20px;overflow:hidden}progress::-webkit-progress-bar{background:#d8b9dd}progress::-webkit-progress-value{background:var(--accent);border-radius:20px}progress::-moz-progress-bar{background:var(--accent)}.mini-stats{display:flex;gap:40px}.mini-stats strong{display:block;font:1.7rem var(--serif)}.mini-stats span{font-size:.8rem;color:#735d77}.grid{display:grid;gap:22px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:26px;min-width:0}.card p{color:var(--muted)}.card h2{color:var(--ink)}.letter-call{background:#edf0ed;border-color:#dbe1dc}.text-link{font-size:.9rem;font-weight:650}.size-card{display:grid;grid-template-columns:1.35fr 1fr;gap:30px;background:#253e48;color:white;padding:32px;border-radius:14px;margin:24px 0}.size-card .eyebrow{color:#e9c5ef}.size-card p{color:#d1dce0}.comparison{text-align:center;display:flex;flex-direction:column;align-items:center}.comparison p{margin:.4rem 0 .9rem;font-size:.9rem}.object{font-size:3.2rem;line-height:1.5}.comparison strong{font:1.35rem var(--serif)}.section-title{display:flex;align-items:center;justify-content:space-between;margin:35px 0 18px}.section-title h2{margin:0}.section-title a{font-size:.9rem}.record-meta{display:flex;gap:10px;align-items:center;font-size:.86rem;margin-bottom:20px}.record-meta>.pill{margin-left:auto}.record-image{width:100%;max-height:400px;object-fit:contain;border-radius:10px;background:#f4f1ec;margin-bottom:20px}.body-text{white-space:pre-wrap;overflow-wrap:anywhere}.record-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.react{background:#f4eaf6;color:var(--accent);padding:.35rem .9rem;border-radius:40px}.letter-card{background:#fffdf8}.letter-card .body-text{font:1.15rem/1.8 var(--serif);color:#4a514e}.stage{aspect-ratio:1;background-image:url('/assets/stages.webp');background-size:300% 100%;border-radius:50% 50% 44% 44%;width:100%;max-width:440px;margin:auto}.stage-0{background-position:0 0}.stage-1{background-position:50% 0}.stage-2{background-position:100% 0}.stage.early{background:#efe3f2;display:grid;place-content:center;text-align:center;color:var(--accent)}.early span{font-size:5rem}figure{margin:0}figcaption{font-size:.75rem;text-align:center;margin:12px auto 0;max-width:340px;line-height:1.45}.birth-photo{width:100%;border-radius:15px;max-height:400px;object-fit:contain}.week-scroll{display:flex;gap:8px;overflow-x:auto;padding:5px 0 20px;margin-bottom:15px}.week-scroll button{flex-shrink:0;background:#fff;color:var(--ink);border-color:var(--line);padding:.5rem;width:46px}.week-scroll button.selected{background:var(--accent);color:white}.sources{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:.85rem}.sources a{display:inline-block;margin-right:12px;overflow-wrap:anywhere}.notice{background:#f3f1ed;border-left:3px solid #996da0;padding:14px;font-size:.88rem;color:#526066;margin:15px 0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wide{grid-column:1/-1}.form-grid h2{margin:15px 0 0}.search-form{display:flex;margin:0 0 22px;gap:10px}.search-form input{flex:1}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 25px}.chips button{font-size:.85rem;min-height:40px;padding:.5rem .9rem}.month-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.month-nav h2{margin:0;text-transform:capitalize}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-grid>strong{text-align:center;font-size:.8rem;color:var(--muted)}.day{min-height:88px;padding:7px;border-top:1px solid var(--line);font-size:.85rem}.day.today{background:var(--accent-soft)}.day a{display:block;font-size:.73rem;line-height:1.3;background:#f1ece7;margin:4px 0;padding:3px;border-radius:3px;overflow-wrap:anywhere}.menu-grid{display:grid;gap:12px;margin-bottom:20px}.menu-grid a{text-decoration:none;color:var(--ink)}.empty{text-align:center;padding:40px}.empty>span{font-size:2rem;color:var(--accent)}.empty h2{font-size:1.4rem}.alarm{border-top:5px solid var(--accent);max-width:850px}.list-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:.9rem}.list-row span{flex:1}.user-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;padding:18px 0;border-bottom:1px solid var(--line)}.user-row>div{overflow-wrap:anywhere}.user-row .form-error{grid-column:1/-1}.user-row small{font-size:.78rem}details{margin:20px 0}summary{cursor:pointer;padding:10px 0;font-weight:650}.auth{max-width:1200px;min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;padding:55px}.auth-art h1{font-size:3.8rem;color:#65206a}.auth-art p{color:var(--muted)}.heart{display:inline-block;margin-left:12px;color:var(--accent)}.auth-art figure{max-width:370px}.auth-art figcaption{display:none}.auth-card{max-width:460px;padding:35px;background:#fff;border:1px solid var(--line);border-radius:16px}.auth-card h2{margin-top:20px}.auth-card>p{color:var(--muted)}.auth-card .fine{margin-top:24px}.auth-card form button{width:100%}dialog{border:1px solid var(--line);border-radius:16px;max-width:760px;width:calc(100% - 32px);max-height:90dvh;padding:0;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#102f3a99;backdrop-filter:blur(3px)}.modal-body{padding:45px 32px 32px}.close{position:absolute;right:10px;top:8px;background:transparent;color:var(--ink);font-size:.85rem}.comment{padding:15px 0;border-bottom:1px solid var(--line)}.form-error{color:#982f28!important;font-size:.9rem;margin:0}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#203c44;color:white;border-radius:10px;padding:14px 20px;max-width:90%;z-index:100;display:none}#toast.visible{display:block}footer{border-top:1px solid var(--line);padding:25px 42px;font-size:.78rem;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;left:15px;background:white;padding:10px;z-index:100}.skip:focus{top:10px}.loading{padding:50px}.sealed{background:#f7efe2;padding:15px;border-radius:8px}@media(max-width:1100px){.sidebar{width:218px;padding:25px 16px}.workspace{margin-left:218px}main{padding:30px 25px}.topbar{padding:0 25px}.hero-copy{padding:30px 25px}.three{grid-template-columns:repeat(2,minmax(0,1fr))}.user-row{grid-template-columns:1fr 1fr}.user-row>div{grid-column:1/-1}}@media(max-width:760px){.sidebar,.desktop-date{display:none}.workspace{margin:0}.mobile-brand{display:block;color:var(--ink);font:1.1rem var(--serif);text-decoration:none}.topbar{height:64px;padding:0 18px}.privacy{font-size:.7rem}.bottom{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fff;border-top:1px solid var(--line);padding:6px 5px calc(6px + env(safe-area-inset-bottom))}.bottom a{display:flex;flex-direction:column;align-items:center;color:var(--muted);text-decoration:none;font-size:.72rem;min-height:48px}.bottom a span{font-size:1.4rem;line-height:1.3}.bottom a.active{color:var(--accent);font-weight:750}.bottom a.active span{background:var(--accent-soft);border-radius:15px;padding:0 15px}main{padding:25px 17px 35px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px}.eyebrow{font-size:.72rem;margin-bottom:10px}.hero{grid-template-columns:1fr;position:relative}.hero-copy{padding:25px 23px}.hero h2{font-size:2rem}.hero-art{padding:0 25px 25px}.hero-art figure{max-width:280px;margin:auto}.hero .big-number{font-size:3.4rem}.hero-art .stage{max-width:235px}.hero figcaption{font-size:.7rem;max-width:270px}.two,.three{grid-template-columns:1fr}.card{padding:22px}.grid{gap:16px}.size-card{grid-template-columns:1fr;gap:12px;padding:24px}.size-card .comparison{border-top:1px solid #4e646c;padding-top:12px}.size-card p{font-size:.9rem}.section-title{gap:12px}.section-title h2{font-size:1.5rem}.section-title a{font-size:.8rem}.form-grid{grid-template-columns:1fr;gap:16px}.calendar-grid{gap:1px}.day{padding:4px;min-height:65px}.day a{font-size:.63rem;max-height:43px;overflow:hidden}.month-nav h2{font-size:1.3rem}.month-nav button{padding:.4rem .8rem}.auth{display:block;padding:28px 20px}.auth-art h1{font-size:2.8rem}.auth-art figure{display:none}.auth-art>p{margin-bottom:28px}.auth-card{padding:25px;max-width:100%;margin:auto}.auth-card h2{font-size:1.7rem}footer{padding:20px 18px 100px}dialog{max-height:90dvh}.modal-body{padding:50px 20px 25px}#toast{bottom:90px;width:calc(100% - 32px)}.list-row{flex-wrap:wrap}.list-row>span{min-width:55%}.user-row{grid-template-columns:1fr 1fr}.search-form button{padding:.7rem}.week-scroll{margin-right:-17px}.body-text{font-size:1rem}.record-meta{font-size:.85rem}h1{font-size:2.2rem}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* Family profiles and photo collections */
img.avatar{object-fit:cover;flex-shrink:0}.record-photos{margin:16px 0}.record-photos.multiple{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.record-photos a{display:block;min-width:0}.record-photos .record-image{width:100%;margin:0}.record-photos.multiple .record-image{height:180px;object-fit:cover}.photo-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px}.photo-picker img{width:100%;height:120px;object-fit:cover;border-radius:12px}.photo-picker label{min-width:0}.photo-picker span{display:flex;gap:8px;align-items:center;min-height:44px}.photo-picker input,.check-label input{width:20px;height:20px}.check-label{display:flex;align-items:center;gap:8px}.upload-status{min-height:24px;color:var(--accent)}@media(max-width:480px){.record-photos.multiple .record-image{height:140px}}

.poll-result{margin:1rem 0}.poll-result span{display:block;margin-bottom:.4rem}.poll-result progress{width:100%;height:.65rem;accent-color:#7b2481}.poll-card h2{overflow-wrap:anywhere}.poll-card .record-actions{flex-wrap:wrap;gap:.6rem}
