@font-face{font-family:Space Grotesk;src:url('/assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Space Grotesk;src:url('/assets/fonts/SpaceGrotesk-Medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Space Grotesk;src:url('/assets/fonts/SpaceGrotesk-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:dark;--canvas:#141414;--surface:#242424;--inset:#333;--ink:#f2f2f2;--muted:#aaa;--line:#4a4a4a;--radius:24px;font-family:'Space Grotesk',system-ui,sans-serif;font-synthesis:none;background:var(--canvas);color:var(--ink)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;min-width:320px;font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.dialog-open{overflow:hidden}
a{color:inherit;text-decoration:none;text-underline-offset:5px}
button{font:inherit;color:inherit;cursor:pointer}
img{display:block;max-width:100%;height:auto}
svg{display:block;flex-shrink:0;width:24px;height:24px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:700;line-height:1.08;letter-spacing:-.045em;text-wrap:balance}
p{text-wrap:pretty}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--ink);outline-offset:6px;border-radius:5px}
a:hover{color:#fff}
.wrap{width:min(1320px,calc(100% - 96px));margin-inline:auto}
.muted{color:var(--muted)}
.small{font-size:16px;line-height:1.6}
.skip-link{position:fixed;top:12px;left:16px;z-index:10;background:var(--ink);color:var(--canvas);padding:12px 20px;border-radius:10px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.site-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:32px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:16px;font-size:23px;font-weight:700;letter-spacing:-.035em;line-height:1.1;min-height:56px}
.brand img{width:44px;height:44px;border-radius:12px;flex-shrink:0}
.brand-wordmark{display:block;width:126px;aspect-ratio:1075/229;background:currentColor;flex-shrink:0;-webkit-mask:url('/assets/cretey-wordmark.svg') center/contain no-repeat;mask:url('/assets/cretey-wordmark.svg') center/contain no-repeat}
.site-header nav{display:flex;gap:36px;align-items:center}
.site-header nav a{padding:28px 0;line-height:1.5;font-size:18px;font-weight:500;position:relative}
.site-header nav a[aria-current="page"]::after{content:'';position:absolute;height:2px;background:var(--ink);bottom:15px;left:0;right:0}
.hero{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.28fr);align-items:center;gap:24px;padding-block:54px 64px;min-height:680px}
.hero-copy{position:relative;z-index:1;min-width:0}
.hero-wordmark{display:block;width:100%;max-width:490px;aspect-ratio:1075/229;background:var(--ink);-webkit-mask:url('/assets/cretey-wordmark.svg') center/contain no-repeat;mask:url('/assets/cretey-wordmark.svg') center/contain no-repeat}
.hero h1{font-size:clamp(44px,4.5vw,65px);letter-spacing:-.055em;line-height:1.04;margin-top:36px}
.hero h1 span{display:block}
.hero-copy>p{font-size:clamp(19px,1.5vw,22px);line-height:1.5;color:var(--muted);max-width:450px;margin-top:22px}
.hero-actions{display:flex;align-items:center;gap:14px;margin-top:32px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:13px 22px;border:1px solid transparent;border-radius:16px;font-size:17px;font-weight:700;line-height:1.4;transition:background-color .18s ease,transform .18s ease}
.button.primary{background:var(--ink);color:var(--canvas)}
.button.primary:hover{background:#fff;color:#141414;transform:translateY(-2px)}
.button.secondary{border-color:#666;background:transparent}
.button.secondary:hover{background:var(--surface);transform:translateY(-2px)}
.button svg{width:18px;height:22px}
.hero-copy>p.hero-device{font-size:14px;margin-top:18px}
.utility-scene{margin:0 -22px 0 -8px;min-width:0;position:relative;isolation:isolate}
.scene-art{display:block;width:100%;height:auto;overflow:visible}
.scene-art .scene-concrete,.scene-art .scene-steps,.scene-art .scene-result,.scene-art .scene-rebar,.scene-art .scene-base{transform-box:fill-box;transform-origin:center;transition:opacity 1s ease,transform 1s cubic-bezier(.2,.65,.3,1)}
.utility-scene[data-phase="measure"] .scene-concrete,.utility-scene[data-phase="measure"] .scene-steps{opacity:0;transform:translateY(-16px)}
.utility-scene[data-phase="measure"] .scene-rebar{opacity:0;transform:translateY(14px)}
.utility-scene[data-phase="measure"] .scene-base{opacity:.3}
.utility-scene[data-phase="plan"] .scene-concrete,.utility-scene[data-phase="plan"] .scene-steps{opacity:0;transform:translateY(-16px)}
.utility-scene[data-phase="measure"] .scene-result,.utility-scene[data-phase="plan"] .scene-result{opacity:0;transform:translateY(10px)}
.outline-trace{stroke-dasharray:1;stroke-dashoffset:0}
.utility-scene[data-phase="measure"] .outline-trace{animation:trace-outline 2.5s ease both}
.scene-dimensions{opacity:.9;transition:opacity .8s ease}
.utility-scene[data-phase="measure"] .scene-dimensions{animation:reveal-dimensions 2.5s ease both}
.joint-line{stroke-dasharray:1;stroke-dashoffset:0}
.utility-scene[data-phase="pour"] .joint-line{animation:trace-outline 1.6s .5s ease both}
.scene-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 30px 0 68px;border-top:1px solid #343532;padding-top:12px}
.scene-controls[hidden]{display:none}
.scene-phases{display:flex;align-items:center;gap:28px}
.scene-phase{position:relative;background:none;border:0;padding:14px 0;color:var(--muted);font-size:16px;font-weight:500;line-height:1.3;min-height:48px}
.scene-phase::after{content:'';position:absolute;bottom:4px;left:0;right:0;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.scene-phase[aria-pressed="true"]{color:var(--ink)}
.scene-phase[aria-pressed="true"]::after{transform:scaleX(1)}
.scene-phase:hover{color:var(--ink)}
.scene-play{border:1px solid #5d6058;border-radius:50%;width:44px;height:44px;padding:9px;background:transparent;display:grid;place-items:center;flex-shrink:0}
.scene-play:hover{background:var(--surface);border-color:var(--ink)}
.scene-play svg{width:24px;height:24px}
.play-glyph,.utility-scene.is-paused .pause-glyph{display:none}
.utility-scene.is-paused .play-glyph{display:block}
@keyframes trace-outline{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes reveal-dimensions{0%,35%{opacity:0}100%{opacity:.9}}
.store-page{padding-block:90px 120px;min-height:70svh;max-width:1000px}
.store-page .hero-wordmark{max-width:400px;margin-bottom:44px}
.store-page h1{font-size:clamp(42px,5vw,66px);max-width:800px}
.store-page p{font-size:21px;margin-top:20px}
.store-page .back-link{margin:0;font-size:17px}
.phone{display:block;position:relative;flex-shrink:0;width:clamp(180px,18.7vw,270px);border:6px solid #090909;border-radius:36px;overflow:hidden;background:#090909;outline:1px solid #626262;box-shadow:0 20px 30px #0005;transition:transform .2s ease,outline-color .2s ease}
.phone img{width:100%;height:auto;aspect-ratio:800/1738;object-fit:contain;background:#141414}
.phone:hover{transform:translateY(-4px);outline-color:#aaa}
.phone:focus-visible{outline:3px solid var(--ink);outline-offset:6px;border-radius:36px}
.tools-section{padding-block:34px 44px;border-top:1px solid var(--line);scroll-margin-top:20px}
.tools-section>h2{font-size:clamp(28px,3.1vw,44px);letter-spacing:-.045em}
.tool-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);margin-block:32px 38px;gap:10px}
.tool-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:104px;padding:12px 6px 18px;line-height:1.35;position:relative;font-size:17px;font-weight:500;color:var(--muted)}
.tool-tabs img{width:48px;height:40px;object-fit:contain;border-radius:8px}
.tool-tabs a[aria-selected="true"]{color:var(--ink);font-weight:700}
.tool-tabs a[aria-selected="true"]::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--ink);border-radius:3px}
.tool-panel{display:grid;grid-template-columns:.82fr 1.18fr;align-items:center;gap:60px;scroll-margin-top:24px}
.tools-section[data-enhanced] .tool-panel[hidden]{display:none}
.tool-panel+.tool-panel{margin-top:44px}
.tools-section[data-enhanced] .tool-panel+.tool-panel{margin-top:0}
.tool-copy{padding-block:24px}
.tool-art{width:192px;height:160px;object-fit:contain;border-radius:28px;margin-bottom:26px}
.tool-copy h3{font-size:clamp(32px,3.5vw,50px);letter-spacing:-.045em;max-width:510px}
.tool-copy>p{color:var(--muted);font-size:20px;line-height:1.6;margin-top:22px;max-width:510px}
.feature-list{list-style:none;padding:0;margin:28px 0 0;max-width:510px}
.feature-list li{border-top:1px solid var(--line);padding-block:14px;font-size:18px;font-weight:500;line-height:1.45}
.screen-stage{display:flex;justify-content:center;align-items:center;gap:25px;padding:32px;background:var(--surface);border-radius:var(--radius);min-width:0}
.screen-stage .phone{width:calc((100% - 25px)/2);max-width:270px;border-width:3px;border-radius:27px;box-shadow:none;outline-color:#777}
.screen-stage .phone:focus-visible{border-radius:27px}
.site-footer{border-top:1px solid var(--line);padding-block:34px 28px;margin-top:0;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer-note h2{font-size:30px;line-height:1.2}
.footer-note p{margin-top:8px;color:var(--muted);font-size:18px}
.footer-links{display:flex;gap:25px;flex-wrap:wrap;font-size:16px}
.footer-links a{padding-block:8px}
.footer-links a:hover{text-decoration:underline}
.copyright{font-size:14px;color:var(--muted)}
.footer-tagline{display:block;margin-top:4px}
.footer-note~.copyright{flex-basis:100%;font-size:13px}
.back-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:24px;font-size:18px;color:var(--muted)}
.back-link svg{width:20px;height:20px;transform:rotate(180deg)}
.support-page,.privacy-page{padding-block:38px 80px}
.support-page h1,.privacy-page h1{font-size:clamp(40px,4.8vw,68px);line-height:1.1;letter-spacing:-.05em}
.page-intro{font-size:clamp(19px,2vw,25px);color:var(--muted);margin-top:20px;line-height:1.5;max-width:1100px}
.support-grid{display:grid;grid-template-columns:.82fr 1.35fr;gap:28px;margin-top:42px;align-items:start}
.contact-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:34px;min-height:460px}
.contact-card h2{font-size:34px;margin:8px 0 32px}
.email-button{display:flex;align-items:center;justify-content:flex-start;gap:16px;background:var(--inset);border:1px solid #5d5d5d;min-height:76px;padding:18px 20px;border-radius:18px;line-height:1.45;font-size:clamp(16px,1.7vw,24px);letter-spacing:-.035em;overflow-wrap:anywhere}
.email-button:hover{background:#414141}
.contact-card p{color:var(--muted);margin-top:28px;font-size:19px;line-height:1.55}
.contact-card p.small{font-size:16px;margin-top:22px}
.faq{display:flex;flex-direction:column;gap:18px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:20px}
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;padding:23px 28px;font-size:22px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{width:22px;height:22px;transform:rotate(90deg)}
.faq details[open] summary svg{transform:rotate(-90deg)}
.faq details p{padding:0 28px 27px;color:var(--muted);font-size:19px;line-height:1.6}
.policy-grid{display:grid;grid-template-columns:240px 1fr;gap:70px;margin-top:50px;align-items:start}
.policy-index{position:sticky;top:24px;display:flex;flex-direction:column;gap:13px;font-size:15px;line-height:1.5}
.policy-index h2{font-size:19px;letter-spacing:-.025em;margin-bottom:8px}
.policy-index a{color:var(--muted);padding-block:3px}
.policy-index a:hover{color:var(--ink);text-decoration:underline}
.policy-body{max-width:790px;font-size:19px;line-height:1.75}
.policy-lead{font-size:23px;line-height:1.6;color:var(--ink)}
.policy-body section{padding-top:38px;scroll-margin-top:20px}
.policy-body h2{font-size:28px;letter-spacing:-.03em;margin-bottom:18px;line-height:1.25}
.policy-body p{margin-top:14px;color:var(--muted)}
.policy-body a{text-decoration:underline;color:var(--ink)}
.policy-source{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:16px;line-height:1.5}
.policy-source svg{width:17px;height:17px;transform:rotate(-45deg)}
.not-found{padding-block:100px 150px;min-height:70vh}
.not-found h1{font-size:clamp(40px,5vw,66px);margin-block:16px 24px;max-width:900px}
.not-found>p{font-size:20px;color:var(--muted)}
.screenshot-dialog{width:min(820px,calc(100% - 40px));max-height:94svh;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:18px 24px 24px;border-radius:24px;overflow:auto}
.screenshot-dialog::backdrop{background:#000d}
.dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.dialog-bar h2{font-size:20px;letter-spacing:-.02em;line-height:1.4}
.close-dialog{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--inset);flex-shrink:0}
.expanded-screen{max-width:100%;width:auto;max-height:77svh;object-fit:contain;border-radius:18px;margin-inline:auto}

@media(min-width:1560px){.hero{min-height:750px}}
@media(max-width:1100px){
  .wrap{width:calc(100% - 64px)}
  .brand{font-size:21px;gap:12px}.site-header nav{gap:26px}
  .hero{gap:12px;min-height:620px;padding-block:44px;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr)}.hero h1{font-size:clamp(40px,4.6vw,52px)}
  .hero-actions{gap:12px;margin-top:28px}.hero .button{font-size:15px;padding-inline:16px}.scene-controls{margin-inline:25px 10px}.scene-phases{gap:20px}
  .tool-panel{gap:34px;grid-template-columns:.9fr 1.1fr}.screen-stage{padding:24px;gap:16px}.screen-stage .phone{width:calc((100% - 16px)/2);border-radius:21px}
  .tool-copy h3{font-size:37px}.tool-copy>p{font-size:18px}.feature-list li{font-size:16px}
  .tool-tabs a{font-size:17px;gap:7px}.tool-tabs img{width:39px;height:33px}
  .contact-card{padding:26px}.email-button{padding-inline:13px;gap:10px;font-size:18px}.email-button svg{width:21px;height:21px}
  .support-grid{gap:24px}.faq summary{font-size:20px;padding:21px 24px}.faq details p{padding-inline:24px;font-size:18px}
  .policy-grid{grid-template-columns:210px 1fr;gap:40px}
}
@media(max-width:800px){
  .tool-tabs{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:3px}
  .tool-tabs a{flex:1 0 96px;scroll-snap-align:start}
  .brand-wordmark{width:108px}
  .wrap{width:calc(100% - 40px)}
  .site-header{min-height:82px;gap:20px}.brand{font-size:18px}.brand img{width:36px;height:36px;border-radius:10px}.site-header nav{gap:20px}.site-header nav a{font-size:16px;padding-block:27px}
  .hero{grid-template-columns:1fr;gap:14px;min-height:0;padding-block:42px 40px}.hero-copy{max-width:620px}.hero-wordmark{max-width:430px}.hero h1{font-size:clamp(42px,7vw,58px);margin-top:28px}.hero h1 span{display:inline}.hero-copy>p{font-size:20px;max-width:510px;margin-top:18px}
  .hero-actions{margin-top:24px;gap:14px}.utility-scene{margin:0;max-width:700px;width:100%;justify-self:center}.scene-controls{margin-inline:30px}.scene-phases{gap:30px}
  .tools-section{padding-top:30px}.tools-section>h2{font-size:32px;max-width:590px}
  .tool-tabs{gap:4px;margin-block:24px 28px}.tool-tabs a{flex-direction:column;text-align:center;gap:8px;padding-inline:2px;font-size:15px;min-height:94px}.tool-tabs img{width:43px;height:36px}
  .tool-panel{grid-template-columns:1fr;gap:24px}.tool-copy{padding-block:0}.tool-art{width:120px;height:100px;border-radius:18px;margin-bottom:18px}.tool-copy h3{font-size:38px;max-width:560px}.tool-copy>p{font-size:19px;max-width:650px;margin-top:17px}.feature-list{max-width:100%;margin-top:22px}.feature-list li{font-size:17px;padding-block:13px}
  .screen-stage{padding:30px;gap:24px}.screen-stage .phone{width:calc((100% - 24px)/2);max-width:235px;border-radius:26px}
  .site-footer{padding-block:30px;gap:24px}.footer-note{flex-basis:100%}.footer-links{gap:24px}.footer-note h2{font-size:28px}.footer-note p{font-size:17px}
  .support-page,.privacy-page{padding-block:28px 54px}.support-page h1,.privacy-page h1{font-size:48px;max-width:680px}.page-intro{font-size:21px;margin-top:18px}
  .support-grid{grid-template-columns:1fr;margin-top:30px;gap:24px}.contact-card{min-height:0;padding:28px}.contact-card h2{font-size:30px;margin:0 0 24px}.email-button{font-size:23px;padding:18px 20px;gap:16px}.contact-card p{margin-top:22px}
  .policy-grid{grid-template-columns:1fr;gap:30px;margin-top:34px}.policy-index{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;border-block:1px solid var(--line);padding-block:22px}.policy-index h2{grid-column:1/-1;margin-bottom:3px}.policy-body{font-size:18px}.policy-lead{font-size:22px}.policy-body section{padding-top:30px}.policy-body h2{font-size:27px}
}
@media(max-width:480px){
  .brand-wordmark{width:100px}
  .wrap{width:calc(100% - 32px)}
  .site-header{gap:14px;min-height:78px}.brand{font-size:16px;gap:9px;max-width:177px}.brand img{width:33px;height:33px;border-radius:9px}.brand span{max-width:125px}.site-header nav{gap:15px}.site-header nav a{font-size:14px;padding-block:26px}.site-header nav a:first-child{display:none}
  .hero{padding-block:34px 30px;gap:8px}.hero h1{font-size:clamp(34px,9vw,44px);letter-spacing:-.055em;margin-top:25px}.hero-copy>p{font-size:18px;margin-top:18px;max-width:350px}.hero-actions{gap:10px;margin-top:24px}.button{font-size:15px;min-height:52px;padding:12px 16px}.hero .button{font-size:14px;padding-inline:13px}.hero-copy>p.hero-device{font-size:13px;margin-top:16px}
  .utility-scene{margin:4px -10px 0;width:calc(100% + 20px)}.scene-controls{margin-inline:18px;gap:10px;padding-top:8px}.scene-phases{gap:24px}.scene-phase{font-size:14px}.scene-play{width:42px;height:42px}.store-page{padding-block:54px 80px}.store-page p{font-size:18px}
  .tools-section>h2{font-size:29px;max-width:350px;line-height:1.12}.tool-tabs{gap:6px}.tool-tabs a{font-size:13px;min-height:94px;gap:9px}.tool-tabs img{width:41px;height:34px}.tool-copy h3{font-size:34px}.tool-copy>p{font-size:18px}.tool-art{width:110px;height:92px;margin-bottom:20px}.feature-list li{font-size:16px}
  .screen-stage{padding:18px;gap:14px;border-radius:20px}.screen-stage .phone{width:calc((100% - 14px)/2);border-width:2px;border-radius:18px;outline-color:#666}
  .footer-note h2{font-size:26px}.footer-note p{font-size:16px}.footer-links{column-gap:22px;row-gap:7px;font-size:15px}.footer-links a:last-child{overflow-wrap:anywhere}.copyright{font-size:13px}
  .support-page h1,.privacy-page h1{font-size:42px}.page-intro{font-size:19px}.back-link{font-size:16px;margin-bottom:18px}.contact-card{padding:24px;border-radius:22px}.contact-card h2{font-size:29px}.email-button{font-size:19px;padding-inline:14px;gap:12px;min-height:68px}.contact-card p{font-size:18px}.faq summary{font-size:19px;padding:21px 22px}.faq details p{padding:0 22px 23px;font-size:17px}
  .policy-index{font-size:14px;gap:12px 20px}.policy-lead{font-size:21px}.policy-body h2{font-size:25px}.policy-body{font-size:17px;line-height:1.75}
  .screenshot-dialog{width:calc(100% - 20px);padding:14px 14px 20px;border-radius:20px}.dialog-bar h2{font-size:17px}.expanded-screen{max-height:75svh;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}.phone:hover,.button:hover{transform:none}}
.utility-scene.motion-stopped .scene-art *,.utility-scene.motion-offscreen .scene-art *{animation-play-state:paused}
.utility-scene.motion-stopped .scene-art .outline-trace,.utility-scene.motion-stopped .scene-art .joint-line,.utility-scene.motion-stopped .scene-art .scene-dimensions{animation:none}
.utility-scene.motion-stopped .scene-art *{transition:none}

.hero .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px;align-items:stretch}
.hero .hero-actions .button{width:100%;min-height:64px;min-width:0;padding:10px 14px}
@media(max-width:480px){.hero .hero-actions .button{font-size:13px;padding-inline:9px;gap:7px}}

/* Apple's supplied badge is displayed intact, without hover motion or restyling. */
.hero .hero-actions{gap:20px}
.hero .hero-actions .button{aspect-ratio:119.66407/40;min-height:0;padding:0}
.hero .store-link,.hero .store-link:hover{background:none;border:0;transform:none;transition:none;border-radius:0}
.hero .store-link img{width:100%;height:auto;display:block}
.hero-copy>p.hero-device{margin-top:20px}
@media(max-width:480px){.hero .hero-actions{gap:16px}.hero .hero-actions .button.secondary{font-size:12px;gap:6px}.hero .hero-actions .button.secondary svg{width:14px}}

/* One complete native capture with nearby device and view controls. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tool-tabs{margin-block:26px 30px}
.tool-tabs a{min-height:88px;font-size:15px;gap:8px;padding-block:10px 16px}
.tool-tabs img{width:40px;height:34px}
.tool-panel{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:clamp(32px,5vw,80px)}
.tool-copy{padding-block:12px}
.tool-art{width:72px;height:60px;border-radius:12px;margin-bottom:22px}
.tool-copy h3{font-size:clamp(30px,2.8vw,40px);max-width:450px}
.tool-copy>p{font-size:18px;line-height:1.6;margin-top:18px;max-width:450px}
.feature-list{margin-top:24px;max-width:450px}
.feature-list li{font-size:16px;padding-block:12px}
.tool-copy>p.scan-device-note{font-size:14px;line-height:1.5;margin-top:18px}
.tool-gallery{min-width:0;border:1px solid #383838;border-radius:24px;padding:20px;background:#181818}
.screenshot-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.device-picker,.duo-picker{border:0;padding:0;margin:0;min-width:0}
.device-choices{display:flex;padding:3px;gap:3px;background:#242424;border:1px solid #424242;border-radius:12px}
.device-choices label{position:relative;flex:1;cursor:pointer}
.device-choices input{position:absolute;opacity:0;width:1px;height:1px}
.device-choices span{display:flex;justify-content:center;align-items:center;white-space:nowrap;min-height:44px;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;line-height:1.3;color:#bcbcbc}
.device-choices input:checked+span{background:var(--ink);color:var(--canvas)}
.device-choices input:focus-visible+span{outline:2px solid var(--ink);outline-offset:4px}
.tool-gallery .screen-stage{display:flex;flex-direction:column;gap:12px;padding:0;background:none;border-radius:0}
.view-selectors{display:flex;flex-wrap:wrap;gap:6px;align-self:stretch}
.view-selectors button{border:1px solid transparent;background:none;border-radius:9px;padding:9px 13px;min-height:44px;font-size:14px;font-weight:500;color:var(--muted);line-height:1.3}
.view-selectors button[aria-pressed="true"]{background:#303030;border-color:#555;color:var(--ink)}
.view-selectors button:hover{color:var(--ink);background:#292929}
.gallery-canvas{display:grid;place-items:center;width:100%;min-width:0;padding:12px;gap:24px;touch-action:pan-y pinch-zoom}
.tools-section[data-enhanced] .gallery-canvas{height:clamp(280px,62svh,640px)}
.capture{margin:0;min-width:0;width:100%;display:flex;justify-content:center}
.tools-section[data-enhanced] .capture{height:100%;min-height:0}
.capture-frame{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;cursor:zoom-in}
.tools-section[data-enhanced] .capture-frame{height:100%;min-height:0}
.capture-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:62svh;object-fit:contain;border:2px solid #090909;outline:1px solid #555;border-radius:20px;box-shadow:0 12px 26px #0004}
.tools-section[data-enhanced] .capture-frame img{max-height:100%}
.capture-frame:hover img{outline-color:#aaa}
.capture-frame:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:12px}
.screen-stage[data-device="duo-inner"] .capture-frame img{border-radius:14px}
.gallery-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}
.gallery-pager{display:flex;align-items:center;gap:8px}
.gallery-count,.dialog-count{font-size:13px;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums;min-width:42px;text-align:center}
.gallery-prev,.gallery-next,.dialog-prev,.dialog-next{width:44px;height:44px;border:1px solid #4a4a4a;background:transparent;border-radius:50%;display:grid;place-items:center;padding:11px;flex-shrink:0}
.gallery-prev svg,.gallery-next svg,.dialog-prev svg,.dialog-next svg{width:20px;height:20px}
.gallery-expand{display:flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;line-height:1.3}
.gallery-expand svg{width:18px;height:18px}
.gallery-expand:hover,.gallery-prev:hover,.gallery-next:hover,.dialog-prev:hover,.dialog-next:hover{background:#303030;color:var(--ink)}
.device-picker[hidden],.duo-picker[hidden],.tool-gallery .screen-stage[hidden],.capture[hidden],.view-selectors[hidden],.gallery-pager[hidden],.gallery-expand[hidden],.dialog-prev[hidden],.dialog-next[hidden]{display:none}
/* The screenshot uses all remaining fullscreen space without cropping its UI. */
.screenshot-dialog{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;background:#141414;color:var(--ink);border:0;border-radius:0;overflow:hidden;padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
.screenshot-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px}
.dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}
.dialog-bar h2{font-size:18px;line-height:1.4;letter-spacing:-.02em}
.dialog-note{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px;max-width:600px}
.dialog-device{font-size:13px;line-height:1.4;color:var(--muted);margin-top:3px}
.close-dialog{width:44px;height:44px;background:#333;border:1px solid #555}
.close-dialog:hover{background:#444}
.dialog-viewer{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}
.expanded-screen{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;margin:0}
.dialog-controls{display:flex;align-items:center;justify-content:center;gap:20px;min-height:44px}
.dialog-count{min-width:50px;font-size:14px}
@media(max-width:1100px){.tool-panel{gap:32px;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}.device-choices span{padding-inline:13px}.tool-gallery{padding:16px}}
@media(max-width:800px){.tool-panel{grid-template-columns:1fr;gap:24px}.tool-copy{padding:0}.tool-art{width:56px;height:47px;margin-bottom:16px}.tool-copy h3{font-size:32px;max-width:none}.tool-copy>p{max-width:600px;font-size:17px;margin-top:14px}.feature-list{display:none}.tool-gallery{padding:20px}.tool-tabs a{flex-basis:94px}.tool-tabs{margin-bottom:26px}}
@media(max-width:480px){.tool-gallery{padding:14px;border-radius:20px}.device-picker{width:100%}.device-choices span{padding-inline:10px;font-size:13px}.gallery-canvas{padding:10px}.screenshot-toolbar{margin-bottom:10px}.tool-copy h3{font-size:29px}.tool-copy>p{font-size:16px}.tool-art{width:48px;height:40px;margin-bottom:12px}.view-selectors button{font-size:13px;padding-inline:12px}.capture-frame img{border-radius:17px}.screenshot-dialog{padding:14px 14px max(14px,env(safe-area-inset-bottom));border-radius:0}.dialog-bar h2{font-size:16px}}
