/* AllyPal public homepage. Editorial portraits, charcoal and berry.
   All layout rules are scoped to the guest homepage and its header. */
.reference-theme .guest-view{--ap-dark:#171b1f;--ap-ink:#282c35;--ap-muted:#707681;--ap-berry:#bd2858;--ap-rose:#dba5b5;--ap-line:#e7e6e9;background:#fff;color:var(--ap-ink)}
.reference-theme .topbar.guest-header{position:relative;inset:auto;height:92px;max-width:none;padding:0 max(6%,calc((100vw - 1240px)/2));background:var(--ap-dark);color:#fff;border:0;flex-wrap:nowrap}
.reference-theme .guest-header .wordmark{color:#fff;font-size:23px;font-weight:400;letter-spacing:7px;line-height:1.4}
.reference-theme .guest-header .top-actions{gap:25px!important;flex-wrap:nowrap;flex:initial}
.ap-header-nav{display:flex;align-items:center;gap:29px;order:-1;margin-right:17px;font-size:12px;color:#c1c3ca}
.ap-header-nav a{padding:8px 0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.ap-header-nav a:hover{color:#fff;border-bottom-color:var(--ap-rose)}
.reference-theme .guest-header .interface-language select{color:#d6d9df;background:transparent;border:1px solid #4b4c53;border-radius:30px;max-width:115px;min-height:35px;padding:7px 24px 7px 13px;font-size:11px}
.reference-theme .guest-header .interface-language option{background:#22262b;color:#fff}
.reference-theme .guest-header .login-outline{min-height:36px;padding:8px 26px;border:1px solid #9a9ca4;border-radius:30px;color:#fff;background:transparent;font-size:12px;white-space:nowrap}
.reference-theme .guest-header .login-outline:hover{background:#ffffff12;border-color:#fff}
.ap-home{overflow:hidden;background:#fff;color:var(--ap-ink)}
.ap-home h1,.ap-home h2,.ap-home h3{font-weight:500}
.ap-hero{position:relative;padding:24px max(6%,calc((100vw - 1240px)/2)) 0;background:radial-gradient(ellipse at 70% 52%,#37272f66,transparent 52%),var(--ap-dark);color:#fff}
.ap-hero-inner{max-width:1240px;margin:auto;display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;min-height:647px}
.ap-hero-heading{position:relative;padding:0 0 23px;z-index:2}
.reference-theme .ap-hero h1{font-size:clamp(40px,4.1vw,60px);font-weight:400;line-height:1.38;letter-spacing:1px;color:#f7f5f6;margin:27px 0 24px}
.ap-period{color:#cf7896}
.ap-hero-description{font-size:14px;color:#b0acb5;line-height:2.1;letter-spacing:.5px;margin:0 0 32px}
.ap-hero-actions{display:flex;align-items:center;gap:30px}
.reference-theme .ap-button{display:inline-flex;align-items:center;justify-content:space-between;min-height:51px;padding:14px 25px;gap:36px;border:1px solid transparent;border-radius:30px;box-shadow:none;background:var(--ap-berry);color:#fff;font-size:13px;font-weight:500;transition:background .2s,transform .2s}
.reference-theme .ap-button:hover{background:#d13468;transform:translateY(-2px)}
.reference-theme .ap-button .icon{width:19px;height:19px}
.ap-text-link{display:inline-flex;align-items:center;gap:22px;color:#dad6dd;font-size:12px;line-height:1.6;padding:8px 0;border-bottom:1px solid #655461;transition:color .2s,border-color .2s}
.ap-text-link>span{font-size:20px;font-weight:400}
.ap-text-link:hover{color:#fff;border-color:#dba5b5}
.ap-hero-note{display:flex;gap:11px;align-items:center;margin-top:24px;font-size:10px;line-height:1.6;color:#99919d;letter-spacing:.4px}
.ap-hero-note i{width:2px;height:2px;border-radius:50%;background:#8a7785}
.ap-portraits{position:relative;height:640px;min-width:0;isolation:isolate}
.ap-portrait-script{position:absolute;z-index:3;left:2%;top:29px;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:51px;line-height:1.1;letter-spacing:-2.5px;color:#e3c4cf;transform:rotate(-9deg);white-space:nowrap}
.ap-portrait-orbit{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#aa8297;stroke-width:.7;opacity:.42;z-index:-1;overflow:visible;pointer-events:none}
.ap-portrait-main{position:absolute;right:0;top:15px;bottom:24px;width:75%;margin:0;border-radius:240px 240px 8px 8px;overflow:hidden;background:#302e32;border:1px solid #56505b}
.ap-portrait-main>img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block;filter:saturate(.82)}
.ap-portrait-moment{position:absolute;left:-6%;bottom:38px;width:36%;height:260px;margin:0;z-index:2;padding:6px;background:#e9e4e5;border-radius:3px;transform:rotate(-5deg);box-shadow:0 10px 35px #0003}
.ap-portrait-moment>img{width:100%;height:100%;object-fit:cover;object-position:50% 43%;display:block;border-radius:1px}
.ap-portrait-star{position:absolute;right:-17px;top:55%;width:59px;height:59px;stroke:#cf92a9;stroke-width:1.4;stroke-linecap:round;fill:none;transform:rotate(12deg)}
.ap-hero-foot{max-width:1240px;margin:12px auto 0;padding:21px 0 23px;display:flex;align-items:center;justify-content:flex-end;gap:20px;border-top:1px solid #ffffff13;font-size:8px;letter-spacing:2px;color:#8a8490}
.ap-hero-foot>a{display:flex;align-items:center;gap:18px;letter-spacing:.5px;color:#b9afb9;font-size:10px}
.ap-scroll-arrow{display:grid;place-items:center;width:28px;height:28px;border:1px solid #6b5364;border-radius:50%;font-size:15px;color:#dac0ce}
.ap-section{width:min(100%,1440px);margin:auto;padding:96px max(6%,calc((1440px - 1240px)/2));scroll-margin-top:30px}
.reference-theme .ap-home h2{font-size:36px;font-weight:400;line-height:1.45;letter-spacing:.5px;margin:16px 0 22px}
.ap-experience{display:grid;grid-template-columns:.93fr 1fr;gap:110px;align-items:center}
.ap-experience-photo{position:relative;margin:0;height:510px;border-radius:5px;overflow:hidden;background:#e2ddd6;isolation:isolate}
.ap-experience-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block;z-index:-2;position:relative;filter:saturate(.85)}
.ap-experience-copy{min-width:0;padding:5px 0}
.ap-feature-list{margin:30px 0 22px}
.ap-feature-list article{display:flex;align-items:flex-start;gap:17px;padding:19px 0;border-top:1px solid var(--ap-line)}
.ap-feature-icon{margin-top:3px;flex-shrink:0;color:#a53a60}
.reference-theme .ap-feature-icon .icon{width:21px;height:21px;stroke-width:1.4}
.ap-feature-list article>div{flex:1;min-width:0}
.reference-theme .ap-feature-list h3{font-size:15px;line-height:1.6;font-weight:500;letter-spacing:0;margin:0}
.ap-feature-list p{font-size:12px;line-height:1.9;color:var(--ap-muted);margin:0}
.ap-link-dark{color:#81364f;border-bottom-color:#cfb1bf;font-size:11px}
.ap-link-dark:hover{color:#bd2858;border-bottom-color:#bd2858}
.ap-principles{background:#f8f5f6;border-top:1px solid #f0e8ec;border-bottom:1px solid #f0e8ec}
.ap-questions{display:grid;grid-template-columns:1fr 1.32fr;gap:90px;padding-top:77px;padding-bottom:82px}
.reference-theme .ap-questions h2{font-size:32px;margin-bottom:17px}
.ap-questions>div>p{font-size:12px;color:var(--ap-muted);line-height:1.9;margin:0 0 21px}
.ap-contact-link{display:inline-flex;gap:30px;align-items:center;color:#9e3659;font-size:11px}
.ap-contact-link:hover{text-decoration:underline}
.ap-faq details{border-bottom:1px solid var(--ap-line);padding:24px 0}
.ap-faq details:first-child{padding-top:7px}
.ap-faq summary{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:14px;font-weight:500;line-height:1.65;cursor:pointer;list-style:none}
.ap-faq summary::-webkit-details-marker{display:none}
.ap-faq summary>span{font-size:20px;line-height:1;flex-shrink:0;color:#a7607c;transition:transform .2s}
.ap-faq details[open] summary>span{transform:rotate(45deg)}
.ap-faq details>p{margin:15px 25px 0 0;font-size:12px;line-height:1.95;color:var(--ap-muted)}
.ap-invitation{background:radial-gradient(ellipse at 75% 50%,#3c273b66,transparent 65%),var(--ap-dark);color:#f3f0f4}
.ap-invitation-inner{display:flex;justify-content:space-between;align-items:center;gap:50px;padding-top:58px;padding-bottom:59px}
.reference-theme .ap-invitation h2{font-size:37px;line-height:1.4;font-weight:400;margin:15px 0 0}
.ap-invitation-inner>div:last-child{display:flex;flex-direction:column;align-items:center;gap:0;padding-right:30px}
.ap-invitation p{font-size:9px;line-height:1.7;color:#a799a8;letter-spacing:.4px;margin:15px 0 0}
.ap-footer{padding:35px max(6%,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;gap:30px;background:var(--ap-dark);border-top:1px solid #ffffff14;color:#bab1bd}
.reference-theme .ap-footer .wordmark{font-size:18px;font-weight:400;color:#e8e3eb;letter-spacing:6px}
.ap-footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:22px;font-size:10px}
.ap-footer-links>button{font-size:10px;padding:5px 0}
.ap-footer-links>a:hover,.ap-footer-links>button:hover{color:#fff}
.ap-footer-links>small{width:100%;text-align:right;color:#8b8191;font-size:9px}
.ap-home :is(a,button,summary):focus-visible,.guest-header :is(a,button):focus-visible{outline:2px solid #dba5b5;outline-offset:5px}
@media(min-width:1441px){.ap-section{padding-left:100px;padding-right:100px}}
@media(max-width:1200px){.ap-section{padding-left:6%;padding-right:6%}.ap-hero-inner{grid-template-columns:1fr 1fr;gap:25px;min-height:580px}.ap-portraits{height:570px}.ap-portrait-main{width:78%}.ap-portrait-moment{height:230px;width:38%;bottom:32px;left:-2%}.ap-portrait-script{font-size:44px;left:-1%;top:25px}.ap-portrait-star{right:-12px;width:48px;height:48px}.reference-theme .ap-hero h1{font-size:45px}.ap-hero-description{font-size:13px}.ap-hero-actions{gap:21px}.reference-theme .ap-button{gap:24px;padding:14px 23px}.ap-experience{gap:65px}.ap-experience-photo{height:500px}.ap-questions{gap:60px}.ap-header-nav{gap:22px;margin-right:0}.reference-theme .guest-header .top-actions{gap:20px!important}}
@media(max-width:960px) and (min-width:761px){.ap-hero-inner{gap:19px;min-height:520px}.ap-portraits{height:520px}.reference-theme .ap-hero h1{font-size:37px;letter-spacing:0}.ap-hero-description{font-size:12px}.ap-hero-actions{gap:18px;flex-wrap:wrap}.reference-theme .ap-hero .ap-button{padding:13px 20px;gap:22px;font-size:12px}.ap-hero .ap-text-link{font-size:11px;gap:14px}.ap-hero-note{font-size:8px;gap:8px}.ap-portrait-script{font-size:38px;top:20px}.ap-portrait-moment{height:190px;width:40%;bottom:35px}.ap-experience{gap:40px}.ap-experience-photo{height:470px}.reference-theme .ap-home h2{font-size:29px}.ap-feature-list article{gap:12px}.reference-theme .ap-feature-list h3{font-size:14px}.ap-header-nav{gap:18px;font-size:11px}.reference-theme .guest-header .top-actions{gap:15px!important}.reference-theme .guest-header .wordmark{font-size:20px;letter-spacing:5px}}
@media(max-width:760px){.reference-theme .topbar.guest-header{height:77px;min-height:77px;padding:0 6%;gap:12px}.reference-theme .guest-header .wordmark{font-size:20px;letter-spacing:4px}.reference-theme .guest-header .top-actions{gap:10px!important}.ap-header-nav{display:none}.reference-theme .guest-header .interface-language select{font-size:11px;max-width:89px;min-height:33px;padding:7px 20px 7px 9px}.reference-theme .guest-header .login-outline{font-size:11px;min-height:33px;padding:7px 16px}.ap-hero{padding:31px 7% 0}.ap-hero-inner{grid-template-columns:1fr;gap:22px;min-height:0}.ap-hero-heading{padding-bottom:0;max-width:520px}.reference-theme .ap-hero h1{font-size:clamp(36px,8.4vw,53px);font-weight:400;line-height:1.43;letter-spacing:.4px;margin:21px 0 18px}.ap-hero-description{font-size:13px;line-height:2;letter-spacing:.2px;margin-bottom:24px}.ap-hero-actions{gap:27px}.reference-theme .ap-button{min-height:48px;padding:13px 21px;gap:29px;font-size:12px}.ap-text-link{font-size:11px;gap:17px}.ap-hero-note{font-size:9px;letter-spacing:.2px;gap:10px;margin-top:20px}.ap-portraits{height:485px;width:100%;max-width:480px;justify-self:center;margin-top:6px}.ap-portrait-main{top:20px;bottom:17px;right:0;width:76%;border-radius:200px 200px 6px 6px}.ap-portrait-script{left:0;top:13px;font-size:42px;letter-spacing:-2px}.ap-portrait-moment{left:0;bottom:30px;width:39%;height:205px;padding:5px;transform:rotate(-6deg)}.ap-portrait-moment>img{height:100%}.ap-portrait-star{right:-13px;top:52%;width:42px;height:42px}.ap-hero-foot{margin-top:6px;padding:17px 0 19px;font-size:6px;letter-spacing:1.3px;gap:10px}.ap-hero-foot>a{font-size:9px;gap:10px}.ap-scroll-arrow{width:25px;height:25px;font-size:14px}.ap-section{padding:50px 7%;scroll-margin-top:18px}.ap-experience{grid-template-columns:1fr;gap:32px}.ap-experience-photo{height:390px;max-width:500px;width:100%;justify-self:center}.ap-experience-photo>img{object-position:50% 40%}.ap-experience-copy{padding:0}.reference-theme .ap-home h2{font-size:29px;font-weight:400;line-height:1.45;margin:13px 0 18px}.ap-feature-list{margin-bottom:14px}.ap-feature-list article{gap:14px;padding:18px 0}.reference-theme .ap-feature-list h3{font-size:14px}.ap-feature-list p{font-size:11px;line-height:1.9}.reference-theme .ap-feature-icon .icon{width:19px;height:19px}.ap-link-dark{font-size:10px}.ap-questions{grid-template-columns:1fr;gap:27px;padding-top:47px;padding-bottom:49px}.reference-theme .ap-questions h2{font-size:28px;margin-bottom:14px}.ap-questions>div>p{font-size:11px;margin-bottom:14px}.ap-contact-link{font-size:11px}.ap-faq summary{font-size:13px;gap:20px}.ap-faq details{padding:21px 0}.ap-faq details>p{margin-right:5px;font-size:11px;line-height:1.95}.ap-invitation-inner{padding:39px 7% 40px;gap:27px;display:block}.reference-theme .ap-invitation h2{font-size:29px;line-height:1.45;margin-top:13px}.ap-invitation-inner>div:last-child{align-items:flex-start;padding:0;margin-top:24px}.ap-invitation p{font-size:9px;margin-top:13px}.ap-footer{padding:30px 7%;flex-direction:column;align-items:flex-start;gap:24px}.reference-theme .ap-footer .wordmark{font-size:17px;letter-spacing:5px}.ap-footer-links{justify-content:flex-start;gap:23px;width:100%}.ap-footer-links>small{text-align:left}}
@media(max-width:380px){.reference-theme .guest-header .wordmark{font-size:17px;letter-spacing:3px}.reference-theme .guest-header .top-actions{gap:7px!important}.reference-theme .guest-header .interface-language select{max-width:79px}.reference-theme .guest-header .login-outline{padding:7px 13px}.ap-hero{padding-top:26px}.reference-theme .ap-hero h1{font-size:32px}.ap-hero-actions{gap:19px}.reference-theme .ap-button{padding:13px 19px;gap:22px}.ap-hero .ap-text-link{font-size:10px;gap:11px}.ap-hero-note{font-size:8px;gap:8px}.ap-portraits{height:420px}.ap-portrait-script{font-size:36px}.ap-portrait-moment{height:177px;width:40%;bottom:28px}.ap-portrait-star{right:-10px;width:36px;height:36px}.ap-experience-photo{height:340px}.reference-theme .ap-home h2{font-size:27px}.ap-hero-foot{letter-spacing:1px;font-size:5px}.ap-hero-foot>a{font-size:8px}}
html[lang]:not([lang^="zh"]) .ap-hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(40px,4.4vw,67px);letter-spacing:-1.8px;line-height:1.13}
html[lang]:not([lang^="zh"]) .ap-period{display:none}
html[lang]:not([lang^="zh"]) .ap-hero-description{font-size:13px;letter-spacing:0}
html[lang]:not([lang^="zh"]) .ap-hero-actions{gap:23px}
html[lang]:not([lang^="zh"]) .ap-hero .ap-button{gap:23px;white-space:normal}
html[lang]:not([lang^="zh"]) .ap-hero .ap-text-link{flex-shrink:0;gap:15px}
@media(max-width:960px) and (min-width:761px){html[lang]:not([lang^="zh"]) .ap-hero h1{font-size:43px}html[lang]:not([lang^="zh"]) .ap-hero-description{font-size:12px}}
@media(max-width:760px){html[lang]:not([lang^="zh"]) .ap-hero h1{font-size:clamp(38px,9.4vw,57px);letter-spacing:-.9px;line-height:1.13}html[lang]:not([lang^="zh"]) .ap-hero-description{font-size:12px}html[lang]:not([lang^="zh"]) .ap-hero-actions{gap:19px}html[lang]:not([lang^="zh"]) .ap-hero .ap-button{font-size:11px;padding:12px 18px;gap:18px;max-width:60%}html[lang]:not([lang^="zh"]) .ap-hero .ap-text-link{font-size:10px;gap:10px}html[lang]:not([lang^="zh"]) .ap-hero-note{font-size:8px;gap:8px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ap-home *,.guest-header *{transition:none!important;scroll-behavior:auto!important}}

/* Keep service reassurance brief; details remain in the expandable FAQ. */
.ap-reassurance{max-width:1240px;margin:auto;padding:27px 6%;display:flex;align-items:center;justify-content:space-around;gap:30px;color:#816a78}
.ap-reassurance>span{display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.6}
.reference-theme .ap-reassurance .icon{width:20px;height:20px;stroke-width:1.4;color:#a76881}
@media(max-width:760px){.ap-reassurance{padding:24px 7%;gap:20px;justify-content:space-between}.ap-reassurance>span{flex-direction:column;gap:8px;font-size:10px;text-align:center}.reference-theme .ap-reassurance .icon{width:19px;height:19px}.ap-experience .ap-feature-list{margin-top:23px}}
@media(max-width:380px){.ap-reassurance{gap:14px}.ap-reassurance>span{font-size:9px}}
