/* A local, focused tool within Yorly's existing visual system. */
.calc-page { padding-bottom:70px; }
.calc-shell { width:min(1120px,calc(100% - 64px)); margin-inline:auto; }
.calc-intro { padding:49px 0 29px; max-width:810px; }
.calc-kicker { color:#34627b; font-size:12px; letter-spacing:1.6px; font-weight:750; margin-bottom:17px; }
.calc-intro h1 { font-size:clamp(37px,4.2vw,58px); line-height:1.08; letter-spacing:-2px; margin:0 0 17px; }
.calc-intro>p { max-width:660px; font-size:19px; color:var(--body); line-height:1.65; margin-bottom:15px; }
.calc-trust { display:flex; flex-wrap:wrap; gap:8px 23px; color:#47647a; font-size:13px; }
.calc-trust span::before { content:'✓'; color:#087881; margin-right:7px; font-weight:750; }
.calc-workspace { display:grid; grid-template-columns:1.14fr 1fr; gap:24px; align-items:start; }
.calc-inputs { border:1px solid #d8e3ef; border-radius:26px; padding:27px 29px 10px; background:#fff; box-shadow:0 12px 35px #17365b09; }
.calc-form-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.calc-form-top>span { font-size:11px; letter-spacing:1.3px; font-weight:750; color:#55708d; }
.calc-reset { min-height:44px; background:#f3f7fd; color:#345d8d; border:1px solid #d8e3ef; border-radius:10px; padding:8px 12px; font-size:13px; font-weight:650; cursor:pointer; }
.calc-inputs fieldset { min-width:0; margin:0 0 20px; border:0; border-bottom:1px solid #e5ebf3; padding:0 0 18px; }
.calc-inputs fieldset:last-of-type { border-bottom:0; margin-bottom:4px; padding-bottom:5px; }
.calc-inputs legend { padding:0; font-size:17px; font-weight:720; margin-bottom:16px; letter-spacing:-.25px; }
.calc-step { display:inline-grid; place-items:center; width:25px; height:25px; border:1px solid #d6eaf1; border-radius:8px; background:#effafb; color:#226b7c; font-size:11px; margin-right:8px; vertical-align:2px; }
.calc-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.calc-field { min-width:0; }
.calc-field label { display:block; font-size:13px; line-height:1.45; color:#344d6e; font-weight:650; margin-bottom:7px; }
.calc-entry { display:flex; align-items:center; border:1px solid #bfcfe2; background:#fbfdff; border-radius:11px; min-height:52px; overflow:hidden; }
.calc-entry:focus-within { outline:3px solid #2274de33; border-color:#286ade; }
.calc-entry>span { color:#586f8b; font-size:15px; padding-left:13px; }
.calc-entry>span:last-child { padding:0 13px 0 3px; font-size:13px; }
.calc-entry input { min-width:0; width:100%; border:0; outline:0; font-family:inherit; font-size:20px; font-weight:650; color:#172b4c; background:transparent; padding:11px 10px; line-height:1.4; font-variant-numeric:tabular-nums; border-radius:10px; }
.calc-entry:has([aria-invalid='true']) { border-color:#a63e44; background:#fffafa; }
.calc-hint { color:#5c6d82; font-size:12px; line-height:1.6; margin:10px 0 0; }
.calc-error { color:#a02f39; font-size:12px; line-height:1.5; margin:6px 0 0; }
.calc-error:empty { display:none; }
.calc-result { position:sticky; top:132px; border:1px solid #c9d9ef; border-radius:26px; background:radial-gradient(ellipse at 100% 0,#e8dcff88,transparent 65%),radial-gradient(ellipse at 0 0,#d9faff88,transparent 60%),#f8fbff; box-shadow:0 14px 36px #1b3f7411,inset 0 1px #fff; overflow:hidden; }
.calc-total { padding:29px 29px 24px; border-bottom:1px solid #d9e3f0; }
.calc-total h2 { font-size:17px; font-weight:650; line-height:1.45; max-width:280px; color:#334d73; letter-spacing:0; margin:0 0 12px; }
.calc-total output { display:block; font-size:clamp(42px,4.8vw,66px); line-height:1.08; font-weight:760; letter-spacing:-2.7px; color:#163859; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.calc-total p { color:#536985; font-size:12px; line-height:1.6; margin:13px 0 0; }
.calc-breakdown { margin:0; padding:7px 29px 18px; }
.calc-breakdown>div { display:flex; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid #e1e8f2; padding:17px 0; }
.calc-breakdown>div:last-child { border:0; }
.calc-breakdown dt { font-size:14px; font-weight:650; line-height:1.45; }
.calc-breakdown dt small { display:block; font-size:12px; color:#5b6e88; font-weight:400; margin-top:3px; }
.calc-breakdown dd { margin:0; font-size:18px; font-weight:650; color:#1d4161; font-variant-numeric:tabular-nums; white-space:nowrap; }
.calc-dot { display:inline-block; width:6px; height:6px; margin-right:7px; border-radius:50%; background:#238f9a; vertical-align:2px; }
.calc-dot.night { background:#7861c3; }.calc-dot.weekend { background:#3977d3; }.calc-dot.bonus { background:#26716b; }
.calc-local { border-top:1px solid #dbe5f0; padding:15px 29px; color:#3f6374; font-size:12px; background:#ffffff9c; }
.calc-limits { font-size:13px; color:#596b84; line-height:1.7; padding:20px 4px 0; max-width:970px; }
.calc-limits strong { color:#354d6b; }
.calc-loading { padding:12px; background:#fff5de; color:#6c5226; font-size:15px; }
.calc-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.calc-guide { padding-block:66px 36px; }
.calc-section-heading { max-width:700px; margin-bottom:26px; }
.calc-section-heading h2,.calc-app-copy h2 { font-size:clamp(29px,3vw,40px); letter-spacing:-1.3px; line-height:1.15; margin:0 0 16px; }
.calc-section-heading p,.calc-app-copy>p { font-size:17px; line-height:1.7; color:var(--body); }
.calc-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.calc-guide-grid article { padding:25px 24px; border:1px solid #dfe7f0; border-radius:20px; background:#fafcff; }
.calc-guide-grid h3 { font-size:18px; letter-spacing:-.4px; margin:0 0 11px; }
.calc-guide-grid p { color:#526580; font-size:15px; line-height:1.75; margin-bottom:0; }
.calc-worked { font-size:15px; padding:24px; margin:21px 0 0; border-left:3px solid #2a9cbb; border-radius:0 14px 14px 0; background:#f0faff; color:#365677; line-height:1.75; }
.calc-worked strong { color:#1a415d; }
.calc-formula { font-size:15px; line-height:1.7; color:#526580; margin:24px 0 0; }
.calc-app { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:45px; padding:45px 49px; margin-block:35px 65px; border:1px solid #cbdced; border-radius:30px; background:radial-gradient(ellipse at 100% 80%,#e8deff,transparent 55%),linear-gradient(125deg,#f5fdff,#f9fbff); }
.calc-app-copy ul { margin:20px 0 25px; padding:0; list-style:none; display:grid; gap:10px; }
.calc-app-copy li { position:relative; padding-left:22px; font-size:15px; color:#3f5877; line-height:1.6; }
.calc-app-copy li::before { content:'✓'; position:absolute; left:0; color:#087b87; font-weight:750; }
.calc-explore { display:inline-flex; justify-content:center; align-items:center; gap:30px; padding:14px 21px; min-height:54px; color:white; background:linear-gradient(110deg,#165fd1,#6641d7); border:1px solid #5369cf; border-radius:13px; box-shadow:0 6px 18px #4157bd25; font-size:16px; font-weight:650; }
.calc-explore:hover { background:#254d9d; }
/* Independent device silhouettes: only the raw Home screenshot receives a frame. */
.calc-app-stage { position:relative; width:100%; aspect-ratio:.74; isolation:isolate; }
.calc-app-stage::before { content:''; position:absolute; inset:2% -3% 10%; border-radius:50%; background:radial-gradient(ellipse at 30% 35%,#bceefb8c,transparent 64%),radial-gradient(ellipse at 80% 60%,#c8b4f680,transparent 68%); z-index:-2; }
.calc-stage-floor { position:absolute; inset:72% -5% 0; border-radius:50%; background:radial-gradient(ellipse at center,#d8e3f267,#ffffff00 70%); transform:perspective(450px) rotateX(48deg); z-index:-1; }
.calc-phone-shadow { position:absolute; bottom:7%; height:7%; width:53%; border-radius:50%; background:radial-gradient(ellipse,#28395866,#3a508530 40%,transparent 72%); filter:blur(7px); z-index:0; }
.calc-phone-shadow.home-shadow { left:0; bottom:12%; transform:rotate(-8deg); }
.calc-phone-shadow.live-shadow { right:0; transform:rotate(7deg); }
.calc-home-device { position:absolute; z-index:1; width:46%; left:5%; top:6%; transform:rotate(-8deg); filter:drop-shadow(6px 10px 7px #233d6529); }
.calc-home-frame { padding:4px 5px 9px; border:1px solid #8795a8; border-radius:clamp(20px,2.5vw,31px); background:linear-gradient(100deg,#8796a9,#131b2b 4%,#070d17 94%,#9cabbc); box-shadow:2px 2px 0 #1f2c41,4px 3px 0 #8c9bad; overflow:hidden; }
.calc-home-frame img { display:block; width:100%; height:auto; border-radius:clamp(16px,2.1vw,26px); }
.calc-home-indicator { display:block; width:35%; height:3px; margin:4px auto 0; border-radius:5px; background:#d6dbe4; }
.calc-live-device { position:absolute; z-index:2; width:64%; max-width:none; height:auto; left:38%; top:10%; transform:rotate(7deg); filter:drop-shadow(5px 11px 9px #18396030); }
.calc-faq { max-width:850px; padding-bottom:15px; }
.calc-faq>h2 { font-size:32px; line-height:1.2; letter-spacing:-1px; margin:0 0 25px; }
.calc-faq details { border-bottom:1px solid #dce5f0; }
.calc-faq summary { cursor:pointer; padding:21px 30px 21px 0; font-size:17px; font-weight:650; line-height:1.5; }
.calc-faq details p { color:#50627e; font-size:16px; line-height:1.75; padding:0 10px 20px 0; margin:0; }
.calc-faq a { color:#225da2; text-decoration:underline; text-underline-offset:3px; }
.calc-reviewed { color:#60718b; font-size:12px; margin:24px 0 0; }
@media(max-width:850px) {
 .calc-workspace { grid-template-columns:1fr 1fr; gap:18px; }
 .calc-inputs { padding:22px 20px 9px; }
 .calc-total { padding:25px 22px; }.calc-breakdown { padding-inline:22px; }.calc-local { padding-inline:22px; }
 .calc-guide-grid { grid-template-columns:1fr; }.calc-guide-grid article { padding:23px; }
 .calc-app { gap:20px; padding:35px 30px; }
}
@media(max-width:680px) {
 .calc-shell { width:calc(100% - 36px); }.calc-intro { padding-top:32px; padding-bottom:25px; }.calc-intro h1 { letter-spacing:-1.4px; font-size:39px; }.calc-intro>p { font-size:17px; }.calc-trust { font-size:12px; gap:7px 15px; }
 .calc-workspace { grid-template-columns:1fr; gap:19px; }.calc-inputs { padding:21px 20px 8px; border-radius:21px; }.calc-inputs fieldset { margin-bottom:19px; }.calc-form-top { margin-bottom:20px; }.calc-result { position:static; border-radius:23px; }.calc-total output { font-size:58px; }.calc-total h2 { max-width:none; font-size:16px; }.calc-breakdown { padding-bottom:9px; }.calc-breakdown>div { padding:14px 0; }.calc-limits { font-size:12px; padding-top:17px; }
 .calc-guide { padding-top:46px; }.calc-guide-grid { gap:12px; }.calc-section-heading h2 { font-size:30px; }.calc-worked { padding:20px; }.calc-app { grid-template-columns:1fr; padding:28px 24px 12px; gap:20px; margin-block:20px 47px; border-radius:24px; }.calc-app-copy h2 { font-size:31px; }.calc-app-stage { width:min(370px,100%); margin:5px auto 0; }.calc-faq>h2 { font-size:29px; }.calc-faq summary { font-size:16px; }.calc-faq details p { font-size:15px; }
}
@media(max-width:360px) { .calc-shell { width:calc(100% - 28px); }.calc-intro h1 { font-size:35px; }.calc-inputs { padding-inline:16px; }.calc-fields { gap:10px; }.calc-field label { font-size:12px; }.calc-entry input { font-size:18px; padding-inline:8px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media(forced-colors:active) { .calc-explore { border:2px solid ButtonText; }.calc-entry:focus-within { outline:3px solid Highlight; } }

/* A deep plum stage makes the free tool distinct; editable cards stay light. */
.calc-focus { padding-bottom:40px; background:radial-gradient(ellipse at 100% 0,#59446e70,transparent 58%),radial-gradient(ellipse at 0 75%,#2b395c45,transparent 62%),linear-gradient(135deg,#2c1c45,#241832 75%); border-bottom:1px solid #49365e; box-shadow:inset 0 1px #ffffff12; }
.calc-focus .calc-intro { padding-top:52px; padding-bottom:32px; }
.calc-focus .calc-kicker { color:#cdbbe4; }
.calc-focus .calc-intro h1 { color:#fcf9ff; }
.calc-focus .calc-intro .gradient-text { background:linear-gradient(100deg,#80e8ef,#a8c1ff 53%,#d7b8ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.calc-focus .calc-intro>p { color:#e0d5ed; }
.calc-focus .calc-trust { color:#dcd0e8; }
.calc-focus .calc-trust span::before { color:#90e3df; }
.calc-focus .calc-inputs { border-color:#ffffff75; box-shadow:0 16px 40px #09051330; }
.calc-focus .calc-result { border-color:#e2d7f2; box-shadow:0 18px 45px #09051338,inset 0 1px #fff; }
.calc-focus .calc-limits { color:#d4c8e2; padding-top:24px; margin-bottom:0; }
.calc-focus .calc-limits strong { color:#fbf7ff; }
@media(max-width:680px) { .calc-focus { padding-bottom:30px; }.calc-focus .calc-intro { padding-top:35px; padding-bottom:27px; } }
@media(forced-colors:active) { .calc-focus { background:Canvas; border-color:CanvasText; }.calc-focus .calc-intro h1,.calc-focus .calc-intro .gradient-text,.calc-focus .calc-kicker,.calc-focus .calc-intro>p,.calc-focus .calc-trust,.calc-focus .calc-limits,.calc-focus .calc-limits strong { background:none; color:CanvasText; } }
