/* Pactuno public and purchase surfaces. Keep existing form IDs and handlers. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/brand/fonts/InterVariable.woff2') format('woff2')}
[hidden]{display:none!important}
.pricing-public-nav{display:none}
@media(max-width:760px){.pactuno-pricing .top{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding:12px 16px}.pricing-public-nav{display:flex;gap:8px;flex-wrap:wrap}}
.pactuno-auth,.pactuno-subscribe,.pactuno-pricing,.pactuno-checkout{font-family:Inter,"Segoe UI",system-ui,sans-serif;--text-secondary:var(--muted);--bg-secondary:var(--soft)}
.pactuno-auth{background:#f7f8fc;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pactuno-auth .brand-pane{padding:48px clamp(28px,5vw,80px);background:radial-gradient(circle at 10% 10%,#4f46e530,transparent 45%),#131b2d}
.pactuno-auth .brand-copy{max-width:470px;margin:50px 0}
.pactuno-auth .p1-motion{position:relative;min-height:180px;height:clamp(180px,24vh,240px);width:100%;max-width:470px;flex-shrink:0;margin-top:24px}
.p1-motion canvas{display:block;width:100%;height:100%;pointer-events:none}
.p1-motion-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#a5b4fc;font:900 130px Arial,sans-serif}
.motion-ready .p1-motion-fallback{display:none}
.pactuno-auth .p1-motion button{position:absolute;bottom:0;right:0;background:#131b2d;border:1px solid #a5b4fc50;border-radius:6px;color:#c7d2fe;padding:5px 9px;font-size:11px;min-height:30px;cursor:pointer}
.pactuno-auth .p1-motion button[hidden]{display:none}
.pactuno-auth .p1-motion+.brand-copy{margin-top:24px}
@media(max-width:760px){.pactuno-auth .p1-motion{height:180px;margin-top:12px}}
.pactuno-auth .brand-copy h2{font-size:clamp(32px,3.8vw,52px);line-height:1.08;font-weight:750;letter-spacing:-.045em}
.pactuno-auth .brand-copy p{font-size:16px;line-height:1.7;color:#b6bfd2}
.pactuno-auth .brand-points li::before{background:#a5b4fc}
.pactuno-auth .form-pane{background:#f7f8fc;padding:48px 32px}
.pactuno-auth .card{max-width:440px;padding:40px;border-radius:20px;border-color:#e5e8f1;box-shadow:0 16px 48px #17203308}
.pactuno-auth h1{font-size:32px;line-height:1.2;margin:0 0 12px}
.pactuno-auth .sub{line-height:1.65}
.pactuno-auth #google-login{height:50px;border:1px solid #dce1ec;background:white;color:#172033;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 20px!important}
.pactuno-auth #google-login svg{width:20px;height:20px;flex:none}
.pactuno-auth #submit{background:#4f46e5;box-shadow:none}
.pactuno-auth #submit:hover:not(:disabled){background:#4338ca}
.pactuno-auth #code{font-size:24px;font-family:ui-monospace,monospace;letter-spacing:.25em;text-align:center}
.pactuno-auth input,.pactuno-subscribe input,.pactuno-checkout input,.pactuno-checkout textarea{border:1px solid var(--line,#dce1ec);border-radius:10px;background:var(--card,#fff);color:var(--ink,#172033);font:inherit;font-size:15px;min-height:50px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}
.pactuno-auth input:hover,.pactuno-subscribe input:hover,.pactuno-checkout input:hover{border-color:#aeb7cb}
.pactuno-auth input:focus,.pactuno-subscribe input:focus,.pactuno-checkout input:focus,.pactuno-checkout textarea:focus{outline:2px solid transparent;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e518}
.pactuno-auth label,.pactuno-subscribe label,.pactuno-checkout .form-group label{font-size:13px;font-weight:650;line-height:1.5;color:var(--ink,#172033)}
.pactuno-auth button:focus-visible,.pactuno-subscribe button:focus-visible,.pactuno-pricing button:focus-visible,.pactuno-checkout button:focus-visible,a:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
.relationship-preview{margin-top:28px;padding:20px;border:1px solid #ffffff20;border-radius:16px;background:#ffffff06;font-size:13px;color:#c8d1e1;max-width:430px}
.relationship-preview .preview-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#a5b4fc;margin-bottom:16px}
.relationship-preview .preview-flow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.relationship-preview b{color:#f5f7ff;font-weight:600}.relationship-preview .flow-arrow{color:#818cf8}.relationship-preview small{display:block;margin-top:16px;font-size:12px;color:#99a7bf;line-height:1.6}
.pactuno-subscribe{background:#f7f8fc}
.pactuno-subscribe .shell{max-width:1120px;padding:32px 24px 64px}
.pactuno-subscribe .top{height:auto;min-height:60px;padding:0;background:transparent;border:0;margin-bottom:44px}
.pactuno-subscribe .brand img{display:block;width:182px;height:40px}
.pactuno-subscribe .hero{max-width:720px;margin:0 auto 36px}
.pactuno-subscribe h1,.pactuno-pricing .pricing-header h1{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.045em}
.pactuno-subscribe .plans{gap:24px;max-width:900px}
.pactuno-subscribe .plan{padding:28px;background:white;border-radius:18px;box-shadow:none;cursor:default;transition:border-color .15s,box-shadow .15s}
.pactuno-subscribe .plan:hover{transform:none}
.pactuno-subscribe .plan.selected{box-shadow:0 0 0 2px #4f46e5;border-color:#4f46e5}
.pactuno-subscribe .plan-name{font-size:14px}.pactuno-subscribe .price strong{font-size:40px}.pactuno-subscribe .price span{font-size:13px}
.pactuno-subscribe .desc{font-size:14px;line-height:1.65;min-height:64px;margin:16px 0}
.pactuno-subscribe .meta{font-size:12px;line-height:1.6;padding:12px 0}.pactuno-subscribe .list-title{font-size:11px;margin-top:18px}
.pactuno-subscribe ul{font-size:13px;line-height:1.8;margin-top:8px}.pactuno-subscribe .demo{font-size:13px;margin-top:20px}
.pactuno-subscribe .plan-badge{font-size:10px;top:20px;right:20px;padding:6px 10px}
.pactuno-subscribe .pick{height:48px;font-size:14px;margin-top:20px}
.pactuno-subscribe .form-wrap{max-width:900px;margin-top:32px;padding:32px;border-radius:18px;box-shadow:none}
.pactuno-subscribe .form-head{margin-bottom:24px}.pactuno-subscribe .form-head h2{font-size:24px;margin-bottom:8px}
.pactuno-subscribe .selected-label{font-size:12px;padding:9px 12px}.pactuno-subscribe .note{font-size:13px;line-height:1.65}
.pactuno-subscribe .grid{gap:20px}.pactuno-subscribe .field{padding:0;border:0;background:none}
.pactuno-subscribe .actions{margin-top:28px;gap:24px;align-items:flex-start}.pactuno-subscribe .actions .note{max-width:410px}
.pactuno-subscribe .actions button{min-height:50px;height:auto;padding:14px 22px;font-size:14px;background:#4f46e5;box-shadow:none;flex-shrink:0}.pactuno-subscribe .msg{font-size:14px}
.pactuno-pricing .pricing-section{padding:44px 0;max-width:1100px}.pactuno-pricing .pricing-header{max-width:650px;margin:0 auto 40px}.pactuno-pricing .pricing-header p{font-size:16px;line-height:1.7;color:var(--muted)}
.pactuno-pricing .pricing-grid{gap:20px}.pactuno-pricing .plan-card{padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:none}
.pactuno-pricing .plan-card.featured{border-color:#a5b4fc;background:var(--card);box-shadow:none}
.pactuno-pricing .plan-badge{background:#eef2ff;color:#4338ca;font-size:11px;font-weight:700;text-transform:none;letter-spacing:0}
.pactuno-pricing .plan-name{font-size:22px;margin-top:12px}.pactuno-pricing .plan-price{font-size:40px;line-height:1.2;letter-spacing:-.03em}.pactuno-pricing .plan-price span{font-size:13px;display:block;margin-top:8px}
.pactuno-pricing .plan-desc{font-size:14px;line-height:1.65;min-height:72px;margin-bottom:24px}
.pactuno-pricing .plan-cta{border-radius:10px;min-height:48px;padding:12px;font-size:14px;box-shadow:none;margin-bottom:16px}
.pactuno-pricing .plan-cta:hover{transform:none;box-shadow:none}.pactuno-pricing .plan-cta.platinum{background:#4f46e5;color:white}.pactuno-pricing .plan-cta.platinum:hover{background:#4338ca}
.pactuno-pricing .features-list{margin:0}.pactuno-pricing .features-list li{font-size:13px;padding-top:8px;padding-bottom:8px;line-height:1.6}
.pactuno-pricing .comparison-table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;border-radius:14px}.pactuno-pricing .comparison-table td,.pactuno-pricing .comparison-table th{font-size:13px}
.pactuno-checkout .upgrade-container{max-width:780px;padding:16px 16px 48px}
.pactuno-checkout .upgrade-card{padding:32px;border-radius:18px;box-shadow:none}.pactuno-checkout .upgrade-header h1{font-size:32px;line-height:1.2}.pactuno-checkout .upgrade-header .eyebrow{color:#4f46e5}
.pactuno-checkout .plan-summary{background:var(--soft);border:1px solid #a5b4fc;padding:20px}.pactuno-checkout .plan-summary .plan-name{color:var(--accent2);font-size:16px}
.pactuno-checkout .payment-btn{background:#4f46e5;color:#fff;min-height:50px;border-radius:10px;box-shadow:none}.pactuno-checkout .payment-btn:hover:not(:disabled){background:#4338ca;filter:none}
.pactuno-checkout .swift-box{padding:20px;background:var(--card)}.pactuno-checkout .swift-row{padding:12px 0}.pactuno-checkout .steps{line-height:1.8}
.purchase-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 24px;font-size:12px;color:var(--muted)}.purchase-steps li{flex:1;border-bottom:2px solid var(--line);padding:0 0 12px}.purchase-steps li:first-child{border-color:#4f46e5;color:var(--accent2)}
@media(max-width:900px){.pactuno-auth{grid-template-columns:1fr}.pactuno-auth .brand-pane{padding:24px}.pactuno-auth .brand-copy{margin:28px 0 0}.pactuno-auth .brand-copy h2{font-size:30px;max-width:440px}.pactuno-auth .brand-copy p,.pactuno-auth .relationship-preview{display:none}.pactuno-auth .form-pane{padding:28px 20px 40px}.pactuno-pricing .plan-desc{min-height:0}}
@media(max-width:650px){.pactuno-auth .card{padding:28px 24px}.pactuno-auth h1{font-size:28px}.pactuno-subscribe .shell{padding:20px 16px 40px}.pactuno-subscribe .top{align-items:flex-start;flex-wrap:wrap;gap:20px;margin-bottom:30px}.pactuno-subscribe .plans{gap:18px}.pactuno-subscribe .form-wrap{padding:24px}.pactuno-subscribe .actions button{width:100%}.pactuno-pricing .page{padding:20px 16px}.pactuno-checkout .upgrade-container{margin:12px auto}.pactuno-checkout .upgrade-card{padding:24px 20px}.pactuno-checkout .upgrade-header h1{font-size:28px}.pactuno-checkout .swift-row{align-items:flex-start}.pactuno-checkout .swift-row span{max-width:45%}.purchase-steps{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pactuno-auth *,.pactuno-subscribe *,.pactuno-pricing *,.pactuno-checkout *{transition:none!important}}

.pactuno-auth .brand-pane::before,.pactuno-auth .brand-pane::after{content:none!important}.p1-motion{overflow:hidden}
/* Compact, fully visible P1 on phones; the form remains the primary content. */
@media(max-width:900px){
 body.pactuno-auth{height:auto;min-height:100dvh;grid-template-rows:auto 1fr}
 .pactuno-auth .brand-pane{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:16px;align-items:center;min-height:112px;padding:20px 24px}
 .pactuno-auth .brand-copy{display:none}
 .pactuno-auth .p1-motion{width:108px;max-width:none;height:72px;min-height:72px;margin:0}
 .pactuno-auth .p1-motion-fallback{font-size:48px}
 .pactuno-auth .form-pane{min-height:calc(100dvh - 112px);padding:24px 20px}
 .pactuno-auth .card{border-radius:12px}
}
