/* REAVE Studio V3 — progressive dark theme & family management */
:root{--v3-ink:#eaf7ff;--v3-muted:#a5c6db;--v3-line:#8ad9ff42;--v3-surface:#0e2a45;--v3-cyan:#6de2ff}
body{background:#071a2d}
.rev-hero{position:relative;isolation:isolate}
.rev-hero:after{content:"";position:absolute;inset:auto -18% -15% auto;z-index:-1;width:60vw;height:38vw;max-height:620px;pointer-events:none;filter:blur(80px);background:radial-gradient(circle,#39b9ff2d 0%,#ac99ff15 35%,transparent 70%);animation:revV3Breathe 13s ease-in-out infinite alternate}
.rev-hero h1{text-wrap:balance}
.rev-floating-device{backdrop-filter:blur(24px);box-shadow:0 26px 68px #0008,0 0 40px #4abefb22}
.rev-preview-babies img{border-radius:14px;object-fit:cover}
.rev-hero .btn-primary,.rev-pricing .btn-primary{box-shadow:0 12px 36px #16b8ec42}
.rev-hero .btn:hover,.rev-cta .btn:hover{transform:translateY(-3px);box-shadow:0 17px 43px #23bdf562}
.rev-story-photo img{transition:transform .8s ease}
.rev-story-photo:hover img{transform:scale(1.035)}
.path-card{transition:transform .3s,border-color .3s,box-shadow .3s}
.path-card:hover{transform:translateY(-7px);box-shadow:0 30px 60px #06152578}
.rev-v3-platform{position:relative;background:radial-gradient(ellipse at 20% 65%,#174d6c75,transparent 45%),linear-gradient(140deg,#091d32,#0d2947 60%,#08263f);padding:86px 0;color:#e8f7ff;overflow:hidden}
.rev-v3-platform:before{content:"";pointer-events:none;position:absolute;inset:0;background-image:radial-gradient(#8bdfff66 .65px,transparent .9px);background-size:37px 37px;opacity:.13}
.rev-v3-platform-grid{position:relative;display:grid;grid-template-columns:1fr .9fr;gap:72px;align-items:center}
.rev-v3-platform-copy h2{font:600 clamp(37px,4.7vw,60px)/1.1 Fraunces,Georgia,serif;letter-spacing:-.043em;margin:20px 0}
.rev-v3-platform-copy h2 em{font-style:normal;background:linear-gradient(105deg,#84eaff,#adacff);color:transparent;background-clip:text}
.rev-v3-platform-copy p{color:#afc9da;max-width:530px;line-height:1.83;font-size:15px;margin:0 0 23px}
.rev-v3-platform-features{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:29px}
.rev-v3-platform-features span{display:inline-flex;gap:8px;align-items:center;padding:10px 13px;border:1px solid #8bd7fd37;background:#ffffff08;border-radius:12px;font-size:12px;color:#d2ebfa}
.rev-v3-platform-features .icon{width:17px;height:17px;color:#89e0fa}
.rev-v3-platform-copy>small{display:block;margin-top:12px;color:#9ab9cf;font-size:11px}
.rev-v3-platform-preview{border:1px solid #76caff6b;box-shadow:0 0 0 7px #8ad9ff0e,0 35px 90px #010b1899;background:linear-gradient(150deg,#164362dd,#0b2949ec);border-radius:27px;padding:23px;backdrop-filter:blur(25px);animation:revV3Float 8s ease-in-out infinite}
.rev-v3-preview-head{display:flex;align-items:center;gap:9px;padding-bottom:17px;border-bottom:1px solid #ffffff21;color:#b8eafa;font-size:12px;letter-spacing:.06em}
.rev-v3-preview-head .icon{width:19px;height:19px}.rev-v3-preview-head span{margin-left:auto;font-size:9px;letter-spacing:.14em;border:1px solid #8bcfff44;padding:5px 9px;border-radius:99px}
.rev-v3-preview-profile{display:flex;gap:16px;align-items:center;margin:20px 0}
.rev-v3-preview-profile img{width:91px;height:91px;border-radius:19px;object-fit:cover;border:2px solid #8bdcff9c}
.rev-v3-preview-profile div{flex:1}.rev-v3-preview-profile div>span{font-weight:800;font-size:10px;letter-spacing:.17em;color:#86e0f3}.rev-v3-preview-profile h3{font:600 29px Fraunces,Georgia,serif;margin:1px 0}.rev-v3-preview-profile p{color:#b3d0e4;font-size:12px;margin:0}.rev-v3-preview-profile>b{color:#a8e9ff;font-size:29px;font-weight:400}
.rev-v3-preview-metrics{display:grid;gap:14px}.rev-v3-preview-metrics>div{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:12px;color:#d4ecff}.rev-v3-preview-metrics strong{font-variant-numeric:tabular-nums}.rev-v3-preview-metrics i{grid-column:1/-1;height:10px;border-radius:99px;background:#d7ebff29;display:block;position:relative;overflow:hidden}.rev-v3-preview-metrics i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--val);border-radius:99px;background:var(--tone);box-shadow:0 0 18px var(--tone)}
.rev-v3-preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;background:#ffffff0b;border:1px solid #ffffff15;border-radius:13px;padding:11px 13px;color:#c3e8f8;font-size:12px}.rev-v3-preview-bottom span{display:flex;align-items:center;gap:10px}.rev-v3-preview-bottom .icon{width:16px;color:#73dcff}
/* Dashboard */
.reave-v3-dashboard.portal-shell{grid-template-columns:230px minmax(0,1fr);background:#071a2f}
.reave-v3-dashboard .portal-main{background:radial-gradient(ellipse at 88% 2%,#164a70a0,transparent 37%),radial-gradient(ellipse at 25% 95%,#13446864,transparent 39%),linear-gradient(150deg,#081a31,#092740 65%,#082239)}
.reave-v3-dashboard .portal-sidebar{background:linear-gradient(175deg,#061426,#071d35 73%,#0a2a46);border-right:1px solid #65c8f42e}
.reave-v3-dashboard .rev-welcome{min-height:179px;margin-bottom:15px;background:linear-gradient(100deg,#092b46,#153e5a)}
.reave-v3-dashboard .rev-welcome-photo{opacity:.75;filter:saturate(.93)}
.reave-v3-dashboard .portal-content{padding:0 24px 45px;max-width:1600px}
.reave-v3-dashboard .portal-panel{border-radius:19px;box-shadow:inset 0 1px #ffffff0d,0 16px 34px #020e1d31}
.reave-v3-dashboard .portal-nav button{min-height:43px}
.reave-v3-dashboard .rev-sidebar-card{margin-top:32px}
.reave-v3-dashboard .portal-stats{margin-bottom:14px}
.reave-v3-dashboard .rev-stat.portal-stat{min-height:83px}
.rev-v3-priority{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:13px 17px;margin:0 0 15px;border-radius:15px;border:1px solid #4abce956;background:linear-gradient(100deg,#11466988,#0b314d88);color:#d9f5ff}
.rev-v3-priority.is-urgent{border-color:#fbc78a7a;background:linear-gradient(100deg,#533b3a55,#13364f)}
.priority-icon{width:43px;height:43px;border-radius:12px;background:#36c0ff22;color:#75daff;display:grid;place-items:center;flex:none}
.is-urgent .priority-icon{background:#ffbe6633;color:#ffd394}
.priority-icon .icon{height:22px;width:22px}
.rev-v3-priority>div{flex:1;min-width:185px}.rev-v3-priority strong{display:block;font-size:13px}.rev-v3-priority p{margin:4px 0 0;color:#afcfe2;font-size:11px;line-height:1.5}
.rev-v3-btn{border:1px solid #5bcaff73;background:linear-gradient(120deg,#55d8f8,#61b4f3);border-radius:12px;padding:12px 17px;color:#041e31;font-size:12px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-align:center;transition:transform .2s,box-shadow .2s;cursor:pointer}
.rev-v3-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 22px #1ea0f138}
.rev-v3-btn:disabled,.rev-v3-mini-btn:disabled{opacity:.5;cursor:wait}
.rev-v3-btn-secondary{color:#c4ecfc;background:#19507088;border-color:#72d5fa55}
.rev-link-button{border:0;background:transparent;color:#8edfff;font-weight:800;font-size:11px;cursor:pointer;padding:7px;white-space:nowrap}
.rev-link-button:hover{text-decoration:underline}
.rev-profile-foot{font-size:10px;color:#8bb1c9;margin:-12px 0 15px}
.rev-routine-preview{display:flex;align-items:center;gap:12px;border-top:1px solid #8bcaf320;padding:12px 0}
.rev-routine-preview strong{padding:7px 9px;background:#228fc42b;border:1px solid #72cef343;border-radius:9px;color:#90e7fc;min-width:51px;text-align:center;font-size:12px}
.rev-routine-preview div{display:grid;gap:2px}.rev-routine-preview b{color:#e3f5ff;font-size:12px}.rev-routine-preview small{color:#9dbbd1;text-transform:capitalize;font-size:10px}
.rev-subtle{font-size:12px;line-height:1.8;color:#a9c9db!important}
.rev-action-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:15px 19px;border:1px solid #62cafa3b;background:#ffffff06;border-radius:15px;color:#b7d8e9;font-size:11px}
/* Sub pages */
.rev-view-heading{padding:23px 0 22px;color:#f1faff;max-width:760px}
.rev-v3-eyebrow{font-size:10px;letter-spacing:.19em;color:#73d6f9;font-weight:800;text-transform:uppercase}
.rev-view-heading h2{font:600 clamp(29px,3.5vw,46px)/1.1 Fraunces,Georgia,serif;letter-spacing:-.036em;margin:12px 0 8px;color:#f3fbff}
.rev-view-heading p{color:#b2cede;line-height:1.7;font-size:13px;margin:0}
.rev-v3-baby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.rev-v3-family-card,.rev-v3-card,.rev-v3-subscription,.rev-v3-stat{background:linear-gradient(155deg,#15405cbb,#0b2946dd);border:1px solid #78c4ed53;box-shadow:0 16px 32px #00101d42;color:#eefbff;border-radius:21px}
.rev-v3-family-card{padding:22px;display:grid;gap:16px}
.rev-baby-card{display:flex;gap:15px;align-items:center;min-width:0}
.rev-baby-card img{height:104px;width:104px;object-fit:cover;border-radius:19px;border:2px solid #87e1ff7c}
.rev-baby-card h3{font:600 29px Fraunces,Georgia,serif;margin:0 0 4px}.rev-baby-card p{margin:0 0 9px;font-size:12px;color:#adc9dc}
.rev-status-chip{border-radius:99px;border:1px solid #79dbc273;background:#5bb99b21;padding:5px 10px;font-size:10px;color:#a6f4dc}
.rev-v3-micro-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rev-v3-micro-metrics>div{background:#ffffff08;border:1px solid #ffffff13;border-radius:10px;display:flex;justify-content:space-between;gap:5px;padding:11px;font-size:11px;color:#b8d4e7}
.rev-v3-micro-metrics b{color:#8bd9fe}
.rev-v3-card{padding:23px;margin-bottom:18px;max-width:1080px}
.rev-v3-card h3{font:600 23px Fraunces,Georgia,serif;margin:12px 0 13px}
.rev-v3-card .rev-v3-subheading{border-top:1px solid #85c8e629;padding-top:24px;margin-top:26px}
.rev-v3-select-wrap{display:flex;gap:14px;align-items:center;border-bottom:1px solid #ffffff20;padding:0 0 18px;margin-bottom:22px}
.rev-v3-select-wrap label{color:#a3c5d8;font-size:12px;font-weight:800}
.rev-v3-select{min-width:160px;max-width:300px}
.rev-v3-select,.rev-v3-input{background:#0a2944;color:#f1fbff;border-radius:12px;border:1px solid #7cbfdf70;padding:12px 13px;font:inherit;font-size:13px;outline:none}
.rev-v3-select:focus-visible,.rev-v3-input:focus-visible{border-color:#8debff;box-shadow:0 0 0 3px #36bbfa35}
.rev-v3-input::placeholder{color:#8fb1c8}
.rev-v3-form{display:grid;gap:14px;align-items:start}
.rev-v3-field-grid{display:grid;grid-template-columns:1.7fr .8fr 1fr;gap:12px}
.rev-v3-field{display:grid;gap:7px;min-width:0}
.rev-v3-field span{font-size:11px;color:#b7d5e8;font-weight:700}
.rev-v3-field input,.rev-v3-field select,.rev-v3-field textarea{width:100%}
.rev-v3-textarea{resize:vertical;min-height:85px}
.rev-v3-form>.rev-v3-btn{justify-self:start}
.rev-v3-record-list{display:grid;gap:10px}
.rev-v3-record{display:flex;align-items:center;gap:14px;justify-content:space-between;min-width:0;padding:15px;background:#ffffff08;border:1px solid #78caeb33;border-radius:13px}
.rev-v3-record-main{display:flex;align-items:center;gap:13px;flex-wrap:wrap;min-width:0}
.rev-v3-record-main strong{color:#e9f8ff;font-size:13px}.rev-v3-record-main small{font-size:11px;color:#a9c5d9;text-transform:capitalize}
.rev-v3-time{font-size:12px;padding:7px 9px;border-radius:8px;background:#40baff22;color:#90eaff;font-weight:800;letter-spacing:.04em}
.rev-v3-mini-btn{border:1px solid #83c6e451;background:#0d2a45;color:#a7d6ed;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:700;cursor:pointer}
.rev-v3-mini-btn:hover{border-color:#ffbdc2;color:#ffe4eb}
.rev-v3-empty{border:1px dashed #6eb9d45a;border-radius:13px;background:#ffffff05;padding:18px;margin:0;color:#a8c8dd;font-size:13px;line-height:1.75}
.rev-v3-memory-list{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.rev-v3-memory{display:flex;gap:14px;align-items:flex-start;min-width:0;padding:13px;border-radius:14px;background:#ffffff09;border:1px solid #ffffff1a}
.rev-v3-memory>img{width:88px;height:108px;object-fit:cover;border-radius:10px;flex:none}
.rev-v3-memory>div{min-width:0}.rev-v3-memory h4{margin:4px 0 7px;color:#f0faff;font:600 18px Fraunces,Georgia,serif}.rev-v3-memory p{font-size:11px;color:#b9d1e3;line-height:1.7;margin:0 0 12px;white-space:pre-line}.rev-v3-memory small{color:#84d6ef;font-size:10px}
.rev-v3-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.rev-v3-stat{display:flex;align-items:center;gap:12px;padding:19px}.rev-v3-stat-icon{width:47px;height:47px;flex:none;background:#2caaf62b;border-radius:13px;display:grid;place-items:center;color:#82e2ff}.rev-v3-stat-icon svg{height:24px;width:24px}
.rev-v3-stat small{font-size:10px;color:#a3c4d9;display:block;margin-bottom:6px}.rev-v3-stat strong{font-size:22px;color:#fff;display:block}
.rev-v3-subscription{max-width:1080px;padding:27px;margin-bottom:17px}
.rev-v3-subscription h3{font:600 32px Fraunces,Georgia,serif;margin:8px 0}
.rev-v3-substatus{display:inline-block;padding:8px 12px;border-radius:99px;font-size:11px;background:#ffe1a21d;border:1px solid #e8be8d5e;color:#ffd19e;margin:9px 0 17px}.rev-v3-substatus.active{background:#50c9a826;border-color:#50dabc61;color:#91f6d9}
.rev-v3-sub-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 16px}
.rev-v3-sub-data>div{background:#ffffff08;border:1px solid #ffffff16;border-radius:13px;padding:14px}
.rev-v3-sub-data small{display:block;color:#aac8d8;font-size:10px;margin-bottom:7px}.rev-v3-sub-data strong{color:#f0faff;font-size:13px}
.rev-v3-queue-tag{font-size:11px;font-weight:800;padding:6px 10px;border-radius:10px;border:1px solid #f5c98c69;color:#ffd6a5;white-space:nowrap}
.rev-v3-queue-tag.completed{border-color:#61d8ba88;color:#a0f5d8}.rev-v3-queue-tag.failed,.rev-v3-queue-tag.cancelled{border-color:#f2989b88;color:#ffd7d9}
@keyframes revV3Float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes revV3Breathe{0%{opacity:.5;transform:scale(1)}100%{opacity:1;transform:scale(1.13)}}
@media(max-width:1170px){.rev-v3-platform-grid{gap:34px}.rev-v3-family-grid{grid-template-columns:1fr 1fr}.rev-v3-sub-data{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.rev-v3-platform-grid{grid-template-columns:1fr}.rev-v3-platform-preview{width:min(530px,100%);margin:auto}.reave-v3-dashboard.portal-shell{grid-template-columns:1fr}.rev-v3-baby-grid{grid-template-columns:1fr}}
@media(max-width:650px){.rev-v3-platform{padding:60px 0}.rev-v3-platform-copy h2{font-size:39px}.reave-v3-dashboard .portal-content{padding:0 12px 32px}.reave-v3-dashboard .rev-welcome{min-height:166px}.rev-v3-priority{padding:12px}.rev-v3-priority .rev-v3-btn{width:100%}.rev-v3-baby-grid{grid-template-columns:1fr}.rev-v3-memory-list,.rev-v3-family-grid{grid-template-columns:1fr}.rev-v3-field-grid{grid-template-columns:1fr}.rev-v3-sub-data{grid-template-columns:1fr 1fr}.rev-v3-stat{padding:14px}.rev-v3-subscription,.rev-v3-card{padding:17px}.rev-baby-card img{height:84px;width:84px}.rev-v3-record-main{gap:6px}.rev-v3-record-main strong{width:100%}.rev-v3-memory>img{width:67px;height:88px}}
@media(max-width:385px){.rev-v3-sub-data{grid-template-columns:1fr}.rev-v3-family-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.rev-v3-platform-preview,.rev-hero:after{animation:none}.rev-v3-btn{transition:none}}
